kdesc --rewrite from the reflection klammerset; txt caption rules the block's width

Assembled from klammertext-dev e99530408517. The katom rewrite patterns
are rendered from ref/ (a table in dispatch order, patterns through @c),
the procedural listing having left mac/; a plain-text caption's rule is
as long as the table or listing it captions; the editor-support comments
name the tools' new dev/ location.
This commit is contained in:
ack committed 2026-09-22 22:53:13 +02:00
1 parent 93d649e23c
commit c016b3e5f3
15 files changed
+101 -86

No files matched your search

+8 -1
View File
@@ -201,6 +201,13 @@ void describe_katoms(bool show_regex)
std::cout << "\n" << M.apply(text_target()) << "\n\n";
}
void show_katom_rewrite_patterns()
{
Machine M = ref_machine();
M.read_string("@katom_rewrite_patterns@");
std::cout << "\n" << M.apply(text_target()) << "\n\n";
}
int main(int argc, char* argv[])
{
try {
@@ -269,7 +276,7 @@ int main(int argc, char* argv[])
}
if (p("rewrite")) {
describe_rewrite_patterns();
show_katom_rewrite_patterns();
}
// The --typeface subcommands operate on the Klammertext font store