diff options
Diffstat (limited to 'data/doc/manuals_generated/sisu_manual/sisu_faq/faq.html')
-rw-r--r-- | data/doc/manuals_generated/sisu_manual/sisu_faq/faq.html | 1228 |
1 files changed, 1228 insertions, 0 deletions
diff --git a/data/doc/manuals_generated/sisu_manual/sisu_faq/faq.html b/data/doc/manuals_generated/sisu_manual/sisu_faq/faq.html new file mode 100644 index 00000000..6766ae1c --- /dev/null +++ b/data/doc/manuals_generated/sisu_manual/sisu_faq/faq.html @@ -0,0 +1,1228 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> + <title> + faq - + SiSU - SiSU information Structuring Universe / Structured information, Serialized Units + </title> +<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> + + <meta name="dc.title" content="SiSU - SiSU information Structuring Universe / Structured information, Serialized Units - FAQ - Frequently Asked/Answered Questions" /> + <meta name="dc.creator" content="Ralph Amissah" /> + <meta name="dc.subject" content="ebook, epublishing, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, search" /> + <meta name="dc.publisher" content="SiSU http://www.jus.uio.no/sisu (this copy)" /> + <meta name="dc.date" content="2007-09-16" scheme="ISO-8601" /> + <meta name="dc.date.created" content="2006-09-06" scheme="ISO-8601" /> + <meta name="dc.date.issued" content="2006-09-06" scheme="ISO-8601" /> + <meta name="dc.date.available" content="2006-09-06" scheme="ISO-8601" /> + <meta name="dc.date.modified" content="2007-09-16" scheme="ISO-8601" /> + <meta name="dc.type" content="information" /> + <meta name="dc.identifier" content="http://www.jus.uio.no/sisu/sisu_manual/sisu_faq/toc.html" /> + <meta name="dc.language" content="English" /> + <meta name="dc.rights" content="Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3" /> + + <meta name="generator" content="SiSU 0.59.0 of 2007w38/0 (2007-09-23) (n*x and Ruby!)" /> + <link rel="generator" href="http://www.jus.uio.no/sisu" /> + <link rel="shortcut icon" href="../_sisu/image/rb7.ico" /> + + <link rel="stylesheet" href="../_sisu/css/html.css" type="text/css" /> +</head> + +<body bgcolor="#ffffff" text="#000000" link="#003090" lang="en" xml:lang="en"> + +<a name="top" id="top"></a> +<a name="up" id="up"></a> +<a name="start" id="start"></a> +<div id="pane_major"><table summary="segment navigation band" bgcolor="#ffffff" width="100%"><tr> +<td width="20%" align="left"> +<table summary="band" border="0" cellpadding="3" cellspacing="0"><tr><td align="left" bgcolor="#ffffff"><a href="http://www.jus.uio.no/sisu/" target="_top"><img border="0" src="../_sisu/image_local/sisu.png" alt="SiSU -->" /></a></td></tr> +</table> +</td> +<td width="60%" align="center"> + +<table summary="segment navigation available documents types: toc,doc,pdf,concordance" border="0" cellpadding="3" cellspacing="0"> +<tr> + <td align="center" bgcolor="#99CC66"> + <a href="toc.html" target="_top" > + <font face="verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman" size="2"> + <img border="0" height="18" width="15" src="../_sisu/image/b_toc.png" alt="TOC linked" /> toc + </font> + </a> +</td> + + <td align="center" bgcolor="#ffffff"> + <a href="doc.html" target="_top" > + <font face="verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman" size="2"> + <img border="0" height="15" width="15" src="../_sisu/image/b_doc.png" alt="Full Text" /> scroll + </font> + </a> +</td> + + +<td align="center" bgcolor="#ffffff"> + <a href="portrait.pdf" target="_top" > + <font face="verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman" size="2"> + <img border="0" height="18" width="15" src="../_sisu/image/b_pdf.png" alt="PDF portrait" /> + pdf + </font> + </a> +</td> +<td align="center" bgcolor="#ffffff"> + <a href="landscape.pdf" target="_top" > + <font face="verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman" size="2"> + <img border="0" height="15" width="18" src="../_sisu/image/b_pdf.png" alt="PDF landscape" /> + pdf + </font> + </a> +</td> + +<td align="center" bgcolor="#ffffff"> + <a href="opendocument.odt" target="_top" > + <font face="verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman" size="2"> + <img border="0" height="18" width="18" src="../_sisu/image/b_odf.png" alt="ODF/ODT" /> odt + </font> + </a> +</td> +<td align="center" bgcolor="#ffffff"> + <td align="center" bgcolor="#ffffff"> + <a href="concordance.html" target="_top" > + <font face="verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman" size="2"> + A-Z + </font> + </a> + </td> + <td align="center" bgcolor="#ffffff"> + <a href="sisu_manifest.html" target="_top" > + <font face="verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman" size="2"> + <img border="0" height="15" width="15" src="../_sisu/image/b_info.png" alt="Document Manifest" /> + </font> + </a> +</td> + + <td align="center" bgcolor="#ffffff"> + <a href="../index.html" target="_top"> + <img src="../_sisu/image/b_home.png" alt="@" border="0" /></a> +</td> + +</tr></table> +</td> +<td width="20%" align="right"> + <table summary="segment navigation pre/next" border="0" cellpadding="3" cellspacing="0"> +<tr> + +<td align="center" bgcolor="#ffffff"> + <a href="index.html" target="_top" > + <img border="0" width="22" height="22" src="../_sisu/image/arrow_up_red.png" alt="TOC" /> + </a> +</td> +<td align="center" bgcolor="#ffffff"> + <a href="endnotes.html" target="_top" > + <img border="0" width="22" height="22" src="../_sisu/image/arrow_next_red.png" alt="next >>" /> + </a> +</td> +<td> +</td></tr> +</table> +</td></tr> +</table> +<table summary="segment hidden control pre and next" width="100%" border="0" cellpadding="0" bgcolor=#eeeeee align="center"> +<tr><td align="left"> + <a href="metadata.html" target="_top" > + <img border="0" width="100%" height="20" src="../_sisu/image/dot_white.png" alt="<" /> + </a> +</td> +<td align="center"> + <a href="index.html" target="_top" > + <img border="0" width="100%" height="20" src="../_sisu/image/dot_white.png" alt="^" /> + </a> +</td> +<td align="right"> + <a href="endnotes.html" target="_top" > + <img border="0" width="100%" height="20" src="../_sisu/image/dot_white.png" alt=">" /> + </a> +</td></tr> +</table><p class="tiny"> + SiSU - SiSU information Structuring Universe / Structured information, Serialized Units + </p> + <p class="tiny"> + FAQ - Frequently Asked/Answered Questions + </p> + <p class="tiny"> + <b>Ralph Amissah</b> + + </p> + <p class="tiny"> + copy @ + <a href="http://www.jus.uio.no/sisu/"> + SiSU + </a> + </p><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <h1 class="banner"> + SiSU - SiSU information Structuring Universe / Structured information, Serialized Units - FAQ - Frequently Asked/Answered Questions,<br /> Ralph Amissah + </h1> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 1 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <h4 class="banner"> + 1. FAQ - Frequently Asked/Answered Questions <a name="1"></a> + </h4> +</td> +<td width="2%" align="right" valign="top"> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <h1 class="norm" id="o2"><a name="2" /> + + 1. FAQ - Frequently Asked/Answered Questions <a name="1"></a> + </h1> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 2 + </p> +</td></tr> +</table><h5 class="subtoc"> + <a href="#3"> + <i>1.1 Why are urls produced with the -v (and -u) flag that point to a web server on port 8081? </i> + </a> + </h5><h5 class="subtoc"> + <a href="#7"> + <i>1.2 I cannot find my output, where is it? </i> + </a> + </h5><h5 class="subtoc"> + <a href="#15"> + <i>1.3 I do not get any pdf output, why? </i> + </a> + </h5><h5 class="subtoc"> + <a href="#20"> + <i>1.4 Where is the latex (or some other interim) output? </i> + </a> + </h5><h5 class="subtoc"> + <a href="#27"> + <i>1.5 Why isn't SiSU markup XML </i> + </a> + </h5><h5 class="subtoc"> + <a href="#35"> + <i>1.6 LaTeX claims to be a document preparation system for high-quality typesetting. Can the same be said about SiSU? </i> + </a> + </h5><h5 class="subtoc"> + <a href="#44"> + <i>1.7 How do I create GIN or GiST index in Postgresql for use in SiSU </i> + </a> + </h5><h5 class="subtoc"> + <a href="#62"> + <i>1.8 Where is version 1.0? </i> + </a> + </h5><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> +<a name="h1.1" id="h1.1"></a> + <p class="bold" id="o3"><a name="3" /> + 1.1 Why are urls produced with the -v (and -u) flag that point to a web server on port 8081? + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 3 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o4"><a name="4" /> + Try the following rune: + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 4 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <li class="bullet" id="o5"><a name="5" /> + sisu -W + </li> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 5 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o6"><a name="6" /> + This should start the ruby webserver. It should be done after having produced some output as it scans the output directory for what to serve. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 6 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> +<a name="h1.2" id="h1.2"></a> + <p class="bold" id="o7"><a name="7" /> + 1.2 I cannot find my output, where is it? + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 7 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o8"><a name="8" /> + The following should provide help on output paths: + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 8 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <li class="bullet" id="o9"><a name="9" /> + sisu --help env + </li> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 9 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <li class="bullet" id="o10"><a name="10" /> + sisu -V [same as the previous command] + </li> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 10 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <li class="bullet" id="o11"><a name="11" /> + sisu --help directory + </li> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 11 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <li class="bullet" id="o12"><a name="12" /> + sisu --help path + </li> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 12 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <li class="bullet" id="o13"><a name="13" /> + sisu -U [filename] + </li> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 13 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <li class="bullet" id="o14"><a name="14" /> + man sisu + </li> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 14 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> +<a name="h1.3" id="h1.3"></a> + <p class="bold" id="o15"><a name="15" /> + 1.3 I do not get any pdf output, why? + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 15 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o16"><a name="16" /> + <b>SiSU</b> produces LaTeX and pdflatex is run against that to generate pdf files. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 16 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o17"><a name="17" /> + If you use <b>Debian</b> the following will install the required dependencies + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 17 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <li class="bullet" id="o18"><a name="18" /> + aptitude install sisu-pdf + </li> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 18 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o19"><a name="19" /> + the following packages are required: tetex-bin, tetex-extra, latex-ucs + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 19 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> +<a name="h1.4" id="h1.4"></a> + <p class="bold" id="o20"><a name="20" /> + 1.4 Where is the latex (or some other interim) output? + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 20 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o21"><a name="21" /> + Try adding -M (for maintenance) to your command flags, e.g.: + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 21 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <li class="bullet" id="o22"><a name="22" /> + sisu -HpMv [filename] + </li> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 22 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o23"><a name="23" /> + this should result in the interim processing output being retained, and information being provided on where to find it. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 23 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <li class="bullet" id="o24"><a name="24" /> + sisu --help directory + </li> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 24 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <li class="bullet" id="o25"><a name="25" /> + sisu --help path + </li> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 25 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o26"><a name="26" /> + should also provide some relevant information as to where it is placed. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 26 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> +<a name="h1.5" id="h1.5"></a> + <p class="bold" id="o27"><a name="27" /> + 1.5 Why isn't SiSU markup XML + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 27 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o28"><a name="28" /> + I worked with text and (though I find XML immensely valuable) disliked noise ... better to sidestep the question and say: + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 28 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o29"><a name="29" /> + <b>SiSU</b> currently "understands" three XML input representations - or more accurately, converts from three forms of XML to native <b>SiSU</b> markup for processing. The three types correspond to SAX (structure described), DOM (structure embedded, whole document must be read before structure is correctly discernable) and node based (a tree) forms of XML document structure representation. Problem is I use them very seldom and check that all is as it should be with them seldom, so I would not be surprised if something breaks there, but as far as I know they are working. I will check and add an XML markup help page before the next release. There already is a bit of information in the man page under the title <b>SiSU</b> VERSION CONVERSION + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 29 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="i1" id="o30"><a name="30" /> + sisu --to-sax [filename/wildcard] + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 30 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="i1" id="o31"><a name="31" /> + sisu --to-dom [filename/wildcard] + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 31 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="i1" id="o32"><a name="32" /> + sisu --to-node [filename/wildcard] + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 32 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o33"><a name="33" /> + The XML should be well formed... must check, but lacks sensible headers. Suggestions welcome as to what to make of them. [For the present time I am satisfied that I can convert (both ways) between 3 forms of XML representation and <b>SiSU</b> markup]. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 33 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="i1" id="o34"><a name="34" /> + sisu --from-xml2sst [filename/wildcard] + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 34 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> +<a name="h1.6" id="h1.6"></a> + <p class="bold" id="o35"><a name="35" /> + 1.6 LaTeX claims to be a document preparation system for high-quality typesetting. Can the same be said about SiSU? + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 35 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o36"><a name="36" /> + <b>SiSU</b> is not really about type-setting. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 36 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o37"><a name="37" /> + LaTeX is the ultimate computer instruction type-setting language for paper based publication. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 37 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o38"><a name="38" /> + LaTeX is able to control just about everything that happens on page and pixel, position letters kerning, space variation between characters, words, paragraphs etc. formula. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 38 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o39"><a name="39" /> + <b>SiSU</b> is not really about type-setting at all. It is about a lightweight markup instruction that provides enough information for an abstraction of the documents structure and objects, from which different forms of representation of the document can be generated. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 39 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o40"><a name="40" /> + <b>SiSU</b> with very little markup instruction is able to produce relatively high quality pdf by virtue of being able to generate usable default LaTeX; it produces "quality" html by generating the html directly; likewise it populates an SQL database in a useful way with the document in object sized chunks and its meta-data. But <b>SiSU</b> works on an abstraction of the document's structure and content and custom builds suitable uniform output. The html for browser viewing and pdf for paper viewing/publishing are rather different things with different needs for layout - as indeed is what is needed to store information in a database in searchable objects. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 40 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o41"><a name="41" /> + The pdfs or html produced for example by open office based on open document format and other office/word processor suits usually attempt to have similar looking outputs - your document rendered in html looks much the same, or in pdf... sisu is less this way, it seeks to have a starting point with as little information about appearance as possible, and to come up with the best possible appearance for each output that can be derived based on this minimal information. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 41 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o42"><a name="42" /> + Where there are large document sets, it provides consistency in appearance in each output format for the documents. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 42 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o43"><a name="43" /> + The excuse for going this way is, it is a waste of time to think much about appearance when working on substantive content, it is the substantive content that is relevant, not the way it looks beyond the basic informational tags - and yet you want to be able to take advantage of as many useful different ways of representing documents as are available, and for various types of output to to be/look as good as it can for each medium/format in which it is presented, (with different mediums having different focuses) and <b>SiSU</b> tries to achieve this from minimal markup. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 43 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> +<a name="h1.7" id="h1.7"></a> + <p class="bold" id="o44"><a name="44" /> + 1.7 How do I create GIN or GiST index in Postgresql for use in SiSU + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 44 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o45"><a name="45" /> + This at present needs to be done "manually" and it is probably necessary to alter the sample search form. The following is a helpful response from one of the contributors of GiN to Postgresql Oleg Bartunov 2006-12-06: + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 45 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o46"><a name="46" /> + "I have tsearch2 slides which introduces tsearch2 <<a href="http://www.sai.msu.su/~megera/wiki/tsearch2slides" target="_top">http://www.sai.msu.su/~megera/wiki/tsearch2slides</a>> + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 46 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o47"><a name="47" /> + FTS in PostgreSQL is provided by tsearch2, which should works without any indices (GiST or GIN) ! Indices provide performance, not functionality. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 47 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o48"><a name="48" /> + In your example I'd do ( simple way, just for demo): + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 48 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o49"><a name="49" /> + <b>0.</b> compile, install tsearch2 and load tsearch2 into your database + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 49 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="i1" id="o50"><a name="50" /> + cd contrib/tsearch2; make&&make&&install&&make installcheck; psql DB < tsearch2.sql + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 50 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o51"><a name="51" /> + <b>1.</b> Add column fts, which holds tsvector + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 51 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="i1" id="o52"><a name="52" /> + alter table documents add column fts tsvector; + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 52 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o53"><a name="53" /> + <b>2.</b> Fill fts column + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 53 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="i1" id="o54"><a name="54" /> + update document set fts = to_tsvector(clean); + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 54 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o55"><a name="55" /> + <b>3.</b> create index - just for performance ! + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 55 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="i1" id="o56"><a name="56" /> + create index fts_gin_idx on document using gin(fts); + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 56 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o57"><a name="57" /> + <b>4.</b> Run vacuum + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 57 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="i1" id="o58"><a name="58" /> + vacuum analyze document; + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 58 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o59"><a name="59" /> + That's all. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 59 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o60"><a name="60" /> + Now you can search: + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 60 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o61"><a name="61" /> + select lid, metadata_tid, rank_cd(fts, q,2)as rank from document, plainto_tsquery('markup syntax') q where q @@ fts order by rank desc limit 10; + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 61 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> +<a name="h1.8" id="h1.8"></a> + <p class="bold" id="o62"><a name="62" /> + 1.8 Where is version 1.0? + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 62 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o63"><a name="63" /> + <b>SiSU</b> works pretty well as it is supposed to. Version 1.0 will have the current markup, and directory structure. At this point it is largely a matter of choice as to when the name change is made. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 63 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o64"><a name="64" /> + The feature set for html, <a name="-1" href="#_1"> <sup>1</sup> </a> LaTeX/pdf and opendocument is in place. XML, and plaintext are in order. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 64 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o65"><a name="65" /> + html and LaTeX/pdf may be regarded as reference copy outputs + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 65 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o66"><a name="66" /> + With regard to the populating of sql databases (postgresql and sqlite), there is a bit to be done. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 66 + </p> +</td></tr> +</table><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="norm" id="o67"><a name="67" /> + We are still almost there. + </p> +</td> +<td width="2%" align="right" valign="top"> + <p class="ocn"> + 67 + </p> +</td></tr> +</table><p class="center" id="endnotes"> +<a href="#top">^</a></p><table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> +<tr><td valign="top" align="justify"> + <p class="endnote"> + <a name="_1" href="#-1"> <sup>1.</sup></a> html w3c compliance has been largely met. + </p> +</td> +<td width="2%" align="right" valign="top"> +</td></tr> +</table><table summary="whitespace"><tr><td> </td></tr></table><table summary="segment navigation band" bgcolor="#ffffff" width="100%"><tr> +<td width="20%" align="left"> +<table summary="band" border="0" cellpadding="3" cellspacing="0"><tr><td align="left" bgcolor="#ffffff"><a href="http://www.jus.uio.no/sisu/" target="_top"><img border="0" src="../_sisu/image_local/sisu.png" alt="SiSU -->" /></a></td></tr> +</table> +</td> +<td width="60%" align="center"> + +<table summary="segment navigation available documents types: toc,doc,pdf,concordance" border="0" cellpadding="3" cellspacing="0"> +<tr> + <td align="center" bgcolor="#99CC66"> + <a href="toc.html" target="_top" > + <font face="verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman" size="2"> + <img border="0" height="18" width="15" src="../_sisu/image/b_toc.png" alt="TOC linked" /> toc + </font> + </a> +</td> + + <td align="center" bgcolor="#ffffff"> + <a href="doc.html" target="_top" > + <font face="verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman" size="2"> + <img border="0" height="15" width="15" src="../_sisu/image/b_doc.png" alt="Full Text" /> scroll + </font> + </a> +</td> + + +<td align="center" bgcolor="#ffffff"> + <a href="portrait.pdf" target="_top" > + <font face="verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman" size="2"> + <img border="0" height="18" width="15" src="../_sisu/image/b_pdf.png" alt="PDF portrait" /> + pdf + </font> + </a> +</td> +<td align="center" bgcolor="#ffffff"> + <a href="landscape.pdf" target="_top" > + <font face="verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman" size="2"> + <img border="0" height="15" width="18" src="../_sisu/image/b_pdf.png" alt="PDF landscape" /> + pdf + </font> + </a> +</td> + +<td align="center" bgcolor="#ffffff"> + <a href="opendocument.odt" target="_top" > + <font face="verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman" size="2"> + <img border="0" height="18" width="18" src="../_sisu/image/b_odf.png" alt="ODF/ODT" /> odt + </font> + </a> +</td> +<td align="center" bgcolor="#ffffff"> + <td align="center" bgcolor="#ffffff"> + <a href="concordance.html" target="_top" > + <font face="verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman" size="2"> + A-Z + </font> + </a> + </td> + <td align="center" bgcolor="#ffffff"> + <a href="sisu_manifest.html" target="_top" > + <font face="verdana, arial, georgia, tahoma, sans-serif, helvetica, times, roman" size="2"> + <img border="0" height="15" width="15" src="../_sisu/image/b_info.png" alt="Document Manifest" /> + </font> + </a> +</td> + + <td align="center" bgcolor="#ffffff"> + <a href="../index.html" target="_top"> + <img src="../_sisu/image/b_home.png" alt="@" border="0" /></a> +</td> + +</tr></table> +</td> +<td width="20%" align="right"> + <table summary="segment navigation pre/next" border="0" cellpadding="3" cellspacing="0"> +<tr> + +<td align="center" bgcolor="#ffffff"> + <a href="index.html" target="_top" > + <img border="0" width="22" height="22" src="../_sisu/image/arrow_up_red.png" alt="TOC" /> + </a> +</td> +<td align="center" bgcolor="#ffffff"> + <a href="endnotes.html" target="_top" > + <img border="0" width="22" height="22" src="../_sisu/image/arrow_next_red.png" alt="next >>" /> + </a> +</td> +<td> +</td></tr> +</table> +</td></tr> +</table> +<table summary="segment hidden control pre and next" width="100%" border="0" cellpadding="0" bgcolor=#eeeeee align="center"> +<tr><td align="left"> + <a href="metadata.html" target="_top" > + <img border="0" width="100%" height="20" src="../_sisu/image/dot_white.png" alt="<" /> + </a> +</td> +<td align="center"> + <a href="index.html" target="_top" > + <img border="0" width="100%" height="20" src="../_sisu/image/dot_white.png" alt="^" /> + </a> +</td> +<td align="right"> + <a href="endnotes.html" target="_top" > + <img border="0" width="100%" height="20" src="../_sisu/image/dot_white.png" alt=">" /> + </a> +</td></tr> +</table><br/> + +<table summary="SiSU summary" bgcolor="#ffffff" cellpadding="4" border="0"> + +<tr><td> + <!-- widget sisu --> +<tr><td valign="top" width="10%"> + <p class="tiny_left"><font color="#666666" size="2"> + <a href="http://www.jus.uio.no/sisu" > + <img border="0" src="../_sisu/image/sisu.png" alt="SiSU" width="120" height="39" /> + </a> + </font></p> +</td><td valign="top" width="45%"> +<!-- SiSU Rights --> + <p class="tiny_left"><font color="#666666" size="2"> + Output generated by + <a href="http://www.jus.uio.no/sisu" > + SiSU + </a> + 0.59.0 2007-09-23 (2007w38/0) + <br /> + <a href="http://www.jus.uio.no/sisu" > + <b>SiSU</b> + </a> + Copyright <sup>©</sup> Ralph Amissah + 1997, current 2007. + All Rights Reserved. + <br /> + <a href="http://www.jus.uio.no/sisu" > + SiSU + </a> + is software for document structuring, publishing and search, + <br /> + <a href="http://www.jus.uio.no/sisu" > + www.jus.uio.no/sisu + </a> + and + <a href="http://www.sisudoc.org" > + www.sisudoc.org + </a> + <br /> + <i>w3 since October 3 1993</i> + <a href="mailto://ralph@amissah.com" > + ralph@amissah.com + </a> + </font></p> +</td><td valign="top" width="45%"> + <p class="tiny_left"><font color="#666666" size="2"> + SiSU using: + <br />Standard SiSU markup syntax, + <br />Standard SiSU meta-markup syntax, and the + <br />Standard SiSU <u>object citation numbering</u> and system, (object/text positioning system) + <br /> + Copyright <sup>©</sup> Ralph Amissah 1997, current 2007. + All Rights Reserved. + </font></p> +</td></tr> + + <!-- widget way better --> +<tr><td valign="top" width="10%"> + <p class="tiny_left"><font color="#666666" size="2"> + <a href="http://www.gnu.org/licenses/gpl.html"> + <img border="0" src="../_sisu/image/gplv3_free_software.png" alt="GPLv3" width="127" height="51" /> + </a> + </font></p> +</td><td valign="top" width="45%"> + <p class="tiny_left"><font color="#666666" size="2"> + <a href="http://www.jus.uio.no/sisu" > + SiSU + </a> + is released under + <a href="http://www.gnu.org/licenses/gpl.html">GPLv3</a> + or later, + <<a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/gpl.html</a>> + </font></p> +</td><td valign="top" width="45%"> + <p class="tiny_left"><font color="#666666" size="2"> + SiSU, developed using + <a href="http://www.ruby-lang.org/en/"> + Ruby + </a> + on + <a href="http://www.debian.org/"> + Debian/Gnu/Linux + </a> + software infrastructure, + with the usual GPL (or OSS) suspects. + <br /> + Better - "performance, reliability, scalability, security & total cost of ownership" + [not to mention flexibility & choice] use of and adherence to open standards (where practical and fair) and it is software libre. + <br /> + Get With the Future + <a href="http://www.jus.uio.no/sisu/"> + Way Better! + </a> + </font></p> +</td></tr> + +</table> +<a name="bottom" id="bottom"></a> +<a name="down" id="down"></a> +<a name="end" id="end"></a> +<a name="finish" id="finish"></a> +<a name="stop" id="stop"></a> +<a name="credits" id="credits"></a></div><div id="pane_minor"> +<br /><!-- SiSU Search --> + +<a name="search"></a> +<form method="get" action="http://search.sisudoc.org" target="_top"> +<font size="2"> +<input type="text" name="s1" size="24" maxlength="255" /> +<br /> +<input type="hidden" name="db" value="SiSU_sisu" /> +<input type="hidden" name="ltd" value="1000" /> +<input type="hidden" name="off" value="0" /> +<input type="radio" name="view" value="index" checked="checked" /> idx +<input type="radio" name="view" value="text" /> txt +<input type="submit" name="ignore" value="search" /> +<input type="checkbox" name="fns" value="sisu_faq" /> +</font></form> +<br /> +<!-- SiSU Search --> +<br /> +<p class="pane"> +<a href="../sisu_manual/toc.html"> + +<b>SiSU manual</b> + +</a></p> + + + + +<p class="pane_link"><a href="../sisu_introduction/toc.html">SiSU introduction</a></p> +<p class="pane_link"><a href="../sisu_commands/toc.html">SiSU commands</a></p> +<p class="pane_link"><a href="../sisu_markup/toc.html">SiSU markup</a></p> +<p class="pane_link"><a href="../sisu_configuration/toc.html">SiSU configuration</a></p> +<p class="pane_link"><a href="../sisu_help/toc.html">SiSU help</a></p> +<p class="pane_link"><a href="../sisu_help_sources/toc.html">SiSU help sources</a></p> + +<br /> +<p class="pane"> +<a href="../index.html"> + +<b>SiSU</b> + +</a></p> + + + + +<p class="pane_link"><a href="../SiSU/1.html#summary">What does SiSU do? Summary</a></p> +<p class="pane_link"><a href="../SiSU/2.html">SiSU Book Samples and Markup Examples</a></p> +<p class="pane_link"><a href="../sisu_markup/">Markup</a></p> +<p class="pane_link"><a href="../sisu_commands/">Commands</a></p> +<p class="pane_link"><a href="../sisu_manual/">Manual</a></p> +<p class="pane_link"><a href="../SiSU/download.html">SiSU Download</a></p> +<p class="pane_link"><a href="../SiSU/changelog.html">SiSU Changelog</a></p> +<p class="pane_link"><a href="http://en.wikipedia.org/wiki/SiSU">Wikipedia entry</a></p> +<p class="pane_link"><a href="http://freshmeat.net/projects/sisu/">Freshmeat</a></p> +<p class="pane_link"><a href="http://raa.ruby-lang.org/project/sisu/">Ruby Application Archive</a></p> + + +</div></body> +</html>
\ No newline at end of file |