SISU - MARKUP SAMPLES, OUTPUT EXAMPLES, RALPH AMISSAH ****************************************************** SISU MARKUP AND OUTPUT EXAMPLES =============================== 1. MARKUP AND OUTPUT EXAMPLES ----------------------------- 1.1 MARKUP EXAMPLES ................... Current markup examples and document output samples are provided at Some markup with syntax highlighting may be found under but is not as up to date. For some documents hardly any markup at all is required at all, other than a header, and an indication that the levels to be taken into account by the program in generating its output are. 1.2 A FEW BOOK (AND OTHER) EXAMPLES ................................... aukio.png 397x340 "Aukio, by Leena Krohn" [link:] [^1] - [1]: Reproduced with the kind permission of author and artist Leena Krohn, "Aukio" is from the work /"Sphinx or Robot"/ which is included as a book example in this section, together with another of the author's works, /"Tainaron"/ /"THE WEALTH OF NETWORKS"/, YOCHAI BENKLER .......................................... "The Wealth of Networks", Yochai Benkler [link:] document manifest [link:] [^2] - [2]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"FREE CULTURE"/, LAWRENCE LESSIG ................................. "Free Culture", Lawrence Lessig [link:] document manifest [link:] [^3] - [3]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"FREE AS IN FREEDOM: RICHARD STALLMAN'S CRUSADE FOR FREE SOFTWARE"/, BY SAM WILLIAMS .............................................................................. "Free as in Freedom: Richard Stallman's Crusade for Free Software", by Sam Williams [link:] document manifest [link:] [^4] - [4]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"FREE FOR ALL: HOW LINUX AND THE FREE SOFTWARE MOVEMENT UNDERCUT THE HIGH TECH TITANS"/, BY PETER WAYNER .............................................................................. "Free For All: How Linux and the Free Software Movement Undercut the High Tech Titans", by Peter Wayner [link:] document manifest [link:] [^5] - [5]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"THE CATHEDRAL AND THE BAZAAR"/, BY ERIC S. RAYMOND .................................................... "The Cathedral and the Bazaar", by Eric S. Raymond [link:] document manifest [link:] [^6] - [6]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"ACCELERANDO"/, CHARLES STROSS ............................... "Accelerando", Charles Stross [link:] document manifest [link:] [^7] - [7]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"TAINARON"/, LEENA KROHN ......................... "Tainaron", Leena Krohn [link:] document manifest [link:] [^8] - [8]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"SPHINX OR ROBOT"/, LEENA KROHN ................................ i_sor.png 294x59 "Sphinx or Robot by Leena Krohn" [link:] "Sphinx or Robot", Leena Krohn [link:] document manifest [link:] [^9] - [9]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"WAR AND PEACE"/, LEO TOLSTOY, PG ETEXT 2600 ............................................. "War and Peace", Leo Tolstoy [link:] [^10] - [10]: - The ascii text was taken from Project Gutenberg. The markup transforms required are trivial. Of interest, in this instance I am saved by having alternative syntaxes/(structural modes) for marking up endnotes... as it was possible to do a simple search and replace to make the Project Gutenberg ascii presentation suitable for *SiSU*, using the older endnote markup style. This example instructs the program to use regular expressions, in this example the words: none; none; BOOK|FIRST|SECOND; CHAPTER; occurring at the beginning of a line, to identify what should be treated as different levels of heading in a document (and used to make the table of contents). Note that there was _very little markup required_ after the document headers and Project Gutenberg legal notices. As I presume the legal notices are similar in Project Gutenberg documents, (and I could not bear to think of preparing the same legal notices twice), I moved those to the "skin" for the Project, and these are now represented in the markup by <:insert1> and <:insert2> and the legal notices are available for similar insertion into the next Project Gutenberg text prepared for *SiSU*, should there be one. - I did a stylesheet/skin for the Gutenberg Project, ... I may have to remove. The markup transforms required are trivial. Of interest, in this instance I am saved by having alternative syntaxes/(structural modes) for marking up endnotes... as it is possible to do a simple search and replace to make Project Gutenberg ascii presentations suitable for *SiSU* using the older endnote markup style. There is _very little markup required_ after the document headers and Project Gutenberg legal notices. As I presume the legal notices are similar in Project Gutenberg documents, (and I could not bear to think of preparing the same legal notices twice), I moved those to the "skin" for the Project, and these are now represented in the markup by the <:insert1> and <:insert2> markers and the legal notices are available for similar insertion into the next Project Gutenberg text prepared for *SiSU*, should there be one. document manifest [link:] [^11] - [11]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"DON QUIXOTE"/, MIGUEL DE CERVANTES [SAAVEDRA], TRANSLATED BY JOHN ORMSBY, PG ETEXT 996 .............................................................................. "Don Quixote", Miguel de Cervantes [Saavedra] [link:] document manifest [link:] [^12] - [12]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"GULLIVER'S TRAVELS"/, JONATHAN SWIFT, TRANSCRIBED FROM THE 1892 GEORGE BELL AND SONS EDITION BY DAVID PRICE, PG ETEXT 829 .............................................................................. "Gulliver's Travels", Jonathan Swift [link:] document manifest [link:] [^13] - [13]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"ALICE'S ADVENTURES IN WONDERLAND"/, LEWIS CARROLL, PG ETEXT 11 ................................................................ "Alice's Adventures in Wonderland", Lewis Carroll [link:] document manifest [link:] [^14] - [14]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"THROUGH THE LOOKING-GLASS"/, LEWIS CARROLL, PG ETEXT 12 ......................................................... "Through The Looking-Glass", Lewis Carroll [link:] document manifest [link:] [^15] - [15]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"ALICE'S ADVENTURES IN WONDERLAND"/ AND /"THROUGH THE LOOKING-GLASS"/, LEWIS CARROLL, PG ETEXTS 11 AND 12 .............................................................................. "Alice's Adventures in Wonderland" and "Through The Looking-Glass", Lewis Carroll [link:] document manifest [link:] [^16] - [16]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"GNU PUBLIC LICENSE 2"/, (GPL 2) FREE SOFTWARE FOUNDATION .......................................................... "Gnu Public License 2", (GPL 2) Free Software Foundation [link:] document manifest [link:] [^17] - [17]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"GNU PUBLIC LICENSE V3 - THIRD DISCUSSION DRAFT"/, (GPLV3) FREE SOFTWARE FOUNDATION .............................................................................. "Gnu Public License 3 - Third discussion draft", (GPL v3 draft3) Free Software Foundation [link:] document manifest [link:] [^18] - [18]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"DEBIAN SOCIAL CONTRACT"/ .......................... "Debian Social Contract" [link:] document manifest [link:] [^19] - [19]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"DEBIAN CONSTITUTION V1.3"/, (SIMPLE/DEFAULT MARKUP) ..................................................... "Debian Constitution v1.3" [link:] document manifest [link:] [^20] - [20]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"DEBIAN CONSTITUTION V1.3"/, (MARKUP ADJUSTED FOR OUTPUT TO MORE CLOSELY MATCH THE ORIGINAL) .............................................................................. "Debian Constitution v1.3", (markup adjusted for output to more closely match the original) [link:] document manifest [link:] [^21] - [21]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"DEBIAN CONSTITUTION V1.2"/, (SIMPLE/DEFAULT MARKUP) ..................................................... "Debian Constitution v1.2 (more translations)" [link:] document manifest [link:] [^22] - [22]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"DEBIAN CONSTITUTION V1.2"/, (MARKUP ADJUSTED FOR OUTPUT TO MORE CLOSELY MATCH THE ORIGINAL) .............................................................................. "Debian Constitution (more translations)", (markup adjusted for output to more closely match the original) [link:] document manifest [link:] [^23] - [23]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"A UNIFORM SALES TERMINOLOGY"/, VIKKI ROGERS AND ALBERT KRITZER ................................................................ "A Uniform Sales Terminology", Vikki Rogers and Albert Kritzer [link:] document manifest [link:] [^24] - [24]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"THE AUTONOMOUS CONTRACT" 1997 / - MARKUP SAMPLE ................................................. "The Autonomous Contract" 1997 - markup sample [link:] document manifest [link:] [^25] - [25]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"THE AUTONOMOUS CONTRACT REVISITED"/ - MARKUP SAMPLE ..................................................... "The Autonomous Contract Revisited" - markup sample [link:] [^26] - [26]: - alternative markup variations revolving around endnotes - (i) as above, markup with embedded endnotes, and header list of words/phrases to emphasise - - - (ii) Again markup with embedded endnotes, but font faces changed within paragraphs rather than in header as in i - - - (iii) Markup with endnote placemarks within paragraphs, the endnotes following the paragraph that contains them - - (iv) Another alternative is to place the marked up endnotes sequentially and at the end of the text. This also works. The paragraph variant iii is perhaps easier to visually check should there be missing endnotes; but this variant iv may better suit the conversion of alternatively pre-prepared documents. document manifest [link:] [^27] - [27]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /"UNITED NATIONS CONVENTION ON CONTRACTS FOR THE INTERNATIONAL SALE OF GOODS"/ .............................................................................. "United Nations Convention on Contracts for the International Sale of Goods" [link:] [^28] - [28]: - This example instructs the program to use regular expressions, in this example the words: Part, Chapter, Section, Article occurring at the beginning of a line, to identify what should be treated as different levels of heading in a document (and used to make the table of contents). - This example instructs the program to use regular expressions, in this example the words: Part, Chapter, Section, Article occurring at the beginning of a line, to identify what should be treated as different levels of heading in a document (and used to make the table of contents). document manifest [link:] [^29] - [29]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] /PECL/ THE "PRINCIPLES OF EUROPEAN CONTRACT LAW" ................................................ "Principles of European Contract Law" [link:] document manifest [link:] [^30] - [30]: html, segmented text [link:] html, scroll, document in one [link:] pdf, landscape [link:] pdf, portrait [link:] open document [link:] xhtml scroll [link:] xml, sax [link:] xml, dom [link:] plain text utf-8 [link:] concordance [link:] dcc, document content certificate (digests) [link:] markup source text [link:] zipped markup source pod [link:] 1.3 SQL - POSTGRESQL, SQLITE ............................ A Sample search form is available at A few canned searches, showing object numbers. Search for: English documents matching Linux OR Debian [link:] GPL OR Richard Stallman [link:] invention OR innovation in English language [link:] copyright in English language documents [link:] Note that the searches done in this form are case sensitive. Expand those same searches, showing the matching text in each document: English documents matching Linux OR Debian [link:] GPL OR Richard Stallman [link:] invention OR innovation in English language [link:] copyright in English language documents [link:] Note you may set results either for documents matched and object number locations within each matched document meeting the search criteria; or display the names of the documents matched along with the objects (paragraphs) that meet the search criteria.[^31] - [31]: of this feature when demonstrated to an IBM software innovations evaluator in 2004 he said to paraphrase: this could be of interest to us. We have large document management systems, you can search hundreds of thousands of documents and we can tell you which documents meet your search criteria, but there is no way we can tell you without opening each document where within each your matches are found. 1.4 LEX MERCATORIA AS AN EXAMPLE ................................ There is quite a bit to peruse if you explore the site Lex Mercatoria: [^32] - [32]: or perhaps: [^33] - [33]: 1.5 FOR GOOD MEASURE THE MARKUP FOR A DOCUMENT WITH LOTS OF (SIMPLE) TABLES ........................................................................... *SiSU* is not optimised for table making, but does handle simple tables. * SiSU marked up file with tables [link:] [^34] - [34]: - * Output of table file example [link:] [^35] - [35]: 1.6 AND A LINK TO THE OUTPUT OF A REPORTED CASE ............................................... DOCUMENT INFORMATION (METADATA) ******************************* METADATA -------- Document Manifest @ *Dublin Core* (DC) /DC tags included with this document are provided here./ DC Title: _SiSU - Markup Samples, Output Examples_ DC Creator: _Ralph Amissah_ DC Rights: _Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3_ DC Type: _information_ DC Date created: _2002-11-12_ DC Date issued: _2002-11-12_ DC Date available: _2002-11-12_ DC Date modified: _2007-09-16_ DC Date: _2007-09-16_ *Version Information* /Note the version information provided here, is specific to the host site./ Document (RCS/CVS) number: _1.25_ Document (RCS/CVS) number: _2007/09/08_ CVS/RCS time: _17:12:47_ Sourcefile: _sisu_examples.sst_ Filetype: _SiSU text 0.57_ Sourcefile Digest, MD5(sisu_examples.sst)= _440269d282c3f46da4b843c2f6f0c8ac_ Skin_Digest: MD5(/home/ralph/grotto/theatre/dbld/sisu-dev/sisu/data/doc/sisu/sisu_markup_samples/sisu_manual/_sisu/skin/doc/skin_sisu_manual.rb)= _20fc43cf3eb6590bc3399a1aef65c5a9_ *Generated* Document (metaverse) last generated: _Mon Sep 24 15:33:03 +0100 2007_ Generated by: _SiSU_ _0.59.0_ of 2007w38/0 (2007-09-23) Ruby version: _ ruby 1.8.6 (2007-06-07 patchlevel 36) [i486-linux]_ ============================================================================== title: SiSU - Markup Samples, Output Examples creator: Ralph Amissah rights: Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3 type: information subject: ebook, epublishing, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, search date.created: 2002-11-12 date.issued: 2002-11-12 date.available: 2002-11-12 date.modified: 2007-09-16 date: 2007-09-16 ============================================================================== nil Other versions of this document: manifest: http://www.jus.uio.no/sisu/sisu_examples/sisu_manifest.html html: http://www.jus.uio.no/sisu/sisu_examples/toc.html pdf: http://www.jus.uio.no/sisu/sisu_examples/portrait.pdf http://www.jus.uio.no/sisu/sisu_examples/landscape.pdf plaintext (plain text): http://www.jus.uio.no/sisu/sisu_examples/plain.txt at: http://www.jus.uio.no/sisu Source file: sisu_examples.sst Version number: 1.25 Version date: 2007/09/08 * Generated by: SiSU 0.59.0 of 2007w38/0 (2007-09-23) * Ruby version: ruby 1.8.6 (2007-06-07 patchlevel 36) [i486-linux] * Last Generated on: Mon Sep 24 15:33:06 +0100 2007 * SiSU http://www.jus.uio.no/sisu