[docbook-apps] RE: Delete child section via xsl

2012-05-03 Thread rob.cavicchio
Joshua J Wulf [mailto:jw...@redhat.com] wrote: I'd like to do the following with an xsl template: If a section or chapter contains an immediate child section with the same title, then delete the child'ssection/ andtitle/ tags, but not the contents between the childsection and/section.

[docbook-apps] RE: Side-by-side images

2012-02-23 Thread rob.cavicchio
David Goss [mailto:dg...@mueller-inc.com] wrote: What is the proper way to display two images side-by-side? The way I do this now is to put two inlinemediaobjects into a para. The HTML output is two images side-by-side aligned to the left. Playing with the align attribute in the imagedata

RE: [docbook-apps] make.clean.html and Firefox handling of white-space: pre ?

2012-02-12 Thread rob.cavicchio
Bob Stayton [mailto:b...@sagehill.net] wrote: Making the substitutions in the text in XSLT 1.0 requires using a recursive template to step through each text node. The risk with recursive processing is getting too deeply nested in the recursions so that the XSLT processor gives ups. I think

RE: [docbook-apps] Getting a list of Docbook Block Level elements --can the following xpath gather a block-level list from the xsd?

2012-01-07 Thread rob.cavicchio
Richard Hamilton [mailto:hamil...@xmlpress.net] wrote: I suggest checking out the DocBook Definitive Guide, which has a section titled: Logical Divisions: The Categories of Elements in DocBook, which lists the Block and Inline elements. Perhaps a better way to characterize that is that the

RE: [docbook-apps] Generated epub to mobi - lists are incorrectly displayed

2011-10-31 Thread rob.cavicchio
I disagree. Under what circumstances do you think that anyone would want a bullet on a line by itself? From: Lars Vogel [mailto:lars.vo...@googlemail.com] Sent: Saturday, October 29, 2011 03:02 To: Jon Rosen Cc: Jirka Kosek; DocBook Apps Subject: Re: [docbook-apps] Generated epub to mobi -

[docbook-apps] RE: [java] Don't know what gentext to create for xref to: imagedata, ()

2011-05-24 Thread rob.cavicchio
Do you link to figure elements? And did you accidentally put the target ID attribute on the imagedata element rather than the figure element? From the error message, it seems like it's trying to point directly to imagedata, which does not have a title. From:

RE: [docbook-apps] RE: problem with position()

2011-05-09 Thread rob.cavicchio
Sorry for the oversight. I'm glad it works. -Original Message- From: Stefan Seefeld [mailto:ste...@seefeld.name] Sent: Saturday, May 07, 2011 10:32 AM To: Bob Stayton Cc: docbook-apps@lists.oasis-open.org Subject: Re: [docbook-apps] RE: problem with position() Hi Bob, thanks

[docbook-apps] RE: problem with position()

2011-05-06 Thread rob.cavicchio
Stefan Seefeld [mailto:ste...@seefeld.name] wrote: xsl:template match=d:section/d:orderedlist/d:listitem mode=xref-to xsl:param name=referrer/ xsl:param name=xrefstyle/ [xsl:value-of select=ancestor::d:section/d:titleabbrev/]/xsl:copy-of select=position()/ /xsl:template

[docbook-apps] RE: Generating separate closing tags in XHTML webhelp output

2011-03-04 Thread rob.cavicchio
Peter Desjardins [mailto:peter.desjardins...@gmail.com] wrote: The webhelp.xsl file in the DocBook webhelp distribution already sets the output method to HTML but I still see a id=something / in the resulting XHTML. I'm not sure it's possible to convince Saxon to use separate closing tags for

[docbook-apps] RE: db5, chapter markup, xsl-fo processing

2011-02-09 Thread rob.cavicchio
I asked this question not long ago on the docbook list: http://markmail.org/message/2xe65grhyv5jnpfj?q=label+list:org.oasis-open.lists.docbook -Original Message- From: Dave Pawson [mailto:da...@dpawson.co.uk] Sent: Monday, February 07, 2011 3:10 AM To: docbook-apps@ Subject: db5,

RE: [docbook-apps] Generating title for link element

2010-12-13 Thread rob.cavicchio
I'm not an accessibility expert, but I've been looking into some of these issues lately. A lot of this is just common sense and applies to all readers, not just those with what are commonly thought of as disabilities. My understanding is that it is better to not have alternate text at all than

RE: [docbook-apps] Use of xincludes vs. entities

2010-09-27 Thread rob.cavicchio
Ron Catterall [mailto:r...@catterall.net] wrote: My biggest problem with Xinclude is the duplicate ID if a piece of text is included twice etc. Would it be possible to reset an ID of an Xincluded test on the Xinclude statement with an attribute, e.g. xi:include href=venn.xml

[docbook-apps] RE: CHM Index Problem

2010-09-08 Thread rob.cavicchio
Whether index sorting happens automatically in HTML Help depends on whether the Binary Index setting is turned on in the Help project options. A binary index is the default, so in the HHP file, under [OPTIONS] there should either be a line that looks like this: Binary Index=Yes *or* there

RE: [docbook-apps] Re: html 5, as a target

2010-08-17 Thread rob.cavicchio
Dave Pawson [mailto:da...@dpawson.co.uk] wrote: The HTML5 specification isn't scheduled to become a recommendation until 2022. Where've you seen that Rob? Going back and re-reading it more carefully, I see that it is more of an estimate provided by one person, so scheduled was a

RE: [docbook-apps] Re: html 5, as a target

2010-08-16 Thread rob.cavicchio
Larry Garfield [mailto:la...@garfieldtech.com] wrote: That varies widely depending on your market. The main site I use DocBook for is 50% Firefox users and less than 2% IE 6; A few months ago I officially announced that our software doesn't care about IE 6 any more, and I'm not really going

RE: [docbook-apps] RE: XSL-FO and unicode

2010-07-09 Thread rob.cavicchio
Fabien Tillier [mailto:f.till...@cerep.fr] wrote: Do you think it is possible to do the customization on the stylesheet, so that it will detect special characters and replace, say #945;- bungarotoxin by the symbol role=symbolfont#945;/symbol-bungarotoxin ? This is certainly possible to do

RE: [docbook-apps] RE: XSL-FO and unicode

2010-07-08 Thread rob.cavicchio
I understand your frustration. I happen to be dealing with a lot of these font/character issues myself right now, so my head's in it. Hopefully I can help further. The situation is very different for HTML vs. PDF. As far as HTML goes, unless you are publishing HTML Help (CHM), I recommend

RE: [docbook-apps] RE: XSL-FO and unicode

2010-07-08 Thread rob.cavicchio
Hmm, did you configure FOP to auto-detect the system fonts? http://xmlgraphics.apache.org/fop/0.95/fonts.html#basics Basically, you need an XML file that looks like this: ?xml version=1.0? fop version=1.0 renderers renderer mime=application/pdf

[docbook-apps] RE: XSL-FO and unicode

2010-07-07 Thread rob.cavicchio
Fabien Tillier [mailto:f.till...@cerep.fr] wrote: In the xsl-fo, I get fo:block#945;/fo:block And in PDF, a wonderful # So, after some further readings, I found that I had to add some fonts, so in the XSL Customization, I added xsl:param name=symbol.font.family select='Arial Sans