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

2010-12-13 Thread Nathalie Sequeira
Hello Bob all, I'm not clear that this customization to copy the link element's text into the title attribute should be the default behavior. It was my understanding that the title attribute was meant to add information about the target of the link. It would seem to me that copying the text

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

2010-12-13 Thread Nathalie Sequeira
Hello Dave, redlettucemail schrieb: After a bit more testing, the code doesn't quite work. If there is an 'emphasis' tag inside a 'link', that text is not generated as a title. For instance, I have citations with 'et al' in an emphasis, and the generated title has the text of the citation

[docbook-apps] listitem/para output in XHTML

2010-12-13 Thread redlettucemail
[mailto:docbook-a...@lists.oasis-open.org]for orderedlist and itemizedlist elements, I need to remove the p tag that is generated after li and ul in XHTML files. Currently, the p tag forces text that occurs in a listitem to be placed on the next line after the bullet point. Is there something I

Re: [docbook-apps] HTML/XHTML: a:name vs. a:id?

2010-12-13 Thread Jirka Kosek
Robert Nagle wrote: (I find it odd that in 2010 the browsers don't render XHTML code with a id=test / correctly). The majority of browsers do this (exception here is IE) but you have to serve XHTML with proper content type which almost nobody does today. However, there is an easy fix on the

[docbook-apps] Is-it possible to include TEI parts in a docbook book?

2010-12-13 Thread Streit Eric
Hi, I am formating and translating a language course (written in English and for the Russian language). There are some parts which are like a dictionary (the vocabulary): could I use the TEI dictionary part and include it in my docbook document? If it is possible, could you explain how to do

Re: [docbook-apps] HTML/XHTML: a:name vs. a:id?

2010-12-13 Thread Robert Nagle
Jirka, Thanks, I never would have guessed that. I must have overlooked those parameters. Oxygen uses saxon, so that works for me. Just out of curiosity: you added a saxon namespace at the top; why? Is xsl:param name=chunker.output.methodsaxon:xhtml/xsl:param a saxon-only switch? What would be

Re: [docbook-apps] Re: HTML: suppress abstract in html body?

2010-12-13 Thread Robert Nagle
Bob, Thanks. This solution worked perfectly. Also: about suppressing the body attributes, this worked too although I have a feeling that Jirka's suggestions about parameters to use when using XHTML output might remove the need for that. Robert On Sun, Dec 12, 2010 at 7:57 PM, Bob Stayton

Re: [docbook-apps] HTML/XHTML: a:name vs. a:id?

2010-12-13 Thread Jirka Kosek
Robert Nagle wrote: Just out of curiosity: you added a saxon namespace at the top; why? Actually it is not necessary in this case. It's just recommended. Is xsl:param name=chunker.output.methodsaxon:xhtml/xsl:param a saxon-only switch? What would be some other values you could add to this

Re: [docbook-apps] listitem/para output in XHTML

2010-12-13 Thread Bob Stayton
Hi Dave, The extra space is an artifact of some browsers, not all. It should not appear in that context. That said ... The p tag is coming from the para element inside the listitem. Actually, the first para in the listitem. This template customization would remove the p wrapper:

Re: [docbook-apps] HTML/XHTML: a:name vs. a:id?

2010-12-13 Thread Keith Fahlgren
On Sun, Dec 12, 2010 at 4:12 PM, Robert Nagle idiotprogram...@gmail.com wrote: that html uses a name = while xhtml output uses a id / A different solution would be to change the way the anchor.attribute is called to actually create h2 id=sect2Blah/h2 rather than the a id=sect2/. This is a fairly

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

[docbook-apps] Question about role-based images

2010-12-13 Thread Steve Johnson
In the Stayton book in the section on SVG in HTML, there is an example of using an SVG graphic for PDF and PNG for HTML. I tried it and it didn't work. This is the XML I used: mediaobject imageobject role=fo imagedata format=SVG scale=75

[docbook-apps] UPDATE: [docbook-apps] Question about role-based images

2010-12-13 Thread Steve Johnson
Spoke too soon. I was doing a view source in Firefox. If I open the HTML file on disk it's referencing a PNG. Nevermind On 12/13/2010 10:16 PM, Steve Johnson wrote: In the Stayton book in the section on SVG in HTML, there is an example of using an SVG graphic for PDF and PNG for HTML. I