xerif
automatic is better
xerif is an open source typesetting system developed by le-tex, based on XML and TeX. Whether the publication contains long footnotes, mathematical formulas and complex tables – where other typesetting systems reach their limits, the story of xerif just begins: Simply upload Microsoft Word, TeX, XML or Markdown, select the layout options and xerif will create the print PDF.




Multilingual
Various languages are supported thanks to OpenType fonts, Unicode and Babel hyphenation. Even publications with non-Latin writing systems such as Arabic, Hebrew, and Chinese can be created with xerif.
Author friendly
Your author prefers to write in LaTeX? xerif supports Word, LaTeX, Markdown and XML. Authors will receive typeset proofs instantly. Then they carry out corrections themselves, in their own manuscripts.
Professional
No one has to work extra shifts just because the author has created her bibliography with Citavi and the manuscript includes MathType, long tables, and complex indexes. With xerif, such features are built-in from the start.
First class results
For long footnotes, multi-page tables and complex image layouts, xerif’s algorithms find the optimal page break. This saves time and money compared to conventional typesetting programs.

1. markup
The manuscript file is marked up according to xerif conventions. Word authors can use a document template that is based on the default Word format templates. We created additional styles that allow to mark up specific elements and to customize the layout. Customer-specific document templates can also be configured with xerif.
2. upload
Various settings can be flexibly defined via a web form, such as layout and page format, whether footnotes or endnotes are used or how deep the table of contents should be structured.
3. convert
After the upload, the conversion starts automatically. The input file is converted via transpect to XML and to TeX. The TeX files are then linked to the customer-specific styles and our TeX framework to create the print PDF. As known from transpect’s cascading method, different layouts can be configured for various levels, such as publisher, imprint, book series, and even for individual works.
4. publish
When the conversion is finished, the output files and a validation report are available. xerif offers an HTTP API and supports other APIs for integration into other systems. For example, xerif can be shipped in a Docker container.
Customers

“xerif plays a vital role for standardizing and automating our editorial, typesetting and distribution processes. Three quarters of our 500 releases annually are now produced using the system. xerif enables us to meet the needs of our authors quickly and with consistent quality and to deliver high-quality data to libraries and bookstores.”

“Legal content – commentaries in particular – is not only structurally complex, but C.H.BECK maintains very high typesetting standards, too. Authors typically submit Word manuscripts, and they need a PDF for proofreading that looks print-ready. Before xerif, it was a very costly and time-consuming process to produce a PDF for every new proofreading run. Thanks to xerif, we can now automate this process. In addition, we automatially receive valid XML documents for our online platforms.”

»As publisher with a background in humanities, Campus offers a wide-ranging program with numerous typographical features. Titles with text in Hebrew, Arabic, and other languages, many footnotes and long indexes are not uncommon. In the past, there would have been no alternative to InDesign. Today we produce these titles with xerif in less time and in a lean process.«
Features

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

Technology
xerif is essentially based on transpect and TeX. XML processing is performed by our Open Source framework transpect. As known from other transpect-based workflows, all processes are orchestrated with XProc pipelines and the data is transformed with XSLT. The XML data is validated with Schematron and Relax NG.
The transpect module xml2tex acts as the interface between XML and TeX. A configuration file allows to specify various input XML schemas and to control the TeX output. The xml2tex configuration for xerif expects Hub (DocBook-based) XML and converts it into the vocabulary of transpect-tex. Transpect-tex is a LaTeX macro package that offers additional commands for professional books and journals.
The generated TeX files don’t contain any low-level formatting. The actual formatting is defined by the various LaTeX style files of transpect-tex. These style files provides the basic formatting instructions and give control over typography, page, and line breaks. Later, they are combined with the customer-specific styles to allow an individual layout appearance.
Since the commonly known TeX table models are not suitable for the requirements of our customers, we included htmltabs, which was developed at le-tex. The syntax of htmltabs is based on the HTML table model and allows formatting through classes and CSS properties.
The generated TeX file, the transpect-tex files and other assets are then copied to a temporary folder. Multiple LuaTeX runs follow in the usual way, e.g. for creating listings, indexes and for the final pagination. After this process is finished, the final PDFs are available.
Other outputs such as XML, EPUB and HTML report are generated alongside the PDF. An InDesign IDML synthesis can also be added if you want the option of InDesign typesetting. Last but not least, the data can be sent to other systems with configurable post-conversion actions.