-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to Docbook xslTNG toolchain. This drops all sorts of now unneeded dependencies. The pdf and epub are generated by the print output CSS by "prince". It seems to be the best option for now [1]. [1] docbook/xslTNG#121
- Loading branch information
Showing
5,993 changed files
with
69 additions
and
2,033,246 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,30 +9,16 @@ or | |
|
||
make pdf (output in csbu.pdf) | ||
|
||
Included for simplicity are the docbook dtds, xsl stylesheets and fop | ||
distribution. You need some other things for this to work out of the | ||
box. If you have the Debian packages | ||
Dependencies are roughly | ||
|
||
* java (1.8 ... 1.7 seems to have some issues with saxon; see | ||
https://sourceforge.net/p/docbook/bugs/1373/ ) | ||
* java | ||
* libxml2-utils | ||
* jing | ||
* transfig (for fig2dev) | ||
|
||
you will probably be ok. | ||
* pdf : prince - https://www.princexml.com/ | ||
* epub : calibre | ||
|
||
I am always interested in contribution and feedback so please feel | ||
free to email | ||
|
||
Ian Wienand | ||
[email protected] | ||
|
||
--- | ||
|
||
Notes | ||
|
||
2016-01-13 : fop-2.0/lib/batik-all-svn-trunk.jar from [1] is included | ||
to work around [2] | ||
|
||
[1] https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/lib/batik-all-svn-trunk.jar | ||
[2] https://issues.apache.org/jira/browse/FOP-2489 | ||
[email protected] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,28 @@ | ||
<?xml version='1.0'?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<xsl:stylesheet | ||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
xmlns:d="http://docbook.org/ns/docbook" | ||
version="1.0"> | ||
xmlns:db="http://docbook.org/ns/docbook" | ||
xmlns:m="http://docbook.org/ns/docbook/modes" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
xmlns="http://www.w3.org/1999/xhtml" | ||
exclude-result-prefixes="db xs" | ||
version="3.0"> | ||
|
||
<xsl:import href="docbook-xsl-ns-1.79.1/xhtml5/chunk.xsl"/> | ||
<xsl:import href="docbook-xsl-ns-1.79.1/xhtml/highlight.xsl"/> | ||
<!-- This href has to point to your local copy | ||
of the stylesheets. --> | ||
|
||
<xsl:param name="highlight.source" select="1" /> | ||
<xsl:param name="chunker.output.encoding" select="'UTF-8'"/> | ||
<xsl:param name="make.clean.html" select="1"></xsl:param> | ||
<xsl:param name="use.id.as.filename" select="1"></xsl:param> | ||
<xsl:param name="chunk.first.selection" select="1"></xsl:param> | ||
<!--<xsl:param name="html.ext">.html</xsl:param>--> | ||
<xsl:param name="docbook.css.link" select="0"></xsl:param> | ||
<xsl:param name="docbook.css.source"></xsl:param> | ||
<xsl:param name="suppress.navigation" select="0"></xsl:param> | ||
<xsl:param name="html.stylesheet">csbu.css</xsl:param> | ||
<xsl:import href="docbook-xslTNG-1.8.0/xslt/docbook.xsl"/> | ||
|
||
<xsl:template name="user.footer.navigation"> | ||
<script type="text/javascript"> | ||
<xsl:param name="chunk" select="'index.html'" /> | ||
<xsl:param name="chunk-output-base-uri" select="'.'" /> | ||
<xsl:param name="verbatim-syntax-highlighter" select="'highlight.js'" /> | ||
<xsl:param name="persistent-toc" select="'true'" /> | ||
|
||
var _gaq = _gaq || []; | ||
_gaq.push(['_setAccount', 'UA-25195980-1']); | ||
_gaq.push(['_trackPageview']); | ||
|
||
(function() { | ||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | ||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | ||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | ||
})(); | ||
|
||
</script> | ||
<xsl:template match="*" mode="m:html-head-links"> | ||
<xsl:next-match/> | ||
|
||
<link rel="stylesheet" href="css/csbu.css"/> | ||
</xsl:template> | ||
|
||
|
||
</xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,16 @@ | ||
<?xml version='1.0'?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<xsl:stylesheet | ||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
xmlns:d="http://docbook.org/ns/docbook" | ||
version="1.0"> | ||
|
||
<xsl:import href="docbook-xsl-ns-1.79.1/fo/docbook.xsl"/> | ||
<xsl:import href="docbook-xsl-ns-1.79.1/fo/highlight.xsl"/> | ||
|
||
<xsl:param name="highlight.source" select="1" /> | ||
|
||
<xsl:param name="body.font.family">Helvetica</xsl:param> | ||
<xsl:param name="body.font.size">11pt</xsl:param> | ||
xmlns:db="http://docbook.org/ns/docbook" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
xmlns="http://www.w3.org/1999/xhtml" | ||
exclude-result-prefixes="db xs" | ||
version="3.0"> | ||
|
||
<xsl:attribute-set name="monospace.verbatim.properties"> | ||
<xsl:attribute name="font-size">0.7em</xsl:attribute> | ||
</xsl:attribute-set> | ||
<!-- This href has to point to your local copy | ||
of the stylesheets. --> | ||
|
||
<xsl:param name="shade.verbatim" select="1" /> | ||
<xsl:attribute-set name="shade.verbatim.style"> | ||
<xsl:attribute name="background-color">#F8F8F8</xsl:attribute> | ||
<xsl:attribute name="border-width">0.5pt</xsl:attribute> | ||
<xsl:attribute name="border-style">solid</xsl:attribute> | ||
<xsl:attribute name="border-color">#575757</xsl:attribute> | ||
<xsl:attribute name="padding">2pt</xsl:attribute> | ||
</xsl:attribute-set> | ||
<xsl:import href="docbook-xslTNG-1.8.0/xslt/print.xsl"/> | ||
|
||
</xsl:stylesheet> |
Oops, something went wrong.