(BLOCK (HEADING 1 () "para" "para" (LITERAL-INPUT () "PARA")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "Paragraph")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(PARA") (TEXT " ") (LINK-ZETTEL () "00001012931600" (FORMAT-EMPH () (TEXT "InlineElement"))) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "A paragraph is just a list of inline elements.")) (HEADING 1 () "heading" "heading" (LITERAL-INPUT () "HEADING")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "Heading")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(HEADING") (TEXT " Number ") (LINK-ZETTEL () "00001012931000#attribute" (FORMAT-EMPH () (TEXT "Attributes"))) (TEXT " String") (FORMAT-SUB () (TEXT "1")) (TEXT " String") (FORMAT-SUB () (TEXT "2")) (TEXT " ") (LINK-ZETTEL () "00001012931600" (FORMAT-EMPH () (TEXT "InlineElement"))) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "A heading consists of a number, which specifies its level (1 – 5), its optional attributes.") (SOFT) (TEXT "The first string is a ") (FORMAT-QUOTE () (TEXT "slug")) (TEXT " of the heading text, i.e. transformed it to lower case, replaced space character with minus sign, and some more.") (SOFT) (TEXT "The second string is the slug, but made unique for the whole zettel.") (SOFT) (TEXT "Then the heading text follows as a sequence of inline elements.")) (HEADING 1 () "thematic" "thematic" (LITERAL-INPUT () "THEMATIC")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "Thematic")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(THEMATIC") (TEXT " ") (LINK-ZETTEL () "00001012931000#attribute" (FORMAT-EMPH () (TEXT "Attributes"))) (TEXT " ") (LITERAL-INPUT () ")") (TEXT ".")))) (HEADING 1 () "ordered-unordered-quotation" "ordered-unordered-quotation" (LITERAL-INPUT () "ORDERED") (TEXT ", ") (LITERAL-INPUT () "UNORDERED") (TEXT ", ") (LITERAL-INPUT () "QUOTATION")) (PARA (TEXT "These three symbols are specifying different kinds of lists / enumerations: an ordered list, an unordered list, and a quotation list.") (SOFT) (TEXT "Their structure is the same.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "OrderedList")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(ORDERED") (TEXT " ") (FORMAT-EMPH () (TEXT "ListElement")) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")) (PARA (FORMAT-EMPH () (TEXT "UnorderedList")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(UNORDERED") (TEXT " ") (FORMAT-EMPH () (TEXT "ListElement")) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")) (PARA (FORMAT-EMPH () (TEXT "QuotationList")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(QUOTATION") (TEXT " ") (FORMAT-EMPH () (TEXT "ListElement")) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")))) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "ListElement")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LINK-ZETTEL () "00001012931000#block" (FORMAT-EMPH () (TEXT "Block"))) (TEXT " ") (FORMAT-STRONG () (TEXT "|")) (TEXT " ") (LINK-ZETTEL () "00001012931000#inline" (FORMAT-EMPH () (TEXT "Inline"))) (TEXT ".")))) (PARA (TEXT "A list element is either a block or an inline.") (SOFT) (TEXT "If it is a block, it may contain a nested list.")) (HEADING 1 () "description" "description" (LITERAL-INPUT () "DESCRIPTION")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "Description")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(DESCRIPTION") (TEXT " ") (FORMAT-EMPH () (TEXT "DescriptionTerm")) (TEXT " ") (FORMAT-EMPH () (TEXT "DescriptionValues")) (TEXT " ") (FORMAT-EMPH () (TEXT "DescriptionTerm")) (TEXT " ") (FORMAT-EMPH () (TEXT "DescriptionValues")) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "A description is a sequence of one ore more terms and values.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "DescriptionTerm")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(") (TEXT " ") (LINK-ZETTEL () "00001012931600" (FORMAT-EMPH () (TEXT "InlineElement"))) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "A description term is just an inline-structured value.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "DescriptionValues")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(BLOCK") (TEXT " ") (LINK-ZETTEL () "00001012931000#block" (FORMAT-EMPH () (TEXT "Block"))) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "Description values are sequences of blocks.")) (HEADING 1 () "table" "table" (LITERAL-INPUT () "TABLE")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "Table")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(TABLE") (TEXT " ") (FORMAT-EMPH () (TEXT "TableHeader")) (TEXT " ") (FORMAT-EMPH () (TEXT "TableRow")) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "A table is a table header and a sequence of table rows.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "TableHeader")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "()") (TEXT " ") (FORMAT-STRONG () (TEXT "|")) (TEXT " ") (LITERAL-INPUT () "(") (TEXT " ") (FORMAT-EMPH () (TEXT "TableCell")) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "A table header is either the empty list or a list of table cells.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "TableRow")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(") (TEXT " ") (FORMAT-EMPH () (TEXT "TableCell")) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "A table row is a list of table cells.")) (HEADING 1 () "cell-cell" "cell-cell" (LITERAL-INPUT () "CELL") (TEXT ", ") (LITERAL-INPUT () "CELL-*")) (PARA (TEXT "There are four kinds of table cells, one for each possible cell alignment.") (SOFT) (TEXT "The structure is the same for all kind.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "TableCell")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (FORMAT-EMPH () (TEXT "DefaultCell")) (TEXT " ") (FORMAT-STRONG () (TEXT "|")) (TEXT " ") (FORMAT-EMPH () (TEXT "CenterCell")) (TEXT " ") (FORMAT-STRONG () (TEXT "|")) (TEXT " ") (FORMAT-EMPH () (TEXT "LeftCell")) (TEXT " ") (FORMAT-STRONG () (TEXT "|")) (TEXT " ") (FORMAT-EMPH () (TEXT "RightCell")) (TEXT ".")))) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "DefaultCell")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(CELL") (TEXT " ") (LINK-ZETTEL () "00001012931600" (FORMAT-EMPH () (TEXT "InlineElement"))) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "The cell content, specified by the sequence of inline elements, used the default alignment.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "CenterCell")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(CELL-CENTER") (TEXT " ") (LINK-ZETTEL () "00001012931600" (FORMAT-EMPH () (TEXT "InlineElement"))) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "The cell content, specified by the sequence of inline elements, is centered aligned.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "LeftCell")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(CELL-LEFT") (TEXT " ") (LINK-ZETTEL () "00001012931600" (FORMAT-EMPH () (TEXT "InlineElement"))) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "The cell content, specified by the sequence of inline elements, is left aligned.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "RightCell")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(CELL-RIGHT") (TEXT " ") (LINK-ZETTEL () "00001012931600" (FORMAT-EMPH () (TEXT "InlineElement"))) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "The cell content, specified by the sequence of inline elements, is right aligned.")) (HEADING 1 () "region" "region" (LITERAL-INPUT () "REGION-*")) (PARA (TEXT "The following lists specifies different kinds of regions.") (SOFT) (TEXT "A region treat a sequence of block elements to be belonging together in certain ways.") (SOFT) (TEXT "The have a similar structure.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "BlockRegion")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(REGION-BLOCK") (TEXT " ") (LINK-ZETTEL () "00001012931000#attribute" (FORMAT-EMPH () (TEXT "Attributes"))) (TEXT " ") (LITERAL-INPUT () "(") (TEXT " ") (LINK-ZETTEL () "00001012931400" (FORMAT-EMPH () (TEXT "BlockElement"))) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT " ") (LINK-ZETTEL () "00001012931600" (FORMAT-EMPH () (TEXT "InlineElement"))) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "A block region just treats the block to belong in an unspecified way.") (SOFT) (TEXT "Typically, the reason is given in the attributes.") (SOFT) (TEXT "The inline describes the block.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "QuoteRegion")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(REGION-QUOTE") (TEXT " ") (LINK-ZETTEL () "00001012931000#attribute" (FORMAT-EMPH () (TEXT "Attributes"))) (TEXT " ") (LITERAL-INPUT () "(") (TEXT " ") (LINK-ZETTEL () "00001012931400" (FORMAT-EMPH () (TEXT "BlockElement"))) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT " ") (LINK-ZETTEL () "00001012931600" (FORMAT-EMPH () (TEXT "InlineElement"))) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "A block region just treats the block to contain a longer quotation.") (SOFT) (TEXT "Attributes may further specify the quotation.") (SOFT) (TEXT "The inline typically describes author / source of the quotation.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "VerseRegion")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(REGION-VERSE") (TEXT " ") (LINK-ZETTEL () "00001012931000#attribute" (FORMAT-EMPH () (TEXT "Attributes"))) (TEXT " ") (LITERAL-INPUT () "(") (TEXT " ") (LINK-ZETTEL () "00001012931400" (FORMAT-EMPH () (TEXT "BlockElement"))) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT " ") (LINK-ZETTEL () "00001012931600" (FORMAT-EMPH () (TEXT "InlineElement"))) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "A block region just treats the block to contain a verse.") (SOFT) (TEXT "Soft line break are transformed into hard line breaks to save the structure of the verse / poem.") (SOFT) (TEXT "Attributes may further specify something.") (SOFT) (TEXT "The inline typically describes author / source of the verse.")) (HEADING 1 () "verbatim" "verbatim" (LITERAL-INPUT () "VERBATIM-*")) (PARA (TEXT "The following lists specifies some literal text of more than one line.") (SOFT) (TEXT "The structure is always the same, the initial symbol denotes the actual usage.") (SOFT) (TEXT "The content is encoded as a string, most likely to contain control characters that signals the end of a line.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "CommentVerbatim")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(VERBATIM-COMMENT") (TEXT " ") (LINK-ZETTEL () "00001012931000#attribute" (FORMAT-EMPH () (TEXT "Attributes"))) (TEXT " String ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "The string contains text that should be treated as an internal comment not to be interpreted further.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "EvalVerbatim")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(VERBATIM-EVAL") (TEXT " ") (LINK-ZETTEL () "00001012931000#attribute" (FORMAT-EMPH () (TEXT "Attributes"))) (TEXT " String ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "The string contains text that should be evaluated by an (external) software to produce some derived content.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "HTMLVerbatim")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(VERBATIM-HTML") (TEXT " ") (LINK-ZETTEL () "00001012931000#attribute" (FORMAT-EMPH () (TEXT "Attributes"))) (TEXT " String ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "The string contains HTML code.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "MathVerbatim")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(VERBATIM-MATH") (TEXT " ") (LINK-ZETTEL () "00001012931000#attribute" (FORMAT-EMPH () (TEXT "Attributes"))) (TEXT " String ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "The string contains text that should be treated as special code to be interpreted as mathematical formulas.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "CodeVerbatim")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(VERBATIM-CODE") (TEXT " ") (LINK-ZETTEL () "00001012931000#attribute" (FORMAT-EMPH () (TEXT "Attributes"))) (TEXT " String ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "The string contains text that should be treated as (executable) code.")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "ZettelVerbatim")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(VERBATIM-ZETTEL") (TEXT " ") (LINK-ZETTEL () "00001012931000#attribute" (FORMAT-EMPH () (TEXT "Attributes"))) (TEXT " String ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "The string contains text that should be treated as (nested) zettel content.")) (HEADING 1 () "blob" "blob" (LITERAL-INPUT () "BLOB")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "BLOB")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(BLOB") (TEXT " ") (LITERAL-INPUT () "(") (TEXT " ") (LINK-ZETTEL () "00001012931600" (FORMAT-EMPH () (TEXT "InlineElement"))) (TEXT " … ") (LITERAL-INPUT () ")") (TEXT " String") (FORMAT-SUB () (TEXT "1")) (TEXT " String") (FORMAT-SUB () (TEXT "2")) (TEXT " ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "A BLOB contains an image in block mode.") (SOFT) (TEXT "The inline elements states some description.") (SOFT) (TEXT "The first string contains the syntax of the image.") (SOFT) (TEXT "The second string contains the actual image.") (SOFT) (TEXT "If the syntax is ") (FORMAT-QUOTE () (TEXT "SVG")) (TEXT ", then the second string contains the SVG code.") (SOFT) (TEXT "Otherwise the (binary) image data is encoded with base64.")) (HEADING 1 () "transclude" "transclude" (LITERAL-INPUT () "TRANSCLUDE")) (REGION-BLOCK (("" . "syntax")) ((PARA (FORMAT-EMPH () (TEXT "Transclude")) (TEXT " ") (FORMAT-STRONG () (TEXT "=")) (TEXT " ") (LITERAL-INPUT () "(TRANSCLUDE") (TEXT " ") (LINK-ZETTEL () "00001012931000#attribute" (FORMAT-EMPH () (TEXT "Attributes"))) (TEXT " ") (LINK-ZETTEL () "00001012931900" (FORMAT-EMPH () (TEXT "Reference"))) (TEXT " ") (LITERAL-INPUT () ")") (TEXT ".")))) (PARA (TEXT "A transclude list only occurs for a parsed zettel, but not for a evaluated zettel.") (SOFT) (TEXT "Evaluating a zettel also means that all transclusions are resolved.")) (PARA (FORMAT-EMPH () (TEXT "Reference")) (TEXT " denotes the zettel to be transcluded.")))