Query: gjots2docbook
OS: debian
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GJOTS2DOCBOOK(1) General Commands Manual GJOTS2DOCBOOK(1)NAMEgjots2docbook - Convert a gjotsfile to DOCBOOK (on stdout)SYNOPSISgjots2docbook -a|-b [ -e ] [ -P ] [ -p ] [ gjotsfile ]DESCRIPTIONgjots2docbook 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, <bib- liographic> 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 op- tions are provided. If the file does not start with <?xml ...> then appropriate lines will be added as follows: <?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.OPTIONS-a makes a DOCBOOK article -b makes a DOCBOOK book -e don't encode special characters eg < -> < -p don't change blank lines to </para><para> markers -P first section is a preface rather than a chapter (book only)AUTHORWritten by Bob Hepple <bhepple@freeshell.org> http://bhepple.freeshell.org/gjotsCOPYRIGHTCopyright (c) 2002 Robert Hepple This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PAR- TICULAR PURPOSE.SEE ALSOgjots(1), gjots2html(1), docbook2gjots(1) GJOTS2DOCBOOK(1)
Related Man Pages |
---|
docbook2gjots(1) - debian |
pod2docbook(1p) - debian |
virt-xml-validate(1) - debian |
xml2po(1) - debian |
xml_grep(1p) - debian |
Similar Topics in the Unix Linux Community |
---|
parsing xml with awk/sed |
Read block of lines from xml file |
parsing xml using awk |
Search and replace in xml file using awk.. |
Creating multiple xml tag lines in a file |