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
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
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
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
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
And not only for dedication, for every component you need...
Greetings,
Marko
Tobi
--
http://www.pinkjuice.com/
Regards,
Jens
Jens StavnstrupPhone :
Danish Defence Research
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
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
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,
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
/
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
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
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:
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
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
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
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-
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:
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
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|
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
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
Does anybody have any experience editing Docbook documents with the latest
XML-SPY 4.4 ?
Regards
Jens
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
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
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
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
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
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
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
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
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
}
...
[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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
49 matches
Mail list logo