Initial commit: Klammertext source distribution
Curated source subset assembled by klammertext-dev's doc/make_dist.sh: the Klammermachine (mac), the Standard Klammer Set (sks), the commands (com), editor plugins and install guides (doc), a test subset (tst), and lib/bin placeholders. Builds with 'make -C com'. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
122
sks/document/document.k
Normal file
122
sks/document/document.k
Normal file
@@ -0,0 +1,122 @@
|
||||
@@@argtype document_structure |
|
||||
Structure of a document: plain, article, or book
|
||||
:pattern plain^|article^|book
|
||||
@@@
|
||||
|
||||
@@document.k
|
||||
:title
|
||||
:subtitle
|
||||
:page_title
|
||||
:author
|
||||
|
||||
:date
|
||||
:version
|
||||
:logo
|
||||
:favicon
|
||||
|
||||
#[
|
||||
:nav.bool false
|
||||
:toc.bool false
|
||||
]#
|
||||
|
||||
:structure.document_structure plain
|
||||
|
||||
:text
|
||||
:files
|
||||
:cache.bool true
|
||||
|
||||
:css_text
|
||||
:css_files
|
||||
:frame_background_color black
|
||||
:frame_text_color white
|
||||
:nav_background_color rgb(80%,85%,90%)
|
||||
:nav_text_color black
|
||||
:js_text
|
||||
:js_files
|
||||
|
||||
:include_sks_css.bool true
|
||||
:include_sks_js.bool true
|
||||
:include_fonts.bool true
|
||||
|
||||
:local_fonts.list linux-libertine
|
||||
:google_fonts.list Inconsolata Open+Sans:wght^@500 Libre+Baskerville
|
||||
|
||||
:serif_font Crimson Pro
|
||||
:sans_font Open Sans
|
||||
:mono_font Inconsolata
|
||||
:font_scale 1.0
|
||||
|
||||
:landscape.bool.tex false
|
||||
:paper_size..tex a4paper
|
||||
:leading.float.tex 1.05
|
||||
:point_size.int.tex 11
|
||||
:ragged_right.bool.tex false
|
||||
:cover..tex
|
||||
:prolog..tex
|
||||
:two_column.bool.tex false
|
||||
:copyright
|
||||
:bottom
|
||||
:use_pages_dir.bool.html true
|
||||
:create_output_directory.bool true
|
||||
:output_directory_name
|
||||
:resources_in_file.bool false
|
||||
: Top-level document structure
|
||||
@@
|
||||
|
||||
@@document :: @eval :cpp *KLAMMERTEXT_HOME*/sks/document/document document @ @@
|
||||
|
||||
# @link https://cdn.britannica.com/09/152309-050-5E0B2A42/Sahara-Morocco.jpg :text Niagara @
|
||||
|
||||
@@niagara :
|
||||
@link https://cdn.britannica.com/09/152309-050-5E0B2A42/Sahara-Morocco.jpg :text Niagra @
|
||||
@@
|
||||
|
||||
#[
|
||||
@@niagara.html :
|
||||
<a href="https://cdn.britannica.com/09/152309-050-5E0B2A42/Sahara-Morocco.jpg">Niagara</a>
|
||||
@@
|
||||
|
||||
@@niagara.tex :
|
||||
@link https://cdn.britannica.com/09/152309-050-5E0B2A42/Sahara-Morocco.jpg :text Niagra @
|
||||
@@
|
||||
]#
|
||||
|
||||
|
||||
# @@moby : Moby @@
|
||||
@@moby :
|
||||
But here is an artist. He desires to paint you the dreamiest,
|
||||
shadiest, quietest, most enchanting bit of romantic landscape in all
|
||||
the valley of the Saco. What is the chief element he employs? There
|
||||
stand his trees, each with a hollow trunk, as if a hermit and a
|
||||
crucifix were within; and here sleeps his meadow, and there sleep his
|
||||
cattle; and up from yonder cottage goes a sleepy smoke. Deep into
|
||||
distant woodlands winds a mazy way, reaching to overlapping spurs of
|
||||
mountains bathed in their hill-side blue. But though the picture lies
|
||||
thus tranced, and though this pine-tree shakes down its sighs like
|
||||
leaves upon this shepherd's head, yet all were vain, unless the
|
||||
shepherd's eye were fixed upon the magic stream before him. Go visit
|
||||
the Prairies in June, when for scores on scores of miles you wade
|
||||
knee-deep among Tiger-lilies---what is the one charm wanting? Water
|
||||
---there is not a drop of water there! Were @niagara@ but a cataract of
|
||||
sand, would you travel your thousand miles to see it?
|
||||
@@
|
||||
|
||||
@@smoby.html :
|
||||
Go visit the Prairies in June, when for scores on scores of miles you
|
||||
wade knee-deep among Tiger-lilies---what is the one charm wanting?
|
||||
Water --- there is not a drop of water there! Were @niagara@ but a
|
||||
cataract of sand, would you travel your thousand miles to see it?
|
||||
@@
|
||||
|
||||
@@smoby.tex :
|
||||
Go visit the Prairies in June, when for scores on scores of miles you
|
||||
wade knee-deep among Tiger-lilies---what is the one charm wanting?
|
||||
Water --- there is not a drop of water there! Were @niagara@ but a
|
||||
cataract of sand, would you travel your thousand miles to see it?
|
||||
@@
|
||||
|
||||
@@ssmoby :
|
||||
Go visit the Prairies in June, when for scores on scores of miles you
|
||||
wade knee-deep among Tiger-lilies---what is the one charm wanting?
|
||||
Water---there is not a drop of water there!
|
||||
@@
|
||||
Reference in New Issue
Block a user