OnWorks favicon

gjots2docbook - Online in the Cloud

Run gjots2docbook in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gjots2docbook that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



gjots2docbook - Convert a gjotsfile to DOCBOOK (on stdout)


gjots2docbook -a|-b [ -e ] [ -P ] [ -p ] [ gjotsfile ]


gjots2docbook converts a gjotsfile into DOCBOOK XML.

gjots2docbook uses awk(1) to perform the conversion.

gjots2docbook does not create them so the first element in the file should contain any
<bookinfo> or <artheader> element. Similarly, <bibliographic> elements are not created. In
fact the output is very simplistic with item titles in the gjotsfile being converted to
chapter or section headings in DOCBOOK. There is no reason why your gjotsfile should not
contain valid DOCBOOK XML - and that is why the -e and -p options are provided.

If the file does not start with <?xml ...> then appropriate lines will be added as

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE doc_type PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN">

If properly installed, the docbook utilities can then be used to create HTML, man, ps, pdf
etc files eg:

gjots2docbook -b ~/.gjotsfile >gjotsfile.xml
docbook2pdf gjotsfile.xml

It may be necessary to fine-tune the docbook formatting to access all features.


-a makes a DOCBOOK article

-b makes a DOCBOOK book

-e don't encode special characters eg < -> &lt;

-p don't change blank lines to </para><para> markers

-P first section is a preface rather than a chapter (book only)

Use gjots2docbook online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    Download strikr
  • 3
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 4
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 5
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 6
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • More »

Linux commands