diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-08-16 08:27:46 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-08-16 08:27:46 -0700 |
commit | f7ce2c45562e9a996c6a77a469f1036c80a6b780 (patch) | |
tree | 1820b5c3c047074a0f2fef396b31ac0f5bce5004 /tests/017/flexstruct.tl | |
parent | 0314eab65dd6d48656f8be660b1649a3930285a4 (diff) | |
download | txr-f7ce2c45562e9a996c6a77a469f1036c80a6b780.tar.gz txr-f7ce2c45562e9a996c6a77a469f1036c80a6b780.tar.bz2 txr-f7ce2c45562e9a996c6a77a469f1036c80a6b780.zip |
doc: massive revision of capitalization in headings.
In this patch we change the convention of uncapitalized words
occurring in headings such as "Special variable *foo*".
* checkman.txr (check-var, check-func): Consolidated into
a single pattern function called check-coNP. This now
enforces capitalization, and also has a giant fall-back
clause which explicitly recognizes .coNP headings that
are not specially checked by the previous rules, after
which there is an error case, so that unclassified .coNP
headings are diagnosed. A bug is fixed here in the handling
of Special Variable and Variable headings. The pattern
match was wrong, so these were not being properly recognized.
Without the error case at the end, a number of errors
occur in the document where the .desc is missing after a
Variable or Special Variable.
* txr.1: (.dir, .dirs): Fix capitalization of Directive
and Directives in headings generated by this macro.
Fix capitalization in numerous .coNP headings.
* stdlib/doc-syms.tl: Updated. Unfortunately, many symbols
change their hash value because it's based on the entire
heading.
Diffstat (limited to 'tests/017/flexstruct.tl')
0 files changed, 0 insertions, 0 deletions