Rendering MathML in XSL:FO to PDF using fop

Originally published on eve.gd on 28 July 2013, last updated 6 September 2026.

Read this post on the web (with images, PDF and citation details)

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.

use JEuclid

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

References

This reference list has been generated, in many cases, through an automated process and may therefore contain errors or incomplete metadata. It is provided purely as assistance for finding the items mentioned within this post.

1. JEuclid FOP plugin for MathML rendering <http://jeuclid.sourceforge.net/jeuclid-fop/>

http://jeuclid.sourceforge.net/jeuclid-fop/

Martin Paul Eve

Professor of Literature, Technology and Publishing

Getting Around

Short thoughts /thoughts
Today I learned /til
What I’m up to /now
CV /cv (PDF)
Accounts /accounts

Share This Post

https://bsky.app/intent/compose?text=Rendering+MathML+in+XSL:FO+to+PDF+using+fop+https://eve.gd/2013/07/28/rendering-mathml-in-xslfo-to-pdf-using-fop/
https://www.facebook.com/sharer/sharer.php?u=https://eve.gd/2013/07/28/rendering-mathml-in-xslfo-to-pdf-using-fop/

Related Posts

Crossref Member Practices feedback: without digital preservation, there is no digital persistence
Not now, ancient sheep virus found hiding in medieval parchment!
Things I have made (KC IDMS in place, Lower Decks conference, and quote in ResearchProfessional)

Short thought

/thoughts

/thoughts

Janeway is pleased to announce a new collaboration with PLOS to develop and extend the Janeway codebase for use in parts of PLOS’s article submission process https://www.openlibhums.org/news/1025/

We've gone from Andy and me coding Janeway by hand, in those pre-AI days, over a weekend or so, to Janeway, a solid structure for OA journal publication workflows. Now being used and developed by a major scientific publisher.

I never had aspirations for it like this. I just wanted it to do what we needed it to do. If there is a cool way for other organisations to make it do what they need, too, so long as it does not violate our ethical principles, then that is fantastic.

https://www.openlibhums.org/news/1025/

14 October 2026, 11:27

14 October 2026, 11:27

Listening

Fluke
Future Bones
Tina Turner
Rich Lane
Faff

Scrobbled on Last.fm

Scrobbled on Last.fm