From e2ccad3305dce136b7fed99b130134c98ce6b298 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 9 Feb 2019 18:53:38 +0100 Subject: 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 > pluma.fo fop -fo pluma.fo -pdf pluma.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 It doesn't work: Method III-b: Use docbook-xslt2-2.3.10-app (PDF) 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 foprint index.docbook > pluma.fo fop -fo pluma.fo -pdf pluma.pdf --- help/C/index.docbook | 115 ++++++++++++++++++++++++++------------------------- 1 file changed, 58 insertions(+), 57 deletions(-) (limited to 'help/C') diff --git a/help/C/index.docbook b/help/C/index.docbook index 20e9e678..08008b7f 100644 --- a/help/C/index.docbook +++ b/help/C/index.docbook @@ -1,4 +1,5 @@ + - + 1.0 2000 - Eric Baudais baudais@okstate.edu - GNOME Documentation Project + Eric Baudais baudais@okstate.edu + GNOME Documentation Project 2.0 - March 2002 + March 2002 - Sun GNOME Documentation Team - GNOME Documentation Project + Sun GNOME Documentation Team + GNOME Documentation Project 2.1 - June 2002 + June 2002 - Sun GNOME Documentation Team - GNOME Documentation Project + Sun GNOME Documentation Team + GNOME Documentation Project 2.2 - August 2002 + August 2002 - Sun GNOME Documentation Team - GNOME Documentation Project + Sun GNOME Documentation Team + GNOME Documentation Project 2.3 - September 2002 + September 2002 - Sun GNOME Documentation Team - GNOME Documentation Project + Sun GNOME Documentation Team + GNOME Documentation Project 2.4 - January 2003 + January 2003 - Sun GNOME Documentation Team - GNOME Documentation Project + Sun GNOME Documentation Team + GNOME Documentation Project 2.5 - March 2003 + March 2003 - Sun GNOME Documentation Team - GNOME Documentation Project + Sun GNOME Documentation Team + GNOME Documentation Project 2.6 - September 2003 + September 2003 - Sun GNOME Documentation Team - GNOME Documentation Project + Sun GNOME Documentation Team + GNOME Documentation Project 2.7 - March 2004 + March 2004 - Sun GNOME Documentation Team - GNOME Documentation Project + Sun GNOME Documentation Team + GNOME Documentation Project 2.8 - July 2015 + July 2015 - Sun Java Desktop System Documentation Team - GNOME Documentation Project + Sun Java Desktop System Documentation Team + GNOME Documentation Project 2.9 - July 2006 + July 2006 - GNOME Documentation Team - GNOME Documentation Project + GNOME Documentation Team + GNOME Documentation Project 3.0 - July 2015 + July 2015 - MATE Documentation Team - MATE Documentation Project + MATE Documentation Team + MATE Documentation Project @@ -267,9 +268,9 @@ When you start pluma, the following window is displayed: -
+
- pluma Window + pluma Window @@ -277,7 +278,7 @@ - Shows pluma main window. + Shows pluma main window. @@ -370,12 +371,12 @@ Opening a File To open a file, choose File Open to display the Open File dialog. Select the file that you want to open, then click Open. The file is displayed in the pluma window. - The application records the paths and filenames of the five most recent files that you edited and displays the files as menu items on the File menu. You can also click on the + The application records the paths and filenames of the five most recent files that you edited and displays the files as menu items on the File menu. You can also click on the - Shows Recent Files menu icon. + Shows Recent Files menu icon. icon on the toolbar to display the list of recent files. @@ -2545,4 +2546,4 @@ - \ No newline at end of file + -- cgit v1.2.1