katom types from ref/ in groups, @table :leading in lines of text and :rulesep, @code under txt, one table style attribute, literal-klammer options (from dev 2e453744f5e9)

kdesc --katoms is Klammertext rendered from ref/, the types in titled groups,
with --katoms full for the regex column.  @table :leading L is L lines of the
surrounding text in html as in pdf (default 1), and :rulesep spaces the
horizontal rules.  The html table has one style attribute, so :column_width
fractions take effect again.  @code and @source_listing render in plain
text; captions are numbered per kind there, and a table needs no blank line
around it.  @c takes :nd, and an option-shaped word before a bar inside
literal code is code.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
ackandClaude Fable 5.1 committed 2026-09-21 22:37:13 +02:00
1 parent 63956c00e5
commit 217c0f3fc5
23 files changed
+625 -290

No files matched your search

+11 -1
View File
@@ -213,7 +213,8 @@
:calc.table_calc
:format.table_format
:decimal.decimal_mark
:leading.float 1.3
:leading.float 1.0
:rulesep.float 1
:colsep 4pt
:
A table of rows of cells. The cells of a row are separated by "|" and the
@@ -226,6 +227,15 @@ draw lines, ^:colspan and ^:rowspan merge cells, ^:justify and ^:cell_hpos
place text within them, ^:calc computes cells from other cells and ^:format
formats them, and ^:hpos and ^:offset place the whole table in the text
column.
^:leading is the height of a row in lines of the surrounding text, the same
in html and pdf. ^:rulesep is the space between a horizontal line and the
text on either side of it, as a multiple of the standard amount (slightly
more below a line than above it); 0 sets the lines against the rows. The
lines at the top and the bottom of the table are spaced on their inner side
only. A table with vertical lines gets no such space in a pdf, where it
would break them. Neither argument has a meaning in plain text, where a row
is a line of characters and a horizontal line already has a line to itself.
@@
@@table.html,tex,txt :: @eval table.Table(K) eval@ @@