txt section numbering, @typeface :middle/:lift and html scale, NewGardinerOmni, html :leading (from dev 9fa469dd74ed)

Section headings under txt are numbered inside a @document only; @typeface
gains :middle and :lift and its :scale now means the same in html and
pdf; NewGardinerOmni ships (OFL 1.1, Mark-Jan Nederhof) and @egyptian /
@chinese replace @cjk; @table :leading and :colsep reach html; kdesc
--typeface help names the flag; @document.txt is a Python class.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
ackandClaude Fable 5.1 committed 2026-09-18 20:02:44 +02:00
1 parent 0ead40f272
commit 63956c00e5
26 files changed
+437 -173

No files matched your search

+9 -9
View File
@@ -17,18 +17,18 @@ static void font_usage()
{
std::cout <<
"Font maintenance commands:\n"
" --font List the available fonts\n"
" --font list The same\n"
" --font samples <output-dir> Write a sample page of the available fonts\n"
" --typeface List the available fonts\n"
" --typeface list The same\n"
" --typeface samples <output-dir> Write a sample page of the available fonts\n"
" to <output-dir>/index.html\n"
" --font samples <input-dir> <output-dir>\n"
" --typeface samples <input-dir> <output-dir>\n"
" Write a sample page for the (not yet\n"
" installed) font files under <input-dir>\n"
" --font install <input-dir> Install the font files found under\n"
" --typeface install <input-dir> Install the font files found under\n"
" <input-dir> into the user font directory\n"
" --font install <input-dir> <output-dir>\n"
" --typeface install <input-dir> <output-dir>\n"
" Install into <output-dir> instead\n"
" --font help This description\n"
" --typeface help This description\n"
"\n"
"Fonts are searched in the directories of the KLAMMERTEXT_FONTS\n"
"environment variable (colon-separated; default $HOME/.klammertext/fonts)\n"
@@ -141,7 +141,7 @@ static void font_command(const strings_t& words)
} else if (verb == "help") {
font_usage();
} else {
std::cout << "Unrecognized font command: --font " << join(words, " ")
std::cout << "Unrecognized typeface command: --typeface " << join(words, " ")
<< "\n\n";
font_usage();
}
@@ -256,7 +256,7 @@ int main(int argc, char* argv[])
describe_rewrite_patterns();
}
// The --font subcommands operate on the Klammertext font store
// The --typeface subcommands operate on the Klammertext font store
// (infrastructure) and load no klammer set.
if (args.given("typeface")) {
font_command(option_words(args, "typeface"));