summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-04-07 09:57:52 +0200
committerraveit65 <[email protected]>2019-04-14 10:58:52 +0200
commitad093718532f9716b25eff3ece5f69a600923d41 (patch)
tree565014b71c69bf70ec25c25a058baed2b7f57ff9 /data
parentf6d36b99c01aa3cc33bc97b3edb156cc6cf1863f (diff)
downloadeom-ad093718532f9716b25eff3ece5f69a600923d41.tar.bz2
eom-ad093718532f9716b25eff3ece5f69a600923d41.tar.xz
Use ITS in docbook article info, validate with dbits schemas
-= Validate =- wget https://docbook.org/xml/5.0/rng/dbits.rng xmllint --noout --relaxng dbits.rng help/C/index.docbook jing dbits.rng help/C/index.docbook -= View the manual using yelp =- yelp file:///path_to_file/index.docbook -= Tests: Generate pdf and html files from docbook =- Method I: Use yelp-build (HTML chunk) cd help/C mkdir htmlout yelp-build html -o htmlout index.docbook Method II-a: Use docbook5-style-xsl package on Fedora 29 (PDF) sudo dnf install -y docbook5-style-xsl cd help/C xsltproc /usr/share/sgml/docbook/xsl-ns-stylesheets-1.79.2/fo/docbook.xsl index.docbook > eom.fo fop -fo eom.fo -pdf eom.pdf Method II-b: Use docbook5-style-xsl package on Fedora 29 (HTML) sudo dnf install -y docbook5-style-xsl cd help/C xsltproc /usr/share/sgml/docbook/xsl-ns-stylesheets-1.79.2/html/docbook.xsl index.docbook > index.html Method II-c: Use docbook5-style-xsl package on Fedora 29 (HTML chunk) sudo dnf install -y docbook5-style-xsl cd help/C xsltproc --xinclude \ --stringparam base.dir htmlout/ \ --stringparam use.id.as.filename 1 \ --stringparam chunker.output.encoding UTF-8 \ /usr/share/sgml/docbook/xsl-ns-stylesheets-1.79.2/html/chunk.xsl index.docbook or xsltproc --xinclude \ --stringparam base.dir htmlout/ \ --stringparam use.id.as.filename 1 \ --stringparam chunker.output.encoding UTF-8 \ --stringparam chunk.section.depth 2 \ --stringparam chunk.first.sections 1 \ /usr/share/sgml/docbook/xsl-ns-stylesheets-1.79.2/html/chunk.xsl index.docbook cp -rp figures htmlout Method III-a: Use docbook-xslt2-2.3.10-app (XHTML) cd help/C wget https://github.com/docbook/xslt20-stylesheets/releases/download/2.3.10/docbook-xslt2-2.3.10-app.zip unzip docbook-xslt2-2.3.10-app.zip java -jar docbook-xslt2-2.3.10-app/docbook-xslt2-2.3.10.jar -f xhtml index.docbook > index.html
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions