Skip to content

Commit

Permalink
LogosHTML: Configurable chapter name in headlines
Browse files Browse the repository at this point in the history
Property name: `biblemulticonverter.logos.chaptername`.
  • Loading branch information
schierlm committed Oct 17, 2024
1 parent c31e28e commit 09673fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ protected void exportChapter(String milestone, int cnumber, String cname, Chapte
writeChapterNumber = true;
} else {
usedHeadlines++;
bw.write("<h" + usedHeadlines + ">[[" + chapterRef + "]]" + searchField("x-heading", true, 3, new Reference(book.getId(), cnumber, "1")) + "{{~ " + book.getAbbr() + " " + cname + " }}" + searchField("x-heading", false, 3, new Reference(book.getId(), cnumber, "1")) + "</h" + usedHeadlines + ">\n");
bw.write("<h" + usedHeadlines + ">[[" + chapterRef + "]]" + searchField("x-heading", true, 3, new Reference(book.getId(), cnumber, "1")) + "{{~ " + System.getProperty("biblemulticonverter.logos.chaptername", book.getAbbr()) + " " + cname + " }}" + searchField("x-heading", false, 3, new Reference(book.getId(), cnumber, "1")) + "</h" + usedHeadlines + ">\n");
}
}
footnoteNumber = 0;
Expand Down

0 comments on commit 09673fb

Please sign in to comment.