At line 26 added 8 lines |
;**style delimiters** |
A kind of mark/tag used to enclose a piece of text in order to apply the same formatting to the whole piece. \\ |
In crole, double characters \\ |
e.g. **important** [[link]] |
|
;**layout start-mark** |
A kind of mark/tag placed at the start of a line-component in order to indicate its layout. \\ |
|
At line 27 changed 3 lines |
:A "cuttink" mark, usually inserted by pressing the return/enter key, which is both a character that creates a new line and, in most cases, a tag that starts a new section (see comment about this below under 'page structure'). |
;**section** |
:A chunk of text between newline marks (except at start/end of page where there may be no start/end NL) (section = cutting) |
:A "cuttink" mark, usually inserted by pressing the return/enter key, which is both a character that creates a new visual line and, in most cases, a tag that starts a new line-component (see comment about this below under 'page structure'). |
|
;**line-block** |
:A chunk of text between newline marks (except at start/end of page where there may be no start/end NL) \\ |
In regular text, a line-block is a paragraph ; it may also be a simple line, a header, a list item, a table row, etc... |
|
At line 31 changed 5 lines |
:A bit of text inside a section -- may be enclosed in style delimiters |
;**block** |
:Either a sequence of sections of the same type, or a part of page included as a hole instead of beeing written (e.g. TOC, note list, image) -- see "page structure" |
; header / body |
: Major semantic tailoring of a page. A header is a section ; a body is a sequence of blocks -- see "page structure" |
:A bit of text inside a line-block \\ |
may be enclosed in style delimiters |
At line 45 added 2 lines |
;**component** |
:Either a sequence of line-blocks of the same type (e.g. a list made of list items), or a part of page included as a hole instead of beeing written (e.g. TOC, note list, image) -- see "page structure" |
At line 48 added 4 lines |
; **section = header / body** |
: Major semantic tailoring of a page. A header is a line-block ; a body is a sequence of blocks -- see "page structure" |
|
|
At line 45 changed 24 lines |
page : title body |
title : = regular_text NL |
body : block* |
block : header | paragraph_block | bullet_list | number_list | table | imported_block | computed_block |
header : =(=)+ regular_text NL |
paragraph_block : paragraph+ |
paragraph : text NL |
bullet_list : bullet_list_item NL |
bullet_list_item : *+ text NL |
number_list : number_list_item NL |
number_list_item : *+ text NL |
table : table_row |
table_row : (|text)+ | |
imported_block : {{//type// //ID// (|//parameter//=//value//)*}} |
computed_block : ((//type// //ID// (|//parameter//=//value//)*)) |
text : plain_text | styled_text |
styled_text : distinct_text | important_text | raw_text | monospace_text | link | variable |
distinct_text : //plain_text// |
important_text : **plain_text** |
raw_text : ??plain_text?? |
monospace_text : ??plain_text?? |
link : [[//address// (|//text/)?]] |
variable : <<//name//>> |
plain_text : (//list of valid text characters separated with '|')* |
page : title body |
title : = regular_text NL |
body : block* |
component : header | paragraph_component | bullet_list | number_list | table | imported_component | computed_component |
header : =(=)+ regular_text NL |
paragraph_component : paragraph+ |
paragraph : text NL |
bullet_list : bullet_list_item NL |
bullet_list_item : *+ text NL |
number_list : number_list_item NL |
number_list_item : *+ text NL |
table : table_row |
table_row : (|text)+ | |
imported_component : {{//type// //ID// (|//parameter//=//value//)*}} |
computed_component : ((//type// //ID// (|//parameter//=//value//)*)) |
text : plain_text | styled_text |
styled_text : distinct_text | important_text | raw_text | monospace_text | link | variable |
distinct_text : //plain_text// |
important_text : **plain_text** |
raw_text : ??plain_text?? |
monospace_text : ??plain_text?? |
link : [[//address// (|//text/)?]] |
variable : <<//name//>> |
plain_text : (//list of valid text characters separated with '|')* |
At line 75 changed 2 lines |
body : section* |
section : header | paragraph | bullet_list_item | number_list_item | table_row | imported_block | computed_block |
body : line-block* |
line-block : header | paragraph | bullet_list_item | number_list_item | table_row | imported_block | computed_block |
At line 103 changed one line |
* "distinct" (example, quotation, remark, advice) & "important" sections parallel to "distinct" (italic) & "important" (bold) segments |
* "distinct" (example, quotation, remark, advice) & "important" line-blocks parallel to "distinct" (italic) & "important" (bold) segments |