Hi Bob and Radu,
I have this scenario in oxygen to produce the epub:
For the pdf transformation I downloaded the snapshot of a new
XSLT to a subdirectory of the xsl dir (for the project) and loaded
it in the
private transformation file:
<?xml version="1.0" encoding="utf-8"?>
...
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:d="http://docbook.org/ns/docbook"
xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
<xsl:import
href="../docbook-xsl-snapshot/fo/docbook.xsl"/>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<xsl:param name="local.l10n.xml" select="document('')"/>
<l:i18n
xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
This xsl snapshot does produce three consecutive indices. How could one adapt this to the epub generation?
@Radu:
I expect four different indizes, Titles as in the extract, and not the indexterms in one big index as it is done now.
Unfortunately the files epub and pdf are quite large (570 resp 57
Mb). the pdf can be found her:
https://www.dropbox.com/s/fz1n8xxxnljrkgr/FalterinLenzkirch_C_draft.pdf?dl=0
The first index starts at page 390.
I hope that this information helps. If necessary I may prepare in
MWE.
Kind regards
Bernhard
Hi Bernhard, Bob,
Oxygen ships with the DocBook 1.79.2 XSLT stylesheets.
I looked at the folder where the DocBook to EPUB3 transformation scripts exist:
OXYGEN_INSTALL_DIR/frameworks/docbook/xsl/epub3
and it seems that about 7 years ago I'm the one who added a build file to build the EPUB after the XSLT transformations are done.
Question for Bob:
Should I update the DocBook XSLTs in Oxygen to a newer stable version? If so, which one would be that?
Question for Bernard:
My knowledge of DocBook indices and how they are used is quite limited. Could you give me precise details about how you expect the indices to work in the EPUB? I added your indices sample to a small DocBook 5 XML document I have, they seem to look similar when publishing to EPUB 3 or to PDF.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
On 12/14/2020 7:46 AM, Bob Stayton wrote:
I believe the problem lies with the version of DocBook XSL that ships with Oxygen. This issue has been recorded as an issue and fixed in the Github source files, but a new release needs to be made so it can be incorporated into Oxygen.
The fix is not simple, so feel free to contact me directly if you want to incorporate it into your stylesheet.
Bob Stayton
bobs@sagehill.net
On 12/10/2020 11:30 PM, Bernhard Kleine wrote:
Hi,
while docbook to pdf transformation does respect the different indices,
ant does not. Who may I have to contact and where to complain? The
following is totally mixed up.
<index type="scName">
<title>Scientific names</title>
</index>
<index type="dtName">
<title>Deutsche Namensliste</title>
</index>
<index type="RWP">
<title>Plants for Caterpillars</title>
</index>
<index type="idx">
<title>General Index</title>
</index>
Kind regards Bernhard
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com, www.urseetal.net Ich darf auf mein neues Buch "670 Falter im Hochschwarzwald" aufmerksam machen (Infos bei mir) - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09