Search found 37 matches

by burbles
Fri Nov 05, 2010 6:25 am
Forum: Common Problems
Topic: Defining new entities for characters
Replies: 4
Views: 2712

Defining new entities for characters

I need to redefine or remap the apostrophe character in Editor and Author mode, from a 'prime' character symbol to a proper apostrophe character (’) so that the correct character appears after FO transformations. So, how can I redefine the entity character for apostrophe, or how can I add t...
by burbles
Sat Sep 04, 2010 10:40 am
Forum: XSLT and FOP
Topic: Creating a book toc
Replies: 1
Views: 1578

Creating a book toc

I need to create a toc for a book, but I don't know where the toc is generated with FO. Am I supposed to create a new XML with a root element 'toc' and is the toc put there somehow when generated? I have been able to create chapter tocs in the right place for each 'chapter' chunk, and the styles I h...
by burbles
Sun Jul 11, 2010 9:46 am
Forum: XSLT and FOP
Topic: Element in template match ignored when transforming
Replies: 1
Views: 1837

Element in template match ignored when transforming

I am a newbie to XSL and really stuck with a few things trying to debug a set of stylesheets in oXygen 11.2. I want to FO transform a book imprint page and my first problem is that the transform isn’t recognising the element name in the template match syntax – I’ve also tried different combinations ...
by burbles
Fri Jun 11, 2010 5:33 pm
Forum: XSLT and FOP
Topic: Exclude text from output
Replies: 1
Views: 1636

Exclude text from output

I would like to mark text in DocBook 5 with several types of <phrase> tags and have the ability to specify that text as print only, web only or do not output when transformed: e.g. <phrase condition="print"> will show the text in print output only (i.e. exclude that marked text from HTML o...
by burbles
Tue Dec 29, 2009 6:58 am
Forum: XSLT and FOP
Topic: Can't create PDF from book chunk with includes
Replies: 1
Views: 3763

Re: Can't create PDF from book chunk with includes

I have found my answer after a bit of searching through other posts. I added to my customised stylesheet a template match, <xsl:template match="xi:include">: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"...
by burbles
Mon Dec 28, 2009 1:35 pm
Forum: XSLT and FOP
Topic: Can't create PDF from book chunk with includes
Replies: 1
Views: 3763

Can't create PDF from book chunk with includes

I have a Docbook 5 'book' chunk with includes to frontmatter and chapters, and can't generate a PDF of the whole book. I have been able to generate PDFs of each individual chapter with no problems. When I try to transform the 'book' using RenderX I get six errors (one for each chunk?) in the command...
by burbles
Wed Dec 23, 2009 7:03 am
Forum: XSLT and FOP
Topic: Prefix FO not bound
Replies: 1
Views: 7370

Prefix FO not bound

I'm trying to create a stylesheet for a simple processing instruction to add a line break within a <para>. I'm using Docbook 5 with oXygen version 11.1. Here is part of the XML code with the new 'linebr' style: text text text.</para> <para>Department of xx<?linebr?>May 2009</para> </sect1> </preface...