Re: [docbook-apps] match with mode does not match

2008-02-03 Thread Keith Fahlgren
On Feb 3, 2008 7:09 PM, Mansour <[EMAIL PROTECTED]> wrote: > Thank you, this explained everything but raised another question. I just > changed my code and removed the @mode. Now, the question is , why did > you use @role in your example. Why didn't you use @language ? Is there > a specific rea

Re: [docbook-apps] match with mode does not match

2008-02-03 Thread Mansour
Thank you, this explained everything but raised another question. I just changed my code and removed the @mode. Now, the question is , why did you use @role in your example. Why didn't you use @language ? Is there a specific reason ? Is any of them dedicated for this kind of customization?

Re: [docbook-apps] How to center the title vertically on the titlepage?

2008-02-03 Thread Bob Stayton
Hi, This is not as easy as it seems it should be. To center something vertically in XSL-FO, you must have a container that defines an area as vertically big as you want to center within, and then use the display-align="center" property to center its content vertically within that area. There

Re: [docbook-apps] Troubles publishing SVG with FO-XSL

2008-02-03 Thread Bob Stayton
The FOP convenience scripts that come with FOP handle adding the Batik.jar. I successfully processed a document with SVG files using those scripts. Use either "fop" on Linux or "fop.bat" on Windows. You can examine the commands they use to determine how to set up your own command line. Bob S

Re: [docbook-apps] Separate sections from chapters?

2008-02-03 Thread Bob Stayton
Hi, That's a feature, as some chapters don't have much before the first section. You can set the stylesheet parameter 'chunk.first.sections' to 1 (the default is zero). Bob Stayton Sagehill Enterprises [EMAIL PROTECTED] - Original Message - From: Christian-Josef Schrattenthaler

[docbook-apps] Announce: Mr. XML Publisher for DocBook

2008-02-03 Thread Steve Whitlatch
Announcing Mr. XML Publisher for DocBook, a free DocBook XML publishing service at http://swhitlat.com/XML_Publisher/ The Mr. XML Publisher for DocBook website accepts uploaded DocBook XML projects and returns output formatted with DocBook XSL. * Returns HTML, PDF, HTML Help, Java Help, Man P

Re: [docbook-apps] header & footer in custom title page

2008-02-03 Thread Bob Stayton
Can you provide some more information about how you are creating your extra pages? Are you creating a new page-sequence with page master-name 'titlepage'? If so, I don't think there is enough information in the context of the header/footer content templates to distinguish between them. You mi

[docbook-apps] Separate sections from chapters?

2008-02-03 Thread Christian-Josef Schrattenthaler
Hi! I use DocBook 4.5. I have only a little file with capthers and sections. My problem ist, that on JavaHelp and PDF files, the first section of a chapter is on the same file (page) as the chapter. Is it possible, to create a file fort he chapter, and a file for each section of a chapt

[docbook-apps] AW: [docbook] RE: How to get the lang-attribute in a stylesheet?

2008-02-03 Thread Christian-Josef Schrattenthaler
Hi! Great, this works! But now I have an other problem: I have tos et the filename also with an extension. I tried: , and some other ideas, but no one worked. Can you also help me with this problem? Greetings, Christian. Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [docbook-apps] match with mode does not match

2008-02-03 Thread Colin Paul Adams
> "Mansour" == Mansour <[EMAIL PROTECTED]> writes: Mansour> I am trying t use mode with programlisting to treat the Mansour> contents in a different way. Here's a piece of my Mansour> document: Mansour> webapp/WEB-INF/web.xml Mansour> href="files/web.xml" /> Man

Re: [docbook-apps] match with mode does not match

2008-02-03 Thread Keith Fahlgren
On Feb 3, 2008 12:37 PM, Mansour <[EMAIL PROTECTED]> wrote: > I am trying t use mode with programlisting to treat the contents in a > different way. Here's a piece of my document: This isn't valid DocBook 4/5, as there's no programlisting/@mode, so that's the first thing to fix: > > webapp/

[docbook-apps] match with mode does not match

2008-02-03 Thread Mansour
I am trying t use mode with programlisting to treat the contents in a different way. Here's a piece of my document: webapp/WEB-INF/web.xml Now in my customization layer I have: But it's not matching. I changed the value of the priority. I have even com

RE: [docbook-apps] Footnote not shown when used under itemizedlist tag.

2008-02-03 Thread Mauritz Jeanson
> -Original Message- > From: Xuan Ngo > > Footnote not shown when used under itemizedlist tag. Is this a bug? > I'm using FOP v0.94 and Docbook 1.73.2. I think it's a FOP bug; probably this one: http://issues.apache.org/bugzilla/show_bug.cgi?id=37579 /MJ

Re: [docbook-apps] Footnote not shown when used under itemizedlist tag.

2008-02-03 Thread Keith Fahlgren
On Feb 3, 2008 9:07 AM, Xuan Ngo <[EMAIL PROTECTED]> wrote: > Footnote not shown when used under itemizedlist tag. Is this a bug? > I'm using FOP v0.94 and Docbook 1.73.2. Perhaps a FOP bug [yes, see bottom]? The footnote is certainly there in the XSL-FO outputted by the stylesheets: $ xsltproc ~

RE: [docbook-apps] AW: [docbook] How to get the lang-attribute in a stylesheet?

2008-02-03 Thread Mauritz Jeanson
> -Original Message- > From: Christian-Josef Schrattenthaler > > I tried: > > default="true" displayviews="true" displayviewimages="true"> > > But this didn't work. This should work: assuming that the lang attribute is set on the root element (/*). Mauritz

Re: [docbook-apps] AW: [docbook] How to get the lang-attribute in a stylesheet?

2008-02-03 Thread Mansour
Someother stylesheet expert may give you a better advice, as I am not that advanced. However, if I were you I will do this in one of two ways: method one: assign a variable then use it as an attribute in your tag. For example: displayviewimages="true"> method 2: is to output the results

AW: [docbook-apps] How to get the lang-attribute in a stylesheet?

2008-02-03 Thread Christian-Josef Schrattenthaler
Hi! The original javahelp.xsl has no JavaHelp 2.0 support, and so I can't set the presentation-tag. I added a standard presentation-tag to the javahelp.xsl, and changed all links from JavaHelp 1.0 to JavaHelp 2.0. It works! I am still a beginner with JavaHelp and DocBook! I looked again to the

Re: [docbook-apps] How to get the lang-attribute in a stylesheet?

2008-02-03 Thread Thomas Schraitle
Hi, On Sonntag, 3. Februar 2008, Christian-Josef Schrattenthaler wrote: > > Sorry, I am not good with stylesheets. I didn't need them, bevore I > worked with DocBook. > > I tried: > > displayviews="true" displayviewimages="true"> I am confused. Where does this element come from? This is not a v

[docbook-apps] AW: [docbook] How to get the lang-attribute in a stylesheet?

2008-02-03 Thread Christian-Josef Schrattenthaler
Hi Tom! Sorry, I am not good with stylesheets. I didn't need them, bevore I worked with DocBook. I tried: But this didn't work. Can you please give me a hint? Thanks, Christian. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 03. Febr

[docbook-apps] How to get the lang-attribute in a stylesheet?

2008-02-03 Thread Christian-Josef Schrattenthaler
Hi! I have startet to change the javahelp.xsl, to fit the version 2.0. Now I want to read the lang-attribute, I set in the Docbook file by . I can get the title with $title, but I didn't find some information about the other available variables from my DocBook file. Thanks and greetings

[docbook-apps] Footnote not shown when used under itemizedlist tag.

2008-02-03 Thread Xuan Ngo
Footnote not shown when used under itemizedlist tag. Is this a bug? I'm using FOP v0.94 and Docbook 1.73.2. Here is an example of my xml file: Book Chapter Section bla bla footnote Simple footnote.

[docbook-apps] How to center the title vertically on the titlepage?

2008-02-03 Thread Xuan Ngo
How to center the title vertically on the titlepage? I'm using FOP v0.94 and Docbook 1.73.2. thx! Xuan Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ - To unsubscribe, e-mail: [EMA