--- layout: post status: publish published: true title: Rendering MathML in XSL:FO to PDF using fop wordpress_id: 2788 wordpress_url: https://www.martineve.com/?p=2788 date: !binary |- MjAxMy0wNy0yOCAxNDoxMToxMyArMDIwMA== date_gmt: !binary |- MjAxMy0wNy0yOCAxMzoxMToxMyArMDIwMA== categories: - Technology tags: - typesetting comments: [] ---

Another brief post on fop. I wanted to render some MathML markup inside an XSL:FO document to be converted to PDF using fop. The way to do this is to use JEuclid. However, the JEuclid page claims to only work on fop versions 0.95beta and 0.95. Turns out this is untrue.

In Linux Mint/Ubuntu I got this working via the following:

  1. sudo apt-get install fop libjeuclid-fop-java
  2. Edit /usr/bin/fop and add the line find_jars jeuclid-core jeuclid-fop to /usr/bin/fop