Files
klammertext/sks/section/section.k
T
ackandClaude Fable 5.1 217c0f3fc5 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>
2026-09-21 22:37:13 +02:00

60 lines
2.3 KiB
Plaintext

# Book-specific component headings (others possible to correspond to
# the front and back matter of a book):
@@section_args.o :id :n.int -1 :
Common arguments for section headings. If *n* is not the default,
it is used as the section number.
@@
@@preface.k :id :name Preface : Preface text @@
@@preface.html,tex,txt :: @eval section.Section(K, "preface") eval@ @@
# Numbered section headings:
@@part.k title :id :name Part : Part heading @@
@@part.html,tex,txt :: @eval section.Section(K, 0) eval@ @@
@@s1.k title @section_args@ : Top level division, numbered @@
@@s1.html,tex,txt :: @eval section.Section(K, 1) eval@ @@
@@s2.k title @section_args@ : Second level division, numbered @@
@@s2.html,tex,txt :: @eval section.Section(K, 2) eval@ @@
@@s3.k title @section_args@ : Third level division, numbered @@
@@s3.html,tex,txt :: @eval section.Section(K, 3) eval@ @@
@@s4.k title @section_args@ : Fourth level division, numbered @@
@@s4.html,tex,txt :: @eval section.Section(K, 4) eval@ @@
@@s5.k title @section_args@ : Fifth level division, numbered @@
@@s5.html,tex,txt :: @eval section.Section(K, 5) eval@ @@
@@s6.k title @section_args@ : Sixth level division, numbered @@
@@s6.html,tex,txt :: @eval section.Section(K, 6) eval@ @@
@@s7.k title @section_args@ : Seventh level division, numbered @@
@@s7.html,tex,txt :: @eval section.Section(K, 7) eval@ @@
# Unnumbered section headings:
@@h1.k title :id : Top level division, unnumbered @@
@@h1.html,tex,txt :: @eval section.Section(K, 1, numbered=False) eval@ @@
@@h2.k title :id : Second level division, unnumbered @@
@@h2.html,tex,txt :: @eval section.Section(K, 2, numbered=False) eval@ @@
@@h3.k title :id : Third level division, unnumbered @@
@@h3.html,tex,txt :: @eval section.Section(K, 3, numbered=False) eval@ @@
@@h4.k title :id : Fourth level division, unnumbered @@
@@h4.html,tex,txt :: @eval section.Section(K, 4, numbered=False) eval@ @@
@@h5.k title :id : Fifth level division, unnumbered @@
@@h5.html,tex,txt :: @eval section.Section(K, 5, numbered=False) eval@ @@
@@h6.k title :id : Sixth level division, unnumbered @@
@@h6.html,tex,txt :: @eval section.Section(K, 6, numbered=False) eval@ @@
@@h7.k title :id : Seventh level division, unnumbered @@
@@h7.html,tex,txt :: @eval section.Section(K, 7, numbered=False) eval@ @@