diff options
Diffstat (limited to 'data/doc/manuals_generated/sisu_manual/sisu_quickstart/scroll.xhtml')
-rw-r--r-- | data/doc/manuals_generated/sisu_manual/sisu_quickstart/scroll.xhtml | 753 |
1 files changed, 753 insertions, 0 deletions
diff --git a/data/doc/manuals_generated/sisu_manual/sisu_quickstart/scroll.xhtml b/data/doc/manuals_generated/sisu_manual/sisu_quickstart/scroll.xhtml new file mode 100644 index 00000000..a4ed3478 --- /dev/null +++ b/data/doc/manuals_generated/sisu_manual/sisu_quickstart/scroll.xhtml @@ -0,0 +1,753 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<?xml-stylesheet type="text/css" href="../_sisu/css/xhtml.css"?> +<!-- Document processing information: + * Generated by: SiSU 0.59.0 of 2007w38/0 (2007-09-23) + * Ruby version: ruby 1.8.6 (2007-06-07 patchlevel 36) [i486-linux] + * + * Last Generated on: Sun Sep 23 04:12:19 +0100 2007 + * SiSU http://www.jus.uio.no/sisu +--> + +<document> +<head> + <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> + <meta>Title:</meta> + <title class="dc"> + SiSU - SiSU information Structuring Universe / Structured information, Serialized Units - Quickstart, installation and use + </title> + <br /> + <meta>Creator:</meta> + <creator class="dc"> + Ralph Amissah + </creator> + <br /> + <meta>Rights:</meta> + <rights class="dc"> + Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3 + </rights> + <br /> + <meta>Type:</meta> + <type class="dc"> + information + </type> + <br /> + <meta>Subject:</meta> + <subject class="dc"> + ebook, epublishing, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, search + </subject> + <br /> + <meta>Date created:</meta> + <date_created class="extra"> + 2006-09-06 + </date_created> + <br /> + <meta>Date available:</meta> + <date_available class="extra"> + 2006-09-06 + </date_available> + <br /> + <meta>Date issued:</meta> + <date_issued class="extra"> + 2006-09-06 + </date_issued> + <br /> + <meta>Date modified:</meta> + <date_modified class="extra"> + 2007-09-16 + </date_modified> + <br /> + <meta>Date:</meta> + <date class="dc"> + 2007-09-16 + </date> + <br /> +</head> +<body> +<object id="1"> + <text class="h1"> + SiSU - SiSU information Structuring Universe / Structured information, +Serialized Units - Quickstart, installation and use,<br /> Ralph +Amissah + </text> + <ocn>1</ocn> +</object> +<object id="2"> + <text class="h2"> + Quickstart - SiSU installation and use + </text> + <ocn>2</ocn> +</object> +<object id="3"> + <text class="h4"> + 1. Quickstart - Getting Started Howto + </text> + <ocn>3</ocn> +</object> +<object id="4"> + <text class="h5"> + 1.1 Installation + </text> + <ocn>4</ocn> +</object> +<object id="5"> + <text class="norm"> + Installation is currently most straightforward and tested on the +<b>Debian</b> platform, as there are packages for the installation of +sisu and all requirements for what it does. + </text> + <ocn>5</ocn> +</object> +<object id="6"> + <text class="h6"> + 1.1.1 Debian Installation + </text> + <ocn>6</ocn> +</object> +<object id="7"> + <text class="norm"> + <b>SiSU</b> is available directly from the <b>Debian</b> Sid and +testing archives (and possibly Ubuntu), assuming your +/etc/apt/sources.list is set accordingly: + </text> + <ocn>7</ocn> +</object> +<object id="8"> + <ocn>8</ocn> + <text class="code"> +    aptitude update<br />   aptitude install sisu-complete     + </text> +</object> +<object id="9"> + <text class="norm"> + The following /etc/apt/sources.list setting permits the download of +additional markup samples: + </text> + <ocn>9</ocn> +</object> +<object id="10"> + <ocn>10</ocn> + <text class="code"> +    #/etc/apt/sources.list<br /><br />   deb http://ftp.fi.debian.org/debian/ unstable main non-free contrib<br />   deb-src http://ftp.fi.debian.org/debian/ unstable main non-free contrib<br />   d     + </text> +</object> +<object id="11"> + <text class="norm"> + The aptitude commands become: + </text> + <ocn>11</ocn> +</object> +<object id="12"> + <ocn>12</ocn> + <text class="code"> +    aptitude update<br />   aptitude install sisu-complete sisu-markup-samples     + </text> +</object> +<object id="13"> + <text class="norm"> + If there are newer versions of <b>SiSU</b> upstream of the +<b>Debian</b> archives, they will be available by adding the following +to your /etc/apt/sources.list + </text> + <ocn>13</ocn> +</object> +<object id="14"> + <ocn>14</ocn> + <text class="code"> +    #/etc/apt/sources.list<br /><br />   deb http://www.jus.uio.no/sisu/archive unstable main non-free<br />   deb-src http://www.jus.uio.no/sisu/archive unstable main non-free     + </text> +</object> +<object id="15"> + <text class="norm"> + repeat the aptitude commands + </text> + <ocn>15</ocn> +</object> +<object id="16"> + <ocn>16</ocn> + <text class="code"> +    aptitude update<br />   aptitude install sisu-complete sisu-markup-samples     + </text> +</object> +<object id="17"> + <text class="norm"> + Note however that it is not necessary to install sisu-complete if not +all components of sisu are to be used. Installing just the package sisu +will provide basic functionality. + </text> + <ocn>17</ocn> +</object> +<object id="18"> + <text class="h6"> + 1.1.2 RPM Installation + </text> + <ocn>18</ocn> +</object> +<object id="19"> + <text class="norm"> + RPMs are provided though untested, they are prepared by running alien +against the source package, and against the debs. + </text> + <ocn>19</ocn> +</object> +<object id="20"> + <text class="norm"> + They may be downloaded from: + </text> + <ocn>20</ocn> +</object> +<object id="21"> + <text class="indent1"> + <<link xmlns:xlink="http://www.w3.org/1999/xlink" +xlink:type="simple" +xlink:href="http://www.jus.uio.no/sisu/SiSU/download.html#rpm">http://www.jus.uio.no/sisu/SiSU/download.html#rpm</link>> + </text> + <ocn>21</ocn> +</object> +<object id="22"> + <text class="norm"> + as root type: + </text> + <ocn>22</ocn> +</object> +<object id="23"> + <text class="indent1"> + rpm -i [rpm package name] + </text> + <ocn>23</ocn> +</object> +<object id="24"> + <text class="h6"> + 1.1.3 Installation from source + </text> + <ocn>24</ocn> +</object> +<object id="25"> + <text class="norm"> + To install <b>SiSU</b> from source check information at: + </text> + <ocn>25</ocn> +</object> +<object id="26"> + <text class="indent1"> + <<link xmlns:xlink="http://www.w3.org/1999/xlink" +xlink:type="simple" +xlink:href="http://www.jus.uio.no/sisu/SiSU/download.html#current">http://www.jus.uio.no/sisu/SiSU/download.html#current</link>> + </text> + <ocn>26</ocn> +</object> +<object id="27"> + <text class="indent_bullet"> + download the source package + </text> + <ocn>27</ocn> +</object> +<object id="28"> + <text class="indent_bullet"> + Unpack the source + </text> + <ocn>28</ocn> +</object> +<object id="29"> + <text class="norm"> + Two alternative modes of installation from source are provided, +setup.rb (by Minero Aoki) and a rant(by Stefan Lang) built install +file, in either case: the first steps are the same, download and unpack +the source file: + </text> + <ocn>29</ocn> +</object> +<object id="30"> + <text class="norm"> + For basic use <b>SiSU</b> is only dependent on the programming language +in which it is written <b>Ruby</b>, and <b>SiSU</b> will be able to +generate html, various XMLs, including ODF (and will also produce +LaTeX). Dependencies required for further actions, though it relies on +the installation of additional dependencies which the source tarball +does not take care of, for things like using a database (postgresql or +sqlite)<en>1</en> or converting LaTeX to pdf. + </text> + <endnote notenumber="1"> + 1. There is nothing to stop MySQL support being added in future. + </endnote> + <ocn>30</ocn> +</object> +<object id="31"> + <text class="norm"> + <b>setup.rb</b> + </text> + <ocn>31</ocn> +</object> +<object id="32"> + <text class="norm"> + This is a standard ruby installer, using setup.rb is a three step +process. In the root directory of the unpacked <b>SiSU</b> as root +type: + </text> + <ocn>32</ocn> +</object> +<object id="33"> + <ocn>33</ocn> + <text class="code"> +    ruby setup.rb config <br />   ruby setup.rb setup <br />   #[and as root:]<br />   ruby setup.rb install     + </text> +</object> +<object id="34"> + <text class="norm"> + further information on setup.rb is available from: + </text> + <ocn>34</ocn> +</object> +<object id="35"> + <text class="indent1"> + <<link xmlns:xlink="http://www.w3.org/1999/xlink" +xlink:type="simple" +xlink:href="http://i.loveruby.net/en/projects/setup/">http://i.loveruby.net/en/projects/setup/</link>> + </text> + <ocn>35</ocn> +</object> +<object id="36"> + <text class="indent1"> + <<link xmlns:xlink="http://www.w3.org/1999/xlink" +xlink:type="simple" +xlink:href="http://i.loveruby.net/en/projects/setup/doc/usage.html">http://i.loveruby.net/en/projects/setup/doc/usage.html</link>> + </text> + <ocn>36</ocn> +</object> +<object id="37"> + <text class="norm"> + <b>"install"</b> + </text> + <ocn>37</ocn> +</object> +<object id="38"> + <text class="norm"> + The "install" file provided is an installer prepared using "rant". In +the root directory of the unpacked <b>SiSU</b> as root type: + </text> + <ocn>38</ocn> +</object> +<object id="39"> + <text class="indent1"> + ruby install base + </text> + <ocn>39</ocn> +</object> +<object id="40"> + <text class="norm"> + or for a more complete installation: + </text> + <ocn>40</ocn> +</object> +<object id="41"> + <text class="indent1"> + ruby install + </text> + <ocn>41</ocn> +</object> +<object id="42"> + <text class="norm"> + or + </text> + <ocn>42</ocn> +</object> +<object id="43"> + <text class="indent1"> + ruby install base + </text> + <ocn>43</ocn> +</object> +<object id="44"> + <text class="norm"> + This makes use of Rant (by Stefan Lang) and the provided Rantfile. It +has been configured to do post installation setup setup configuration +and generation of first test file. Note however, that additional +external package dependencies, such as tetex-extra are not taken care +of for you. + </text> + <ocn>44</ocn> +</object> +<object id="45"> + <text class="norm"> + Further information on "rant" is available from: + </text> + <ocn>45</ocn> +</object> +<object id="46"> + <text class="indent1"> + <<link xmlns:xlink="http://www.w3.org/1999/xlink" +xlink:type="simple" +xlink:href="http://make.rubyforge.org/">http://make.rubyforge.org/</link>> + </text> + <ocn>46</ocn> +</object> +<object id="47"> + <text class="indent1"> + <<link xmlns:xlink="http://www.w3.org/1999/xlink" +xlink:type="simple" +xlink:href="http://rubyforge.org/frs/?group_id=615">http://rubyforge.org/frs/?group_id=615</link>> + </text> + <ocn>47</ocn> +</object> +<object id="48"> + <text class="norm"> + For a list of alternative actions you may type: + </text> + <ocn>48</ocn> +</object> +<object id="49"> + <text class="indent1"> + ruby install help + </text> + <ocn>49</ocn> +</object> +<object id="50"> + <text class="indent1"> + ruby install -T + </text> + <ocn>50</ocn> +</object> +<object id="51"> + <text class="h5"> + 1.2 Testing SiSU, generating output + </text> + <ocn>51</ocn> +</object> +<object id="52"> + <text class="norm"> + To check which version of sisu is installed: + </text> + <ocn>52</ocn> +</object> +<object id="53"> + <text class="norm"> + sisu -v + </text> + <ocn>53</ocn> +</object> +<object id="54"> + <text class="norm"> + Depending on your mode of installation one or a number of markup sample +files may be found either in the directory: + </text> + <ocn>54</ocn> +</object> +<object id="55"> + <text class="norm"> + ... + </text> + <ocn>55</ocn> +</object> +<object id="56"> + <text class="norm"> + or + </text> + <ocn>56</ocn> +</object> +<object id="57"> + <text class="norm"> + ... + </text> + <ocn>57</ocn> +</object> +<object id="58"> + <text class="norm"> + change directory to the appropriate one: + </text> + <ocn>58</ocn> +</object> +<object id="59"> + <text class="norm"> + cd /usr/share/doc/sisu/sisu_markup_samples/dfsg + </text> + <ocn>59</ocn> +</object> +<object id="60"> + <text class="h6"> + 1.2.1 basic text, plaintext, html, XML, ODF + </text> + <ocn>60</ocn> +</object> +<object id="61"> + <text class="norm"> + Having moved to the directory that contains the markup samples (see +instructions above if necessary), choose a file and run sisu against it + </text> + <ocn>61</ocn> +</object> +<object id="62"> + <text class="norm"> + sisu -NhwoabxXyv +free_as_in_freedom.rms_and_free_software.sam_williams.sst + </text> + <ocn>62</ocn> +</object> +<object id="63"> + <text class="norm"> + this will generate html including a concordance file, opendocument text +format, plaintext, XHTML and various forms of XML, and OpenDocument +text + </text> + <ocn>63</ocn> +</object> +<object id="64"> + <text class="h6"> + 1.2.2 LaTeX / pdf + </text> + <ocn>64</ocn> +</object> +<object id="65"> + <text class="norm"> + Assuming a LaTeX engine such as tetex or texlive is installed with the +required modules (done automatically on selection of sisu-pdf in +<b>Debian</b>) + </text> + <ocn>65</ocn> +</object> +<object id="66"> + <text class="norm"> + Having moved to the directory that contains the markup samples (see +instructions above if necessary), choose a file and run sisu against it + </text> + <ocn>66</ocn> +</object> +<object id="67"> + <text class="norm"> + sisu -pv free_as_in_freedom.rms_and_free_software.sam_williams.sst + </text> + <ocn>67</ocn> +</object> +<object id="68"> + <text class="norm"> + sisu -3 free_as_in_freedom.rms_and_free_software.sam_williams.sst + </text> + <ocn>68</ocn> +</object> +<object id="69"> + <text class="norm"> + should generate most available output formats: html including a +concordance file, opendocument text format, plaintext, XHTML and +various forms of XML, and OpenDocument text and pdf + </text> + <ocn>69</ocn> +</object> +<object id="70"> + <text class="h6"> + 1.2.3 relational database - postgresql, sqlite + </text> + <ocn>70</ocn> +</object> +<object id="71"> + <text class="norm"> + Relational databases need some setting up - you must have permission to +create the database and write to it when you run sisu. + </text> + <ocn>71</ocn> +</object> +<object id="72"> + <text class="norm"> + Assuming you have the database installed and the requisite permissions + </text> + <ocn>72</ocn> +</object> +<object id="73"> + <text class="norm"> + sisu --sqlite --recreate + </text> + <ocn>73</ocn> +</object> +<object id="74"> + <text class="norm"> + sisu --sqlite -v --import +free_as_in_freedom.rms_and_free_software.sam_williams.sst + </text> + <ocn>74</ocn> +</object> +<object id="75"> + <text class="norm"> + sisu --pgsql --recreate + </text> + <ocn>75</ocn> +</object> +<object id="76"> + <text class="norm"> + sisu --pgsql -v --import +free_as_in_freedom.rms_and_free_software.sam_williams.sst + </text> + <ocn>76</ocn> +</object> +<object id="77"> + <text class="h5"> + 1.3 Getting Help + </text> + <ocn>77</ocn> +</object> +<object id="78"> + <text class="h6"> + 1.3.1 The man pages + </text> + <ocn>78</ocn> +</object> +<object id="79"> + <text class="norm"> + Type: + </text> + <ocn>79</ocn> +</object> +<object id="80"> + <text class="indent1"> + man sisu + </text> + <ocn>80</ocn> +</object> +<object id="81"> + <text class="norm"> + The man pages are also available online, though not always kept as up +to date as within the package itself: + </text> + <ocn>81</ocn> +</object> +<object id="82"> + <text class="indent_bullet"> + <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" +xlink:href="http://www.jus.uio.no/sisu/man/sisu.1"> sisu.1 </link> +<en>2</en> + </text> + <endnote notenumber="2"> + 2. <<link xmlns:xlink="http://www.w3.org/1999/xlink" +xlink:type="simple" +xlink:href="http://www.jus.uio.no/sisu/man/sisu.1">http://www.jus.uio.no/sisu/man/sisu.1</link>> + </endnote> + <ocn>82</ocn> +</object> +<object id="83"> + <text class="indent_bullet"> + <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" +xlink:href="http://www.jus.uio.no/sisu/man/sisu.8"> sisu.8 </link> +<en>3</en> + </text> + <endnote notenumber="3"> + 3. <<link xmlns:xlink="http://www.w3.org/1999/xlink" +xlink:type="simple" +xlink:href="http://www.jus.uio.no/sisu/man/sisu.8">http://www.jus.uio.no/sisu/man/sisu.8</link>> + </endnote> + <ocn>83</ocn> +</object> +<object id="84"> + <text class="indent_bullet"> + <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" +xlink:href="http://www.jus.uio.no/sisu/man"> man directory </link> +<en>4</en> + </text> + <endnote notenumber="4"> + 4. <<link xmlns:xlink="http://www.w3.org/1999/xlink" +xlink:type="simple" +xlink:href="http://www.jus.uio.no/sisu/man">http://www.jus.uio.no/sisu/man</link>> + </endnote> + <ocn>84</ocn> +</object> +<object id="85"> + <text class="h6"> + 1.3.2 Built in help + </text> + <ocn>85</ocn> +</object> +<object id="86"> + <text class="norm"> + sisu --help + </text> + <ocn>86</ocn> +</object> +<object id="87"> + <text class="norm"> + sisu --help --env + </text> + <ocn>87</ocn> +</object> +<object id="88"> + <text class="norm"> + sisu --help --commands + </text> + <ocn>88</ocn> +</object> +<object id="89"> + <text class="norm"> + sisu --help --markup + </text> + <ocn>89</ocn> +</object> +<object id="90"> + <text class="h6"> + 1.3.3 The home page + </text> + <ocn>90</ocn> +</object> +<object id="91"> + <text class="norm"> + <<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> + <ocn>91</ocn> +</object> +<object id="92"> + <text class="norm"> + <<link xmlns:xlink="http://www.w3.org/1999/xlink" +xlink:type="simple" +xlink:href="http://www.jus.uio.no/sisu/SiSU">http://www.jus.uio.no/sisu/SiSU</link>> + </text> + <ocn>92</ocn> +</object> +<object id="93"> + <text class="h5"> + 1.4 Markup Samples + </text> + <ocn>93</ocn> +</object> +<object id="94"> + <text class="norm"> + A number of markup samples (along with output) are available off: + </text> + <ocn>94</ocn> +</object> +<object id="95"> + <text class="norm"> + <<link xmlns:xlink="http://www.w3.org/1999/xlink" +xlink:type="simple" +xlink:href="http://www.jus.uio.no/sisu/SiSU/2.html">http://www.jus.uio.no/sisu/SiSU/2.html</link>> + </text> + <ocn>95</ocn> +</object> +<object id="96"> + <text class="norm"> + Additional markup samples are packaged separately in the file: + </text> + <ocn>96</ocn> +</object> +<object id="97"> + <text class="norm"> + <b>*</b> + </text> + <ocn>97</ocn> +</object> +<object id="98"> + <text class="norm"> + On <b>Debian</b> they are available in non-free<en>5</en> to include +them it is necessary to include non-free in your /etc/apt/source.list +or obtain them from the sisu home site. + </text> + <endnote notenumber="5"> + 5. the <b>Debian</b> Free Software guidelines require that everything +distributed within <b>Debian</b> can be changed - and the documents are +authors' works that while freely distributable are not freely +changeable. + </endnote> + <ocn>98</ocn> +</object> +<object id="0"> + <text class="h4"> + Endnotes + </text> + <ocn>0</ocn> +</object> +</body> +</document> |