YAM minimal test file.
1. YAM Syntax
1.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
1.2. Contents
Contents listings like that above are generated by '%contents'
1.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
1.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
1.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
1.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
1.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:1.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
1.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
1.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
1.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
1.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
1.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
1.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
1.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
1.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
1.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.2. YAM Syntax
2.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
2.2. Contents
Contents listings like that above are generated by '%contents'
2.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
2.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
2.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
2.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
2.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:2.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
2.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
2.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
2.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
2.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
2.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
2.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
2.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
2.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
2.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.3. YAM Syntax
3.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
3.2. Contents
Contents listings like that above are generated by '%contents'
3.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
3.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
3.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
3.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
3.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:3.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
3.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
3.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
3.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
3.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
3.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
3.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
3.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
3.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
3.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.4. YAM Syntax
4.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
4.2. Contents
Contents listings like that above are generated by '%contents'
4.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
4.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
4.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
4.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
4.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:4.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
4.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
4.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
4.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
4.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
4.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
4.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
4.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
4.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
4.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.5. YAM Syntax
5.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
5.2. Contents
Contents listings like that above are generated by '%contents'
5.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
5.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
5.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
5.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
5.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:5.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
5.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
5.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
5.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
5.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
5.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
5.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
5.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
5.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
5.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.6. YAM Syntax
6.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
6.2. Contents
Contents listings like that above are generated by '%contents'
6.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
6.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
6.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
6.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
6.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:6.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
6.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
6.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
6.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
6.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
6.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
6.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
6.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
6.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
6.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.7. YAM Syntax
7.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
7.2. Contents
Contents listings like that above are generated by '%contents'
7.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
7.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
7.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
7.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
7.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:7.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
7.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
7.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
7.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
7.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
7.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
7.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
7.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
7.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
7.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.8. YAM Syntax
8.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
8.2. Contents
Contents listings like that above are generated by '%contents'
8.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
8.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
8.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
8.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
8.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:8.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
8.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
8.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
8.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
8.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
8.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
8.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
8.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
8.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
8.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.9. YAM Syntax
9.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
9.2. Contents
Contents listings like that above are generated by '%contents'
9.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
9.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
9.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
9.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
9.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:9.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
9.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
9.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
9.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
9.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
9.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
9.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
9.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
9.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
9.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.10. YAM Syntax
10.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
10.2. Contents
Contents listings like that above are generated by '%contents'
10.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
10.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
10.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
10.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
10.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:10.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
10.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
10.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
10.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
10.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
10.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
10.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
10.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
10.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
10.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.11. YAM Syntax
11.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
11.2. Contents
Contents listings like that above are generated by '%contents'
11.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
11.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
11.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
11.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
11.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:11.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
11.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
11.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
11.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
11.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
11.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
11.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
11.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
11.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
11.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.12. YAM Syntax
12.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
12.2. Contents
Contents listings like that above are generated by '%contents'
12.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
12.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
12.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
12.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
12.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:12.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
12.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
12.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
12.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
12.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
12.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
12.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
12.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
12.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
12.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.13. YAM Syntax
13.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
13.2. Contents
Contents listings like that above are generated by '%contents'
13.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
13.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
13.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
13.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
13.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:13.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
13.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
13.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
13.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
13.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
13.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
13.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
13.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
13.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
13.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.14. YAM Syntax
14.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
14.2. Contents
Contents listings like that above are generated by '%contents'
14.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
14.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
14.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
14.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
14.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:14.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
14.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
14.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
14.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
14.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
14.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
14.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
14.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
14.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
14.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.15. YAM Syntax
15.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
15.2. Contents
Contents listings like that above are generated by '%contents'
15.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
15.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
15.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
15.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
15.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:15.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
15.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
15.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
15.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
15.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
15.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
15.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
15.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
15.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
15.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.16. YAM Syntax
16.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
16.2. Contents
Contents listings like that above are generated by '%contents'
16.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
16.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
16.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
16.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
16.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:16.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
16.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
16.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
16.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
16.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
16.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
16.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
16.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
16.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
16.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.17. YAM Syntax
17.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
17.2. Contents
Contents listings like that above are generated by '%contents'
17.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
17.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
17.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
17.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
17.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:17.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
17.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
17.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
17.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
17.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
17.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
17.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
17.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
17.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
17.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.18. YAM Syntax
18.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
18.2. Contents
Contents listings like that above are generated by '%contents'
18.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
18.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
18.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
18.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
18.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:18.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
18.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
18.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
18.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
18.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
18.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
18.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
18.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
18.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
18.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.19. YAM Syntax
19.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
19.2. Contents
Contents listings like that above are generated by '%contents'
19.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
19.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
19.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
19.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
19.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:19.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
19.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
19.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
19.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
19.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
19.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
19.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
19.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
19.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
19.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.20. YAM Syntax
20.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
20.2. Contents
Contents listings like that above are generated by '%contents'
20.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
20.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
20.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
20.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
20.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:20.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
20.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
20.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
20.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
20.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
20.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
20.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
20.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
20.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
20.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.21. YAM Syntax
21.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
21.2. Contents
Contents listings like that above are generated by '%contents'
21.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
21.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
21.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
21.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
21.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:21.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
21.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
21.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
21.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
21.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
21.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
21.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
21.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
21.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
21.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.22. YAM Syntax
22.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
22.2. Contents
Contents listings like that above are generated by '%contents'
22.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
22.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
22.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
22.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
22.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:22.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
22.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
22.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
22.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
22.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
22.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
22.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
22.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
22.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
22.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.23. YAM Syntax
23.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
23.2. Contents
Contents listings like that above are generated by '%contents'
23.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
23.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
23.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
23.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
23.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:23.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
23.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
23.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
23.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
23.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
23.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
23.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
23.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
23.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
23.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.24. YAM Syntax
24.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
24.2. Contents
Contents listings like that above are generated by '%contents'
24.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
24.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
24.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
24.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
24.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:24.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
24.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
24.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
24.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
24.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
24.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
24.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
24.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
24.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
24.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.25. YAM Syntax
25.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
25.2. Contents
Contents listings like that above are generated by '%contents'
25.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
25.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
25.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
25.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
25.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:25.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
25.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
25.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
25.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
25.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
25.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
25.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
25.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
25.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
25.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.26. YAM Syntax
26.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
26.2. Contents
Contents listings like that above are generated by '%contents'
26.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
26.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
26.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
26.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
26.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:26.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
26.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
26.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
26.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
26.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
26.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
26.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
26.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
26.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
26.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.27. YAM Syntax
27.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
27.2. Contents
Contents listings like that above are generated by '%contents'
27.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
27.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
27.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
27.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
27.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:27.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
27.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
27.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
27.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
27.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
27.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
27.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
27.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
27.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
27.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.28. YAM Syntax
28.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
28.2. Contents
Contents listings like that above are generated by '%contents'
28.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
28.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
28.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
28.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
28.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:28.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
28.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
28.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
28.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
28.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
28.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
28.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
28.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
28.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
28.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.29. YAM Syntax
29.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
29.2. Contents
Contents listings like that above are generated by '%contents'
29.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
29.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
29.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
29.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
29.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:29.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
29.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
29.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
29.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
29.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
29.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
29.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
29.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
29.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
29.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.30. YAM Syntax
30.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
30.2. Contents
Contents listings like that above are generated by '%contents'
30.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
30.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
30.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
30.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
30.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:30.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
30.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
30.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
30.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
30.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
30.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
30.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
30.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
30.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
30.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.31. YAM Syntax
31.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
31.2. Contents
Contents listings like that above are generated by '%contents'
31.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
31.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
31.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
31.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
31.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:31.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
31.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
31.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
31.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
31.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
31.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
31.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
31.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
31.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
31.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.32. YAM Syntax
32.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
32.2. Contents
Contents listings like that above are generated by '%contents'
32.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
32.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
32.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
32.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
32.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:32.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
32.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
32.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
32.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
32.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
32.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
32.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
32.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
32.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
32.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.33. YAM Syntax
33.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
33.2. Contents
Contents listings like that above are generated by '%contents'
33.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
33.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
33.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
33.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
33.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:33.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
33.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
33.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
33.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
33.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
33.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
33.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
33.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
33.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
33.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.34. YAM Syntax
34.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
34.2. Contents
Contents listings like that above are generated by '%contents'
34.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
34.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
34.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
34.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
34.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:34.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
34.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
34.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
34.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
34.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
34.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
34.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
34.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
34.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
34.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.35. YAM Syntax
35.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
35.2. Contents
Contents listings like that above are generated by '%contents'
35.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
35.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
35.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
35.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
35.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:35.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
35.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
35.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
35.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
35.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
35.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
35.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
35.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
35.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
35.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.36. YAM Syntax
36.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
36.2. Contents
Contents listings like that above are generated by '%contents'
36.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
36.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
36.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
36.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
36.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:36.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
36.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
36.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
36.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
36.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
36.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
36.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
36.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
36.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
36.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.37. YAM Syntax
37.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
37.2. Contents
Contents listings like that above are generated by '%contents'
37.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
37.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
37.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
37.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
37.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:37.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
37.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
37.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
37.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
37.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
37.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
37.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
37.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
37.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
37.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
YAM minimal test file.Contents
- 1. YAM Syntax
- 1.1. Changes from version 3
- 1.2. Contents
- 1.3. Bold, italic, underline and teletype
- 1.4. Horizontal lines
- 1.5. Lists
- 1.6. Verbatim output
- 1.7. Footnotes
- 1.8. Escapes
- 1.9. Headings
- 1.10. Links and anchors
- 1.11. Block quotations
- 1.12. Line breaks
- 1.13. Tables
- 1.14. Images
- 1.15. Citations
- 1.16. Inclusion
- 2. YAM Syntax
- 2.1. Changes from version 3
- 2.2. Contents
- 2.3. Bold, italic, underline and teletype
- 2.4. Horizontal lines
- 2.5. Lists
- 2.6. Verbatim output
- 2.7. Footnotes
- 2.8. Escapes
- 2.9. Headings
- 2.10. Links and anchors
- 2.11. Block quotations
- 2.12. Line breaks
- 2.13. Tables
- 2.14. Images
- 2.15. Citations
- 2.16. Inclusion
- 3. YAM Syntax
- 3.1. Changes from version 3
- 3.2. Contents
- 3.3. Bold, italic, underline and teletype
- 3.4. Horizontal lines
- 3.5. Lists
- 3.6. Verbatim output
- 3.7. Footnotes
- 3.8. Escapes
- 3.9. Headings
- 3.10. Links and anchors
- 3.11. Block quotations
- 3.12. Line breaks
- 3.13. Tables
- 3.14. Images
- 3.15. Citations
- 3.16. Inclusion
- 4. YAM Syntax
- 4.1. Changes from version 3
- 4.2. Contents
- 4.3. Bold, italic, underline and teletype
- 4.4. Horizontal lines
- 4.5. Lists
- 4.6. Verbatim output
- 4.7. Footnotes
- 4.8. Escapes
- 4.9. Headings
- 4.10. Links and anchors
- 4.11. Block quotations
- 4.12. Line breaks
- 4.13. Tables
- 4.14. Images
- 4.15. Citations
- 4.16. Inclusion
- 5. YAM Syntax
- 5.1. Changes from version 3
- 5.2. Contents
- 5.3. Bold, italic, underline and teletype
- 5.4. Horizontal lines
- 5.5. Lists
- 5.6. Verbatim output
- 5.7. Footnotes
- 5.8. Escapes
- 5.9. Headings
- 5.10. Links and anchors
- 5.11. Block quotations
- 5.12. Line breaks
- 5.13. Tables
- 5.14. Images
- 5.15. Citations
- 5.16. Inclusion
- 6. YAM Syntax
- 6.1. Changes from version 3
- 6.2. Contents
- 6.3. Bold, italic, underline and teletype
- 6.4. Horizontal lines
- 6.5. Lists
- 6.6. Verbatim output
- 6.7. Footnotes
- 6.8. Escapes
- 6.9. Headings
- 6.10. Links and anchors
- 6.11. Block quotations
- 6.12. Line breaks
- 6.13. Tables
- 6.14. Images
- 6.15. Citations
- 6.16. Inclusion
- 7. YAM Syntax
- 7.1. Changes from version 3
- 7.2. Contents
- 7.3. Bold, italic, underline and teletype
- 7.4. Horizontal lines
- 7.5. Lists
- 7.6. Verbatim output
- 7.7. Footnotes
- 7.8. Escapes
- 7.9. Headings
- 7.10. Links and anchors
- 7.11. Block quotations
- 7.12. Line breaks
- 7.13. Tables
- 7.14. Images
- 7.15. Citations
- 7.16. Inclusion
- 8. YAM Syntax
- 8.1. Changes from version 3
- 8.2. Contents
- 8.3. Bold, italic, underline and teletype
- 8.4. Horizontal lines
- 8.5. Lists
- 8.6. Verbatim output
- 8.7. Footnotes
- 8.8. Escapes
- 8.9. Headings
- 8.10. Links and anchors
- 8.11. Block quotations
- 8.12. Line breaks
- 8.13. Tables
- 8.14. Images
- 8.15. Citations
- 8.16. Inclusion
- 9. YAM Syntax
- 9.1. Changes from version 3
- 9.2. Contents
- 9.3. Bold, italic, underline and teletype
- 9.4. Horizontal lines
- 9.5. Lists
- 9.6. Verbatim output
- 9.7. Footnotes
- 9.8. Escapes
- 9.9. Headings
- 9.10. Links and anchors
- 9.11. Block quotations
- 9.12. Line breaks
- 9.13. Tables
- 9.14. Images
- 9.15. Citations
- 9.16. Inclusion
- 10. YAM Syntax
- 10.1. Changes from version 3
- 10.2. Contents
- 10.3. Bold, italic, underline and teletype
- 10.4. Horizontal lines
- 10.5. Lists
- 10.6. Verbatim output
- 10.7. Footnotes
- 10.8. Escapes
- 10.9. Headings
- 10.10. Links and anchors
- 10.11. Block quotations
- 10.12. Line breaks
- 10.13. Tables
- 10.14. Images
- 10.15. Citations
- 10.16. Inclusion
- 11. YAM Syntax
- 11.1. Changes from version 3
- 11.2. Contents
- 11.3. Bold, italic, underline and teletype
- 11.4. Horizontal lines
- 11.5. Lists
- 11.6. Verbatim output
- 11.7. Footnotes
- 11.8. Escapes
- 11.9. Headings
- 11.10. Links and anchors
- 11.11. Block quotations
- 11.12. Line breaks
- 11.13. Tables
- 11.14. Images
- 11.15. Citations
- 11.16. Inclusion
- 12. YAM Syntax
- 12.1. Changes from version 3
- 12.2. Contents
- 12.3. Bold, italic, underline and teletype
- 12.4. Horizontal lines
- 12.5. Lists
- 12.6. Verbatim output
- 12.7. Footnotes
- 12.8. Escapes
- 12.9. Headings
- 12.10. Links and anchors
- 12.11. Block quotations
- 12.12. Line breaks
- 12.13. Tables
- 12.14. Images
- 12.15. Citations
- 12.16. Inclusion
- 13. YAM Syntax
- 13.1. Changes from version 3
- 13.2. Contents
- 13.3. Bold, italic, underline and teletype
- 13.4. Horizontal lines
- 13.5. Lists
- 13.6. Verbatim output
- 13.7. Footnotes
- 13.8. Escapes
- 13.9. Headings
- 13.10. Links and anchors
- 13.11. Block quotations
- 13.12. Line breaks
- 13.13. Tables
- 13.14. Images
- 13.15. Citations
- 13.16. Inclusion
- 14. YAM Syntax
- 14.1. Changes from version 3
- 14.2. Contents
- 14.3. Bold, italic, underline and teletype
- 14.4. Horizontal lines
- 14.5. Lists
- 14.6. Verbatim output
- 14.7. Footnotes
- 14.8. Escapes
- 14.9. Headings
- 14.10. Links and anchors
- 14.11. Block quotations
- 14.12. Line breaks
- 14.13. Tables
- 14.14. Images
- 14.15. Citations
- 14.16. Inclusion
- 15. YAM Syntax
- 15.1. Changes from version 3
- 15.2. Contents
- 15.3. Bold, italic, underline and teletype
- 15.4. Horizontal lines
- 15.5. Lists
- 15.6. Verbatim output
- 15.7. Footnotes
- 15.8. Escapes
- 15.9. Headings
- 15.10. Links and anchors
- 15.11. Block quotations
- 15.12. Line breaks
- 15.13. Tables
- 15.14. Images
- 15.15. Citations
- 15.16. Inclusion
- 16. YAM Syntax
- 16.1. Changes from version 3
- 16.2. Contents
- 16.3. Bold, italic, underline and teletype
- 16.4. Horizontal lines
- 16.5. Lists
- 16.6. Verbatim output
- 16.7. Footnotes
- 16.8. Escapes
- 16.9. Headings
- 16.10. Links and anchors
- 16.11. Block quotations
- 16.12. Line breaks
- 16.13. Tables
- 16.14. Images
- 16.15. Citations
- 16.16. Inclusion
- 17. YAM Syntax
- 17.1. Changes from version 3
- 17.2. Contents
- 17.3. Bold, italic, underline and teletype
- 17.4. Horizontal lines
- 17.5. Lists
- 17.6. Verbatim output
- 17.7. Footnotes
- 17.8. Escapes
- 17.9. Headings
- 17.10. Links and anchors
- 17.11. Block quotations
- 17.12. Line breaks
- 17.13. Tables
- 17.14. Images
- 17.15. Citations
- 17.16. Inclusion
- 18. YAM Syntax
- 18.1. Changes from version 3
- 18.2. Contents
- 18.3. Bold, italic, underline and teletype
- 18.4. Horizontal lines
- 18.5. Lists
- 18.6. Verbatim output
- 18.7. Footnotes
- 18.8. Escapes
- 18.9. Headings
- 18.10. Links and anchors
- 18.11. Block quotations
- 18.12. Line breaks
- 18.13. Tables
- 18.14. Images
- 18.15. Citations
- 18.16. Inclusion
- 19. YAM Syntax
- 19.1. Changes from version 3
- 19.2. Contents
- 19.3. Bold, italic, underline and teletype
- 19.4. Horizontal lines
- 19.5. Lists
- 19.6. Verbatim output
- 19.7. Footnotes
- 19.8. Escapes
- 19.9. Headings
- 19.10. Links and anchors
- 19.11. Block quotations
- 19.12. Line breaks
- 19.13. Tables
- 19.14. Images
- 19.15. Citations
- 19.16. Inclusion
- 20. YAM Syntax
- 20.1. Changes from version 3
- 20.2. Contents
- 20.3. Bold, italic, underline and teletype
- 20.4. Horizontal lines
- 20.5. Lists
- 20.6. Verbatim output
- 20.7. Footnotes
- 20.8. Escapes
- 20.9. Headings
- 20.10. Links and anchors
- 20.11. Block quotations
- 20.12. Line breaks
- 20.13. Tables
- 20.14. Images
- 20.15. Citations
- 20.16. Inclusion
- 21. YAM Syntax
- 21.1. Changes from version 3
- 21.2. Contents
- 21.3. Bold, italic, underline and teletype
- 21.4. Horizontal lines
- 21.5. Lists
- 21.6. Verbatim output
- 21.7. Footnotes
- 21.8. Escapes
- 21.9. Headings
- 21.10. Links and anchors
- 21.11. Block quotations
- 21.12. Line breaks
- 21.13. Tables
- 21.14. Images
- 21.15. Citations
- 21.16. Inclusion
- 22. YAM Syntax
- 22.1. Changes from version 3
- 22.2. Contents
- 22.3. Bold, italic, underline and teletype
- 22.4. Horizontal lines
- 22.5. Lists
- 22.6. Verbatim output
- 22.7. Footnotes
- 22.8. Escapes
- 22.9. Headings
- 22.10. Links and anchors
- 22.11. Block quotations
- 22.12. Line breaks
- 22.13. Tables
- 22.14. Images
- 22.15. Citations
- 22.16. Inclusion
- 23. YAM Syntax
- 23.1. Changes from version 3
- 23.2. Contents
- 23.3. Bold, italic, underline and teletype
- 23.4. Horizontal lines
- 23.5. Lists
- 23.6. Verbatim output
- 23.7. Footnotes
- 23.8. Escapes
- 23.9. Headings
- 23.10. Links and anchors
- 23.11. Block quotations
- 23.12. Line breaks
- 23.13. Tables
- 23.14. Images
- 23.15. Citations
- 23.16. Inclusion
- 24. YAM Syntax
- 24.1. Changes from version 3
- 24.2. Contents
- 24.3. Bold, italic, underline and teletype
- 24.4. Horizontal lines
- 24.5. Lists
- 24.6. Verbatim output
- 24.7. Footnotes
- 24.8. Escapes
- 24.9. Headings
- 24.10. Links and anchors
- 24.11. Block quotations
- 24.12. Line breaks
- 24.13. Tables
- 24.14. Images
- 24.15. Citations
- 24.16. Inclusion
- 25. YAM Syntax
- 25.1. Changes from version 3
- 25.2. Contents
- 25.3. Bold, italic, underline and teletype
- 25.4. Horizontal lines
- 25.5. Lists
- 25.6. Verbatim output
- 25.7. Footnotes
- 25.8. Escapes
- 25.9. Headings
- 25.10. Links and anchors
- 25.11. Block quotations
- 25.12. Line breaks
- 25.13. Tables
- 25.14. Images
- 25.15. Citations
- 25.16. Inclusion
- 26. YAM Syntax
- 26.1. Changes from version 3
- 26.2. Contents
- 26.3. Bold, italic, underline and teletype
- 26.4. Horizontal lines
- 26.5. Lists
- 26.6. Verbatim output
- 26.7. Footnotes
- 26.8. Escapes
- 26.9. Headings
- 26.10. Links and anchors
- 26.11. Block quotations
- 26.12. Line breaks
- 26.13. Tables
- 26.14. Images
- 26.15. Citations
- 26.16. Inclusion
- 27. YAM Syntax
- 27.1. Changes from version 3
- 27.2. Contents
- 27.3. Bold, italic, underline and teletype
- 27.4. Horizontal lines
- 27.5. Lists
- 27.6. Verbatim output
- 27.7. Footnotes
- 27.8. Escapes
- 27.9. Headings
- 27.10. Links and anchors
- 27.11. Block quotations
- 27.12. Line breaks
- 27.13. Tables
- 27.14. Images
- 27.15. Citations
- 27.16. Inclusion
- 28. YAM Syntax
- 28.1. Changes from version 3
- 28.2. Contents
- 28.3. Bold, italic, underline and teletype
- 28.4. Horizontal lines
- 28.5. Lists
- 28.6. Verbatim output
- 28.7. Footnotes
- 28.8. Escapes
- 28.9. Headings
- 28.10. Links and anchors
- 28.11. Block quotations
- 28.12. Line breaks
- 28.13. Tables
- 28.14. Images
- 28.15. Citations
- 28.16. Inclusion
- 29. YAM Syntax
- 29.1. Changes from version 3
- 29.2. Contents
- 29.3. Bold, italic, underline and teletype
- 29.4. Horizontal lines
- 29.5. Lists
- 29.6. Verbatim output
- 29.7. Footnotes
- 29.8. Escapes
- 29.9. Headings
- 29.10. Links and anchors
- 29.11. Block quotations
- 29.12. Line breaks
- 29.13. Tables
- 29.14. Images
- 29.15. Citations
- 29.16. Inclusion
- 30. YAM Syntax
- 30.1. Changes from version 3
- 30.2. Contents
- 30.3. Bold, italic, underline and teletype
- 30.4. Horizontal lines
- 30.5. Lists
- 30.6. Verbatim output
- 30.7. Footnotes
- 30.8. Escapes
- 30.9. Headings
- 30.10. Links and anchors
- 30.11. Block quotations
- 30.12. Line breaks
- 30.13. Tables
- 30.14. Images
- 30.15. Citations
- 30.16. Inclusion
- 31. YAM Syntax
- 31.1. Changes from version 3
- 31.2. Contents
- 31.3. Bold, italic, underline and teletype
- 31.4. Horizontal lines
- 31.5. Lists
- 31.6. Verbatim output
- 31.7. Footnotes
- 31.8. Escapes
- 31.9. Headings
- 31.10. Links and anchors
- 31.11. Block quotations
- 31.12. Line breaks
- 31.13. Tables
- 31.14. Images
- 31.15. Citations
- 31.16. Inclusion
- 32. YAM Syntax
- 32.1. Changes from version 3
- 32.2. Contents
- 32.3. Bold, italic, underline and teletype
- 32.4. Horizontal lines
- 32.5. Lists
- 32.6. Verbatim output
- 32.7. Footnotes
- 32.8. Escapes
- 32.9. Headings
- 32.10. Links and anchors
- 32.11. Block quotations
- 32.12. Line breaks
- 32.13. Tables
- 32.14. Images
- 32.15. Citations
- 32.16. Inclusion
- 33. YAM Syntax
- 33.1. Changes from version 3
- 33.2. Contents
- 33.3. Bold, italic, underline and teletype
- 33.4. Horizontal lines
- 33.5. Lists
- 33.6. Verbatim output
- 33.7. Footnotes
- 33.8. Escapes
- 33.9. Headings
- 33.10. Links and anchors
- 33.11. Block quotations
- 33.12. Line breaks
- 33.13. Tables
- 33.14. Images
- 33.15. Citations
- 33.16. Inclusion
- 34. YAM Syntax
- 34.1. Changes from version 3
- 34.2. Contents
- 34.3. Bold, italic, underline and teletype
- 34.4. Horizontal lines
- 34.5. Lists
- 34.6. Verbatim output
- 34.7. Footnotes
- 34.8. Escapes
- 34.9. Headings
- 34.10. Links and anchors
- 34.11. Block quotations
- 34.12. Line breaks
- 34.13. Tables
- 34.14. Images
- 34.15. Citations
- 34.16. Inclusion
- 35. YAM Syntax
- 35.1. Changes from version 3
- 35.2. Contents
- 35.3. Bold, italic, underline and teletype
- 35.4. Horizontal lines
- 35.5. Lists
- 35.6. Verbatim output
- 35.7. Footnotes
- 35.8. Escapes
- 35.9. Headings
- 35.10. Links and anchors
- 35.11. Block quotations
- 35.12. Line breaks
- 35.13. Tables
- 35.14. Images
- 35.15. Citations
- 35.16. Inclusion
- 36. YAM Syntax
- 36.1. Changes from version 3
- 36.2. Contents
- 36.3. Bold, italic, underline and teletype
- 36.4. Horizontal lines
- 36.5. Lists
- 36.6. Verbatim output
- 36.7. Footnotes
- 36.8. Escapes
- 36.9. Headings
- 36.10. Links and anchors
- 36.11. Block quotations
- 36.12. Line breaks
- 36.13. Tables
- 36.14. Images
- 36.15. Citations
- 36.16. Inclusion
- 37. YAM Syntax
- 37.1. Changes from version 3
- 37.2. Contents
- 37.3. Bold, italic, underline and teletype
- 37.4. Horizontal lines
- 37.5. Lists
- 37.6. Verbatim output
- 37.7. Footnotes
- 37.8. Escapes
- 37.9. Headings
- 37.10. Links and anchors
- 37.11. Block quotations
- 37.12. Line breaks
- 37.13. Tables
- 37.14. Images
- 37.15. Citations
- 37.16. Inclusion
- 38. YAM Syntax
- 38.1. Changes from version 3
- 38.2. Contents
- 38.3. Bold, italic, underline and teletype
- 38.4. Horizontal lines
- 38.5. Lists
- 38.6. Verbatim output
- 38.7. Footnotes
- 38.8. Escapes
- 38.9. Headings
- 38.10. Links and anchors
- 38.11. Block quotations
- 38.12. Line breaks
- 38.13. Tables
- 38.14. Images
- 38.15. Citations
- 38.16. Inclusion
38. YAM Syntax
38.1. Changes from version 3
- horizontal lines are now three or more dashes
- comment syntax: %% for single lines, and /* */ for multiple lines (should replace notes?)
- addition of column separator bars at the start and end of table rows
- multiple lines allowed in titles
- added underlining
- no more %output function
- changed quotation syntax to %"
- changed of line break style to %\
- output is correct XHTML
- verbatim output is %< ... %>
- target language control characters (like < or &) now dealt with properly
- headings can be unnumbered, e.g. "%2*"
Slides: maybe:
- if the document contains %slides then treat it all as slides
- else if it contains %slide...%endslide then treat each of those as slides
38.2. Contents
Contents listings like that above are generated by '%contents'
38.3. Bold, italic, underline and teletype
Bold text is contained in stars: *this is bold* becomes this is bold.
Italic text is contained in underscores: _this is italic_ becomes this is italic.
Fixed-width text is contained in equals signs: =this is teletype= becomes this is teletype.
Underlined text is contained in doubles undercores: __this is underlined__ becomes this is underlined.
38.4. Horizontal lines
Horizontal lines are indicated by 3 or more - signs at the start of a line. For example:
---
and
---------------------------
both result in:
38.5. Lists
Unordered lists are indicated by '-' at the start of a line, and ordered lists by 'o'. Nesting is indicated by increased spacing preceding the item indicator. For example:
- This is an undordered list - Second item # This is a nested... # ...ordered list - Back to the third item of the enclosing list
results in:
- This is an undordered list
- Second item
- This is a nested...
- ...ordered list
- Back to the third item of the enclosing list
38.6. Verbatim output
Verbatim output starts with '%<' and ends with '%>'. For example:
%< This will *not* get translated. %>
When the target language is HTML, for example, the output will contain '<pre>' tags.
38.7. Footnotes
Footnotes are like this:
%footnote(This is a footnote.)
Becomes:38.
The contents will be put in a section at the end of the document (HTML) or at the bottom of the page (LaTeX), and linked by number from where they occured.
38.8. Escapes
To stop a special character from being interpreted, use a '\'. For example,
\---
will not generate a line.
38.9. Headings
Headings are lines starting with %1 (for first level), %2, %3 or %4. For example, the heading for this section is
%2 Headings
If a heading level is followed by "*" it is not numbered, e.g.:
%2* An unnumbered heading
Becomes:
An unnumbered heading
This heading will not appear in the contents table.
38.10. Links and anchors
Links can be specified in three ways:
- As plain text, e.g. 'http://gate.ac.uk/' will become http://gate.ac.uk/
- Using '%(target)', e.g. %(http://gate.ac.uk/) will become http://gate.ac.uk/
- Using '%(target, label)', e.g. %(http://gate.ac.uk/, GATE home) will become GATE home
Spaces or commas inside URLs must be escaped. A URL that appears in plain text must be followed by a space, tab or newline.
Anchors and labels are specified using '%#name'. For example,
%2 A Heading %#label
will result in a heading followed by the anchor label.
Spaces or commas inside anchors must be escaped. An anchor that appears in plain text must be followed by a space, tab or newline.
38.11. Block quotations
Block quotations are enclosed in %" marks. For example,
%"This is a quote%"
becomes:
This is a quote
38.12. Line breaks
Line breaks are indicated by %\ at the end of a line. For example:
This line is broken %\ in two.
becomes: % This line is broken % in two.
38.13. Tables
Tables use square brackets, bars and dashes. For example:
%[ | *header col 1* | *header col 2* | --- | row 1 col 1 | col 2 | --- | row 2 col 1 | col 2 | %]
results in:
header col 1 | header col 2 |
row 1 col 1 | col 2 |
row 2 col 1 | col 2 |
38.14. Images
Images are like URLs:
- '%image(test-image.png)' will become
- '%image(test-image.png, a test image)' will become (the text becomes the "alt" attribute of the image)
You can also specify an ALT tag, width and height, position and border width: '%image(test-image.png, ALT tag, 500, 500, left, 0)' becomes
38.15. Citations
Citations work like this: '%cite(Cun06a)' becomes Cun06a. Multiple cite keys should be separated by commas, e.g.: '%cite(Cun05a,Cun06a)' becomes Cun05a, Cun06a.
38.16. Inclusion
A page can include another page like this:
%include(yam-first.yam)
Becomes:
This, by way of contrast, is a paragraph.
This is another paragraph. It contains two lines.
Footnotes
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.
- This is a footnote.