[oXygen-user] Different indices not repected in Epub3 transformation
Bernhard Kleine
bernhard.kleine at gmx.net
Wed Dec 16 08:46:31 CST 2020
Dear Radu,
here is an example and the pdf raised with the xslt-snapshot. Please
ignore the chapterwise pagenumbers. I did not reduce the private
transformation layer. This pagenumbers are not relevant to the problem.
How the snapshot was incorparated into the transformation layer I have
already shown.
Regards Bernhard
Am 15.12.2020 um 13:37 schrieb Radu Coravu:
>
> Hi Bernhard,
>
> I need a small sample DocBook document to work with. Also details
> about how the output should look like when published to EPUB3.
>
> By this remark:
>
>> With the new versions of xsl it works.
> to what XSLTs are you referring to? Do you use newer XSLTs for the PDF
> transformation?
>
> Regards,
>
> Radu
>
> Radu Coravu
> Oxygen XML Editor
> On 14.12.2020 14:37, Bernhard Kleine wrote:
>>
>> Hi, Radu
>>
>> Different indices are done via the "type" argument of indexterm, as
>> it is described in the DocBook 5 Guide by Norman Walsh. With the new
>> versions of xsl it works.
>>
>>>
>>> Multiple indexes
>>>
>>> Authors can choose to have several types of indexes: for example,
>>> function, command, and concept indexes. This can be achieved in
>>> DocBook with the |type| attribute. All of the |indexterm|
>>> <https://tdg.docbook.org/tdg/5.0/indexterm.singular.html>s with a
>>> particular |type| will be collected together in the |index|
>>> <https://tdg.docbook.org/tdg/5.0/index.html> with the same |type|.
>>
>> KR
>>
>> Bernhard
>>
>> Am 14.12.2020 um 12:51 schrieb Oxygen XML Editor Support (Radu Coravu):
>>> 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 at 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 at oxygenxml.com
>>>>> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>>>
>>>> _______________________________________________
>>>> oXygen-user mailing list
>>>> oXygen-user at oxygenxml.com
>>>> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
>>>>
>>>
>>> _______________________________________________
>>> oXygen-user mailing list
>>> oXygen-user at oxygenxml.com
>>> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
>> --
>> spitzhalde9
>> D-79853 lenzkirch
>> bernhard.kleine at 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
>>
>> _______________________________________________
>> oXygen-user mailing list
>> oXygen-user at oxygenxml.com
>> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
--
spitzhalde9
D-79853 lenzkirch
bernhard.kleine at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20201216/fd516e98/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testmuiltipleindices.xml
Type: text/xml
Size: 1966 bytes
Desc: not available
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20201216/fd516e98/attachment.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testmuiltipleindices.pdf
Type: application/pdf
Size: 49963 bytes
Desc: not available
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20201216/fd516e98/attachment.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20201216/fd516e98/attachment.sig>
More information about the oXygen-user
mailing list