aboutsummaryrefslogtreecommitdiffhomepage
path: root/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_examples.sst
diff options
context:
space:
mode:
Diffstat (limited to 'data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_examples.sst')
-rw-r--r--data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_examples.sst220
1 files changed, 220 insertions, 0 deletions
diff --git a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_examples.sst b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_examples.sst
new file mode 100644
index 00000000..9460615e
--- /dev/null
+++ b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_examples.sst
@@ -0,0 +1,220 @@
+% SiSU 2.0
+
+@title: SiSU
+ :subtitle: Markup Samples, Output Examples
+
+@creator: :author: Amissah, Ralph
+
+@classify:
+ :type: information
+ :topic_register: electronic documents;SiSU:document:examples;sisu:document:examples
+ :subject: ebook, epublishing, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, search
+
+% used_by: SiSU.ssm
+
+@rights: Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3
+
+@date:
+ :created: 2002-11-12
+ :issued: 2002-11-12
+ :available: 2002-11-12
+ :published: 2007-09-16
+ :modified: 2009-12-16
+
+@make:
+ :num_top: 1
+ :breaks: new=C; break=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}../SiSU/examples.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/
+
+: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/examples.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
+
+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~two_bits- /{"Two Bits"}/, Christopher Kelty
+
+{ "Two Bits", Christopher Kelty [3sS]}two_bits.christopher_kelty.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~littlebrother- /{"Little Brother"}/, Cory Doctorow *~doctorow
+
+{ "Little Brother", Cory Doctorow [3sS]}little_brother.cory_doctorow.sst *~littlebrother
+
+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
+
+{ "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 <br> 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. <br> I did a stylesheet/skin for the Gutenberg Project, ... I may have to remove. }~
+
+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 <br> alternative markup variations revolving around endnotes<br> (i) as above, markup with embedded endnotes, and header list of words/phrases to emphasise<br> http://www.jus.uio.no/sisu/sample/syntax/autonomy_markup0.sst.html <br> http://www.jus.uio.no/sisu/sample/markup/autonomy_markup0.sst <br>(ii) Again markup with embedded endnotes, but font faces changed within paragraphs rather than in header as in i <br> http://www.jus.uio.no/sisu/sample/syntax/autonomy_markup1.sst.html <br> http://www.jus.uio.no/sisu/sample/markup/autonomy_markup1.sst <br> (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 <br> http://www.jus.uio.no/sisu/sample/markup/autonomy_markup2.sst <br>(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 <br>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). <br>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 ~{ <br> 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