SiSU -->
TOC linked  toc  Full Text  scroll  PDF portrait   pdf  PDF landscape   pdf  ODF/ODT  odt    A-Z  Document Manifest  @
<< previous TOC next >>
< ^ >

SiSU - SiSU information Structuring Universe

Manual [0.58]

Ralph Amissah

copy @ SiSU

SiSU - SiSU information Structuring Universe - Manual [0.58],
Ralph Amissah

 

  1

 

  2

 

  1205

 

36. Quickstart - Getting Started Howto

  1367

36.1 Installation
36.1.1 Debian Installation
36.1.2 RPM Installation
36.1.3 Installation from source
36.2 Testing SiSU, generating output
36.2.1 basic text, plaintext, html, XML, ODF
36.2.2 LaTeX / pdf
36.2.3 relational database - postgresql, sqlite
36.3 Getting Help
36.3.1 The man pages
36.3.2 Built in help
36.3.3 The home page
36.4 Markup Samples

36.1 Installation

  1368

Installation is currently most straightforward and tested on the Debian platform, as there are packages for the installation of sisu and all requirements for what it does.

  1369

36.1.1 Debian Installation

  1370

SiSU is available directly from the Debian Sid and testing archives (and possibly Ubuntu), assuming your /etc/apt/sources.list is set accordingly:

  1371

    aptitude update
    aptitude install sisu-complete

  1372

The following /etc/apt/sources.list setting permits the download of additional markup samples:

  1373

  #/etc/apt/sources.list

    deb http://ftp.fi.debian.org/debian/ unstable main non-free contrib
    deb-src http://ftp.fi.debian.org/debian/ unstable main non-free contrib
  d

  1374

The aptitude commands become:

  1375

    aptitude update
    aptitude install sisu-complete sisu-markup-samples

  1376

If there are newer versions of SiSU upstream of the Debian archives, they will be available by adding the following to your /etc/apt/sources.list

  1377

  #/etc/apt/sources.list

    deb http://www.jus.uio.no/sisu/archive unstable main non-free
    deb-src http://www.jus.uio.no/sisu/archive unstable main non-free

  1378

repeat the aptitude commands

  1379

    aptitude update
    aptitude install sisu-complete sisu-markup-samples

  1380

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.

  1381

36.1.2 RPM Installation

  1382

RPMs are provided though untested, they are prepared by running alien against the source package, and against the debs.

  1383

They may be downloaded from:

  1384

<http://www.jus.uio.no/sisu/SiSU/download.html#rpm>

  1385

as root type:

  1386

rpm -i [rpm package name]

  1387

36.1.3 Installation from source

  1388

To install SiSU from source check information at:

  1389

<http://www.jus.uio.no/sisu/SiSU/download.html#current>

  1390

  • download the source package
  •   1391

  • Unpack the source
  •   1392

    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:

      1393

    For basic use SiSU is only dependent on the programming language in which it is written Ruby, and SiSU 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)  94  or converting LaTeX to pdf.

      1394

    setup.rb

      1395

    This is a standard ruby installer, using setup.rb is a three step process. In the root directory of the unpacked SiSU as root type:

      1396

          ruby setup.rb config
          ruby setup.rb setup
          #[and as root:]
          ruby setup.rb install

      1397

    further information on setup.rb is available from:

      1398

    <http://i.loveruby.net/en/projects/setup/>

      1399

    <http://i.loveruby.net/en/projects/setup/doc/usage.html>

      1400

    "install"

      1401

    The "install" file provided is an installer prepared using "rant". In the root directory of the unpacked SiSU as root type:

      1402

    ruby install base

      1403

    or for a more complete installation:

      1404

    ruby install

      1405

    or

      1406

    ruby install base

      1407

    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.

      1408

    Further information on "rant" is available from:

      1409

    <http://make.rubyforge.org/>

      1410

    <http://rubyforge.org/frs/?group_id=615>

      1411

    For a list of alternative actions you may type:

      1412

    ruby install help

      1413

    ruby install -T

      1414

    36.2 Testing SiSU, generating output

      1415

    To check which version of sisu is installed:

      1416

    sisu -v

      1417

    Depending on your mode of installation one or a number of markup sample files may be found either in the directory:

      1418

    ...

      1419

    or

      1420

    ...

      1421

    change directory to the appropriate one:

      1422

    cd /usr/share/doc/sisu/sisu_markup_samples/dfsg

      1423

    36.2.1 basic text, plaintext, html, XML, ODF

      1424

    Having moved to the directory that contains the markup samples (see instructions above if necessary), choose a file and run sisu against it

      1425

    sisu -NhwoabxXyv free_as_in_freedom.rms_and_free_software.sam_williams.sst

      1426

    this will generate html including a concordance file, opendocument text format, plaintext, XHTML and various forms of XML, and OpenDocument text

      1427

    36.2.2 LaTeX / pdf

      1428

    Assuming a LaTeX engine such as tetex or texlive is installed with the required modules (done automatically on selection of sisu-pdf in Debian)

      1429

    Having moved to the directory that contains the markup samples (see instructions above if necessary), choose a file and run sisu against it

      1430

    sisu -pv free_as_in_freedom.rms_and_free_software.sam_williams.sst

      1431

    sisu -3 free_as_in_freedom.rms_and_free_software.sam_williams.sst

      1432

    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

      1433

    36.2.3 relational database - postgresql, sqlite

      1434

    Relational databases need some setting up - you must have permission to create the database and write to it when you run sisu.

      1435

    Assuming you have the database installed and the requisite permissions

      1436

    sisu --sqlite --recreate

      1437

    sisu --sqlite -v --import free_as_in_freedom.rms_and_free_software.sam_williams.sst

      1438

    sisu --pgsql --recreate

      1439

    sisu --pgsql -v --import free_as_in_freedom.rms_and_free_software.sam_williams.sst

      1440

    36.3 Getting Help

      1441

    36.3.1 The man pages

      1442

    Type:

      1443

    man sisu

      1444

    The man pages are also available online, though not always kept as up to date as within the package itself:

      1445

  • sisu.1   95 
  •   1446

  • sisu.8   96 
  •   1447

  • man directory   97 
  •   1448

    36.3.2 Built in help

      1449

    sisu --help

      1450

    sisu --help --env

      1451

    sisu --help --commands

      1452

    sisu --help --markup

      1453

    36.3.3 The home page

      1454

    <http://www.jus.uio.no/sisu>

      1455

    <http://www.jus.uio.no/sisu/SiSU>

      1456

    36.4 Markup Samples

      1457

    A number of markup samples (along with output) are available off:

      1458

    <http://www.jus.uio.no/sisu/SiSU/2.html>

      1459

    Additional markup samples are packaged separately in the file:

      1460

    *

      1461

    On Debian they are available in non-free  98  to include them it is necessary to include non-free in your /etc/apt/source.list or obtain them from the sisu home site.

      1462

    ^

     94. There is nothing to stop MySQL support being added in future.

     

     95. <http://www.jus.uio.no/sisu/man/sisu.1>

     

     96. <http://www.jus.uio.no/sisu/man/sisu.8>

     

     97. <http://www.jus.uio.no/sisu/man>

     

     98. the Debian Free Software guidelines require that everything distributed within Debian can be changed - and the documents are authors' works that while freely distributable are not freely changeable.

     
     
    SiSU -->
    TOC linked  toc  Full Text  scroll  PDF portrait   pdf  PDF landscape   pdf  ODF/ODT  odt    A-Z  Document Manifest  @
    << previous TOC next >>
    < ^ >

    SiSU

    Output generated by SiSU 0.59.0 2007-09-23 (2007w38/0)
    SiSU Copyright © Ralph Amissah 1997, current 2007. All Rights Reserved.
    SiSU is software for document structuring, publishing and search,
    www.jus.uio.no/sisu and www.sisudoc.org
    w3 since October 3 1993 ralph@amissah.com

    SiSU using:
    Standard SiSU markup syntax,
    Standard SiSU meta-markup syntax, and the
    Standard SiSU object citation numbering and system, (object/text positioning system)
    Copyright © Ralph Amissah 1997, current 2007. All Rights Reserved.

    GPLv3

    SiSU is released under GPLv3 or later, <http://www.gnu.org/licenses/gpl.html>

    SiSU, developed using Ruby on Debian/Gnu/Linux software infrastructure, with the usual GPL (or OSS) suspects.
    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.
    Get With the Future Way Better!



    idx txt


    SiSU manual


    SiSU