Re: [docbook-apps] Table to pdf - Invalid property value encountered in column-width="proportional-column-width(1)": org.apache.fop.fo.expr.PropertyException

2011-10-08 Thread Bob Stayton
Hi Lars, Are you setting the stylesheet param 'fop1.extensions' to 1? That param is required to workaround some of the limitations of fop 1.0. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Lars Vogel To: DocBook Apps Sent: Saturda

Re: [docbook-apps] Linkable index in The Complete Guide

2011-10-08 Thread Bob Stayton
ous process, but I'm convinced that only a human (usually a single human at that) can create a truly useful index. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Xmplar To: docbook-apps@lists.oasis-open.org Sent: Saturday, October 08, 2011 1:

Re: [docbook-apps] How do I customize docbook/fo stylesheet to do custom page breaks on sections?

2011-10-08 Thread Bob Stayton
Typo: That first word was supposed to be "Unlike", not "Unless". Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Bob Stayton To: Jon Rosen ; docbook-apps@lists.oasis-open.org Sent: Friday, October 07, 2011 11:45 PM Subjec

Re: [docbook-apps] How do I customize docbook/fo stylesheet to do custom page breaks on sections?

2011-10-07 Thread Bob Stayton
your case, I would recommend adding a role attribute to the special chapter, rather than relying on its position in the document (which can change). If you used , then your stylesheet could use: page auto This feature of XSLT is very handy for stuff like this.

Re: [docbook-apps] bookinfo element used in epub/docbook.xsl

2011-10-07 Thread Bob Stayton
Hi, This was reported earlier, and the fix for this problem has been checked into the latest SVN version of epub/docbook.xsl, so it will be in the next distribution. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Boris Schäling" To: Se

Re: [docbook-apps] Marking paras in colored text

2011-10-07 Thread Bob Stayton
No, my method applies only to para. The method David Cramer posted for handling text() would be better in your case. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "mike 675" To: Sent: Friday, October 07, 2011 1:27 AM Subject: Re: [do

Re: [docbook-apps] Marking paras in colored text

2011-10-06 Thread Bob Stayton
want in the body of the template. You'll see that the base template for match="para" uses fo:block instead of fo:inline. You can add your color to the fo:block. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "mike 675" To: S

Re: [docbook-apps] Customising blank page after part title page

2011-10-06 Thread Bob Stayton
Book element is contained in a template named 'elementname.titlepage', such as 'part.titlepage'. That file is generated from the stock titlepage spec file named titlepage.templates.xml using the process described in option 1. But you can override any of those with a direct c

Re: [docbook-apps] cacute missing in PDF only

2011-10-06 Thread Bob Stayton
Hi Mark, FOP's error message says 0x107, which is the correct Unicode value for "Latin Small Letter C with acute", which suggests that the FO output is correct. I think you will need to consult the FOP list on this one. Bob Stayton Sagehill Enterprises b...@sagehill.net

Re: [docbook-apps] cacute missing in PDF only

2011-10-05 Thread Bob Stayton
'symbol.font.family' stylesheet param as a fallback, although that might be satisfactory if the fallback font does not closely resemble the main font. See: http://www.sagehill.net/docbookxsl/SpecialChars.html#MissingChars Bob Stayton Sagehill Enterprises b...@sagehill.net

Re: [docbook-apps] DocBook epub3 beta 3 stylesheets available

2011-10-04 Thread Bob Stayton
am, but I think that would be ok. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message ----- From: "Bob Stayton" To: "Jirka Kosek" Cc: "DocBook Apps" ; "Adam Witwer" Sent: Tuesday, October 04, 2011 8:38 AM Subject: Re: [docbook

Re: [docbook-apps] DocBook epub3 beta 3 stylesheets available

2011-10-04 Thread Bob Stayton
haven't looked into it yet, but that would probably be easier than trying to do it with one stylesheet and different namespaces. I'm not sure how to do it, though. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Jirka Kosek" T

Re: [docbook-apps] cross-book olinks in epub

2011-10-04 Thread Bob Stayton
xt includes a reference to the other book's title, otherwise readers would not have enough context to interpret "Table 3.1". Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Tim Arnold" To: Sent: Monday, October 03, 2011 11:53 AM

Re: [docbook-apps] generate-article-titlepage-on-separate-page

2011-10-04 Thread Bob Stayton
An even simpler method uses the attribute-set named 'toc.margin.properties' as described here: http://www.sagehill.net/docbookxsl/PrintToc.html#PageMargins although its section title would probably not have led you there. These two attributes accomplish the same thing

Re: [docbook-apps] Image callouts and roles

2011-10-03 Thread Bob Stayton
right conditions are met, on the assumption that you may intend to have multiple imageobjects in your output. Let me know if it works for you. Bob Stayton

Re: [docbook-apps] Image callouts and roles

2011-10-03 Thread Bob Stayton
selection process applies only to the direct children of mediaobject. That's why you are getting both images in your output. You'll need to create two children of mediaobject for the selection to work. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message ---

Re: [docbook-apps] Scaling factor parameter for all images available?

2011-10-03 Thread Bob Stayton
ed to any that don't otherwise get scaled. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Lars Vogel To: DocBook Apps Sent: Saturday, October 01, 2011 3:04 PM Subject: [docbook-apps] Scaling factor parameter for all images available? Hi,

Re: [docbook-apps] Set different margins for each column of a CALS table

2011-10-03 Thread Bob Stayton
t cell with: Note: if you use column spans, this simple counting method will not always yield the right result. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: redlettucemail To: docbook-apps@lists.oasis-open.org Sent: Saturday, October 01, 2011 1

Re: [docbook-apps] HTML5 version?

2011-10-01 Thread Bob Stayton
eir unofficial HTML5 schemas. I have also been testing with epubcheck for EPUB3, which also reports problems with HTML5 elements. So if you want to join the bleeding edge, be my guest, but be aware that you will probably run into problems for awhile. I would of course appreciate any bug re

Re: [docbook-apps] re: Subject: DocBook epub3 beta 3 stylesheets available

2011-10-01 Thread Bob Stayton
far. Does that answer your question? If you are asking if the Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Robert Nagle" To: "Bob Stayton" ; Sent: Saturday, October 01, 2011 1:34 AM Subject: [docbook-apps] re: Subject: DocBook

[docbook-apps] DocBook epub3 beta 3 stylesheets available

2011-09-30 Thread Bob Stayton
Hi, I have updated a beta 3 version of the epub3 stylesheets for DocBook XSL to SourceForge. It is in this directory: https://sourceforge.net/projects/docbook/files/epub3/ and the README there describes the changes to this version. Bob Stayton Sagehill Enterprises b...@sagehill.net

Re: [docbook-apps] Image callouts and roles

2011-09-29 Thread Bob Stayton
it with the stock 1.76.1 stylesheet and I got just the .svg image. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Chris Ridd To: docbook-apps@lists.oasis-open.org Sent: Thursday, September 29, 2011 3:29 AM Subject: [docbook-apps] Image

Re: [docbook-apps] Adjusting orderedlist item number spacing

2011-09-28 Thread Bob Stayton
indents, are you sure that's not the inside/outside margins alternating when double.sided=1? Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Paul DuBois" To: "DocBook Apps" Sent: Wednesday, September 28, 2011 7:53 AM Subject:

Re: [docbook-apps] EPUB3: missing some meta data

2011-09-27 Thread Bob Stayton
Hi Keith, This is very helpful. Thanks. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Keith Fahlgren" To: "Bob Stayton" Cc: "davep" ; Sent: Tuesday, September 27, 2011 9:31 AM Subject: Re: [docbook-apps] EPUB3: mis

Re: [docbook-apps] changing how xrefs to listings are rendered in PDF

2011-09-27 Thread Bob Stayton
t param 'xref.with.number.and.title' from the default 1 to zero? If so, then the context to use is 'xref-number' instead. Also, change the Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Tomek Kaczanowski" To: Sen

Re: [docbook-apps] collab elements: not present in FO

2011-09-27 Thread Bob Stayton
ocated in fo/titlepage.xsl. Copy that template to your customization layer and change it to add processing of collab elements in mode="titlepage.mode": ... That should do it. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message ----- From: "michael

Re: [docbook-apps] changing how xrefs to listings are rendered in PDF

2011-09-27 Thread Bob Stayton
but requires a lot more customization. Also, you would not be able to use formalpara for other purposes. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Tomek Kaczanowski" To: Sent: Monday, September 26, 2011 12:51 PM Subject: [docbook-apps]

Re: [docbook-apps] Removing HTML TOC from epub

2011-09-27 Thread Bob Stayton
consider epub3 experimental at this point. Delivering epub3 files to users who would most likely be using epub2 readers would be risky. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Chris Ridd To: Bob Stayton Cc: docbook-apps@lists.oasis

Re: [docbook-apps] EPUB3: missing some meta data

2011-09-27 Thread Bob Stayton
Well, the title of that section is "2.2 Reading System Conformance" and the intro para says "An EPUB Reading System must meet all of the following criteria:" So the spec is more than just the file format. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original

Re: [docbook-apps] EPUB3: missing some meta data

2011-09-27 Thread Bob Stayton
is not finalized), people will be trying to reader their new epub3 docs on epub2 readers. Are there other things that can be done to the epub3 files to make that experience more satisfying? Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Keith Fah

Re: re: [docbook-apps] Accessibility: adding scope attribute to HTML output

2011-09-26 Thread Bob Stayton
e's template worked for him is because he *was* using a role attribute on the para, but in his case it was to specifiy the width value. Your para elements did not have a role attribute, and so you encountered that bug. Don't worry about the bug report. I'll go ahead and file it since I&#x

Re: [docbook-apps] collab elements: not present in FO

2011-09-26 Thread Bob Stayton
ed to investigate further. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "michael mclaughlin" To: ; "Bob Stayton" Sent: Monday, September 26, 2011 7:10 AM Subject: Re: [docbook-apps] collab elements: not present in FO Your workar

Re: [docbook-apps] problem with long orderedlist

2011-09-26 Thread Bob Stayton
tical size of an fo:list-item to determine the page break. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Streit Eric" To: Sent: Monday, September 26, 2011 3:09 AM Subject: Re: [docbook-apps] problem with long orderedlist Hi, I'll

Re: [docbook-apps] EPUB3: missing some meta data

2011-09-25 Thread Bob Stayton
ional DCMES elements too, with a parameter to make them optional. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Keith Fahlgren" To: "Bob Stayton" Cc: "Michael Wiedmann" ; "DocBook Apps ML" Sent: Sunday, Sep

Re: [docbook-apps] EPUB3: missing some meta data

2011-09-25 Thread Bob Stayton
x27;m not sure what's missing. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Michael Wiedmann" To: "DocBook Apps ML" Cc: "Bob Stayton" Sent: Sunday, September 25, 2011 2:28 AM Subject: [docbook-apps] EPUB3: missing

Re: [docbook-apps] Draft mode: Missing image error affects all PDF builds

2011-09-25 Thread Bob Stayton
OK, the workaround when using FOP is to provide an image file at the location specified by the 'draft.watermark.image' parameter, even though it is not used. Then FOP will note that the file exists and carry on. Bob Stayton Sagehill Enterprises b...@sagehill.net - Origin

Re: [docbook-apps] collab elements: not present in FO

2011-09-25 Thread Bob Stayton
Hi, Try adding this template to your customization layer for FO output: Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "michael mclaughlin" To: Sent: Sunday, September 25, 2011 9:47 AM Subject: Re: [docbook-apps] collab ele

Re: [docbook-apps] EPUB3: missing some meta data

2011-09-25 Thread Bob Stayton
OK, thanks for the report. I'll try to get such metadata into the next beta real soon. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Michael Wiedmann" To: "DocBook Apps ML" Cc: "Bob Stayton" Sent: Sunday,

Re: [docbook-apps] problem with long orderedlist

2011-09-25 Thread Bob Stayton
are correct. So FOP still has some bugs like this, and I don't know of any workaround for this problem. That means to get good results, you will need to use an XSL-FO processor other than the free FOP. You can configure Oxygen to use a new XSL-FO processor once you acquire it. Bob St

Re: [docbook-apps] problem with long orderedlist

2011-09-25 Thread Bob Stayton
p", and I don't know what "dip" is. Can you clarify how you are producing it and how it relates to DocBook? Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Streit Eric" To: Sent: Saturday, September 24, 2011 11:53 PM Subject

Re: [docbook-apps] How to specify rel="canonical in Docbook and conversion for HTML

2011-09-23 Thread Bob Stayton
template could use either one to generate the link. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Lars Vogel To: Bob Stayton Cc: DocBook Apps Sent: Friday, September 23, 2011 2:32 PM Subject: Re: [docbook-apps] How to specify rel="canonic

Re: [docbook-apps] Draft mode: Missing image error affects all PDF builds

2011-09-23 Thread Bob Stayton
onsider that to be a bug in the XSL-FO processor, not the stylesheet. Other processors don't report it. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "mike 675" To: Sent: Tuesday, September 20, 2011 8:04 AM Subject: [docbook-apps] D

Re: [docbook-apps] How to specify rel="canonical in Docbook and conversion for HTML

2011-09-23 Thread Bob Stayton
27;user.head.content', as described here: http://www.sagehill.net/docbookxsl/HtmlHead.html That could be used to generate another element. I'm not sure where you would stash that canonical URL in your document, though. Bob Stayton Sagehill Enterprises b...@sagehill.net -

Re: [docbook-apps] collab elements: not present in FO

2011-09-23 Thread Bob Stayton
name. Have you tested it with the stock stylesheets? Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "mike 675" To: Sent: Tuesday, September 20, 2011 6:14 AM Subject: Re: [docbook-apps] collab elements: not present in FO Using an alternative

Re: re: [docbook-apps] Accessibility: adding scope attribute to HTML output

2011-09-23 Thread Bob Stayton
ting width to a value of "section" is not a valid value. I think you modeled it on the class param where a value of "section" does make sense as a default. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "mike 675" To:

Re: [docbook-apps] add newline to generated text?

2011-09-23 Thread Bob Stayton
on a separate line from the title. You can view it online for free at: http://www.sagehill.net/docbookxsl/TitleFontSizes.html#ChapterTitles Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Jason Zech To: docbook-apps@lists.oasis-open.org Sent: F

Re: [docbook-apps] Removing HTML TOC from epub

2011-09-22 Thread Bob Stayton
Based on the experience I gained from creating the epub 3 stylesheet, I plan to rearrange the files in the epub directory for EPUB 2 output to make it easier to customize. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Chris Ridd To: do

Re: [docbook-apps] Re: epub2 and olinks

2011-09-22 Thread Bob Stayton
Hi Tim, Just to be clear here, you are creating one epub2 publication from one logical DocBook book, but you are rendering the modular chapter files individually before assembling the epub file? And when you do that, the olinks do work so the epub appears to be a single publication? Bob

Re: [docbook-apps] More on epub3

2011-09-22 Thread Bob Stayton
s that is as generic as , so it does not add any semantic value. I'll remove that for the next release. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Richard Hamilton" To: "DocBook Apps" Sent: Tuesday, September 20, 2011 4

Re: [docbook-apps] "html.stylesheet" parameter in the xhtml5 Stylesheets

2011-09-21 Thread Bob Stayton
ument() function has two arguments. If there is no second argument, then the document() function looks in the same location as the XSL file containing the function. If the second argument is ".", then it is taken relative to the location of the current document node. Bob S

Re: [docbook-apps] "html.stylesheet" parameter in the xhtml5 Stylesheets

2011-09-20 Thread Bob Stayton
into each output directory using a separate command. As far as I know, it is not possible for an XSL stylesheet to open a plain text file like a CSS file. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Lars Vogel To: Bob Stayton Cc: DocBook

[docbook-apps] updated epub3 beta

2011-09-20 Thread Bob Stayton
Hi, I posted an updated version of the Epub3 beta stylesheet to the SourceForge DocBook project's Files/epub3 area. The "b2" version removes the unnecessary entity declaration from epub3/docbook.xsl that was causing a problem on Linux, and updates the README a bit. Bob S

Re: [docbook-apps] "html.stylesheet" parameter in the xhtml5 Stylesheets

2011-09-19 Thread Bob Stayton
://docbook.sourceforge.net/release/xsl/current/doc/html/docbook.css.source.html http://docbook.sourceforge.net/release/xsl/current/doc/html/custom.css.source.html I'll put this in the next README Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Lars Vogel To: DocBook

Re: [docbook-apps] beta EPUB3 stylesheet available

2011-09-19 Thread Bob Stayton
, and will be removed from the next beta. I'm glad it worked, but I'm mystified why it did not work before. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Lars Vogel To: Bob Stayton Cc: DocBook Apps Sent: Monday, September 19, 20

Re: [docbook-apps] XHTML5 Output - Can DOCTYPE be added?

2011-09-19 Thread Bob Stayton
r, it should work the same way as for other html stylesheets. If you do a chunking customization, you need to use the two file method described in my book for chunking. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Lars Vogel To: DocBook Apps

Re: [docbook-apps] Make dedication element appear in TOC

2011-09-18 Thread Bob Stayton
Hi Dave, I think you also need to add a template with match="d:dedication" mode="toc", as for other elements (see examples in autotoc.xsl). There is no match="*" for mode="toc" to catch new elements. Bob Stayton Sagehill Enterprises b...@sagehill.net

Re: [docbook-apps] beta EPUB3 stylesheet available

2011-09-18 Thread Bob Stayton
path entity declaration: %common.entities; Also, the html/docbook.xsl file imports templates using relative pathnames: I wonder why it works in those instances but not in the xhtml5 instance? I wonder if that error message is being helpful in identifying the source of the problem. Bob Stayt

[docbook-apps] beta EPUB3 stylesheet available

2011-09-16 Thread Bob Stayton
put. Feedback is welcome. The stylesheets include support for some of the new EPUB features, such as video, audio, and MathML. However, not all EPUB browsers are up to handling them. See the README for details. Bob Stayton Sagehill Ente

Re: [docbook-apps] DocBook XSLT 2.0 Stylesheets question with regards to XHTML output

2011-09-16 Thread Bob Stayton
as well. I've been working on the EPUB3 output, which requires HTML5. So the next XSLT 1.0 distribution will include XHTML5 and EPUB3 stylesheets. I expect to have them included in a snapshot distribution very soon. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Me

Re: [docbook-apps] docbook.xsl and epub indexing

2011-09-13 Thread Bob Stayton
imary entry when secondary indexterms were used. I wasn't aware of that problem, but I have since fixed it in the SVN source. The latest snapshot builds have that fix, if you want to give that a try. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From

Re: [docbook-apps] @role. How high can it go?

2011-09-13 Thread Bob Stayton
Hi Dave, The body.attributes attribute-set is in the param.xsl file for website, so it should work. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "davep" To: "Bob Stayton" Cc: "Docbook-apps" Sent: Tuesday, September

Re: [docbook-apps] Using fox: extensions

2011-09-13 Thread Bob Stayton
gehill.net/docbookxsl/PrintCustomEx.html#RootProperties Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "mike 675" To: Sent: Monday, September 12, 2011 1:40 AM Subject: [docbook-apps] Using fox: extensions Using FOP 1.0. How can I access the fol

Re: [docbook-apps] Configuring elements in HTML output

2011-09-13 Thread Bob Stayton
Yes, you are correct. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "mike 675" To: Sent: Monday, September 12, 2011 11:26 AM Subject: Re: [docbook-apps] Configuring elements in HTML output Am I right in saying that you

Re: [docbook-apps] @role. How high can it go?

2011-09-13 Thread Bob Stayton
Hi Dave, That sounds fine. There is also a utility template named 'body.attributes' that can be customized to add attributes to the body element. The original is in html/docbook.xsl. It is called right after the opening tag of . Bob Stayton Sagehill Enterprises b...@sa

Re: [docbook-apps] @role. How high can it go?

2011-09-13 Thread Bob Stayton
ed here: http://www.sagehill.net/docbookxsl/HtmlCustomEx.html#CustomClassValues Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "davep" To: "Docbook-apps" Sent: Tuesday, September 13, 2011 2:54 AM Subject: [docbook-apps] @role. How high ca

Re: [docbook-apps] Styling a header

2011-09-11 Thread Bob Stayton
the title of the current section: Since I'm not sure how you customized that template, I can't tell you where to put it. Hopefully you can figure it out. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Mads Ipsen To: docbook-apps@l

Re: [docbook-apps] Using olinks in bibliography collection with processor's parameters with relative paths

2011-09-11 Thread Bob Stayton
, but in a different directory. That keeps it separate from any one book, and it can still be accessed with relative paths. It won't be "above" your books, but it will be separate from them, and it should work. Bob Stayton Sagehill Enterprises b...@sagehill.net - Ori

Re: [docbook-apps] Error in Apache Ant task with Saxon from DocBook to epub

2011-09-07 Thread Bob Stayton
Ah, now the problem you have encountered is that the DocBook chunking stylesheet does not support Saxon 9. I cannot remember what the issues were. Can you substitute Saxon 6.5 for that Ant task? Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Lars

Re: [docbook-apps] Error in Apache Ant task with Saxon from DocBook to epub

2011-09-06 Thread Bob Stayton
Thanks for the clarification. It has been fixed in source, and the latest snapshot build of the stylesheets reflects the update. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Tony Graham" To: Sent: Tuesday, September 06, 2011 9:14 AM S

Re: [docbook-apps] Error in Apache Ant task with Saxon from DocBook to epub

2011-09-06 Thread Bob Stayton
Hi Lars, I presume you are using Saxon 9? I get that error when I use Saxon 9, but not when I use Saxon 6. I generally use Saxon 6 with the DocBook XSL stylesheets since they are written in XSL 1.0, while Saxon 9 is written for XSL 2.0. Bob Stayton Sagehill Enterprises b...@sagehill.net

Re: [docbook-apps] Section TOCs in HTML: Placing after intro text

2011-09-05 Thread Bob Stayton
Hi Mike, The same kind of changes that were made to the template matching on section can also be made to the template matching on chapter. That template can be copied to your customization layer from html/component.xsl. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original

Re: [docbook-apps] Error in Apache Ant task with Saxon from DocBook to epub

2011-09-05 Thread Bob Stayton
Yes, that is a bug in the epub stylesheet. Please open a bug report for in on the DocBook SourceForge site. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Lars Vogel To: docbook-apps@lists.oasis-open.org Sent: Monday, September 05, 2011 7:46

Re: [docbook-apps] Shifting within a para-element

2011-09-02 Thread Bob Stayton
Hi, I don't understand what you mean by "shifting" in this context. Can you clarify? Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Lwam Berhane" To: Sent: Friday, September 02, 2011 1:20 AM Subject: [docbook-apps] Shift

Re: [docbook-apps] Section TOCs in HTML: Placing after intro text

2011-09-02 Thread Bob Stayton
The template named 'id.warning' has been in the stylesheet distributions since version 1.70 and 'common.html.attributes' since 1.75. If you are importing the latest, those templates should automatically be included. Can you describe your import setup a bit more? Bob Stayt

Re: [docbook-apps] Re: Re : [docbook-apps] Slides fo to PDF ...

2011-08-31 Thread Bob Stayton
rectory for the ns distribution. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Stefan Seefeld" To: "Bruno GUEGAN" ; "DocBook Apps Mailing List" Sent: Wednesday, August 31, 2011 8:46 AM Subject: [docbook-apps] Re: Re : [d

Re: [docbook-apps] Page master selection. .fo, db5

2011-08-30 Thread Bob Stayton
se them. It is easiest to copy an existing page master to a custom 'user.pagemasters' template, change the name, and change just the properties you want to be different. Then customize 'select.user.pagemaster' template to turn it on. Bob Stayton Sagehill Enterprises b...@sa

Re: [docbook-apps] image class or role in mediaobject

2011-08-30 Thread Bob Stayton
mbined with the following stylesheet customization (remove the d: namespace if using DocBook 4): mediaobject will result in this output: http://www.sagehill.net/docbookxsl/UsingCSS.html#CustomClass Bob Stayton Sagehill Enterprises b...@sagehill

Re: [docbook-apps] default value for @content-width in fo xsls

2011-08-30 Thread Bob Stayton
Hi David, Do you know which processors now support it and which do not? Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "David Cramer" To: "DocBook Apps" Sent: Tuesday, August 30, 2011 5:30 AM Subject: [docbook-apps] default value f

Re: [docbook-apps] suppressing header (rule and text)

2011-08-28 Thread Bob Stayton
ge-sequence (by calling the utility template named page.sequence). Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Stefan Seefeld" To: "DocBook Apps Mailing List" Sent: Saturday, August 27, 2011 1:58 PM Subject: [docbook-apps] suppres

Re: [docbook-apps] footnote in title

2011-08-26 Thread Bob Stayton
, because it does not use the division.title template. You are probably right that the verso page should use no.anchor.mode for the title, since that is a secondary use of the title. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Stefan Seefeld&

Re: [docbook-apps] footnote in title

2011-08-26 Thread Bob Stayton
he template named division.title from fo/division.xsl to your customization layer and add the param. Change: to: That should fix the footnote. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Stefan Seefeld" To: "

Re: [docbook-apps] processing chapters in parallel

2011-08-25 Thread Bob Stayton
apter number might be used in several places (figure and table numbers, section numbers), you should customize the template with match="chapter" and mode="label.markup" to output the chapter number from the olink database. That mode is used by all the templates that need the chap

Re: [docbook-apps] how to add a style attribute inside a P element? (Kindle insanity!)

2011-08-24 Thread Bob Stayton
to set it to the value of the role attribute. 3. I'm using roles for a lot of things here: in the mediaobject and the imageobject. Is this a potential problem? B: No, that's not a problem as long as the mode names are different. Bob Stayton Sagehill Enterprises b...@sagehill.net

Re: [docbook-apps] Section TOCs in HTML: Placing after intro text

2011-08-24 Thread Bob Stayton
-page output. If you put it in the customization of chunk.xsl, then it won't work. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "mike 675" To: Sent: Wednesday, August 24, 2011 4:21 AM Subject: Re: [docbook-apps] Section TOCs in HTML: Pl

Re: [docbook-apps] Section TOCs in HTML: Placing after intro text

2011-08-23 Thread Bob Stayton
rom html/sections.xsl. You'll need to add an xsl:apply-templates that selects everything before the first sub-section element, then process the toc, and then another xsl:apply-templates that selects only section children. Bob Stayton Sagehill Enterprises b...@sagehill.net - Origi

Re: [docbook-apps] Page breaks for programlisting elements

2011-08-20 Thread Bob Stayton
all the properties needed to make it work. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "michael mclaughlin" To: Sent: Saturday, August 20, 2011 1:51 AM Subject: [docbook-apps] Page breaks for programlisting elements Using FOP 1.0. Docbook

Re: [docbook-apps] listing the TOC after the preface / foreword

2011-08-17 Thread Bob Stayton
role must be done. I'll add this information to the next edition of my book. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Stefan Seefeld" To: "DocBook Apps Mailing List" Sent: Wednesday, August 17, 2011 4:13 PM Subject: [

Re: [docbook-apps] fo page sizes

2011-08-12 Thread Bob Stayton
#FinishedPageSize Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "davep" To: "Docbook-apps" Sent: Monday, August 08, 2011 7:22 AM Subject: [docbook-apps] fo page sizes wrt top margins I see page.margin.top body.margin.top region.before.

Re: [docbook-apps] pagesetup.xsl

2011-08-11 Thread Bob Stayton
Yes, the titlepage template system works for preface too. The current template for preface in fo/component.xsl uses this: which uses the titlepage template system. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "davep" To: "Docb

Re: [docbook-apps] titleabbrev, docbook v5

2011-08-11 Thread Bob Stayton
ing header you have the context of the chapter you are in to reduce confusion. I'm not clear what you mean about about the long chapter title. There is a mode="titleabbrev.markup" for chapter in DocBook XSL. Are you talking about the title on the chapter title page itself?

Re: [docbook-apps] pagesetup.xsl

2011-08-07 Thread Bob Stayton
If you want to use the original page master names, then the answer is yes, you must customize that big template. If you want to use your own master names, then you can use the user.pagemasters and select.user.pagemaster templates to write your own original page masters. Bob Stayton Sagehill

Re: [docbook-apps] itemized list, and import precedence

2011-08-07 Thread Bob Stayton
sl-fo has space-before="0pt", but I don't see where the 0pt might have come from. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "davep" To: "Docbook-apps" Sent: Saturday, August 06, 2011 1:45 AM Subject: [docbook-ap

Re: [docbook-apps] HTML Chunking confusion...

2011-08-07 Thread Bob Stayton
cally works to handle a namespaced document with the non-namespaced stylesheet, there are several edge cases like this using internal node sets where it gets more complicated. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Nic Gibson" To: Sent:

Re: [docbook-apps] imagedata scale problem

2011-08-04 Thread Bob Stayton
LT processor such as Saxon or Xalan. It will not work with xsltproc. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Fabien Tillier" To: Sent: Thursday, August 04, 2011 12:51 AM Subject: [docbook-apps] imagedata scale problem Hi List. I hav

Re: [docbook-apps] Modify xsl:import value at runtime?

2011-08-03 Thread Bob Stayton
/CustomMethods.html#CatsWithCust http://www.sagehill.net/docbookxsl/WriteCatalog.html#MapURLtoFile Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Paul DuBois" To: "DocBook Apps" Sent: Wednesday, August 03, 2011 8:23 AM Subject: [docbook-apps] Mod

Re: [docbook-apps] how to add a style attribute inside a P element? (Kindle insanity!)

2011-08-03 Thread Bob Stayton
a attributes, using the match attribute on the template to select a specific XPath pattern. How you determine the values from your content is up to you. As Nic suggests, role attribute could be used. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: &q

Re: [docbook-apps] Bibliography, v5, titlepage template

2011-08-02 Thread Bob Stayton
art" and other properties are coming from. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "davep" To: "Docbook-apps" Sent: Tuesday, August 02, 2011 5:31 AM Subject: [docbook-apps] Bibliography, v5, titlepage template My temp

Re: [docbook-apps] olinking to varlistentry with indexterm inside term

2011-08-02 Thread Bob Stayton
it as a link. This template could be added to your customization layer to patch the problem. I'll fix it in the XSL source files for the next release. The mode="no.anchor.mode" causes it to omit indexterms from the xref text. Bob Stayton Sagehill Enterpris

Re: [docbook-apps] olinking to varlistentry with indexterm inside term

2011-08-01 Thread Bob Stayton
Hi, It works for me in PDF output. Does your XML file validate? You didn't mention what kind of output you are generating. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: "Robert Pasternak" To: Sent: Monday, August 01, 2011

Re: [docbook-apps] acknowledgements

2011-08-01 Thread Bob Stayton
Hi Dave, In FO output, acknowledgements is not a block, it is a page-sequence. The template for book in division.xsl (in 1.76.1) has this: and component.xsl as: to generate the page sequence. It works for me. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message

<    5   6   7   8   9   10   11   12   13   14   >