diff options
Diffstat (limited to 'data/doc/manuals_generated/sisu_manual/sisu_commands/dom.xml')
-rw-r--r-- | data/doc/manuals_generated/sisu_manual/sisu_commands/dom.xml | 996 |
1 files changed, 0 insertions, 996 deletions
diff --git a/data/doc/manuals_generated/sisu_manual/sisu_commands/dom.xml b/data/doc/manuals_generated/sisu_manual/sisu_commands/dom.xml deleted file mode 100644 index abc77531..00000000 --- a/data/doc/manuals_generated/sisu_manual/sisu_commands/dom.xml +++ /dev/null @@ -1,996 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<?xml-stylesheet type="text/css" href="../_sisu/css/dom.css"?> -<!-- Document processing information: - * Generated by: SiSU 0.59.1 of 2007w39/2 (2007-09-25) - * Ruby version: ruby 1.8.6 (2007-06-07 patchlevel 36) [i486-linux] - * - * Last Generated on: Tue Sep 25 02:53:06 +0100 2007 - * SiSU http://www.jus.uio.no/sisu ---> - -<document> - -<head> - - <header> - <meta>Title:</meta> - <title> - SiSU - Commands - </title> - </header> - - <header> - <meta>Creator:</meta> - <creator> - Ralph Amissah - </creator> - </header> - - <header> - <meta>Rights:</meta> - <rights> - Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3 - </rights> - </header> - - <header> - <meta>Type:</meta> - <type> - information - </type> - </header> - - <header> - <meta>Subject:</meta> - <subject> - ebook, epublishing, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, search - </subject> - </header> - - <header> - <meta>Date created:</meta> - <date_created> - 2002-08-28 - </date_created> - </header> - - <header> - <meta>Date issued:</meta> - <date_issued> - 2002-08-28 - </date_issued> - </header> - - <header> - <meta>Date available:</meta> - <date_available> - 2002-08-28 - </date_available> - </header> - - <header> - <meta>Date modified:</meta> - <date_modified> - 2007-09-16 - </date_modified> - </header> - - <header> - <meta>Date:</meta> - <date> - 2007-09-16 - </date> - </header> - - - - - - -</head> - -<body> - -<heading1> - <heading> - <object id="1"> - <ocn>1</ocn> - <text>SiSU - Commands,<br /> Ralph Amissah</text> - </object> - </heading> - - <heading2> - <heading> - <object id="2"> - <ocn>2</ocn> - <text>SiSU Commands</text> - </object> - </heading> - - <contents1> - <heading> - <object id="3"> - <ocn>3</ocn> - <nametag>commands</nametag> - - <text>1. Commands Summary </text> - </object> - </heading> - <content> - - </content> - - <contents2> - <heading> - <object id="4"> - <ocn>4</ocn> - <nametag>1.1</nametag> - - <text>1.1 Synopsis</text> - </object> - </heading> - <content> - - <object id="5"> - - - <ocn>5</ocn> - - - <text class="norm"><b>SiSU</b> - Structured information, Serialized Units - a document publishing system</text> - - </object> - - - <object id="6"> - - - <ocn>6</ocn> - - - <text class="norm">sisu [ -abcDdFHhIiMmNnopqRrSsTtUuVvwXxYyZz0-9 ] [ filename/ wildcard ]</text> - - </object> - - - <object id="7"> - - - <ocn>7</ocn> - - - <text class="norm">sisu [ -Ddcv ] [ instruction ]</text> - - </object> - - - <object id="8"> - - - <ocn>8</ocn> - - - <text class="norm">sisu [ -CcFLSVvW ]</text> - - </object> - - - <object id="9"> - - - <ocn>9</ocn> - - - <text class="norm">Note: commands should be issued from within the directory that contains the marked up files, cd to markup directory.</text> - - </object> - - - </content> - - </contents2> - - <contents2> - <heading> - <object id="10"> - <ocn>10</ocn> - <nametag>1.2</nametag> - - <text>1.2 Description</text> - </object> - </heading> - <content> - - <object id="11"> - - - <ocn>11</ocn> - - - <text class="norm"><b>SiSU</b> <b>SiSU</b> is a document publishing system, that from a simple single marked-up document, produces multiple of output formats including: plaintext, html, LaTeX, pdf, xhtml, XML, info, and SQL (PostgreSQL and SQLite), which share numbered text objects ("object citation numbering") and the same document structure information. For more see: <<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://www.jus.uio.no/sisu">http://www.jus.uio.no/sisu</link>></text> - - </object> - - - </content> - - </contents2> - - <contents2> - <heading> - <object id="12"> - <ocn>12</ocn> - <nametag>1.3</nametag> - - <text>1.3 Document Processing Command Flags</text> - </object> - </heading> - <content> - - <object id="13"> - - - <ocn>13</ocn> - - - <text class="norm"><b>-a [filename/wildcard] </b><br /> produces plaintext with Unix linefeeds and without markup, (object numbers are omitted), has footnotes at end of each paragraph that contains them [ -A for equivalent dos (linefeed) output file] [see -e for endnotes]. (Options include: --endnotes for endnotes --footnotes for footnotes at the end of each paragraph --unix for unix linefeed (default) --msdos for msdos linefeed)</text> - - </object> - - - <object id="14"> - - - <ocn>14</ocn> - - - <text class="norm"><b>-b [filename/wildcard] </b><br /> produces xhtml/XML output for browser viewing (sax parsing).</text> - - </object> - - - <object id="15"> - - - <ocn>15</ocn> - - - <text class="norm"><b>-C [--init-site] </b><br /> configure/initialise shared output directory files initialize shared output directory (config files such as css and dtd files are not updated if they already exist unless modifier is used). -C --init-site configure/initialise site more extensive than -C on its own, shared output directory files/force update, existing shared output config files such as css and dtd files are updated if this modifier is used.</text> - - </object> - - - <object id="16"> - - - <ocn>16</ocn> - - - <text class="norm"><b>-CC </b><br /> configure/initialise shared output directory files initialize shared output directory (config files such as css and dtd files are not updated if they already exist unless modifier is used). The equivalent of: -C --init-site configure/initialise site, more extensive than -C on its own, shared output directory files/force update, existing shared output config files such as css and dtd files are updated if -CC is used.</text> - - </object> - - - <object id="17"> - - - <ocn>17</ocn> - - - <text class="norm"><b>-c [filename/wildcard] </b><br /> screen toggle ansi screen colour on or off depending on default set (unless -c flag is used: if sisurc colour default is set to 'true', output to screen will be with colour, if sisurc colour default is set to 'false' or is undefined screen output will be without colour).</text> - - </object> - - - <object id="18"> - - - <ocn>18</ocn> - - - <text class="norm"><b>-D [instruction] [filename] </b><br /> database postgresql ( --pgsql may be used instead) possible instructions, include: --createdb; --create; --dropall; --import [filename]; --update [filename]; --remove [filename]; see database section below.</text> - - </object> - - - <object id="19"> - - - <ocn>19</ocn> - - - <text class="norm"><b>-d [--db-[database type (sqlite|pg)]] --[instruction] [filename] </b><br /> database type default set to sqlite, (for which --sqlite may be used instead) or to specify another database --db-[pgsql, sqlite] (however see -D) possible instructions include: --createdb; --create; --dropall; --import [filename]; --update [filename]; --remove [filename]; see database section below.</text> - - </object> - - - <object id="20"> - - - <ocn>20</ocn> - - - <text class="norm"><b>-F [--webserv=webrick] </b><br /> generate examples of (naive) cgi search form for sqlite and pgsql depends on your already having used sisu to populate an sqlite and/or pgsql database, (the sqlite version scans the output directories for existing sisu_sqlite databases, so it is first necessary to create them, before generating the search form) see -d -D and the database section below. If the optional parameter --webserv=webrick is passed, the cgi examples created will be set up to use the default port set for use by the webrick server, (otherwise the port is left blank and the system setting used, usually 80). The samples are dumped in the present work directory which must be writable, (with screen instructions given that they be copied to the cgi-bin directory). -Fv (in addition to the above) provides some information on setting up hyperestraier for sisu</text> - - </object> - - - <object id="21"> - - - <ocn>21</ocn> - - - <text class="norm"><b>-H [filename/wildcard] </b><br /> produces html without link suffixes (.html .pdf etc.) ("Hide"). Requires an appropriately configured web server. [behaviour switched after 0.35 see -h].</text> - - </object> - - - <object id="22"> - - - <ocn>22</ocn> - - - <text class="norm"><b>-h [filename/wildcard] </b><br /> produces html (with hardlinks i.e. with name suffixes in links/local urls). html, with internal document links that include the document suffix, i.e. whether it is .html or .pdf (required for browsing directly off a file system, and works with most web servers). [behaviour switched after 0.35 see -H].</text> - - </object> - - - <object id="23"> - - - <ocn>23</ocn> - - - <text class="norm"><b>-I [filename/wildcard] </b><br /> produces texinfo and info file, (view with pinfo).</text> - - </object> - - - <object id="24"> - - - <ocn>24</ocn> - - - <text class="norm"><b>-L </b><br /> prints license information.</text> - - </object> - - - <object id="25"> - - - <ocn>25</ocn> - - - <text class="norm"><b>-M [filename/wildcard/url] </b><br /> maintenance mode files created for processing preserved and their locations indicated. (also see -V)</text> - - </object> - - - <object id="26"> - - - <ocn>26</ocn> - - - <text class="norm"><b>-m [filename/wildcard/url] </b><br /> assumed for most other flags, creates new meta-markup file, (the metaverse ) that is used in all subsequent processing of other output. This step is assumed for most processing flags. To skip it see -n</text> - - </object> - - - <object id="27"> - - - <ocn>27</ocn> - - - <text class="norm"><b>-N [filename/wildcard/url] </b><br /> document digest or document content certificate ( DCC ) as md5 digest tree of the document: the digest for the document, and digests for each object contained within the document (together with information on software versions that produced it) (digest.txt). -NV for verbose digest output to screen.</text> - - </object> - - - <object id="28"> - - - <ocn>28</ocn> - - - <text class="norm"><b>-n [filename/wildcard/url] </b><br /> skip meta-markup (building of "metaverse"), this skips the equivalent of -m which is otherwise assumed by most processing flags.</text> - - </object> - - - <object id="29"> - - - <ocn>29</ocn> - - - <text class="norm"><b>-o [filename/wildcard/url] </b><br /> output basic document in opendocument file format (opendocument.odt).</text> - - </object> - - - <object id="30"> - - - <ocn>30</ocn> - - - <text class="norm"><b>-p [filename/wildcard] </b><br /> produces LaTeX pdf (portrait.pdf & landscape.pdf). Default paper size is set in config file, or document header, or provided with additional command line parameter, e.g. --papersize-a4 preset sizes include: 'A4', U.S. 'letter' and 'legal' and book sizes 'A5' and 'B5' (system defaults to A4).</text> - - </object> - - - <object id="31"> - - - <ocn>31</ocn> - - - <text class="norm"><b>-q [filename/wildcard] </b><br /> quiet less output to screen.</text> - - </object> - - - <object id="32"> - - - <ocn>32</ocn> - - - <text class="norm"><b>-R [filename/wildcard] </b><br /> copies sisu output files to remote host using rsync. This requires that sisurc.yml has been provided with information on hostname and username, and that you have your "keys" and ssh agent in place. Note the behavior of rsync different if -R is used with other flags from if used alone. Alone the rsync --delete parameter is sent, useful for cleaning the remote directory (when -R is used together with other flags, it is not). Also see -r</text> - - </object> - - - <object id="33"> - - - <ocn>33</ocn> - - - <text class="norm"><b>-r [filename/wildcard] </b><br /> copies sisu output files to remote host using scp. This requires that sisurc.yml has been provided with information on hostname and username, and that you have your "keys" and ssh agent in place. Also see -R</text> - - </object> - - - <object id="34"> - - - <ocn>34</ocn> - - - <text class="norm"><b>-S </b><br /> produces a sisupod a zipped sisu directory of markup files including sisu markup source files and the directories local configuration file, images and skins. Note: this only includes the configuration files or skins contained in ./_sisu not those in ~/.sisu -S [filename/wildcard] option. Note: (this option is tested only with zsh).</text> - - </object> - - - <object id="35"> - - - <ocn>35</ocn> - - - <text class="norm"><b>-S [filename/wildcard] </b><br /> produces a zipped file of the prepared document specified along with associated images, by default named sisupod.zip they may alternatively be named with the filename extension .ssp This provides a quick way of gathering the relevant parts of a sisu document which can then for example be emailed. A sisupod includes sisu markup source file, (along with associated documents if a master file, or available in multilingual versions), together with related images and skin. <b>SiSU</b> commands can be run directly against a sisupod contained in a local directory, or provided as a url on a remote site. As there is a security issue with skins provided by other users, they are not applied unless the flag --trust or --trusted is added to the command instruction, it is recommended that file that are not your own are treated as untrusted. The directory structure of the unzipped file is understood by sisu, and sisu commands can be run within it. Note: if you wish to send multiple files, it quickly becomes more space efficient to zip the sisu markup directory, rather than the individual files for sending). See the -S option without [filename/wildcard].</text> - - </object> - - - <object id="36"> - - - <ocn>36</ocn> - - - <text class="norm"><b>-s [filename/wildcard] </b><br /> copies sisu markup file to output directory.</text> - - </object> - - - <object id="37"> - - - <ocn>37</ocn> - - - <text class="norm"><b>-t [filename/wildcard (*.termsheet.rb)] </b><br /> standard form document builder, preprocessing feature</text> - - </object> - - - <object id="38"> - - - <ocn>38</ocn> - - - <text class="norm"><b>-U [filename/wildcard] </b><br /> prints url output list/map for the available processing flags options and resulting files that could be requested, (can be used to get a list of processing options in relation to a file, together with information on the output that would be produced), -u provides url output mapping for those flags requested for processing. The default assumes sisu_webrick is running and provides webrick url mappings where appropriate, but these can be switched to file system paths in sisurc.yml</text> - - </object> - - - <object id="39"> - - - <ocn>39</ocn> - - - <text class="norm"><b>-u [filename/wildcard] </b><br /> provides url mapping of output files for the flags requested for processing, also see -U</text> - - </object> - - - <object id="40"> - - - <ocn>40</ocn> - - - <text class="norm"><b>-V </b><br /> on its own, provides <b>SiSU</b> version and environment information (sisu --help env)</text> - - </object> - - - <object id="41"> - - - <ocn>41</ocn> - - - <text class="norm"><b>-V [filename/wildcard] </b><br /> even more verbose than the -v flag. (also see -M)</text> - - </object> - - - <object id="42"> - - - <ocn>42</ocn> - - - <text class="norm"><b>-v </b><br /> on its own, provides <b>SiSU</b> version information</text> - - </object> - - - <object id="43"> - - - <ocn>43</ocn> - - - <text class="norm"><b>-v [filename/wildcard] </b><br /> provides verbose output of what is being built, where it is being built (and error messages if any), as with -u flag provides a url mapping of files created for each of the processing flag requests. See also -V</text> - - </object> - - - <object id="44"> - - - <ocn>44</ocn> - - - <text class="norm"><b>-W </b><br /> starts ruby's webrick webserver points at sisu output directories, the default port is set to 8081 and can be changed in the resource configuration files. [tip: the webrick server requires link suffixes, so html output should be created using the -h option rather than -H; also, note -F webrick ].</text> - - </object> - - - <object id="45"> - - - <ocn>45</ocn> - - - <text class="norm"><b>-w [filename/wildcard] </b><br /> produces concordance (wordmap) a rudimentary index of all the words in a document. (Concordance files are not generated for documents of over 260,000 words unless this limit is increased in the file sisurc.yml)</text> - - </object> - - - <object id="46"> - - - <ocn>46</ocn> - - - <text class="norm"><b>-X [filename/wildcard] </b><br /> produces XML output with deep document structure, in the nature of dom.</text> - - </object> - - - <object id="47"> - - - <ocn>47</ocn> - - - <text class="norm"><b>-x [filename/wildcard] </b><br /> produces XML output shallow structure (sax parsing).</text> - - </object> - - - <object id="48"> - - - <ocn>48</ocn> - - - <text class="norm"><b>-Y [filename/wildcard] </b><br /> produces a short sitemap entry for the document, based on html output and the sisu_manifest. --sitemaps generates/updates the sitemap index of existing sitemaps. (Experimental, [g,y,m announcement this week])</text> - - </object> - - - <object id="49"> - - - <ocn>49</ocn> - - - <text class="norm"><b>-y [filename/wildcard] </b><br /> produces an html summary of output generated (hyperlinked to content) and document specific metadata (sisu_manifest.html). This step is assumed for most processing flags.</text> - - </object> - - - <object id="50"> - - - <ocn>50</ocn> - - - <text class="norm"><b>-Z [filename/wildcard] </b><br /> Zap, if used with other processing flags deletes output files of the type about to be processed, prior to processing. If -Z is used as the lone processing related flag (or in conjunction with a combination of -[mMvVq]), will remove the related document output directory.</text> - - </object> - - - <object id="51"> - - - <ocn>51</ocn> - - - <text class="norm"><b>-z [filename/wildcard] </b><br /> produces php (zend) [this feature is disabled for the time being]</text> - - </object> - - - </content> - - </contents2> - - </contents1> - - <contents1> - <heading> - <object id="52"> - <ocn>52</ocn> - <nametag>command_modifiers</nametag> - - <text>2. command line modifiers </text> - </object> - </heading> - <content> - - <object id="53"> - - - <ocn>53</ocn> - - - <text class="norm"><b>--no-ocn </b><br /> [with -h -H or -p] switches off object citation numbering. Produce output without identifying numbers in margins of html or LaTeX/pdf output.</text> - - </object> - - - <object id="54"> - - - <ocn>54</ocn> - - - <text class="norm"><b>--no-annotate </b><br /> strips output text of editor endnotes<endnote><symbol>*1</symbol><note>square brackets</note></endnote> denoted by asterisk or dagger/plus sign</text> - - </object> - - - <object id="55"> - - - <ocn>55</ocn> - - - <text class="norm"><b>--no-asterisk </b><br /> strips output text of editor endnotes<endnote><symbol>*2</symbol><note>square brackets</note></endnote> denoted by asterisk sign</text> - - </object> - - - <object id="56"> - - - <ocn>56</ocn> - - - <text class="norm"><b>--no-dagger </b><br /> strips output text of editor endnotes<endnote><symbol>+1</symbol><note>square brackets</note></endnote> denoted by dagger/plus sign</text> - - </object> - - - </content> - - </contents1> - - <contents1> - <heading> - <object id="57"> - <ocn>57</ocn> - <nametag>commands_database</nametag> - - <text>3. database commands </text> - </object> - </heading> - <content> - - <object id="58"> - - - <ocn>58</ocn> - - - <text class="norm">dbi - database interface</text> - - </object> - - - <object id="59"> - - - <ocn>59</ocn> - - - <text class="norm">-D or --pgsql set for postgresql -d or --sqlite default set for sqlite -d is modifiable with --db=[database type (pgsql or sqlite)]</text> - - </object> - - - <object id="60"> - - - <ocn>60</ocn> - - - <text class="norm"><b>-Dv --createall </b><br /> initial step, creates required relations (tables, indexes) in existing postgresql database (a database should be created manually and given the same name as working directory, as requested) (rb.dbi) [ -dv --createall sqlite equivalent] it may be necessary to run sisu -Dv --createdb initially NOTE: at the present time for postgresql it may be necessary to manually create the database. The command would be 'createdb [database name]' where database name would be SiSU_[present working directory name (without path)]. Please use only alphanumerics and underscores.</text> - - </object> - - - <object id="61"> - - - <ocn>61</ocn> - - - <text class="norm"><b>-Dv --import </b><br /> [filename/wildcard] imports data specified to postgresql db (rb.dbi) [ -dv --import sqlite equivalent]</text> - - </object> - - - <object id="62"> - - - <ocn>62</ocn> - - - <text class="norm"><b>-Dv --update </b><br /> [filename/wildcard] updates/imports specified data to postgresql db (rb.dbi) [ -dv --update sqlite equivalent]</text> - - </object> - - - <object id="63"> - - - <ocn>63</ocn> - - - <text class="norm"><b>-D --remove </b><br /> [filename/wildcard] removes specified data to postgresql db (rb.dbi) [ -d --remove sqlite equivalent]</text> - - </object> - - - <object id="64"> - - - <ocn>64</ocn> - - - <text class="norm"><b>-D --dropall </b><br /> kills data" and drops (postgresql or sqlite) db, tables & indexes [ -d --dropall sqlite equivalent]</text> - - </object> - - - <object id="65"> - - - <ocn>65</ocn> - - - <text class="norm">The v in e.g. -Dv is for verbose output.</text> - - </object> - - - </content> - - </contents1> - - <contents1> - <heading> - <object id="66"> - <ocn>66</ocn> - <nametag>command_shorcuts</nametag> - - <text>4. Shortcuts, Shorthand for multiple flags </text> - </object> - </heading> - <content> - - <object id="67"> - - - <ocn>67</ocn> - - - <text class="norm"><b>--update [filename/wildcard] </b><br /> Checks existing file output and runs the flags required to update this output. This means that if only html and pdf output was requested on previous runs, only the -hp files will be applied, and only these will be generated this time, together with the summary. This can be very convenient, if you offer different outputs of different files, and just want to do the same again.</text> - - </object> - - - <object id="68"> - - - <ocn>68</ocn> - - - <text class="norm"><b>-0 to -5 [filename or wildcard] </b><br /> Default shorthand mappings (note that the defaults can be changed/configured in the sisurc.yml file):</text> - - </object> - - - <object id="69"> - - - <ocn>69</ocn> - - - <text class="norm"><b>-0 </b><br /> -mNhwpAobxXyYv [this is the default action run when no options are give, i.e. on 'sisu [filename]']</text> - - </object> - - - <object id="70"> - - - <ocn>70</ocn> - - - <text class="norm"><b>-1 </b><br /> -mNHwpy</text> - - </object> - - - <object id="71"> - - - <ocn>71</ocn> - - - <text class="norm"><b>-2 </b><br /> -mNHwpaoy</text> - - </object> - - - <object id="72"> - - - <ocn>72</ocn> - - - <text class="norm"><b>-3 </b><br /> -mNhwpAobxXyY</text> - - </object> - - - <object id="73"> - - - <ocn>73</ocn> - - - <text class="norm"><b>-4 </b><br /> -mNhwpAobxXDyY --import</text> - - </object> - - - <object id="74"> - - - <ocn>74</ocn> - - - <text class="norm"><b>-5 </b><br /> -mNhwpAobxXDyY --update</text> - - </object> - - - <object id="75"> - - - <ocn>75</ocn> - - - <text class="norm">add -v for verbose mode and -c for color, e.g. sisu -2vc [filename or wildcard]</text> - - </object> - - - <object id="76"> - - - <ocn>76</ocn> - - - <text class="norm">consider -u for appended url info or -v for verbose output</text> - - </object> - - - </content> - - <contents3> - <heading> - <object id="77"> - <ocn>77</ocn> - <nametag>4.0.1</nametag> - - <text>4.0.1 Command Line with Flags - Batch Processing</text> - </object> - </heading> - <content> - - <object id="78"> - - - <ocn>78</ocn> - - - <text class="norm">In the data directory run sisu -mh filename or wildcard eg. "sisu -h cisg.sst" or "sisu -h *.{sst,ssm}" to produce html version of all documents.</text> - - </object> - - - <object id="79"> - - - <ocn>79</ocn> - - - <text class="norm">Running sisu (alone without any flags, filenames or wildcards) brings up the interactive help, as does any sisu command that is not recognised. Enter to escape.</text> - - </object> - - - </content> - </contents3> - - - </contents1> - - </heading2> - -</heading1> - -</body> - -</document> - |