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



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"; vers

[docbook-apps] Formatting appendix title

2015-04-21 Thread Shikareva, Ekaterina
Hello!

I have the same issue that someone already had discussed here before, and here 
is Bob's reply that already helped me partially: 
https://lists.oasis-open.org/archives/docbook-apps/200507/msg00025.html.
With this change the appendix title changes to "Appendix 1. Title of Appendix" 
as I wish.

But in the ToC it is still displayed as "1. Title of Appendix". I would like 
the word "Appendix" to appear also in the appendix title in ToC.

Is there a simple way to do it?

For sections I don't use the word "Section" in titles and I don't want it to 
appear in ToC. So, I would like it to be like:
1. Section One
2. Section Two
Appendix 1. Title of Appendix

So it's all OK with sections, and the only trouble I have is with appendices.

I'm editing an article and using fo and xsltproc.

Thank you!

--
Kind regards,
Ekaterina Shikareva
Senior Technical Writer
Luxoft Russia

Skype: maymakayu
www.luxoft.com
www.facebook.com/Luxoft




This e-mail and any attachment(s) are intended only for the recipient(s) named 
above and others who have been specifically authorized to receive them. They 
may contain confidential information. If you are not the intended recipient, 
please do not read this email or its attachment(s). Furthermore, you are hereby 
notified that any dissemination, distribution or copying of this e-mail and any 
attachment(s) is strictly prohibited. If you have received this e-mail in 
error, please immediately notify the sender by replying to this e-mail and then 
delete this e-mail and any attachment(s) or copies thereof from your system. 
Thank you.


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



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'"/>

>

>