Commit Graph

6396 Commits

Author SHA1 Message Date
Martin A. Brown 133de6bb95 openjade does not like underscore in id= attribute
replace all underscores in attribute ids with dashes
2016-01-25 12:35:44 -08:00
Martin A. Brown 70fae0bf77 Use <index/> element and allow xsltproc to generate
xsltproc and friends will happily generate the index in one
pass, obviating the need for the separate index.xml file, which
must be generated using the jade toolchain; thus commenting out
the (missing) external index and generating it on the fly;

N.B. there were only two </indexterm> entries in the document, but
at least they were present
2016-01-25 12:31:39 -08:00
Martin A. Brown e99c425209 DocBook SGML: openjade forbids underscore in id= 2016-01-25 09:52:11 -08:00
Martin A. Brown bd48a44b6a allow automated publishing; switch to ./resources/
The additional programs and content were stored in a directory called
ncurses_programs and were referred to in the document--the problem is that
only ./images/ were copied to the output tree, so HTML versions of the
document would fail in building AND the files would not be viewable.

Adjusted that be creating a ./resources/ directory along the same line
as the ./images/ directory.  This can be changed, if desired, but this
allows for automated publication of the document.  (Side benefit: this is
generalizable to all other TLDP documents.)
2016-01-25 09:28:17 -08:00
Martin A. Brown 3b3973c134 DocBook SGML corrections
replacing several bare ampersands with &amp;
2016-01-25 08:53:59 -08:00
Martin A. Brown 470d6e8b1a renaming IRC.sgml to IRC.xml because it contains XML 2016-01-25 08:48:22 -08:00
Martin A. Brown 1ed75f296b rename the local index.sgml to slovak-index.sgml
When generating a book (or article) index, the filename is index.sgml.  Not an
issue with DocBook XML, only with the older tools which make several passes
over the input sources to create the index data (output as SGML in a file
called index.sgml) and then incorporate that into the final document.
2016-01-24 15:59:04 -08:00
Martin A. Brown 1cddadd624 DocBook SGML corrections
removing extraneous and empty <author/>, non-validating <toc/>
replacing an <ulink/> with a mailto: with an <email/> element
stuffing an &amp; in the url="" attribute value for a <ulink/>
document now validates
2016-01-24 15:52:34 -08:00
Martin A. Brown a16ca96a2b adjusting file path so that images files are available in output tree, as well; ./images/ 2016-01-24 15:43:25 -08:00
Martin A. Brown f77693c57c move images into own ./images/ dir so available in output tree 2016-01-24 15:41:11 -08:00
Martin A. Brown b4b4e106f1 moving images into ./images/ directory so that they are available in output tree, as well 2016-01-24 15:37:33 -08:00
Martin A. Brown e40a3fbe95 deleting two older copies of the same file with slightly different names 2016-01-24 15:37:06 -08:00
Martin A. Brown c379fe0e27 DocBook XML validation correction
one extra </revision> closing tag needed to be removed
2016-01-24 15:36:32 -08:00
Martin A. Brown 05f3196fbd moving images into ./images/ directory so that they are available in output tree, as well 2016-01-24 15:30:35 -08:00
Martin A. Brown 598373154c create actual .eps files and move image files into ./images/ 2016-01-24 15:26:21 -08:00
Martin A. Brown 5532c48b03 create actual .eps files and move image files into ./images/ 2016-01-24 15:25:52 -08:00
Martin A. Brown feb2db2a02 duplicate of VPN-SSH-PPP-HOWTO 2016-01-24 15:21:16 -08:00
Martin A. Brown aeaa9f882b adding a missing </revision> tag 2016-01-24 12:23:01 -08:00
Martin A. Brown 918a352508 DocBook XML correction
Though it is legal to define parameter entity substitutions in a
DTD's internal subset, you cannot actually use them there.  It is only
legal to use a parameter entity substitution in an external subset.

See this:
https://www.w3.org/TR/1998/REC-xml-19980210#wfc-PEinInternalSubset

Therefore, for the XML-RPC-HOWTO, the %GoodStyleSheets; definition is
left uncommented, but the suppression of the alternate definition of
legal.notice is commented out.

Document validates and processes correctly, now, using the legal.notice
definition intended.  N.B., there is no actual difference in the license
specified, just the markup used to communicate it.
2016-01-24 12:16:43 -08:00
Martin A. Brown a0d0c2ddf9 DocBook XML DOCTYPE declaration correction
Setting the (absent) system identifier.
2016-01-24 12:14:56 -08:00
Martin A. Brown cb4e5ed310 DocBook SGML corrections
The <emphasis/> tag cannot live inside a <systemitem/> or a <literal/>, but
it can certainly surround these elements; inverting to allow for validation
and processing.
2016-01-24 12:12:02 -08:00
Martin A. Brown 894f682e66 setting these to current (static) values instead of sourcing from a file at build time 2016-01-24 12:10:07 -08:00
Martin A. Brown f9df6da482 DocBook SGML correction
A Table of Contents is automatically generated; no need for a <toc/> element,
and needed to get rid of an extraneous "#"; validates and processing now
2016-01-24 12:02:57 -08:00
Martin A. Brown 89e9153c4e DocBook XML adjustments
first line of fdl.xml with XML text declaration was confusing xsltproc;
removed and things were fine, also removed commented out DOCTYPE declaration

used URI for DocBook 4.1.2 in system identifier in rpmupgrade.xml

commented out <xref endterm="xrefdemo" linked="xrefdemo" /> which was causing
a recursion error in the DocBook XSLT layer

document now validates and builds (except for PDF)
2016-01-24 11:58:27 -08:00
Martin A. Brown b9601025f3 locating all eps files in images directory 2016-01-24 11:42:18 -08:00
Martin A. Brown 9525ad00db adding .eps versions of all files for print output 2016-01-24 11:30:47 -08:00
Martin A. Brown 2769f0ac5f moving all images into images directory 2016-01-24 11:26:55 -08:00
Martin A. Brown 2fdfa2d74c drop all images into ./images/ directory 2016-01-24 11:22:58 -08:00
Martin A. Brown bb5aa4728f DocBook SGML correction
The <mediaobject/> element does not allow the align= attribute, removing, to
allow validation and processing.
2016-01-24 11:20:57 -08:00
Martin A. Brown c12f52be91 switching to entity names for &raquo; and &laquo; 2016-01-24 11:17:27 -08:00
Martin A. Brown faeb213288 DocBook SGML corrections
Adding a variety of closing tags, </para>, </sect3> to allow for validation
2016-01-24 11:09:30 -08:00
Martin A. Brown a8c934f589 DocBook SGML correction
adding one missing </sect2> to allow for document validation
2016-01-24 10:55:49 -08:00
Martin A. Brown e076e8194f DocBook SGML correction
adding one missing </listitem> to allow for document validation
2016-01-24 10:54:21 -08:00
Martin A. Brown ab2c7e21c5 Unicode and DocBook XML corrections
files were declared with <?xml version="1.0" encoding="UTF-8"?>
but were definitely not UTF-8; corrected and added Unicode BOM

Linux-Networking.xml: fixed a doubly-closed </ulink>

Overview.xml: there were several large pasted sections of text which
contained characters understood to be markup; wrapped the entire
sections in <![CDATA[ ]]> blocks;

Protocols-Standards-Services.xml: closing </sect1> tags cannot have id="" on
  them: removed these; wrapped several email addresses with <email/> to allow
  validation; fixed tons of URLs with proper <ulink/> elements; wrapped a few
  pasted sections in <![CDATA[ ]]> blocks;
2016-01-24 10:46:18 -08:00
Martin A. Brown 265bdc7bdc DocBook XML corrections
correct few numeric entities, e.g. from &60; to &#60#;
2016-01-24 09:43:02 -08:00
Martin A. Brown b5a6449317 DocBook SGML corrections
jade processor was very unhappy to have closing tags on <imagedata>;
removing them (which felt like violence) allowed the document to be
validated and processed
2016-01-24 09:40:13 -08:00
Martin A. Brown c422768d80 DocBook SGML corrections
The <email> start tag was not properly closed; just closing it.
2016-01-24 09:36:46 -08:00
Martin A. Brown bbd1b8162e DocBook XML charset correction
Correcting a stray improper (non-) UTF-8 character.
2016-01-24 09:24:13 -08:00
Martin A. Brown d51e1970c4 Store the cooked outputs of Charles Curley's scripts
In his document build system, each script is cooked (wrapped in <![ CDATA []]>
during build process--this is elegant, but we are not calling his build
Makefile, so we need to store the cooked scripts in the source tree.
2016-01-24 09:16:45 -08:00
Martin A. Brown 270d39e7de DocBook SGML corrections
<artheader/> element removed, replaced with <articleinfo/> in DocBook 4.1
putting images in ./images/ directory
2016-01-24 09:01:36 -08:00
Martin A. Brown bceac870e9 providing local copy of fdl.sgml.en, so the directory is self-contained 2016-01-24 08:54:50 -08:00
Martin A. Brown 3725584abc DocBook SGML corrections
jade did not like trying to process <graphic/> elements where it could not
find the source images; also, it wanted the filename extension included (did
early DocBook SGML processing tools simply locate an image of the preferred
type?)
2016-01-24 08:52:54 -08:00
Serge Victor 46d0a794dc Merge pull request #14 from tgeek77/master
This is the current version of the Linux from Scratch guide from SVN
2016-01-24 23:12:12 +07:00
tgeek77 c4ce83ee87 This is the current version of the Linux from Scratch guide from SVN 2016-01-24 14:40:31 +01:00
Martin A. Brown b84ac99768 DocBook SGML corrections
Commented out an <inlinemediaobject/> which was using processing instructions
(IGNORE/INCLUDE) to control selection of several <imageobject/> children and
one <textobject/> child; jade got confused because there was no <imageobject/>
being selected, only a <textobject/> so refused to process the document

Also, cleaned up some stray </listitem> and missing <emphasis> elements
throughout the document.  Squashed one stray </chapter> ending the
bibliography and removed an attribute (title=) that was forbidden on a
<bibliography/> element.
2016-01-24 01:04:43 -08:00
Martin A. Brown 44fc82d10d DocBook XML DOCTYPE declaration correction
The DOCTYPE specification was missing the System Identifier
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
Processing is still not validating properly, because the toolchain used to
generate this, before, created the index.xml file on a first pass, and then
the actual document on the second pass, in the style of SGML tools.
I would like to figure out how to support both with a processing instruction.
2016-01-24 00:06:00 -08:00
Martin A. Brown b3c9d1fbf2 DocBook SGML corrections
adding one closing </para>
commenting out <imageobject/> referring to png filetypes, since
the jade engine refuses to handle png files at DocBook v3.1
2016-01-23 23:54:24 -08:00
Martin A. Brown e53cae8f61 DocBook SGML corrections
element <authorintials/> spelled correctly as <authorinitials/>
added closing </para> and </listitem> to allow document to validate
2016-01-23 23:49:06 -08:00
Martin A. Brown 58569033e2 this does horrendous things to rsync -L 2016-01-23 23:28:11 -08:00
Martin A. Brown d2afd0d672 Merge branch 'master' of github.com:martin-a-brown/LDP 2016-01-23 21:50:45 -08:00