advice on epub scenario customization

I am creating an ebook in epub, MOBI and PDF formats from TEI XML. I want to use the built-in transformation scenario in oxygen to create the epub file. But I want to be able to customize the output too. I have seen that the following files are drawn on in the scenario: /Applications/oxygen/frameworks/tei/xml/tei/stylesheet/tei.css /Applications/oxygen/frameworks/tei/xml/tei/stylesheet/epub/tei-to-epub.xsl /Applications/oxygen/frameworks/tei/xml/tei/stylesheet/profiles/default/epub/to.xsl I’ve tested modifying at least one of them to alter the output, which seemed to work. I’m looking for any advice on other files to modify in the process, or possibly other approaches on generating ebooks from TEI XML. Thanks, Andrew

Hello, The XSL file called by the TEI to EPUB transformation is /Applications/oxygen/frameworks/tei/xml/tei/stylesheet/profiles/default/epub/to.xsl which imports and uses /Applications/oxygen/frameworks/tei/xml/tei/stylesheet/epub/tei-to-epub.xsl where most processing is done. Depending on your customizations you will need to modify this file tei-to-epub.xsl or one of the XSLT files that are imported in tei-to-epub.xsl. If your customization is only a visual look and feel issue that can be done with CSS code then maybe setting a custom CSS in the "cssFile" parameter of the transformation may be enough. If a CSS is not enough you have to modify the XSLT files that I mentioned above. This is the only transformation available for creating an ebook from a TEI XML document. Oxygen comes also with a TEI PDF transformation (if we can call PDF output an ebook format) but I think it needs many customizations to make it professional as a visual format. Please try also the TEI PDF transformation and let us know if the generated PDF output looks nice for you. Best regards, Sorin http://www.oxygenxml.com Andrew Rouner wrote:
I am creating an ebook in epub, MOBI and PDF formats from TEI XML. I want to use the built-in transformation scenario in oxygen to create the epub file.
But I want to be able to customize the output too. I have seen that the following files are drawn on in the scenario:
/Applications/oxygen/frameworks/tei/xml/tei/stylesheet/tei.css /Applications/oxygen/frameworks/tei/xml/tei/stylesheet/epub/tei-to-epub.xsl /Applications/oxygen/frameworks/tei/xml/tei/stylesheet/profiles/default/epub/to.xsl
I’ve tested modifying at least one of them to alter the output, which seemed to work. I’m looking for any advice on other files to modify in the process, or possibly other approaches on generating ebooks from TEI XML.
Thanks,
Andrew
participants (2)
-
Andrew Rouner
-
Oxygen XML Editor Support (Sorin Ristache)