Re: [docbook-apps] Numbered paragraphs

2014-08-01 Thread Jens Stavnstrup
Hi Richard Have used this solution for many years. Note the parameter $use.para.numbering, which have to be defined or removed. Regards Jens xsl:template match=chapter/para |appendix/para |sect1/para |sect2/para

[docbook-apps] Hypenation in narrow columns (fo stylesheet)

2009-12-15 Thread Jens Stavnstrup
Hi All FOP generated PDF with FOP 0.95 or newer do not hyphenate properly when transforming the enclosed DocBook file containing tables with narrow column. When translating the enclosed file with the plain fo/docbook.xsl (DocBook XSL 1.75.2) and subsequently with FOP 0.20.5 and FOP 0.95 (or

[docbook-apps] Re: Hypenation in narrow columns (fo stylesheet)

2009-12-15 Thread Jens Stavnstrup
In the enclosed file, the the root element is missing the attribute lang. The start tag should of course be article lang=en ... However, adding this tag have no effect. Regards Jens On Tue, Dec 15, 2009 at 7:24 PM, Jens Stavnstrup stavnst...@mil.dk wrote: Hi All FOP generated PDF with FOP

Re: [docbook-apps] Metadata in FO?

2008-02-05 Thread Jens Stavnstrup
Well, FOP Trunk supports XMP sort of according to http://wiki.apache.org/xmlgraphics-fop/HowTo/XMP otherwise you can e.g. use iText to postprocess the the PDF document, see documentation on http://xmlgraphics.apache.org/fop/0.94/output.html#pdf N.B the later technique also works for fop

Re: DOCBOOK-APPS: FOP: boomarks don't work well

2003-02-07 Thread Jens Stavnstrup
to the raw e-mail. See : http://sources.redhat.com/ml/docbook-apps/2003-q1/msg00249.html Regards Jens On Thu, 6 Feb 2003, Marko Petersen wrote: At 12:05 06.02.2003 +0100, Jens Stavnstrup wrote: BTW: the semicolons need to be removed from your XSLT: Don't know where the semicolons came

Re: DOCBOOK-APPS: FOP: boomarks don't work well

2003-02-06 Thread Jens Stavnstrup
And not only for dedication, for every component you need... Greetings, Marko Tobi -- http://www.pinkjuice.com/ Regards, Jens Jens StavnstrupPhone : Danish Defence Research

Re: DOCBOOK-APPS: FOP: boomarks don't work well

2003-02-06 Thread Jens Stavnstrup
really have a NW-DBK2FO-XSLT project, but rather a DocBook XSL stylesheet projekt :) Regards, Jens On Thu, 6 Feb 2003, Tobias Reif wrote: Jens Stavnstrup wrote: For another solution, se my mail to the DocBook-Apps list on Jan 20, 2003 You mean I should transform the FO with the XSLT

Re: DOCBOOK-APPS: FOP: boomarks don't work well

2003-02-06 Thread Jens Stavnstrup
On Thu, 6 Feb 2003, Tobias Reif wrote: Jens http://lists.oasis-open.org/archives/docbook-apps/200301/msg00251.html Bookmarks work now AFAICS, thanks :) (I'm also using Saxon and FOP 0.20.4.) Good BTW: the semicolons need to be removed from your XSLT: Don't know where the

Re: DOCBOOK-APPS: DocBook XSL 1.59.2 results fail with Fop 0.20.3(Was: Suppressing...)

2003-01-22 Thread Jens Stavnstrup
FOP does not suppot relative column-width. Your problem is properly related to the header/footer definition in the stylesheets, You need to translate the 33% to a e.g. 4cm or smething like that. Alternatively, you can overwrite the stylesheet templates header.table and footer.table templates,

RE: DOCBOOK-APPS: DocBook XSL 1.59.2 results fail with Fop 0.20.3(Was: Suppressing...)

2003-01-22 Thread Jens Stavnstrup
of the FO specification. Use fo:column column-width=proportional-column-width(1)/ for all three columns. -Original Message- From: Jens Stavnstrup [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 9:57 AM To: Steinar Bang Cc: [EMAIL PROTECTED] Subject: Re: DOCBOOK-APPS

Re: DOCBOOK-APPS: FOP bookmarks vs PassiveTex bookmarks

2003-01-20 Thread Jens Stavnstrup
/ N.B. Remember to attach the namespace declaration xmlns:saxon=http://icl.com/saxon; to your stylesheet element If you are using Xalan, you can use the Xalan pipeDocument extension. See also http://xml.apache.org/xalan2/docs/extensionslib.html Copyright (c) 2002, Jens Stavnstrup

Re: DOCBOOK-APPS: FOP bookmarks vs PassiveTex bookmarks

2003-01-20 Thread Jens Stavnstrup
On Mon, 20 Jan 2003, Jens Stavnstrup wrote: Tilly, Your problem is caused by the fact, that FOP does accept page-id from page-sequences, which Norm generate (This is obvious a FOP bug). Well the issue is actually, that FOP does NOT accept page-id from page-sequences. So what I do

Re: DOCBOOK-APPS: Re: Announce: DocBook XSL Stylesheets V1.59.1

2003-01-19 Thread Jens Stavnstrup
I would also think it is a fop bug. Works fine with XEP. On the otherhand, allthough it does not work in FOP (Filed a report in Nov 2002 to the apache-fop list # 14809), FOP 0.20.5rc does not complain as reported by others Regards, Jens On Sun, 19 Jan 2003, Norman Walsh wrote:

DOCBOOK-APPS: PROPOSAL: Putting text on blank pages

2002-11-24 Thread Jens Stavnstrup
Norm, In my working environment, it is often required that blank pages are not so blank. I.e. we frequently put the following line This page is intentionally left blank. on blank pages. Here is the required modification to the stylesheets, if you choose to add it: Add the following attributes

DOCBOOK-APPS: Stylus Studio 4.5

2002-11-13 Thread Jens Stavnstrup
it support all of XSLT now, so I can debug the XSLT stylesheets ? Regards, Jens Jens StavnstrupPhone : Danish Defence Research Establishment Voice : + 45 - 39 15 17 97 Ryvangs Alle 1 - P.O

DOCBOOK-APPS: When to use fo/component.xsl

2002-11-13 Thread Jens Stavnstrup
In the book DocBook: The Definitive Guide, components are defined as the chapter-like elements of a book. Among these elements are preface, chapter, appendix and bibliography etc. When a book is processed, the template component.title in fo/component.xsl is called to generate the titlepage

RE: DOCBOOK-APPS: XInclude support in Saxon and Xalan

2002-10-10 Thread Jens Stavnstrup
Have look at Elliotte Rusty Harolds Xinclude project at http://xincluder.sourceforge.net Regards Jens On Thu, 10 Oct 2002, Jeff Beal wrote: I'm working on that in my spare time. I've gotten some very basic XIncludes to work, but nothing extravagant. Jeff -Original Message-

Re: DOCBOOK-APPS: FO customization doc available

2002-10-09 Thread Jens Stavnstrup
Joachim, With wget everything is possible. But I guess you wonder, if Bob knows how to make a XSL-FO stylesheet, so you can get a nice PDF file ? Regards Jens On Wed, 9 Oct 2002, Joachim Ziegler wrote: Am Mittwoch, 9. Oktober 2002 10:26 schrieb Bob Stayton: You can browse it all at:

Re: DOCBOOK-APPS: Compiled HTMLHelp

2002-10-09 Thread Jens Stavnstrup
On Wed, 9 Oct 2002, Nicholas Atkinson wrote: I can sucessfully create Windows Compiled HTML Help with the v 1.45 stylesheets, but am getting loads of errors with the v 1.55 stylesheets. Has anyone else had this? Is there some key gotcha I'm not aware of? nik Properly, Jiri have

DOCBOOK-APPS: Indent in table cells

2002-09-18 Thread Jens Stavnstrup
Looking for a quick solution. I need to indent cntents in table cell, and am looking for a better way. --- | Normal | --- | Indent 1 | | some more | | text | --- |Indent 2 | |and some | |more text|

DOCBOOK-APPS: Increase default number of pagesequence masters/RFE

2002-06-12 Thread Jens Stavnstrup
In a typical scenario, when using the book element as root to generate FO pages. Pagemaster sequences are typical selected by e.g. the named template pagesetup.xsl/select.doublesided.pagemaster, where one of two page-sequence-masters choices are returned either titlepage1 or twoside1. The

Re: DOCBOOK-APPS: customized HTML-Layout of output files

2002-06-12 Thread Jens Stavnstrup
Joachim, First of all you don't wan't ever to modify Norms stylesheets, but rater write you own customized stylesheet, which may modify some of the default behaviour. What you basically need is to write a number html frames (top, left, buttom html pages). The empty area could then be a chunked

DOCBOOK-APPS: XML-SPY 4.4

2002-06-10 Thread Jens Stavnstrup
Does anybody have any experience editing Docbook documents with the latest XML-SPY 4.4 ? Regards Jens

Re: DOCBOOK-APPS: OpenOffice = DocBook

2002-05-16 Thread Jens Stavnstrup
Mike, Yep, found something leass than a hour ago. Early draf to Simplified DocBook. It use Python (using UNO to acces the file) + Saxon and some XSLT script. My only problem, is that the documentation is in french: http://www.chez.com/ebellot/ooo2sdbk/ Regards Jens On Thu, 16 May

Re: DOCBOOK-APPS: OpenOffice = DocBook

2002-05-16 Thread Jens Stavnstrup
around is more complicated due to the streambased oriented nature of the OO XML file format. Regards Jens On Thu, 16 May 2002, Jens Stavnstrup wrote: Mike, Yep, found something leass than a hour ago. Early draf to Simplified DocBook. It use Python (using UNO to acces the file) + Saxon

DOCBOOK-APPS: Re: DOCBOOK: DocBook Editor?

2002-04-25 Thread Jens Stavnstrup
box crashed, I would have, hold a minute..., exactly $3.68. pub 1024D/7AB2D05A 2002-02-24 Sumit Dhar (Sumit Dhar, SLMSoft.com) Key fingerprint = 4A18 D20D 3D15 6C5B CD2F 8E45 B903 0C29 7AB2 D05A Jens Stavnstrup

Re: DOCBOOK-APPS: Beginners Q. Centering chapter titles

2002-03-21 Thread Jens Stavnstrup
Andy, Welcome to the scary world of title-page templates, which according to Norm is the right way to do it. My first impression was that it was to wierd, but it is a tremendious efficient tool, that is yoing to save you a lot of time and increase your control over formatting issues. Beside

Re: DOCBOOK-APPS: Choosing a characterset for DocBook

2002-03-15 Thread Jens Stavnstrup
On Fri, 15 Mar 2002, Christopher R. Maden wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 At 01:52 AM 3/15/02, Jens Stavnstrup wrote: The editing have been done on a Unix platform with Emacs. Occasionally, when copying text from a word document, Saxon protests (actually Aelfred

Re: DOCBOOK-APPS: Choosing a characterset for DocBook

2002-03-15 Thread Jens Stavnstrup
On Fri, 15 Mar 2002, Jirka Kosek wrote: Jens Stavnstrup wrote: Now I am going to release my colleague on the document. They are going to use a myriad of windows editors (Word, Notepad, etc in different language versions), and I predict this is going to cause a lot of problems. Does

Re: DOCBOOK-APPS: Choosing a characterset for DocBook

2002-03-15 Thread Jens Stavnstrup
On Fri, 15 Mar 2002, Christopher R. Maden wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 At 02:58 AM 3/15/02, Jens Stavnstrup wrote: On Fri, 15 Mar 2002, Christopher R. Maden wrote: 1) Do all of your entities (i.e., files) have encoding declarations? What are they? Remember

Re: DOCBOOK-APPS: Choosing a characterset for DocBook

2002-03-15 Thread Jens Stavnstrup
On Fri, 15 Mar 2002, Jirka Kosek wrote: Jens Stavnstrup wrote: If your documents will contain a lot of character outside of ISO Latin 1 or ASCII using UTF-8 is best choice, assuming that all editors used can deal with UTF-8. Not really, the problem is basically, that Word

DOCBOOK-APPS: On creating PDF bookmarks

2002-03-08 Thread Jens Stavnstrup
When creating FO files with the bookmarks function enabled. Everything appears to work after transforming the fo files to pdf with FP 0.20.3 But, for some strange reasons all bookmarks to chapters/appendixes does not work, allthough bookmarks to sections works just fine. I also transformed

Re: DOCBOOK-APPS: On creating PDF bookmarks

2002-03-08 Thread Jens Stavnstrup
} ... [snipped!!] -- Jens StavnstrupPhone : Danish Defence Research Establishment Voice : + 45 - 39 15 17 97 Ryvangs Alle 1 - P.O. Box 2715Fax : + 45 - 39 29 15 33 DK - 2100

DOCBOOK-APPS: Context dependent styling of footnotes

2002-03-04 Thread Jens Stavnstrup
This might be strictly FOP related, but I report it anyway Using DocBook XSL (148) and (149) footote styles are context dependent This means, that fottnotes generated, when using a normal, bold og italic style also are normal, bold or italic Adding an extra attribute to the the footnote

Re: DOCBOOK-APPS: Context dependent styling of footnotes

2002-03-04 Thread Jens Stavnstrup
I was using 0.20.3rc2, have not yet tested with 0.20.3 Regards Jens On Mon, 4 Mar 2002, Jeff Rancier wrote: What version of FOP are you using? Jeff - Original Message - From: Jens Stavnstrup [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 04, 2002 4:30 AM Subject

DOCBOOK-APPS: Multiple Bugs in 1.49

2002-02-23 Thread Jens Stavnstrup
Found a couple of bugs in XSL 1.49: - Footnotes in HTML sheets is generated twice: [1] [1] some footnote Maybe this is related to extended memory requirements when translating a large document to HTML. - Bugs in FO implemenation of emphasis with role=bold. Text is generated

DOCBOOK-APPS: fop.xsl 1.3 from CVS

2002-02-09 Thread Jens Stavnstrup
Jens StavnstrupPhone : Danish Defence Research Establishment Voice : + 45 - 39 15 17 97 Ryvangs Alle 1 - P.O. Box 2715Fax : + 45 - 39 29 15 33 DK - 2100 Copenhagen O.E-Mail (Internet) : Denmark

RE: DOCBOOK-APPS: RE: DOCBOOK: Problems creating pdf file of tdg

2002-02-08 Thread Jens Stavnstrup
Try www.antennahouse.com (Win32 ony), and also quite expensive ! Regards Jens On Fri, 8 Feb 2002, Kraa de Simon wrote: I tried an evaluation version XEP from RenderX and it did a very good job converting XSL FO to PDF. It's a bit too expensive for me ($5000 for single CPU) so I'm

DOCBOOK-APPS: Alterntiv ToC with XSL-FO ?

2002-02-07 Thread Jens Stavnstrup
When generating the Table of Contents, the XSL 1.48 (FO) stylesheets uses the element fo:last-line-end-indent, which currently is not implemented in fop 0.20.3rc. Does anybody out there have a customized template, that generate NICE toc, withouth the use of this element ? Regards Jens

DOCBOOK-APPS: RE: DOCBOOK: Problems creating pdf file of tdg

2002-02-06 Thread Jens Stavnstrup
Simon, It is no wonder, that you can't compile the TDG, and don't expect to be able to untill Norm releases it officially. I would guess, that you have to do some magic, before you can translate the stuff. I realized this, when I tried to check out the XSL-Stylesheets from the CVS. Norm

DOCBOOK-APPS: Chunked documents inside frames

2002-02-04 Thread Jens Stavnstrup
Allthough, I agree in principle, that the use of frames is a huge sin. When frames are required, it would be nice to have some control over the target attribute in the HTML element a. otherwise we will risk the effect of cascaded frames. This could be done by creating an empty template in

Re: DOCBOOK-APPS: Chunked documents inside frames

2002-02-04 Thread Jens Stavnstrup
On Mon, 4 Feb 2002, Jens Stavnstrup wrote: Allthough, I agree in principle, that the use of frames is a huge sin. When frames are required, it would be nice to have some control over the target attribute in the HTML element a. otherwise we will risk the effect of cascaded frames

Re: DOCBOOK-APPS: Chunked documents inside frames

2002-02-04 Thread Jens Stavnstrup
On Mon, 4 Feb 2002, Bob Stayton wrote: Bob, Thanks On Mon, Feb 04, 2002 at 10:53:43AM +0100, Jens Stavnstrup wrote: Allthough, I agree in principle, that the use of frames is a huge sin. When frames are required, it would be nice to have some control over the target attribute

DOCBOOK-APPS: Request for ORIENT attribute in fo

2002-01-28 Thread Jens Stavnstrup
When looking at the XSL stylesheets (1.48), I noticed that the table attribute orient seems not to be implemented in the FO stylesheets. Which means, that it is not possible to create tables using landscape orientation. The XSL REC seems not to have such a facility, but it might be possible

Re: DOCBOOK-APPS: Request for ORIENT attribute in fo

2002-01-28 Thread Jens Stavnstrup
On Mon, 28 Jan 2002, Jens Stavnstrup wrote: Besides the fo-simplae-page-master, we should properly also define a fo:repeatable-pagemater-reference, since whenever we need to create a table in landscape mode, it very often fills multiple pages. Regards Jens When looking at the XSL

Re: DOCBOOK-APPS: Re: Empty cells using FO stylesheets

2002-01-25 Thread Jens Stavnstrup
Norm, Thank, but I already tried that(i.e. removed the block which generates the e(,) text). I couln't see any change to the CVS, so maybee I missed something. The major problem is that somehow the info on col- and row sep are lost. If I have defined a table with two columns, the following

DOCBOOK-APPS: Empty cells using FO stylesheets

2002-01-17 Thread Jens Stavnstrup
When a table with the following rows are rendered using the HTML stylesheets (1.48), everything looks great. The same table gives strange a strange result, allthough perfectly legal construct.! row entryA/entryentryB/entry /row row entryC/entry /row The empty cell will

Re: DOCBOOK-APPS: SGML (and XML) for NT (was: Again: Apache FOP,Docbook: Features / Versions,complete Docbook distribution)

2002-01-16 Thread Jens Stavnstrup
Robert, Antenna-house are releasing a XSL-FO (Win32 only) processor these days.. See: http://www.antennahouse.com Unfortunately the pricetag prevents its use in wider circles. Jens On Wed, 16 Jan 2002, Robert Collins wrote: Hi Markus, I found your SGML site invaluable when I

Re: DOCBOOK-APPS: Re: DocBook tables and FOP

2001-11-16 Thread Jens Stavnstrup
I am still a little confused about this issue. I have turned on the parameters use.extensios, tablecolumns.extension and set the parameter default.table.width, but no do. My parammeters in colspec colwidth=17* , which I would expect to be 17% of 6 inches, but norms stylesheets (1.45) writes