% SiSU 0.57 @title: SiSU - SiSU information Structuring Universe / Structured information, Serialized Units @subtitle: 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 @level: new=C; break=1; num_top=1 @skin: skin_sisu_manual @bold: /Gnu|Debian|Ruby|SiSU/ @links: { SiSU Manual }http://www.jus.uio.no/sisu/sisu_manual/ { Book Samples and Markup Examples }http://www.jus.uio.no/sisu/SiSU/2.html { SiSU @ Wikipedia }http://en.wikipedia.org/wiki/SiSU { SiSU @ Freshmeat }http://freshmeat.net/projects/sisu/ { SiSU @ Ruby Application Archive }http://raa.ruby-lang.org/project/sisu/ { SiSU @ Debian }http://packages.qa.debian.org/s/sisu.html { SiSU Download }http://www.jus.uio.no/sisu/SiSU/download.html { SiSU Changelog }http://www.jus.uio.no/sisu/SiSU/changelog.html { SiSU help }http://www.jus.uio.no/sisu/sisu_manual/sisu_help/ { SiSU help sources }http://www.jus.uio.no/sisu/sisu_manual/sisu_help_sources/ @rcs:+ $Id: sisu_examples.sst,v 1.25 2007/09/08 17:12:47 ralph Exp $ :A~? @title @creator :B~? SiSU Markup and Output Examples 1~examples Markup and Output Examples 2~ Markup examples *~markup Current markup examples and document output samples are provided at http://www.jus.uio.no/sisu/SiSU/2.html Some markup with syntax highlighting may be found under http://www.jus.uio.no/sisu/sample/syntax 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. <:pb> 2~ A few book (and other) examples *~books *~sample *~example *~output { aukio.png 397x340 "Aukio, by Leena Krohn" }http://www.jus.uio.no/sisu/SiSU ~{ Reproduced with the kind permission of author and artist Leena Krohn, http://www.kaapeli.fi/krohn "Aukio" is from the work /{"Sphinx or Robot"}/ http://www.jus.uio.no/sisu/sphinx_or_robot.leena_krohn.1996 which is included as a book example in this section, together with another of the author's works, /{"Tainaron"}/ http://www.jus.uio.no/sisu/tainaron.leena_krohn.1998 }~ 3~wealth_of_networks- /{"The Wealth of Networks"}/, Yochai Benkler { "The Wealth of Networks", Yochai Benkler [3sS]}the_wealth_of_networks.yochai_benkler.sst 3~freeculture- /{"Free Culture"}/, Lawrence Lessig { "Free Culture", Lawrence Lessig [3sS]}free_culture.lawrence_lessig.sst 3~free_as_in_freedom- /{"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 [3sS]}free_as_in_freedom.richard_stallman_crusade_for_free_software.sam_williams.sst 3~free_for_all- /{"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 [3sS]}free_for_all.peter_wayner.sst 3~catb- /{"The Cathedral and the Bazaar"}/, by Eric S. Raymond { "The Cathedral and the Bazaar", by Eric S. Raymond [3sS]}the_cathedral_and_the_bazaar.eric_s_raymond.sst 3~accelerando- /{"Accelerando"}/, Charles Stross *~stross { "Accelerando", Charles Stross [3sS]}accelerando.charles_stross.sst *~accelerando 3~tainaron- /{"Tainaron"}/, Leena Krohn *~krohn { "Tainaron", Leena Krohn [3sS]}tainaron.leena_krohn.1998.sst *~tainaron 3~sphinx- /{"Sphinx or Robot"}/, Leena Krohn *~sor {i_sor.png 294x59 "Sphinx or Robot by Leena Krohn" }http://www.jus.uio.no/sisu/sphinx_or_robot.leena_krohn.1996 { "Sphinx or Robot", Leena Krohn [3sS]}sphinx_or_robot.leena_krohn.1996.sst 3~war_and_peace- /{"War and Peace"}/, Leo Tolstoy, PG Etext 2600 *~wap *~gutenberg { "War and Peace", Leo Tolstoy [3sS]}war_and_peace.leo_tolstoy.sst ~{ http://www.jus.uio.no/sisu/war_and_peace.leo_tolstoy/toc.html
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. }~ 3~quixote- /{"Don Quixote"}/, Miguel de Cervantes [Saavedra], translated by John Ormsby, PG Etext 996 { "Don Quixote", Miguel de Cervantes [Saavedra] [3sS]}don_quixote.miguel_de_cervantes.sst 3~gulliver- /{"Gulliver's Travels"}/, Jonathan Swift, transcribed from the 1892 George Bell and Sons edition by David Price, PG Etext 829 *~swift { "Gulliver's Travels", Jonathan Swift [3sS]}gullivers_travels.jonathan_swift.sst 3~alice- /{"Alice's Adventures in Wonderland"}/, Lewis Carroll, PG Etext 11 { "Alice's Adventures in Wonderland", Lewis Carroll [3sS]}alices_adventures_in_wonderland.lewis_carroll.sst 3~glass- /{"Through The Looking-Glass"}/, Lewis Carroll, PG Etext 12 { "Through The Looking-Glass", Lewis Carroll [3sS]}through_the_looking_glass.lewis_carroll.sst 3~alice- /{"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 [3sS]}alices_adventures_in_wonderland_and_through_the_looking_glass.lewis_carroll.ssm 3~gpl- /{"Gnu Public License 2"}/, (GPL 2) Free Software Foundation { "Gnu Public License 2", (GPL 2) Free Software Foundation [3sS]}gpl2.fsf.sst 3~gpl- /{"Gnu Public License v3 - Third discussion draft"}/, (GPLv3) Free Software Foundation { "Gnu Public License 3 - Third discussion draft", (GPL v3 draft3) Free Software Foundation [3sS]}gpl3_draft3.fsf.sst 3~dsc- /{"Debian Social Contract"}/ { "Debian Social Contract" [3sS]}debian_social_contract_v1.1.sst 3~dc- /{"Debian Constitution v1.3"}/, (simple/default markup) { "Debian Constitution v1.3" [3sS]}debian_constitution_v1.3.sst 3~dc- /{"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) [3sS]}debian_constitution_v1.3.adjusted.sst 3~dc- /{"Debian Constitution v1.2"}/, (simple/default markup) { "Debian Constitution v1.2 (more translations)" [3sS]}debian_constitution_v1.2.sst 3~dc- /{"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) [3sS]}debian_constitution_v1.2.adjusted.sst 3~terminology- /{"A Uniform Sales Terminology"}/, Vikki Rogers and Albert Kritzer { "A Uniform Sales Terminology", Vikki Rogers and Albert Kritzer [3sS]}a_uniform_international_sales_terminology.vikki_rogers.and.albert_kritzer.sst 3~autonomous- /{"The Autonomous Contract" 1997 }/ - markup sample { "The Autonomous Contract" 1997 - markup sample [3sS]}the_autonomous_contract.amissah.19970710.sst 3~autonomous- /{"The Autonomous Contract Revisited"}/ - markup sample { "The Autonomous Contract Revisited" - markup sample [3sS]}autonomy_markup0.sst ~{ http://www.jus.uio.no/sisu/autonomy_markup0/toc.html
alternative markup variations revolving around endnotes
(i) as above, markup with embedded endnotes, and header list of words/phrases to emphasise
http://www.jus.uio.no/sisu/sample/syntax/autonomy_markup0.sst.html
http://www.jus.uio.no/sisu/sample/markup/autonomy_markup0.sst
(ii) Again markup with embedded endnotes, but font faces changed within paragraphs rather than in header as in i
http://www.jus.uio.no/sisu/sample/syntax/autonomy_markup1.sst.html
http://www.jus.uio.no/sisu/sample/markup/autonomy_markup1.sst
(iii) Markup with endnote placemarks within paragraphs, the endnotes following the paragraph that contains them http://www.jus.uio.no/sisu/sample/syntax/autonomy_markup2.sst.html
http://www.jus.uio.no/sisu/sample/markup/autonomy_markup2.sst
(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. }~ 3~cisg- /{"United Nations Convention on Contracts for the International Sale of Goods"}/ { "United Nations Convention on Contracts for the International Sale of Goods" [3sS]}un_contracts_international_sale_of_goods_convention_1980.sst ~{ http://www.jus.uio.no/sisu/un_contracts_international_sale_of_goods_convention_1980/toc.html
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). }~ 3~pecl- /PECL/ the "Principles of European Contract Law" { "Principles of European Contract Law" [3sS]}eu_contract_principles_parts_1_to_3_2002.sst 2~sql SQL - PostgreSQL, SQLite A Sample search form is available at http://search.sisudoc.org A few canned searches, showing object numbers. Search for: _1 { English documents matching Linux OR Debian }http://search.sisudoc.org?s1=Linux%2BOR%2BDebian&lang=En&db=SiSU_sisu&view=index&a=1 _1 { GPL OR Richard Stallman }http://search.sisudoc.org?s1=GPL%2BOR%2BRichard%2BStallman&lang=En&db=SiSU_sisu&view=index&a=1 _1 { invention OR innovation in English language }http://search.sisudoc.org?s1=invention%2BOR%2Binnovation&lang=En&db=SiSU_sisu&view=index&a=1 _1 { copyright in English language documents }http://search.sisudoc.org?s1=copyright&lang=En&db=SiSU_sisu&view=index&a=1 Note that the searches done in this form are case sensitive. Expand those same searches, showing the matching text in each document: _1 { English documents matching Linux OR Debian }http://search.sisudoc.org?s1=Linux%2BOR%2BDebian&lang=En&db=SiSU_sisu&view=text&a=1 _1 { GPL OR Richard Stallman }http://search.sisudoc.org?s1=GPL%2BOR%2BRichard%2BStallman&lang=En&db=SiSU_sisu&view=text&a=1 _1 { invention OR innovation in English language }http://search.sisudoc.org?s1=invention%2BOR%2Binnovation&lang=En&db=SiSU_sisu&view=text&a=1 _1 { copyright in English language documents }http://search.sisudoc.org?s1=copyright&lang=En&db=SiSU_sisu&view=text&a=1 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.~{ 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. }~ 2~ Lex Mercatoria as an example There is quite a bit to peruse if you explore the site Lex Mercatoria: http://www.lexmercatoria.org/ ~{ http://www.jus.uio.no/lm/index }~ or perhaps: http://lexmercatoria.org/treaties.and.organisations/lm.chronological ~{ http://www.jus.uio.no/lm/treaties.and.organisations/lm.chronological }~ 2~ 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 }http://www.jus.uio.no/sisu/sample/syntax/un_conventions_membership_status.sst.html ~{
http://www.jus.uio.no/sisu/sample/markup/un_conventions_membership_status.sst }~ _* {~^ Output of table file example }http://www.jus.uio.no/lm/un_conventions_membership_status/toc.html 2~ And a link to the output of a reported case http://www.jus.uio.no/lm/england.fothergill.v.monarch.airlines.hl.1980/toc.html