You can see a tutorial about Ant, including the XML file here:
http://digipub.fhnon.de/~swiesner/ant.zip
Stephan
-Original Message-
From: Boos, Paul M. [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 7. Februar 2003 16:32
To: '[EMAIL PROTECTED]'
Subject: DOCBOOK-APPS: Request for Example
Hi list,
for the sytle 1.6 and FOP 0.25.RC
the page reference [113] is created for
xref linkend=gloss_MD5 endterm=gloss_MD5A/
but not for (only [] is created), as it should be
xref linkend=gloss_MD5G endterm=gloss_MD5A/
glossentry id=gloss_MD5G
glossterm id=gloss_MD5TMD5
I generate my TOC with:
xsl:param name=generate.section.toc.level select=1/
xsl:param name=generate.toc
appendix nop
article nop
book toc,title,figure,table,example
chapter toc
part nop
preface nop
qandadiv nop
qandaset nop
reference nop
section nop
set toc
I let my chapters start with a short TOC of the contents of that chapter
with:
xsl:param name=generate.section.toc.level select=1/
xsl:param name=generate.toc
appendix nop
article nop
book toc,title,example,figure,table
chapter toc,title
part toc,title
preface nop
Hi Dennis,
thanks, that works fine, though I have to adapt it for all languages...
I looked at en.xml, there the section is defined as:
l:template name=section text=Section#160;%n/
Any reason for this (Norman?), my personal oppinion is, that a reference
to a section without the title is not
Hi Norman,
and thanks, works fine for me. Tried several large documents and FOP 20.5RC
Stephan
Norman Walsh wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The fruits of a days labor. Testing, sure. Rigorously? No, probably
not what you'd call rigorous.
Thanks, Norman,
this works fine for me.
Stephan
Norman Walsh wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
/ Stephan Wiesner [EMAIL PROTECTED] was heard to say:
| Hi Norman,
| the new style doesn't work for me. I use Saxon and tried it with and
| without my adaption layer for different
Hi Tom,
I helped myself by using an para with the role 'break'. My styles insert
a page-break after this. Not too nice if I change the layout, though. I
only use this, before I give a document to the printer.
Stephan
Thomas Singer wrote:
Hello,
I'm using DocBook XML and stylesheet
Hi Norman,
the new style doesn't work for me. I use Saxon and tried it with and
without my adaption layer for different documents. I get the following
error from FOP 0.2.5RC:
r.PropertyException: No conversion defined
[ERROR] Flow 'xsl-region-body' does not map to the region-body in
Good morning Thomas,
you can use width and depth
figure id=Decission_payment_generationtitleOverview Diagram
Serving Documents/titlemediaobjectimageobject
imagedata fileref=Decission_payment_generation.gif format=GIF
width=16cm depth=22cm/
/imageobject/mediaobject/figure
In most cases, this
Is there a reason, why on the first pages of a new chapter there is no
page number displayed, when in double sided mode (XML style)? If not,
could this please be included in the next release?
I added the following line to the 'if-block' in pagesetup.xsl to make
this work.
xsl:when
Hi list,
I get an error, when I try to generate Windows Help files for a DocBook
document containing: #8482; (Trademark).
The error is:
Writing toc.hhc
Error at xsl:copy-of on line 326 of file:/c:/docbook/xsl/html/chunker.xsl:
Output character not available in this encoding (decimal 8482)
Thanks Jirka,
it works when I use
xsl:param name=htmlhelp.encodingISO-8859-1/xsl:param
and #174; (The R in a circle), not with #8482; (the TM sign), though.
I can live with that, though.
Stephan
Jirka Kosek wrote:
Stephan Wiesner wrote:
The encoding for my document is ISO-8859-1 and if I
Hi Diane,
I write webresources like this:
biblioentry id=bib_ColOnStyle
abbrevColOnStyle/abbrev
biblioset relation='internet'
title id=bib_ColumbiaOnlineStyleTColumbia Online Style/title
bibliosource id=link_ColumbiaOnlineStyle
ulink
Hi list,
I have a large document with three parts. These contain chapters, which
contain sections.
The numbering for the chapters, figures, tables, etc. Start at 1 for
each part.
When I reference (xref) a table, I get a textual representation (see
Table 1.4). In the PDF, this is linked with the
Good morning Bob and thanks. That worked fine.
Stephan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sonntag, 15. Dezember 2002 19:44
To: Stephan Wiesner; [EMAIL PROTECTED]
Subject: Re: DOCBOOK-APPS: Parts and Numbering
On Sun, Dec 15, 2002 at 11
Hi list,
Call me lazy, but I hate to group and sort my glossary. Therefore I just
put them into my document and use XSL to sort them.
Just in case anybody is interested, here it is.
Stephan
Example Glossentry:
glossentry id=gloss_OpenPGP
glossterm id=gloss_OpenPGPTOpenPGP/glossterm
Hi list,
The only way I found to label and reference programlisting elements is
to enclose them in either example or figure elements. For articles
about programming, I woul much prefer to seperate those, including a
separate TOC for my listings. The articles tend to include all three
elements.
Hi Tobias,
We use a hard page break that can be inserted wherever the author wants.
xsl:template match=para[@role='pagebreak']
xsl:apply-templates /
fo:block break-after=page#160;/fo:block
/xsl:template
This will force the authors to set a role, but you are very flexible.
You can try this one:
https://sourceforge.net/projects/swiesnerxmlgui/
Open Source and in Java. Not the one mentioned by Arno Sosna, though.
Stephan
-Original Message-
From: Roel Vanhout [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 29. November 2002 09:45
To: Arno Sosna
Cc: [EMAIL
Hi list,
I would like to get some feedback on how others actually write their
documents. And I don't mean those with one or two DocBook documents, but
those with tons of them.
Of special interest is: how do you handle stuff that reappears like
biblioentries, glossary, quotes, about the author.
http://www.dpawson.co.uk/docbook/ant.html, but didn't
understand it).
Stephan
-Original Message-
From: Ian Castle [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 28. November 2002 20:10
To: Stephan Wiesner
Cc: [EMAIL PROTECTED]
Subject: Re: DOCBOOK-APPS: Experiences as Authors
I
: Arno Sosna [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 28. November 2002 21:42
To: Stephan Wiesner; [EMAIL PROTECTED]
Subject: Re: DOCBOOK-APPS: Experiences as Authors
we use modular books, by using xinclude syntax. the physical
files contain single chapters, appendices, etc. xinclude
Hallo Peter,
You can find a German tutorial here, which will certainly help you:
http://rzserv2.fhnon.de/~lg002556/docbuch/
We (three students) are currently writing our diploma thesises in
DocBook and guess the topic: Digital Publishing. I did talk to some
publishers, like Adisson, which even
: Sonntag, 17. November 2002 20:03
To: [EMAIL PROTECTED]
Subject: Re: AW: DOCBOOK: docbook suitable for book - creation ?
On Sun, 17 Nov 2002 20:33:25 +0100
Stephan Wiesner [EMAIL PROTECTED] wrote:
Framemaker can import DocBook. So you could write it in
DocBook and do
the final
I have added a chapter to my tutorial. It is in German, though.
http://rzserv2.fhnon.de/~lg002556/docbuch/#chap_Slides
Stephan
-Original Message-
From: Norman Walsh [mailto:ndw;nwalsh.com]
Sent: Dienstag, 12. November 2002 21:15
To: Mário Filipe
Cc: Docbook
Subject: DOCBOOK:
Well, I don't have a real solution, but I too would be very intersted in
it. My personal solution is not to use them at all, but that is not
exactly a nice one...
Stephan
-Original Message-
From: [EMAIL PROTECTED] [mailto:bobs;caldera.com]
Sent: Dienstag, 12. November 2002 22:13
In short, the appendix/ tag should be used for things other
than indices, glossaries, bibliographies, etc. If you markup
a glossary inside an appendix, it its the glossary for the
appendix, not for the larger document.
Well, if I open any nonfiction book from my board, I find exactly
Hi list, some days ago, I asked around if someone had an adaption for a
fixed rule for biblioentries. This didn't seem to be of much interest,
but nevertheless, here is my solution.
It is not as flexible as the default, but, if properly applied, the
result is always the same, no matter how the
Hi list,
Last week I asked whether anybody had done something like notes at the
border of the text, but got not replies. Maybe I didn't express myself
clearly enough? Anyway, here it is.
I have attached an example PDF and the corresponding XML and XSLT.
I use a format of
xsl:param
. November 2002 13:34
To: Stephan Wiesner
Cc: [EMAIL PROTECTED]
Subject: DOCBOOK-APPS: Re: Bibliography: Fixed rules (Chicago
Manual of Style)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[ Follow-ups to docbook-apps, please ]
/ Stephan Wiesner [EMAIL PROTECTED] was heard to say
In July 2002 Norman told me to reference biblioentries like this
...
| biblioentry id=walsh97
^
| abbrevWalsh97/abbrev
...
see xref linkend=walsh97
...
To generate see [Walsh97]. And this worked.
Now, however it doesn't anymore.
I have the following
).
Stephan
-Original Message-
From: Stephan Wiesner [mailto:stephan;stephan-wiesner.de]
Sent: Dienstag, 5. November 2002 15:58
To: [EMAIL PROTECTED]
Subject: DOCBOOK-APPS: RE: How to reference a biblioentry
In July 2002 Norman told me to reference biblioentries like
Hi list,
I want to use appendixes, but somehow it seems I got something wrong.
Here is an example:
appendixtitleMyIndex/title
para/para
index/
/appendix
I have to define the title to get something more than just the letter
A displayed in the TOC. The index automatically creates a title
index,
Hi list,
The style contains the following (fo/biblio.xsl):
xsl:when test=local-name($node/child::*[1]) = 'abbrev'
Is there a reason for this?
It results in the abbrev value being displayed as the first element of
the corresponding entry in the bibliography section only when it is
written as
Hi List,
I need to reference articles. I started with the example from the
DocBook book and adapted it. I have included the example and the
resulting PDF in this mail.
Has anybody an adaption for this, or am I just doing it wrong?
One magazine and two articles would look like this:
biblioentry
this: [DocBook: The
Definitive Guide][1],
as I referenced the title explicitly.
Stephan Wiesner
?xml version=1.0 encoding=ISO-8859-1 standalone=no?
!DOCTYPE book SYSTEM file:///C:/x/saxon/dtd/docbookx.dtd
?xml-stylesheet type=text/xsl href=C:/x/docbookxsl/old/html/docbook.xsl ?
!--DOCTYPE book
.
Any comments on this?
Stephan Wiesner
style. Could this be included in the styles, please? Or should I use
something else, like ulink?
Stephan Wiesner
.
Stephan Wiesner
This is just omited by the style. Surely something I could include in my
personal adaption of the style, but I would think this to be a feature
used by more than just me?
Stephan Wiesner
Hi list,
I want to automate the process of generating a preview document. For the
HTML version this is very simple, I just enter the following XSLT into
my master style.
xsl:template match=chapter
xsl:if test=id='chap_preview'
xsl:apply-templates /
/xsl:if
!-- else
I want to generate my documents with notes on a broad border on the
outer side of the pages, like in many books. Notes, Tips, etc.
However, I don't have the slightes idea how to do this.
A connected problem is, that I can't get FOP to render the documents for
two pages (double.sided=1). I just
2002 16:17
To: Stephan Wiesner
Cc: [EMAIL PROTECTED]
Subject: Re: FW: The id N400036F already exists in this document
/ Stephan Wiesner [EMAIL PROTECTED] was heard to say:
| I posted a problem with ids earlier today and have since tried to
| solve it with some help from the FOP list. Here
,
when I change the format to DIN A5, resulting in more pages, the error
occurs.
Stephan
-Original Message-
From: Stephan Wiesner [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 10. Oktober 2002 08:15
To: [EMAIL PROTECTED]
Subject: RE: DOCBOOK-APPS: XSL 1.56.1: The id N400036F
already
Hi list,
I have made a Java GUI available that combines FOP and iText to ease the
process of creating PDF and HTML output. The iText libraries allow the
encryption of PDFs and features like allow/disallow printing and
copying.
Nothing special, but I find it quite usefull to have something to
it to your CLASSPATH environment variable.
/para
/answer
/qandaentry
-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 10. Oktober 2002 22:09
To: [EMAIL PROTECTED]
Subject: Re: The id N400036F already exists in this document
Stephan Wiesner wrote
Hi list,
I get this error message from FOP 20.4 (with Xalan under Windows XP):
The id N400036F already exists in this document
This happens only with the new XSL release, 1.55 worked fine. And, it
happens only with large documents. 60 pages seems to be the magic number
of pages.
Sounds like a FOP
done);
return new PdfReader(fopout.toByteArray());
}
Stephan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 10. Oktober 2002 07:58
To: Stephan Wiesner; [EMAIL PROTECTED]
Subject: Re: DOCBOOK-APPS: XSL 1.56.1: The id
I use abbrev in conjunction with biblio elements. In my oppinion, it
is not intended as standalone.
Stephan
biblioentry id=biblio_GoF
abbrevGoF/abbrev
titleDesign Patterns/title
subtitleElements of Reusable Object-Oriented Software/subtitle
author
Hi list,
I solved the problem with y programlisting, which got aligned right in
the PDF output.
I just added 'text-align=left' in the fo/verbatim.xsl like below. This
works for me with FOP.
fo:block wrap-option='no-wrap'
white-space-collapse='false'
Hi list,
I want to adapt the default style to generate output specific to my
needs. Of course I don't want to adapt the originals and merge everytime
a new release is published.
So, as I suppose this is quite common, how do you go about it?
Stephan
Hi Matt,
-Original Message-
From: Matt G. [mailto:[EMAIL PROTECTED]]
Sent: Montag, 23. September 2002 08:19
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: DOCBOOK-APPS: Re: Annotations Tags
If you *really* want to keep the author info coupled to each
remark, you
Hi list,
When I write my programlisting slike below they are formated as expected
in HTML, but the FO (using FOP) is right aligned. This is not exactly
easy to read .-) Any hints for this?
programlisting id=code_01 linenumbering=numbered
classnameExtracting Meta information with XSLT/classname
Hi Arno,
This is clearly a solution, though I loose the logical meaning. I like
to use style sheets that can generate documents with 'only exercises' or
'only solutions' or 'whole document 'without annotations'. For this I
like to use special tags to mark my meaning.
Stephan
hello,
i use
You can use comment prior to docbook 4.0 or remark after
4.0. You can control whether these get printed by using
Thanks, this helps me a lot. I still need to place the date of the
remark, though. Can't find a way to do this, though :-(
STephan
Hi Kevin and thanks for the advice.
highlights is okay for my 'goals', though I will have to adapt the
style as this is not marked in the output at all.
abstract I already use, so this I can't take.
For the exercises I will try to work with qandaset, as this fits best.
I am still loking for a
you've been looking for.
Take a look at the webiste at http://www.myrnham.co.uk/ - there are a
couple of downloads you can try out.
Let me know if you have any questions...
Mart
Stephan Wiesner [EMAIL PROTECTED]
22/09/02 06:54
To: [EMAIL PROTECTED]
cc
for
this structuring.
I am now translating my documents into docbook and didn't find anything
similiar to this. Which tags should I use for this?
Stephan Wiesner
Hi list, another tag, I can't find :-)
My documents contain annotations entered by readers. They have a
mailadress, a name, date and some text. Which docbook tag might I use
for them? Note is not good, as I use this a lot.
Stephan
I dare hardly ask, but here is another one:
I have examples to underline something and then I have exercises,
intended to be executed by the reader. Of course I have FAQs also.
Again my question: Wich tags best to use?
Stephan
Ah, one stupid question, how do I use the thing? I mean I can't just use
it instead of fop/doocbook.xsl, so what am I to do?
Stephan
Hi Robert,
You can use any tool that can transform (at least) one of the default
styles.
A example in Java is:
http://rzserv2.fhnon.de/~lg002556/swiesnerxmlgui.html
You can type in your favorite editor and view the transformed PDF/HTML
in your favorite viewer...
Stephan
-Original
Hi I try to figure out how to reference a biblioentry from the text.
I understand that a biblio set can be generated like this:
biblioentry
abbrevWalsh97/abbrev
. . .
This would create something like the folllowing:
[Walsh97] XML: Principles, Tools, and Techniques. Associates, Inc..
64 matches
Mail list logo