AW: [docbook-apps] Listings placeable at the End of Printed Output?

2015-04-22 Thread Kallauch, Benjamin (EEIN)
Sorry again, and this time you see me annoyed. Maybe it's best if you leave the 
mailing list, yes.


1)  As I interpret the list correctly, you cannot claim "an exclusive 
communication" to and from Bob Stayton. The list is about users helping users. 
That's my ponit of view. If the majority of the readers here have a different 
oppinion, please let me know. As long as I have the feeling that I am doing the 
right thing here, you may not forbid me to answer on ANY posting here 
(including yours). In this case, sorry for trying to help you.

2)  I am probably not the professional in your eyes. But believe me, I also 
put hundreds of hours into DocBook XSL to customize it.

3)  Yes, I have fully read the full discussion. Still, my oppinion is that 
the example is plain and clear. I could use it out of the box within two 
minutes. I don't know, where your problem was.

Good luck and bye.
Ben

Von: Eisele, Kai Alexander [mailto:k.eis...@cenit.de]
Gesendet: Mittwoch, 22. April 2015 12:19
An: Bob Stayton; docbook-apps@lists.oasis-open.org
Betreff: AW: [docbook-apps] Listings placeable at the End of Printed Output?

I would actually appreciate to have my request answered by the DocBook 
consulting exclusively. Besides, you won't manage to let me look like a fool.

No, the example was not plain enough, which you would have noticed, if you had 
read the whole discussion.

I had asked clear questions containing accurate specifications and received 
partially helpful as also partially wrong answers, which turned out to be 
useless as a whole in the end, because the aim of generating the required 
appendix in the required form could not be reached by the support, I got here 
so far even from sides I had not asked at all.

So, as a résumé, I regrettably must say that all of this here is a complete 
waste of time for me and the next thing, I shall do is to unsubscribe from this 
- in my view - useless mailing list.

Best regards
Kai


Von: Kallauch, Benjamin (EEIN) [mailto:benjamin.kallau...@volkswagen.de]
Gesendet: Mittwoch, 22. April 2015 11:05
An: docbook-apps@lists.oasis-open.org
Betreff: AW: [docbook-apps] Listings placeable at the End of Printed Output?

Hi, sorry for misunderstanding. It was not my intention to make you look a 
fool. I simply couldn't understand the problem, because the example was plain 
enough and was running at once with my config. Sometimes I see really strange 
side effects when parsing/transforming invalid XML... So, I thought, let you 
know that it was not well formed, is a good idea. Ok, it wasn't. ;-)

Regarding the issue: Combining the standard match="appendix" template from 
fo/components.xsl helped me a little bit. At least you get an appendix title 
and a page number. Therefore, a toc entry with page number with link and also 
PDF bookmark.

Nevertheless: There is some fine tuning to do. Still, the LOTs don't have 
titles generated in the toc.

I hope I didn't get you wrong again.
regards,
Ben

Von: Eisele, Kai Alexander [mailto:k.eis...@cenit.de]
Gesendet: Dienstag, 21. April 2015 16:35
An: docbook-apps@lists.oasis-open.org<mailto:docbook-apps@lists.oasis-open.org>
Betreff: AW: [docbook-apps] Listings placeable at the End of Printed Output?

Hi,

As to the missing  tag in the customization example below: a copy 
fault, occurring quite frequently when copying something from sources all over 
the web.

But I did not report any XSLT syntax error being my current issue. Be assured, 
that the XSL customization layer I use is both well-formed and valid.

Eventually, after a series of misunderstandings the intended appendix elements 
(figures, tables, examples) are written to the end of FO output.

HOWEVER:
(1)
As TOC entry I currently receive: "APPENDIX A. List of Figures, Tables, 
Examples   " yet without a page number 
being displayed and therefore not a clickable TOC entry, which is rather 
unpleasant.
So, how can I configure an appendix TOC entry according to the common chapter 
or section TOC entries?
(2)
Furthermore, the appendix configured this way does not have a title (like: 
"APPENDIX") displayed on the page, the appendix starts with. Instead of first 
showing an appendix title, the figure element title ("List of Figures") is 
directly displayed. How could I possibly adjust this? The related DocBook XML 
contains an appendix element with a "role=lot" attribute, a specified title and 
an "id=app_a" attribute, which does not prevent the Apache 1.1 FOP from 
displaying a "WARNING: Page 3: Unresolved ID reference "app_a" found." which is 
"WARNING: Page 3: Unresolved ID reference "d61e2804" found." otherwise, when 
not specifying an 'id' attribute value.

Kai


Von: Kallauch, Benjamin (EEIN) [mailto:benjamin.kallau...@volkswagen.de]
Gesendet: Montag, 20. April 2015 17:24

AW: [docbook-apps] Listings placeable at the End of Printed Output?

2015-04-22 Thread Eisele, Kai Alexander
I would actually appreciate to have my request answered by the DocBook 
consulting exclusively. Besides, you won't manage to let me look like a fool.

No, the example was not plain enough, which you would have noticed, if you had 
read the whole discussion.

I had asked clear questions containing accurate specifications and received 
partially helpful as also partially wrong answers, which turned out to be 
useless as a whole in the end, because the aim of generating the required 
appendix in the required form could not be reached by the support, I got here 
so far even from sides I had not asked at all.

So, as a résumé, I regrettably must say that all of this here is a complete 
waste of time for me and the next thing, I shall do is to unsubscribe from this 
- in my view - useless mailing list.

Best regards
Kai


Von: Kallauch, Benjamin (EEIN) [mailto:benjamin.kallau...@volkswagen.de]
Gesendet: Mittwoch, 22. April 2015 11:05
An: docbook-apps@lists.oasis-open.org
Betreff: AW: [docbook-apps] Listings placeable at the End of Printed Output?

Hi, sorry for misunderstanding. It was not my intention to make you look a 
fool. I simply couldn't understand the problem, because the example was plain 
enough and was running at once with my config. Sometimes I see really strange 
side effects when parsing/transforming invalid XML... So, I thought, let you 
know that it was not well formed, is a good idea. Ok, it wasn't. ;-)

Regarding the issue: Combining the standard match="appendix" template from 
fo/components.xsl helped me a little bit. At least you get an appendix title 
and a page number. Therefore, a toc entry with page number with link and also 
PDF bookmark.

Nevertheless: There is some fine tuning to do. Still, the LOTs don't have 
titles generated in the toc.

I hope I didn't get you wrong again.
regards,
Ben

Von: Eisele, Kai Alexander [mailto:k.eis...@cenit.de]
Gesendet: Dienstag, 21. April 2015 16:35
An: docbook-apps@lists.oasis-open.org<mailto:docbook-apps@lists.oasis-open.org>
Betreff: AW: [docbook-apps] Listings placeable at the End of Printed Output?

Hi,

As to the missing  tag in the customization example below: a copy 
fault, occurring quite frequently when copying something from sources all over 
the web.

But I did not report any XSLT syntax error being my current issue. Be assured, 
that the XSL customization layer I use is both well-formed and valid.

Eventually, after a series of misunderstandings the intended appendix elements 
(figures, tables, examples) are written to the end of FO output.

HOWEVER:
(1)
As TOC entry I currently receive: "APPENDIX A. List of Figures, Tables, 
Examples   " yet without a page number 
being displayed and therefore not a clickable TOC entry, which is rather 
unpleasant.
So, how can I configure an appendix TOC entry according to the common chapter 
or section TOC entries?
(2)
Furthermore, the appendix configured this way does not have a title (like: 
"APPENDIX") displayed on the page, the appendix starts with. Instead of first 
showing an appendix title, the figure element title ("List of Figures") is 
directly displayed. How could I possibly adjust this? The related DocBook XML 
contains an appendix element with a "role=lot" attribute, a specified title and 
an "id=app_a" attribute, which does not prevent the Apache 1.1 FOP from 
displaying a "WARNING: Page 3: Unresolved ID reference "app_a" found." which is 
"WARNING: Page 3: Unresolved ID reference "d61e2804" found." otherwise, when 
not specifying an 'id' attribute value.

Kai


Von: Kallauch, Benjamin (EEIN) [mailto:benjamin.kallau...@volkswagen.de]
Gesendet: Montag, 20. April 2015 17:24
An: docbook-apps@lists.oasis-open.org<mailto:docbook-apps@lists.oasis-open.org>
Betreff: AW: [docbook-apps] Listings placeable at the End of Printed Output?

Kai,

I checked the example as well, using Xalan/FOP1.1 and DB4.5. Everything is 
fine, and I received the LOTs within my appendix at the end of the document.

Maybe some ideas:

-  Check if you had an appendix element with a role attribute filled 
with 'lot'.

-  Check your template. The template below is not well formed by the 
way (missing closing xs:if element.)

Regards,
Ben

Von: Eisele, Kai Alexander [mailto:k.eis...@cenit.de]
Gesendet: Montag, 20. April 2015 14:02
An: docbook-apps@lists.oasis-open.org<mailto:docbook-apps@lists.oasis-open.org>
Betreff: AW: [docbook-apps] Listings placeable at the End of Printed Output?


No problem... I had also already tried leaving out the namespace prefix, the 
result is the same: No appendix is created at the end of the PDF.



Currently, I am using the following customization (extract):





http://www.w3.org/1999/XSL/Transform"; 
xmlns:fo="http

AW: [docbook-apps] Listings placeable at the End of Printed Output?

2015-04-22 Thread Kallauch, Benjamin (EEIN)
Hi, sorry for misunderstanding. It was not my intention to make you look a 
fool. I simply couldn't understand the problem, because the example was plain 
enough and was running at once with my config. Sometimes I see really strange 
side effects when parsing/transforming invalid XML... So, I thought, let you 
know that it was not well formed, is a good idea. Ok, it wasn't. ;-)

Regarding the issue: Combining the standard match="appendix" template from 
fo/components.xsl helped me a little bit. At least you get an appendix title 
and a page number. Therefore, a toc entry with page number with link and also 
PDF bookmark.

Nevertheless: There is some fine tuning to do. Still, the LOTs don't have 
titles generated in the toc.

I hope I didn't get you wrong again.
regards,
Ben

Von: Eisele, Kai Alexander [mailto:k.eis...@cenit.de]
Gesendet: Dienstag, 21. April 2015 16:35
An: docbook-apps@lists.oasis-open.org
Betreff: AW: [docbook-apps] Listings placeable at the End of Printed Output?

Hi,

As to the missing  tag in the customization example below: a copy 
fault, occurring quite frequently when copying something from sources all over 
the web.

But I did not report any XSLT syntax error being my current issue. Be assured, 
that the XSL customization layer I use is both well-formed and valid.

Eventually, after a series of misunderstandings the intended appendix elements 
(figures, tables, examples) are written to the end of FO output.

HOWEVER:
(1)
As TOC entry I currently receive: "APPENDIX A. List of Figures, Tables, 
Examples   " yet without a page number 
being displayed and therefore not a clickable TOC entry, which is rather 
unpleasant.
So, how can I configure an appendix TOC entry according to the common chapter 
or section TOC entries?
(2)
Furthermore, the appendix configured this way does not have a title (like: 
"APPENDIX") displayed on the page, the appendix starts with. Instead of first 
showing an appendix title, the figure element title ("List of Figures") is 
directly displayed. How could I possibly adjust this? The related DocBook XML 
contains an appendix element with a "role=lot" attribute, a specified title and 
an "id=app_a" attribute, which does not prevent the Apache 1.1 FOP from 
displaying a "WARNING: Page 3: Unresolved ID reference "app_a" found." which is 
"WARNING: Page 3: Unresolved ID reference "d61e2804" found." otherwise, when 
not specifying an 'id' attribute value.

Kai


Von: Kallauch, Benjamin (EEIN) [mailto:benjamin.kallau...@volkswagen.de]
Gesendet: Montag, 20. April 2015 17:24
An: docbook-apps@lists.oasis-open.org<mailto:docbook-apps@lists.oasis-open.org>
Betreff: AW: [docbook-apps] Listings placeable at the End of Printed Output?

Kai,

I checked the example as well, using Xalan/FOP1.1 and DB4.5. Everything is 
fine, and I received the LOTs within my appendix at the end of the document.

Maybe some ideas:

-  Check if you had an appendix element with a role attribute filled 
with 'lot'.

-  Check your template. The template below is not well formed by the 
way (missing closing xs:if element.)

Regards,
Ben

Von: Eisele, Kai Alexander [mailto:k.eis...@cenit.de]
Gesendet: Montag, 20. April 2015 14:02
An: docbook-apps@lists.oasis-open.org<mailto:docbook-apps@lists.oasis-open.org>
Betreff: AW: [docbook-apps] Listings placeable at the End of Printed Output?


No problem... I had also already tried leaving out the namespace prefix, the 
result is the same: No appendix is created at the end of the PDF.



Currently, I am using the following customization (extract):





http://www.w3.org/1999/XSL/Transform"; 
xmlns:fo="http://www.w3.org/1999/XSL/Format"; 
xmlns:d="http://docbook.org/ns/docbook"; version="1.0">

 ...

 

 ...

 

 appendix nop 

 ...

 book toc,title

 ...

 



 

 





 



 







 









  

 

 

  



 





 









  

 

 

  



 

 





 









  

 

 

  



 

 



 

 ...







For me it seems as if only the standard creation of Lists of Titles in the 
document's front were working in DocBook V4.5



Kai Alexander Eisele

CENIT AG





-Ursprüngliche Nachricht-
Von: Bob Stayton [mailto:b...@sagehill.net]
Gesendet: Freitag, 17. April 2015 18:15
An: Eisele, Kai Al

AW: [docbook-apps] Listings placeable at the End of Printed Output?

2015-04-21 Thread Eisele, Kai Alexander
Hi,

As to the missing  tag in the customization example below: a copy 
fault, occurring quite frequently when copying something from sources all over 
the web.

But I did not report any XSLT syntax error being my current issue. Be assured, 
that the XSL customization layer I use is both well-formed and valid.

Eventually, after a series of misunderstandings the intended appendix elements 
(figures, tables, examples) are written to the end of FO output.

HOWEVER:
(1)
As TOC entry I currently receive: "APPENDIX A. List of Figures, Tables, 
Examples   " yet without a page number 
being displayed and therefore not a clickable TOC entry, which is rather 
unpleasant.
So, how can I configure an appendix TOC entry according to the common chapter 
or section TOC entries?
(2)
Furthermore, the appendix configured this way does not have a title (like: 
"APPENDIX") displayed on the page, the appendix starts with. Instead of first 
showing an appendix title, the figure element title ("List of Figures") is 
directly displayed. How could I possibly adjust this? The related DocBook XML 
contains an appendix element with a "role=lot" attribute, a specified title and 
an "id=app_a" attribute, which does not prevent the Apache 1.1 FOP from 
displaying a "WARNING: Page 3: Unresolved ID reference "app_a" found." which is 
"WARNING: Page 3: Unresolved ID reference "d61e2804" found." otherwise, when 
not specifying an 'id' attribute value.

Kai


Von: Kallauch, Benjamin (EEIN) [mailto:benjamin.kallau...@volkswagen.de]
Gesendet: Montag, 20. April 2015 17:24
An: docbook-apps@lists.oasis-open.org
Betreff: AW: [docbook-apps] Listings placeable at the End of Printed Output?

Kai,

I checked the example as well, using Xalan/FOP1.1 and DB4.5. Everything is 
fine, and I received the LOTs within my appendix at the end of the document.

Maybe some ideas:

-  Check if you had an appendix element with a role attribute filled 
with 'lot'.

-  Check your template. The template below is not well formed by the 
way (missing closing xs:if element.)

Regards,
Ben

Von: Eisele, Kai Alexander [mailto:k.eis...@cenit.de]
Gesendet: Montag, 20. April 2015 14:02
An: docbook-apps@lists.oasis-open.org<mailto:docbook-apps@lists.oasis-open.org>
Betreff: AW: [docbook-apps] Listings placeable at the End of Printed Output?


No problem... I had also already tried leaving out the namespace prefix, the 
result is the same: No appendix is created at the end of the PDF.



Currently, I am using the following customization (extract):





http://www.w3.org/1999/XSL/Transform"; 
xmlns:fo="http://www.w3.org/1999/XSL/Format"; 
xmlns:d="http://docbook.org/ns/docbook"; version="1.0">

 ...

 

 ...

 

 appendix nop 

 ...

 book toc,title

 ...

 



 

 





 



 







 









  

 

 

  



 





 









  

 

 

  



 

 





 









  

 

 

  



 

 



 

 ...







For me it seems as if only the standard creation of Lists of Titles in the 
document's front were working in DocBook V4.5



Kai Alexander Eisele

CENIT AG





-Ursprüngliche Nachricht-
Von: Bob Stayton [mailto:b...@sagehill.net]
Gesendet: Freitag, 17. April 2015 18:15
An: Eisele, Kai Alexander; 
docbook-apps@lists.oasis-open.org<mailto:docbook-apps@lists.oasis-open.org>
Betreff: Re: AW: [docbook-apps] Listings placeable at the End of Printed Output?



Sorry, I assumed you were using DocBook5 and the namespaced version of

the stylesheets, now I see that you are using DocBook 4.   In the

customization I gave you, just remove the "d:" namespace prefix from the 
element names, then the stylesheet will recognize the elements in your document.



Bob Stayton

Sagehill Enterprises

b...@sagehill.net<mailto:b...@sagehill.net>



On 4/17/2015 2:54 AM, Eisele, Kai Alexander wrote:

> Hi,

>

> Sorry, but this does not work for me.

>

> Here some relevant data, that may be necessary for further analysis:

>

> _Used tools/software_

>

> __

>

> XSLT Processor: Saxon Version 9-5-1-8

>

> FO Processor: Apache FOP 1.1

>

> XSL Stylesheet Files Distribution: ZIP-Release 1.78.1 downloaded from

> sourceforge.net

>

> DocBook V4.5 edited with XMLmind XML Editor Profess

AW: [docbook-apps] Listings placeable at the End of Printed Output?

2015-04-21 Thread Kallauch, Benjamin (EEIN)
One more remark from my side: There are some minor things to do if you want to 
use that feature. Without any further work in the template the Appendix Title 
will remain silent in the document, that is: not printed. But, the Appendix 
title is mentioned in the TOC and in the PDF bookmarks. However, the TOC entry 
does not have a page number and is not link sensitive nor is the PDF bookmark 
link active (you cannot jump to the page, I guess, because there is no Appendix 
title printed.)

This is maybe only a small thing to do - if you know, where to fix it. For my 
document I can live with the American style printing LOTs at the beginning of 
the document. :-)

Regards,
Ben


Von: Kallauch, Benjamin (EEIN)
Gesendet: Montag, 20. April 2015 17:24
An: docbook-apps@lists.oasis-open.org
Betreff: AW: [docbook-apps] Listings placeable at the End of Printed Output?

Kai,

I checked the example as well, using Xalan/FOP1.1 and DB4.5. Everything is 
fine, and I received the LOTs within my appendix at the end of the document.

Maybe some ideas:

-  Check if you had an appendix element with a role attribute filled 
with 'lot'.

-  Check your template. The template below is not well formed by the 
way (missing closing xs:if element.)

Regards,
Ben

Von: Eisele, Kai Alexander [mailto:k.eis...@cenit.de]
Gesendet: Montag, 20. April 2015 14:02
An: docbook-apps@lists.oasis-open.org
Betreff: AW: [docbook-apps] Listings placeable at the End of Printed Output?


No problem... I had also already tried leaving out the namespace prefix, the 
result is the same: No appendix is created at the end of the PDF.



Currently, I am using the following customization (extract):





http://www.w3.org/1999/XSL/Transform"; 
xmlns:fo="http://www.w3.org/1999/XSL/Format"; 
xmlns:d="http://docbook.org/ns/docbook"; version="1.0">

 ...

 

 ...

 

 appendix nop 

 ...

 book toc,title

 ...

 



 

 





 



 







 









  

 

 

  



 





 









  

 

 

  



 

 





 









  

 

 

  



 

 



 

 ...







For me it seems as if only the standard creation of Lists of Titles in the 
document's front were working in DocBook V4.5



Kai Alexander Eisele

CENIT AG





-Ursprüngliche Nachricht-
Von: Bob Stayton [mailto:b...@sagehill.net]
Gesendet: Freitag, 17. April 2015 18:15
An: Eisele, Kai Alexander; 
docbook-apps@lists.oasis-open.org<mailto:docbook-apps@lists.oasis-open.org>
Betreff: Re: AW: [docbook-apps] Listings placeable at the End of Printed Output?



Sorry, I assumed you were using DocBook5 and the namespaced version of

the stylesheets, now I see that you are using DocBook 4.   In the

customization I gave you, just remove the "d:" namespace prefix from the 
element names, then the stylesheet will recognize the elements in your document.



Bob Stayton

Sagehill Enterprises

b...@sagehill.net<mailto:b...@sagehill.net>



On 4/17/2015 2:54 AM, Eisele, Kai Alexander wrote:

> Hi,

>

> Sorry, but this does not work for me.

>

> Here some relevant data, that may be necessary for further analysis:

>

> _Used tools/software_

>

> __

>

> XSLT Processor: Saxon Version 9-5-1-8

>

> FO Processor: Apache FOP 1.1

>

> XSL Stylesheet Files Distribution: ZIP-Release 1.78.1 downloaded from

> sourceforge.net

>

> DocBook V4.5 edited with XMLmind XML Editor Professional Edition 6.1.0

>

> I inserted the following passages into my XSL customization layer:

>

> 

>

> http://www.w3.org/1999/XSL/Transform";

> xmlns:fo="http://www.w3.org/1999/XSL/Format";

> xmlns:d="http://docbook.org/ns/docbook"; version="1.0">

>

>   ...

>

>href="C:/opt/tools/docbook-xsl-1.78.1/fo/docbook.xsl"/>

>

>   ...

>

>   

>

>   appendix nop 

>

>   ...

>

>   book toc,title

>

>   ...

>

>   

>

>   

>

>   

>

>   

>

>  

>

>   

>

>  

>

>   

>

>  

>

>  

>

>   

>

>  

> select="$lot-master-reference"/>

>

>  

>

>   select=&

AW: [docbook-apps] Listings placeable at the End of Printed Output?

2015-04-20 Thread Kallauch, Benjamin (EEIN)
Kai,

I checked the example as well, using Xalan/FOP1.1 and DB4.5. Everything is 
fine, and I received the LOTs within my appendix at the end of the document.

Maybe some ideas:

-  Check if you had an appendix element with a role attribute filled 
with 'lot'.

-  Check your template. The template below is not well formed by the 
way (missing closing xs:if element.)

Regards,
Ben

Von: Eisele, Kai Alexander [mailto:k.eis...@cenit.de]
Gesendet: Montag, 20. April 2015 14:02
An: docbook-apps@lists.oasis-open.org
Betreff: AW: [docbook-apps] Listings placeable at the End of Printed Output?


No problem... I had also already tried leaving out the namespace prefix, the 
result is the same: No appendix is created at the end of the PDF.



Currently, I am using the following customization (extract):





http://www.w3.org/1999/XSL/Transform"; 
xmlns:fo="http://www.w3.org/1999/XSL/Format"; 
xmlns:d="http://docbook.org/ns/docbook"; version="1.0">

 ...

 

 ...

 

 appendix nop 

 ...

 book toc,title

 ...

 



 

 





 



 







 









  

 

 

  



 





 









  

 

 

  



 

 





 









  

 

 

  



 

 



 

 ...







For me it seems as if only the standard creation of Lists of Titles in the 
document's front were working in DocBook V4.5



Kai Alexander Eisele

CENIT AG





-Ursprüngliche Nachricht-
Von: Bob Stayton [mailto:b...@sagehill.net]
Gesendet: Freitag, 17. April 2015 18:15
An: Eisele, Kai Alexander; 
docbook-apps@lists.oasis-open.org<mailto:docbook-apps@lists.oasis-open.org>
Betreff: Re: AW: [docbook-apps] Listings placeable at the End of Printed Output?



Sorry, I assumed you were using DocBook5 and the namespaced version of

the stylesheets, now I see that you are using DocBook 4.   In the

customization I gave you, just remove the "d:" namespace prefix from the 
element names, then the stylesheet will recognize the elements in your document.



Bob Stayton

Sagehill Enterprises

b...@sagehill.net<mailto:b...@sagehill.net>



On 4/17/2015 2:54 AM, Eisele, Kai Alexander wrote:

> Hi,

>

> Sorry, but this does not work for me.

>

> Here some relevant data, that may be necessary for further analysis:

>

> _Used tools/software_

>

> __

>

> XSLT Processor: Saxon Version 9-5-1-8

>

> FO Processor: Apache FOP 1.1

>

> XSL Stylesheet Files Distribution: ZIP-Release 1.78.1 downloaded from

> sourceforge.net

>

> DocBook V4.5 edited with XMLmind XML Editor Professional Edition 6.1.0

>

> I inserted the following passages into my XSL customization layer:

>

> 

>

> http://www.w3.org/1999/XSL/Transform";

> xmlns:fo="http://www.w3.org/1999/XSL/Format";

> xmlns:d="http://docbook.org/ns/docbook"; version="1.0">

>

>   ...

>

>href="C:/opt/tools/docbook-xsl-1.78.1/fo/docbook.xsl"/>

>

>   ...

>

>   

>

>   appendix nop 

>

>   ...

>

>   book toc,title

>

>   ...

>

>   

>

>   

>

>   

>

>   

>

>  

>

>   

>

>  

>

>   

>

>  

>

>  

>

>   

>

>  

> select="$lot-master-reference"/>

>

>  

>

>   select="'ListofFigures'"/>

>

>  

>

>

>

>   

>

>   

>

>

>

>  

>

>   

>

>  

>

>   

>

>  

> select="$lot-master-reference"/>

>

>  

>

>   select="'ListofTables'"/>

>

>  

>

>

>

>   

>

>   

>

>

>

>  

>

>   

>

>   

>

>  

>

>   

>

>  

> select="$lot-master-reference"/>

>

>  

AW: [docbook-apps] Listings placeable at the End of Printed Output?

2015-04-20 Thread Eisele, Kai Alexander
No problem... I had also already tried leaving out the namespace prefix, the 
result is the same: No appendix is created at the end of the PDF.



Currently, I am using the following customization (extract):





http://www.w3.org/1999/XSL/Transform"; 
xmlns:fo="http://www.w3.org/1999/XSL/Format"; 
xmlns:d="http://docbook.org/ns/docbook"; version="1.0">

 ...

 

 ...

 

 appendix nop 

 ...

 book toc,title

 ...

 



 

 





 



 







 









  

 

 

  



 





 









  

 

 

  



 

 





 









  

 

 

  



 

 



 

 ...







For me it seems as if only the standard creation of Lists of Titles in the 
document's front were working in DocBook V4.5



Kai Alexander Eisele

CENIT AG





-Ursprüngliche Nachricht-
Von: Bob Stayton [mailto:b...@sagehill.net]
Gesendet: Freitag, 17. April 2015 18:15
An: Eisele, Kai Alexander; docbook-apps@lists.oasis-open.org
Betreff: Re: AW: [docbook-apps] Listings placeable at the End of Printed Output?



Sorry, I assumed you were using DocBook5 and the namespaced version of

the stylesheets, now I see that you are using DocBook 4.   In the

customization I gave you, just remove the "d:" namespace prefix from the 
element names, then the stylesheet will recognize the elements in your document.



Bob Stayton

Sagehill Enterprises

b...@sagehill.net<mailto:b...@sagehill.net>



On 4/17/2015 2:54 AM, Eisele, Kai Alexander wrote:

> Hi,

>

> Sorry, but this does not work for me.

>

> Here some relevant data, that may be necessary for further analysis:

>

> _Used tools/software_

>

> __

>

> XSLT Processor: Saxon Version 9-5-1-8

>

> FO Processor: Apache FOP 1.1

>

> XSL Stylesheet Files Distribution: ZIP-Release 1.78.1 downloaded from

> sourceforge.net

>

> DocBook V4.5 edited with XMLmind XML Editor Professional Edition 6.1.0

>

> I inserted the following passages into my XSL customization layer:

>

> 

>

> http://www.w3.org/1999/XSL/Transform";

> xmlns:fo="http://www.w3.org/1999/XSL/Format";

> xmlns:d="http://docbook.org/ns/docbook"; version="1.0">

>

>   ...

>

>href="C:/opt/tools/docbook-xsl-1.78.1/fo/docbook.xsl"/>

>

>   ...

>

>   

>

>   appendix nop 

>

>   ...

>

>   book toc,title

>

>   ...

>

>   

>

>   

>

>   

>

>   

>

>  

>

>   

>

>  

>

>   

>

>  

>

>  

>

>   

>

>  

> select="$lot-master-reference"/>

>

>  

>

>   select="'ListofFigures'"/>

>

>  

>

>

>

>   

>

>   

>

>

>

>  

>

>   

>

>  

>

>   

>

>  

> select="$lot-master-reference"/>

>

>  

>

>   select="'ListofTables'"/>

>

>  

>

>

>

>   

>

>   

>

>

>

>  

>

>   

>

>   

>

>  

>

>   

>

>  

> select="$lot-master-reference"/>

>

>  

>

>   select="'ListofExamples'"/>

>

>  

>

>

>

>   

>

>   

>

>

>

>  

>

>   

>

>   

>

>   

>

>   ...

>

> 

>

> As to the appendix' customization's result in printed output, it just

> seems to be ignored by XSLT and FOP.

>

> The processors run through it without any warnings or error messages,

> everything appears to be alright, yet no appendix is created in the PDF.

> Only the 

Re: AW: [docbook-apps] Listings placeable at the End of Printed Output?

2015-04-17 Thread Bob Stayton
Sorry, I assumed you were using DocBook5 and the namespaced version of 
the stylesheets, now I see that you are using DocBook 4.   In the 
customization I gave you, just remove the "d:" namespace prefix from the 
element names, then the stylesheet will recognize the elements in your 
document.


Bob Stayton
Sagehill Enterprises
b...@sagehill.net

On 4/17/2015 2:54 AM, Eisele, Kai Alexander wrote:

Hi,

Sorry, but this does not work for me.

Here some relevant data, that may be necessary for further analysis:

_Used tools/software_

__

XSLT Processor: Saxon Version 9-5-1-8

FO Processor: Apache FOP 1.1

XSL Stylesheet Files Distribution: ZIP-Release 1.78.1 downloaded from
sourceforge.net

DocBook V4.5 edited with XMLmind XML Editor Professional Edition 6.1.0

I inserted the following passages into my XSL customization layer:



http://www.w3.org/1999/XSL/Transform";
xmlns:fo="http://www.w3.org/1999/XSL/Format";
xmlns:d="http://docbook.org/ns/docbook"; version="1.0">

  ...

  

  ...

  

  appendix nop 

  ...

  book toc,title

  ...

  

  

  

  

 

  

 

  

 

 

  

 

 

 

 

   

  

  

   

 

  

 

  

 

 

 

 

   

  

  

   

 

  

  

 

  

 

 

 

 

   

  

  

   

 

  

  

  

  ...



As to the appendix' customization's result in printed output, it just
seems to be ignored by XSLT and FOP.

The processors run through it without any warnings or error messages,
everything appears to be alright, yet no appendix is created in the PDF.
Only the standard book TOC is available in the front of the document.

Maybe I should try the alternative, you mentioned, which is to let the
stylesheet create an appendix or appendices automatically?

Because that is, what should be done as a rule by the XSL customization
layer we need for our print output documentation purposes.

Regards

Kai Alexander Eisele

-Ursprüngliche Nachricht-
Von: Bob Stayton [mailto:b...@sagehill.net]
Gesendet: Mittwoch, 15. April 2015 18:02
An: Eisele, Kai Alexander; docbook-apps@lists.oasis-open.org
Betreff: Re: [docbook-apps] Listings placeable at the End of Printed Output?

Hi,

Yes, it is possible to do this.  You could get the stylesheet to do it
automatically, but you could also use a special appendix file as you
suggest to trigger it only for certain documents.  That appendix would
need a role attribute to trigger the special processing.

In the template matching on the book element in fo/division.xsl, it
calls the "make.book.tocs" template before the content.  That template
checks the "generate.toc" stylesheet param to see which lists to
generate.  You would want to set "generate.toc" to just "book toc,title"

so it doesn't generate the other lists in the front.

Then you create a custom template for your special appendix to generate
the lists of titles, borrowing much of the code from the
"make.book.tocs" template, something like:





  



  



   

  









  





  



  

  



Note you need to change the select attribute for figure from .//figure
(the context relative to the book element) to //figure so the appendix
context can find the figure elements.

This special appendix will also generate an entry in the main TOC,
unless you further customize to turn that off or change its appearance.

Bob Stayton

Sagehill Enterprises

b...@sagehill.net 

On 4/15/2015 3:11 AM, Eisele, Kai Alexander wrote:

 > Hi,

 >

 > Is there any chance to have lists of figures, tables and examples

 > positioned at the end of printed output (PDF documents)?

 >

 > By default, the listings appear at the beginning of the documents

 > right after the actual TOC.

 >

 > Is it possible to customize a sort of document appendix, that contains

 > the lists of figures, tables and examples?

 >

 > Regards

 >

 >

 > *Kai Alexander Eisele*

 > SAP CC

 >

 > *CENIT AG *

 > Industriestraße 52-54

 > D-70565 Stuttgart

 > Phone:  +49 (0) 711-78 25-3241

 > Fax:+49 (0)711 7825 44-4145

 >

 > k.eis...@cenit.de  

 >

 > www.cenit.com  __

 >

 >

 > CENIT AG, Industriestrasse 52-54, 70565 Stuttgart, Tel.: +49 711

 > 7825-30, Fax: +49 711 7825-4000, Internet: www.cenit.de


 > Geschaeftsstellen: Berlin, Frankfurt, Ham

AW: [docbook-apps] Listings placeable at the End of Printed Output?

2015-04-17 Thread Eisele, Kai Alexander
Hi,



Sorry, but this does not work for me.



Here some relevant data, that may be necessary for further analysis:



Used tools/software



XSLT Processor: Saxon Version 9-5-1-8

FO Processor: Apache FOP 1.1

XSL Stylesheet Files Distribution: ZIP-Release 1.78.1 downloaded from 
sourceforge.net

DocBook V4.5 edited with XMLmind XML Editor Professional Edition 6.1.0



I inserted the following passages into my XSL customization layer:





http://www.w3.org/1999/XSL/Transform"; 
xmlns:fo="http://www.w3.org/1999/XSL/Format"; 
xmlns:d="http://docbook.org/ns/docbook"; version="1.0">

 ...

 

 ...

 

 appendix nop 

 ...

 book toc,title

 ...

 



 

 



 





 



 







 









  

 

 

  



 





 









  

 

 

  



 

 





 









  

 

 

  



 

 



 

 ...







As to the appendix' customization's result in printed output, it just seems to 
be ignored by XSLT and FOP.



The processors run through it without any warnings or error messages, 
everything appears to be alright, yet no appendix is created in the PDF. Only 
the standard book TOC is available in the front of the document.



Maybe I should try the alternative, you mentioned, which is to let the 
stylesheet create an appendix or appendices automatically?



Because that is, what should be done as a rule by the XSL customization layer 
we need for our print output documentation purposes.



Regards

Kai Alexander Eisele





-Ursprüngliche Nachricht-
Von: Bob Stayton [mailto:b...@sagehill.net]
Gesendet: Mittwoch, 15. April 2015 18:02
An: Eisele, Kai Alexander; docbook-apps@lists.oasis-open.org
Betreff: Re: [docbook-apps] Listings placeable at the End of Printed Output?



Hi,

Yes, it is possible to do this.  You could get the stylesheet to do it 
automatically, but you could also use a special appendix file as you suggest to 
trigger it only for certain documents.  That appendix would need a role 
attribute to trigger the special processing.



In the template matching on the book element in fo/division.xsl, it calls the 
"make.book.tocs" template before the content.  That template checks the 
"generate.toc" stylesheet param to see which lists to generate.  You would want 
to set "generate.toc" to just "book toc,title"

so it doesn't generate the other lists in the front.



Then you create a custom template for your special appendix to generate the 
lists of titles, borrowing much of the code from the "make.book.tocs" template, 
something like:







   

 

   

 

   



  

 

   

   

   

   

 

   

   

 

   

 



 

   



Note you need to change the select attribute for figure from .//figure (the 
context relative to the book element) to //figure so the appendix context can 
find the figure elements.



This special appendix will also generate an entry in the main TOC, unless you 
further customize to turn that off or change its appearance.



Bob Stayton

Sagehill Enterprises

b...@sagehill.net



On 4/15/2015 3:11 AM, Eisele, Kai Alexander wrote:

> Hi,

>

> Is there any chance to have lists of figures, tables and examples

> positioned at the end of printed output (PDF documents)?

>

> By default, the listings appear at the beginning of the documents

> right after the actual TOC.

>

> Is it possible to customize a sort of document appendix, that contains

> the lists of figures, tables and examples?

>

> Regards

>

>

> *Kai Alexander Eisele*

> SAP CC

>

> *CENIT AG *

> Industriestraße 52-54

> D-70565 Stuttgart

> Phone:  +49 (0) 711-78 25-3241

> Fax:+49 (0)711 7825 44-4145

>

> k.eis...@cenit.de 

>

> www.cenit.com __

>

>

> CENIT AG, Industriestrasse 52-54, 70565 Stuttgart, Tel.: +49 711

> 7825-30, Fax: +49 711 7825-4000, Internet: www.cenit.de

> Geschaeftsstellen: Berlin, Frankfurt, Hamburg, Hannover, Muenchen,

> Oelsnitz, Ratingen, Saarbruecken

> Vorstandsmitglieder: Kurt Bengel, Matthias Schmidt

> Aufsichtsratsmitglieder: Andreas Schmidt (Vorsitzender des

> Aufsichtsrats), Hubert Leypoldt, Andreas Karrer

> Bankverbindungen:

> Deutsche Bank (BLZ 600 700 70) Kto. 1661 040 IBAN : DE85 6007 0070

> 0166

> 1040 00 SWIFT-CODE : DEUTDESS,

> Commerzbank (BLZ 600 400 71) Kto. 532 015 500 IBAN : DE83 6004 0071

>