Re: [oXygen-user] Different indices not repected in Epub3 transformation

2020-12-14 Thread Bernhard Kleine
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|
> s with a
> particular |type| will be collected together in the |index|
>  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
>  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
>> b...@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.
>>>
>>>     
>>>  Scientific names
>>>  
>>>  
>>>  Deutsche Namensliste
>>>  
>>>  
>>>  Plants for Caterpillars
>>>  
>>>  
>>>  General 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.kle...@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



OpenPGP_signature
Description: OpenPGP digital signature
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Different indices not repected in Epub3 transformation

2020-12-14 Thread Bernhard Kleine
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:


...
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">
  

  
  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

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
>  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
>> b...@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.
>>>
>>>     
>>>  Scientific names
>>>  
>>>  
>>>  Deutsche Namensliste
>>>  
>>>  
>>>  Plants for Caterpillars
>>>  
>>>  
>>>  General 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.kle...@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



OpenPGP_signature
Description: OpenPGP digital signature
___
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user


Re: [oXygen-user] Different indices not repected in Epub3 transformation

2020-12-14 Thread 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
 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
b...@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.

    
     Scientific names
     
     
     Deutsche Namensliste
     
     
     Plants for Caterpillars
     
     
     General 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


http://docbook.org/ns/docbook"; version="5.0"
xmlns:xlink="http://www.w3.org/1999/xlink";>

Welcome to Docbook Support in oXygen


Inline Markup and Images

Scientific names


Deutsche Namensliste


Plants for Caterpillars


General Index


This sample shows that  can be used to edit documents in conformity
with the
dockbookx.dtd.
The following Docbook figure is inserted using the imagedata
tag:

Lake in Fagaras






In order to preview this text in a Web browser, choose the Docbook HTML
transformation scenario. For this press the
Configure
Transformation
Scenario
button or the shortcut CTRL+SHIFT+C or (COMMAND+SHIFT+C
on Mac OS X), then select the scenario. Press Ok.
To apply the stylesheet, press the "Apply transformation scenario" button or to press
CTRL+SHIFT+T (COMMAND+SHIFT+T on Mac OS X). 


Lists and Tables
Here is a list of useful XML links:




http://www.xml.com";>http://www.xml.com




http://www.xml.org";>http://www.xml.org




http://www.w3c.org";>http://www.w3c.org




And here is the  home site:http://www.oxygenxml.com/";
>http://www.oxygenxml.com/

Now some tables. To hide the colspecs, choose the Hide
colspec CSS from the CSS Alternatives toolbar.
The
column widths can be adjusted by dragging the column margins.

Sample CALS Table with no specified width and proportional column widths








Horizontal Span
a3
a4
a5




f1
f2
f3
f4
f5




b1
b2
b3
b4


Vertical Span 



c1