aboutsummaryrefslogtreecommitdiffhomepage
path: root/data/doc/sisu/on_markup.txt
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-09-03 21:46:47 +0100
committerRalph Amissah <ralph@amissah.com>2007-09-03 21:46:47 +0100
commit2cd558f67f44cca787013c02b665533b97c90f0e (patch)
treeb3b596e2d094014b897dabd1c93e91623b1663d0 /data/doc/sisu/on_markup.txt
parentsisu-0.57.0 md5s (diff)
sisu-0.58 work towards making it possible to describe sisu and sisu markup within sisu
Diffstat (limited to 'data/doc/sisu/on_markup.txt')
-rw-r--r--data/doc/sisu/on_markup.txt136
1 files changed, 65 insertions, 71 deletions
diff --git a/data/doc/sisu/on_markup.txt b/data/doc/sisu/on_markup.txt
index 72aee93b..c86df967 100644
--- a/data/doc/sisu/on_markup.txt
+++ b/data/doc/sisu/on_markup.txt
@@ -1,11 +1,11 @@
SiSU Markup Standard
* Copyright Ralph Amissah
-* version 0.16.0
+* version 0.38.0
* homepage: http://www.jus.uio.no/sisu
* manpages 'man sisu'
* markup examples
- * data/sisu-markup-samples/document_samples_sisu_markup
- * /usr/share/sisu-markup-samples/document_samples_sisu_markup
+ * data/sisu-examples/sample/document_samples_sisu_markup
+ * /usr/share/sisu-examples/sample/document_samples_sisu_markup
* http://www.jus.uio.no/sisu/sample/markup
* http://www.jus.uio.no/sisu/sample/syntax
* book samples
@@ -16,7 +16,7 @@ The man pages 'man sisu' are likely to be more up to date than this document,
please consult them.
Examples of marked up documents are also provided, under the directory branch
-data/sisu-markup-samples
+sisu-examples/sample/document_samples_sisu_markup
or online at
SiSU Markup syntax
@@ -24,9 +24,9 @@ SiSU Markup syntax
sisu
Data text markup (alternative to available html subset)
- 1~ heading/title [levels 1 to 6 available]
+:A~ heading/title [levels :A~ to :C~ available]
- 4~filename heading [segmentation level]
+1~filename heading [segmentation level, levels 1~ to 3~ available ]
!{emphasis}!
@@ -49,22 +49,24 @@ sisu
------------------------------------------
Indentation and bullets
- _1 indent paragraph one level
+_1 indent paragraph one level
- _2 indent paragraph two steps
+_2 indent paragraph two steps
- _2 indent paragraph two steps
+ ...
- _* bullet text
+_9 indent paragraph nine steps
- _1* bullet text, first indent
+_* bullet text
+
+_1* bullet text, first indent
------------------------------------------
Numbered List (not to be confused with headings/titles, (document structure))
- # numbered list numbered list 1., 2., 3, etc.
+# numbered list numbered list 1., 2., 3, etc.
- _# numbered list numbered list indented a., b., c., d., etc.
+_# numbered list numbered list indented a., b., c., d., etc.
------------------------------------------
Endnotes
@@ -75,7 +77,7 @@ sisu
alternative endnote pair notation
~^ endnote marker
- ^~ endnote text following the paragraph in which the marker occurs
+^~ endnote text following the paragraph in which the marker occurs
------------------------------------------
Links
@@ -95,12 +97,12 @@ sisu
{ SiSU Geek Writer }http://www.jus.uio.no/sisu/ url example
{ tux.png 64x80 "a better way" }http://www.jus.uio.no/sisu/ image example with all options
-
+
shortcut - hyper-linked text with endnote providing the url information
{~^ [text to link] }http://url.org maps to { [text to link] }http://url.org ~{ http://url.org }~
which produces hyper-linked text within a document/paragraph, with an endnote providing the url for the text location used in the hyperlink
-
+
manual location marker/tagging at present only in html to produce <a name="[name]"> (use sparingly)
*~[name]
@@ -118,7 +120,7 @@ sisu
------------------------------------------
- There are some things to be aware of <br> may be used, but urls occuring before or after a break must have a space. The vim syntax highlighter catches most of the rules...
+ There are some things to be aware of <br> may be used, but urls occuring before or after a break must have a space. The vim syntax highlighter catches most of the rules...
------------------------------------------
@@ -181,82 +183,74 @@ code{
HEADERS
Header tags appear at the beginning of a document and provide meta information on the document (such as the Dublin Core), or information as to how the document as a whole is to be processed.
-All header instructions take either the form 0~ . All Dublin Core meta tags are available
-0~indentifier information
+All header instructions take the form @tagname: All Dublin Core meta tags are available
+@indentifier: information
where the "identifier" is a tag recognised by the program, and the "information" or "instructions" belong to the tag/indentifier specified
The { form was introduced to take advantage of vim folds, and its use is reserved primarily for document structural instructions: namely header and heading tags (also a footnote/endnote option).
This is a sample header (Dublin Core in fuschia, other information headers in cyan, markup instructions in red):
-0~title My Title - This is now the Title of the Document and used as such
-
-0~subtitle The Subtitle if any
-
-0~creator [or ~author] Ralph Amissah
+@title: My Title - This is now the Title of the Document and used as such
-0~subject Document production and management (or whatever your subject)
+@subtitle: The Subtitle if any
-0~description
+@creator: [or ~author] Ralph Amissah
-0~publisher
+@subject: Document production and management (or whatever your subject)
-0~contributor
+@description:
-0~date 2000-08-27
- [ also 0~date.created 0~date.issued 0~date.available 0~date.valid 0~date.modified ]
+@publisher:
-0~type article
+@contributor:
-0~format
+@date: 2000-08-27
+ [ also @date:.created @date:.issued @date:.available @date:.valid @date:.modified ]
-0~identifier
+@type: article
-0~source
+@format:
-0~language (en|us|fr|de|es|se|dk|fi|no)
+@identifier:
-0~relation
+@source:
-0~coverage
+@language: (en|us|fr|de|es|se|dk|fi|no)
-0~rights copyright, all rights reserved, public domain, copyleft, creative commons variant, etc.
+@relation:
-0~owner
+@coverage:
-0~keywords text document generation processing management latex pdf structured xml citation [your keywords here, used for example by rss feeds, and in sql searches]
+@rights: copyright, all rights reserved, public domain, copyleft, creative commons variant, etc.
-0~abstract [paper abstract, placed after table of contents]
+@owner:
-0~comment [...]
+@keywords: text document generation processing management latex pdf structured xml citation [your keywords here, used for example by rss feeds, and in sql searches]
-0~classify_loc [Library of Congress classification]
+@abstract: [paper abstract, placed after table of contents]
-0~classify_dewey [Dewey classification system]
+@comment: [...]
-0~classify_isbn [ISBN]
+@prefix_a: [prefix is placed just before table of contents - not implemented]
-0~classify_pg [Project Gutenberg text number]
+@prefix_b: or @prefix: [prefix is placed just after table of contents]
-0~prefix_a [prefix is placed just before table of contents - not implemented]
+@cvs: $Id$ [used by cvs to embed versioning (revision control) information into document, cvs can usefully provide a history of updates to a document (though I no longer use it for programming, preferring darcs and arch/tla cvs performs this function for documents quite well) ]
-0~prefix_b or 0~prefix [prefix is placed just after table of contents]
-
-0~rcs $Id$ [or 0~cvs used by rcs or cvs to embed version (revision control) information into document, rcs or cvs can usefully provide a history of updates to a document ]
-
-0~toc PART; CHAPTER; SECTION; ARTICLE; none; none;
+@toc: PART; CHAPTER; SECTION; ARTICLE; none; none;
optional, where document structure can be defined by a match words or regular expression (the regular expression is assumed to start at the beginning of a line of text)
default markers 1~ to 6~ can be used within text instead, without this header tag, and may be used to suppliment the instructions provided in this header tag if provided
-0~level newpage=3; breakpage=4 [paragraph level, used by latex to breakpages, the page is optional eg. in newpage]
+@level: newpage=3; breakpage=4 [paragraph level, used by latex to breakpages, the page is optional eg. in newpage]
-0~markup num_top=4 [various markup instructions, eg: num_top=4 headings tobe numbered, starting at heading level 4... the default is to provide 3 levels, as in 1 level 4, 1.1 level 5, 1.1.1 level 6, markup to be merged within level]
+@markup: num_top=4 [various markup instructions, eg: num_top=4 headings tobe numbered, starting at heading level 4... the default is to provide 3 levels, as in 1 level 4, 1.1 level 5, 1.1.1 level 6, markup to be merged within level]
-0~vocabulary name of taxonomy/vocabulary/wordlist to use against document
+@vocabulary: name of taxonomy/vocabulary/wordlist to use against document
-0~skin skin_doc_[name_of_desired_document_skin]
+@skin: skin_doc_[name_of_desired_document_skin]
-0~links http://google.com; Google;
+@links: http://google.com; Google;
-1~ Top level heading [this is usually the same as the title 0~title ]
+1~ Top level heading [this is usually the same as the title @title: ]
2~ Second level heading [this is a heading level divider]
@@ -270,25 +264,25 @@ default markers 1~ to 6~ can be used within text instead, without this header ta
SAMPLE DOCUMENT
-For sample marked up documents see the directory
+For sample marked up documents see the directory
markup_samples
-0~title Working Sample Document
+@title: Working Sample Document
-0~subtitle Demonstrating markup
+@subtitle: Demonstrating markup
-0~creator Ralph Amissah
+@creator: Ralph Amissah
-0~date
+@date:
-0~markup num_top=4
+@markup: num_top=4
-0~links
+@links:
1~ A Sample Document
-
-2~ just for fun
-
+
+2~ just for fun
+
4~ This is Chapter One or Article One
Ordinary Text follows here. The Title would be a Chapter or Article depending on the type of document you were working to produce.
@@ -297,13 +291,13 @@ Ordinary Text follows here. The Title would be a Chapter or Article depending on
And so on.
-Assuming sisu is configured properly so it has been instructed where to put the work files and ouput files, you would generate this text once saved, with the suffix .s3 if saved as example.s3, by typing sisu -mhwxp example.s3 while in the directory in which the file is saved.
+Assuming sisu is configured properly so it has been instructed where to put the work files and ouput files, you would generate this text once saved, with the suffix .s3 if saved as example.s3, by typing sisu -mhwxp example.s3 while in the directory in which the file is saved.
_1 -m initial processing, -h html (css based), -w wordmap for html, -x xml, -p pdf output, generated via latex, there are of course additional options
_1 for a listing type: sisu ~ commands
-_1 for an outline of sisu markup type: sisu ~ markup
+_1 for an outline of sisu markup type: sisu ~ markup
The example ends here.
@@ -313,7 +307,7 @@ Composite Documents
It is possible to build a document by requiring other documents. The documents required may complete documents that could be gener ated independently, or they could be markup snippets, prepared so as to be easily available to be placed within another text. If the calling document is a master document (built mainly from other doc uments), by convention it should be named with the suffix .r1 , .r2 , or .r3 .s1 , .s2 , or .s3 , and if markup snippets .si. A tempo rary file of the composite document is built prior to processing with the same prefix and the suffix .t1 , .t2 , or .t3
-basic markup for importing a document into another,
+basic markup for importing a document into another,
[note placement is at start of the line, no spaces despite presentation below]
r{ filename }