The ansi target, txt table styles, kdesc reference from ref/, typeface and table-width fixes (from dev fcec5e2e77ac)

Since the previous release: Machine::read_string() (the fs::path/std::string
overload pair split); kdesc -c and -u rendered from the ref/ reflection
klammerset; a fit column's tex width measured in TeX over every entry;
@typeface resolving to the family its css declares (a store directory name
now works in html) and hieroglyphs in @unicode_examples set in their
typeface; the ansi target -- plain text with the type styles a terminal can
show, identical to txt once the escape sequences are stripped -- with the
txt @table carrying :header_style, :style and :hline; @block anchoring,
@table spacing and the Image_quality state variable; and the rewritten
doc/klammertext_for_llm.md.
This commit is contained in:
ack committed 2026-09-12 18:11:48 +02:00
1 parent 760fda5470
commit 9b0d0d7897
34 files changed
+895 -394

No files matched your search

+9 -2
View File
@@ -69,8 +69,15 @@ public:
bool nonascii=true, bool literal=true, bool ignore=true, bool whitespace=true,
bool klammers=true, bool eval=true, bool cond=true, bool read=true);
void read(const fs::path& pathname);
void read(const std::string& s);
// Two ways to give the Machine its input. They are named, not
// overloaded: fs::path and std::string convert into each other freely
// enough that a string literal is ambiguous between them and a
// std::string holding a filename silently selects the text reading.
void read(const fs::path& pathname); // the file's contents
void read_string(const std::string& text); // the string itself
// What both do once they have the text: substitute, katomize, extract
// definitions. `source` names where the text came from in messages.
void input(const std::string& text, const std::string& source);
void expand_read_katoms(
std::vector<Katom>& katoms, std::string source_filename,