Assembled from klammertext-dev daad6273483a. The font-store listing is rendered from ref/ (one table per search directory, in search order, with the styles each typeface holds); the search path is described, not validated, so a KLAMMERTEXT_FONTS directory that does not exist -- the default ~/.klammertext/fonts on a fresh install -- is a row saying so and the command exits 0. A typeface an earlier directory also holds is marked shadowed, with the winning directory, in a column present only when needed. The store's layout convention has one reader, fonts_in_directory(). Six kdesc suite cases pin the listing.
67 lines
2.2 KiB
Plaintext
67 lines
2.2 KiB
Plaintext
# Reflection Klammer set
|
|
|
|
@@@klammerset ref | Descriptions of Klammermachine data structures in Klammertext syntax
|
|
:name Reflection Klammer Set
|
|
:author Andy Kopra
|
|
:date 2026-08-27
|
|
:requires sks
|
|
@@@
|
|
|
|
@@diacritics_examples.k :
|
|
Show the diacritics codes and their result in the text @@
|
|
|
|
@@diacritics_examples.* ::
|
|
@eval :cpp *KLAMMERTEXT_HOME*/ref/reflect diacritics_examples @ @@
|
|
|
|
@@extended_latin_examples.k :
|
|
Show the codes and the resulting extended Latin characters @@
|
|
|
|
@@extended_latin_examples.* ::
|
|
@eval :cpp *KLAMMERTEXT_HOME*/ref/reflect extended_latin_examples @ @@
|
|
|
|
@@pinyin_examples.k :
|
|
Show the four tone markings for Mandarin @@
|
|
|
|
@@pinyin_examples.* ::
|
|
@eval :cpp *KLAMMERTEXT_HOME*/ref/reflect pinyin_examples @ @@
|
|
|
|
@@unicode_examples.k :
|
|
Show examples of Unicode characters @@
|
|
|
|
@@unicode_examples.* ::
|
|
@eval :cpp *KLAMMERTEXT_HOME*/ref/reflect unicode_examples @ @@
|
|
|
|
@@argtype_definitions.k :
|
|
Show the defined klammer argument types @@
|
|
|
|
@@argtype_definitions.* ::
|
|
@eval :cpp *KLAMMERTEXT_HOME*/ref/reflect argtype_definitions @ @@
|
|
|
|
@@katom_descriptions.k :regex.bool :txt_width.uint :
|
|
Describe the katom types, in groups, with the informal pattern of each.
|
|
With ^:regex a further column shows the regular expression a katom is
|
|
matched by. ^:txt_width is the width of the table in characters under the
|
|
txt and ansi targets, where a table cannot be wider than the text: it
|
|
widens the table alone, and the text around it keeps Target_txt_width. @@
|
|
|
|
@@symb s : @ri ⟨*s*⟩ @ @@
|
|
|
|
@@katom_descriptions.* ::
|
|
@eval :cpp *KLAMMERTEXT_HOME*/ref/reflect katom_descriptions @ @@
|
|
|
|
@@katom_rewrite_patterns.k :
|
|
Show the rewrite patterns for parsed text that is not a katom @@
|
|
|
|
@@katom_rewrite_patterns.* ::
|
|
@eval :cpp *KLAMMERTEXT_HOME*/ref/reflect katom_rewrite_patterns @ @@
|
|
|
|
@@klammertext_fonts.k :
|
|
List the typefaces the font store can resolve, one table per search
|
|
directory in search order -- the KLAMMERTEXT_FONTS directories (by default
|
|
$HOME/.klammertext/fonts), then the Klammertext default set -- with the
|
|
font styles each holds. A typeface found in an earlier directory shadows
|
|
the same one found later, and the later row says so. @@
|
|
|
|
@@klammertext_fonts.* ::
|
|
@eval :cpp *KLAMMERTEXT_HOME*/ref/reflect klammertext_fonts @ @@
|