Skip to content

Small script for processing LombardPress compliant XML files into TeX and compile with Latex

Notifications You must be signed in to change notification settings

lombardpress/lbp_print

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lbp_print is a small utility for processing a LombardPress valid XML text with a relevant XSLT script and compile to PDF with XeLaTeX.

Installation

Notice that the xslt is included as submodule of lbp-print-xslt, so include it in cloning by using --recursive:

git clone --recursive [email protected]:stenskjaer/lbp_print.git

If you have already cloned it and just need to install the submodules, run

git submodule init && git submodule update

Requirements

The script makes use of XeLaTeX and SaxonHE. Currently, Saxon is included in the vendor directory, but Java Runtime Environment must be installed to run it. One might consider going over to the pysaxon module.

Aside from that, there are also some internal dependencies, specified in the requirements.txt file.

TODO

  • Add whitespace cleanup

About

Small script for processing LombardPress compliant XML files into TeX and compile with Latex

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%