This project contains the original sources for Crosswalking: Processing MARC in XML Environments with MARC4J. You can find a copy here.
The book is written in DocBook. Output can be generated using the DocBook XSL stylesheets.
To create a single HTML output document using xsltproc
:
xsltproc --output build/crosswalking.html ~/docbook-xsl-1.79.1/html/docbook.xsl book.xml
Where ~/docbook-xsl-1.79.1/html/docbook.xsl
should refer to the DocBook XSL stylesheet for HTML output.
To create a PDF document using fop
you can run the provided script:
./run-fop.sh
The PDF output font configuration is in cfg.xml
:
<configuration>
<base>.</base>
<renderers>
<renderer mime="application/pdf">
<fonts>
<!-- register all the fonts found in a directory -->
<directory>/Library/Fonts</directory>
<auto-detect/>
</fonts>
</renderer>
</renderers>
</configuration>
The fo-stylesheet.xsl
contains a reference to the DocBook XSL files:
<xsl:import href="/Users/bas/docbook-xsl-1.79.1/fo/docbook.xsl"/>
See the LICENSE file for license rights and limitations (MIT).