Re: [docbook-apps] Docbook XML and Catalog

2010-11-11 Thread Dave Pawson
On Fri, 12 Nov 2010 09:52:44 +0530 "SriKrishnan" wrote: > Hi Dave Pawson, > > I am frankly saying I don't know anything about Java, Saxon and FOP. > Now only I am trying to learn these for the purpose of generating PDF > from the XML source. atalog option for saxon? One more thing.You need to

Re: [docbook-apps] Docbook XML and Catalog

2010-11-11 Thread Dave Pawson
On Fri, 12 Nov 2010 09:52:44 +0530 "SriKrishnan" wrote: > Hi Dave Pawson, > > I am frankly saying I don't know anything about Java, Saxon and FOP. > Now only I am trying to learn these for the purpose of generating PDF > from the XML source. > > Now I am reading "DocBook XSL: The Complete Guide

RE: [docbook-apps] Docbook XML and Catalog

2010-11-11 Thread SriKrishnan
Hi Dave Pawson, I am frankly saying I don't know anything about Java, Saxon and FOP. Now only I am trying to learn these for the purpose of generating PDF from the XML source. Now I am reading "DocBook XSL: The Complete Guide, 4th Edition". In this on page 92 of 723, there is a sample coding. In

Re: [docbook-apps] Centering Tables in Print with Fop 1.0

2010-11-11 Thread Tom Browder
On Thu, Nov 11, 2010 at 16:53, deannelson wrote: > Tom > Here is an adjusted version that triggers only when "align" is used on the > table. This has some peculiarities when processed with FOP 1.0. > > I would suggest that you use fixed column widths and not proportional in the > XML tables becaus

Re: [docbook-apps] Centering Tables in Print with Fop 1.0

2010-11-11 Thread deannelson
Tom Here is an adjusted version that triggers only when "align" is used on the table. This has some peculiarities when processed with FOP 1.0. I would suggest that you use fixed column widths and not proportional in the XML tables because proportional is not quite right in FOP when used in a ta

Re: [docbook-apps] Docbook XML and Catalog

2010-11-11 Thread Dave Pawson
On Thu, 11 Nov 2010 14:05:05 +0530 "SriKrishnan" wrote: > Hi Dave Pawson, > > As per your suggestion I have downloaded saxon 6.5.5. In this case the > following error appears > > F:\ADVENT\APP\xslf0_samples\DOCBOOK-samples\completed>java -cp > "C:/saxon/saxon.jar;C:/docbook-xsl-1.76.1-RC2/exten

Re: [docbook-apps] acronyms, abbreviations, definitions

2010-11-11 Thread Dave Pawson
On Thu, 11 Nov 2010 11:59:07 +0100 Nathalie Sequeira wrote: > Hello Dave, > > thank you for the reassuring feedback :) > > Since docbook has no 'proper' expansion of an acronym, I've used the > > universal phrase with a condition? > > > After pondering this a bit, I do understand why you'd q

Re: [docbook-apps] add ulink to imageobject

2010-11-11 Thread Bob Stayton
Hi Martin, The following is valid and works in HTML output: Figure http://www.sagehill.net";> caption Are you trying to get this to work in PDF output? I've found that graphical links work with some XSL-FO processors and not others. But that would be an issue with the XS

RE: [docbook-apps] removing elements and attrs from

2010-11-11 Thread Cramer, David W (David)
Yes, I like the idea of no ids on titles. For the remarks in titles, I'll leave that to someone who knows relaxng better than I do, but maybe a schematron rule would be easier? Or if you are willing to preprocess the document before handing it off to LaTeX, you could just move any s to immedia

Re: [docbook-apps] removing elements and attrs from

2010-11-11 Thread Mike Maxwell
On 11/11/2010 1:44 AM, Cramer, David W (David) wrote: Interesting idea about removing xml:id from titles. Try the following: ... That seems to work...not sure if it's the best/easiest way. Yes, that gets rid of the xml:id attr in titles. Thanks! I think to remove remark you just add the fol

RE: [docbook-apps] Olink logic between different trunk/branches folders of documentation (several projects)

2010-11-11 Thread Eduard Tibet
Bob, Sam, thanks for the ideas, you have brought about 1 month ago! I've finally created the complete solution for using the olinks in my usecase. If anyone interested in it, I include the concept of it (look at the following text). So, the initial structure was: /doc - mars -- trunk (mars_u

AW: [docbook-apps] Programlising question

2010-11-11 Thread Speights, Scott
Hi Bob, The attribute set tip was correct. The conflict was caused because my programlistings were nested inside of sidebars. As always, many thanks. Best, Scott Von: Bob Stayton [mailto:b...@sagehill.net] Gesendet: Mittwoch, 10. November 2010 17:57 An: Speights, Scott; doc

Re: [docbook-apps] acronyms, abbreviations, definitions

2010-11-11 Thread Nathalie Sequeira
Hi Larry, The advantage of storing it centrally in the glossary is that the expansion doesn't have to be added to every instance of the acronym (while convention says it only needs to be expanded at "first occurrence," in electronic media, determining the "first occurrence" for a reader can b

[docbook-apps] Centering Tables in Print with Fop 1.0

2010-11-11 Thread Tom Browder
I have no problems now for tables spanning the print width, nor with tables of any width in html. But I need to center less-than-page-width tables in print. I have used Bob Stayton's xsl fo chunk on p. 474 as a start to try to get my narrow tables centered in print. Here is my current version:

[docbook-apps] add ulink to imageobject

2010-11-11 Thread Martin Guetlein
Hi All, How can I add a link to an imageobject? (I found an old blog post that did not work for me: http://www.mail-archive.com/docb...@lists.oasis-open.org/msg03316.html) Example code on how I use imageobject is below. I tried to add 'ulink' at all possible levels, without success. Thanks in ad

Re: [docbook-apps] acronyms, abbreviations, definitions

2010-11-11 Thread Nathalie Sequeira
Hello David, I once started to implement an acronym expanding xslt with the idea that I could write TLA and have the first occurrence automatically be expanded to "TLA (Three Letter Acronym)". Things were going fine till I hit "GNU" and ended up with GNU (GNU (GNU (...) is not Unix) is not Un

Re: [docbook-apps] acronyms, abbreviations, definitions

2010-11-11 Thread Nathalie Sequeira
Hello Dave, thank you for the reassuring feedback :) Since docbook has no 'proper' expansion of an acronym, I've used the universal phrase with a condition? After pondering this a bit, I do understand why you'd qualify the phrase with an attribute: it's not just any old phrase, but a phrase

RE: [docbook-apps] Docbook XML and Catalog

2010-11-11 Thread SriKrishnan
Hi Dave Pawson, As per your suggestion I have downloaded saxon 6.5.5. In this case the following error appears F:\ADVENT\APP\xslf0_samples\DOCBOOK-samples\completed>java -cp "C:/saxon/saxon.jar;C:/docbook-xsl-1.76.1-RC2/extensions/ saxon65.jar;C:/xml-commons-resolver-1.2/resolver.jar;C:/fop-1.0/"

AW: [docbook-apps] Programlising question

2010-11-11 Thread Speights, Scott
Hi, My programlistings are not inside example elements but they are inside other block elements - most notably, para and sidebar. I'll do some further testing and post the results. Thanks All. Scott Von: Bob Stayton [mailto:b...@sagehill.net] Gesendet: Mittwoch, 10. November 2010 1