Add bilingual Latin-German side-by-side display support
- Update TSV format to 8 columns: BookName, BookAbbr, BookNum, Chapter, Verse, Latin, German, FootnoteText - Add printverse_bilingual() function for side-by-side Latin/German display - Add language filter flags -g (German only) and -L (Latin only) - Add to_superscript_num() function to convert footnote numbers to Unicode superscripts - Update processline() to detect and route bilingual verses, German-only, Latin-only, introductions, and footnotes - Footnotes now display with superscript numbers (¹²³⁴⁵⁶⁷⁸⁹⁰) - Default mode shows Latin and German in two columns with | separator - Introductions and footnotes display full-width New flags: -g show only German (no Latin) -L show only Latin (no German)
This commit is contained in:
@@ -23,6 +23,8 @@ show_help() {
|
||||
echo " -l list books"
|
||||
echo " -W no line wrap"
|
||||
echo " -F no footnotes"
|
||||
echo " -g show only German (no Latin)"
|
||||
echo " -L show only Latin (no German)"
|
||||
echo " -h show help"
|
||||
echo
|
||||
echo " Reference types:"
|
||||
@@ -68,6 +70,12 @@ while [ $# -gt 0 ]; do
|
||||
elif [ "$1" = "-F" ]; then
|
||||
export ALLIOLI_NOFOOTNOTES=1
|
||||
shift
|
||||
elif [ "$1" = "-g" ]; then
|
||||
export ALLIOLI_ONLY_GERMAN=1
|
||||
shift
|
||||
elif [ "$1" = "-L" ]; then
|
||||
export ALLIOLI_ONLY_LATIN=1
|
||||
shift
|
||||
elif [ "$1" = "-h" ] || [ "$isFlag" -eq 1 ]; then
|
||||
show_help
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user