Re: [docbook-apps] Bug fix for xslt stylesheets (manpage format)

2023-01-06 Thread Erik Leunissen
On 1/3/23 18:13, Bob Stayton wrote: Thanks for this patch.  I've submitted it as a new issue to the Issue Tracker for the DocBook xslt10 stylesheets on Github. Thanks for taking care of that (and all other things related to docbook xsl b.t.w.). Erik Leunissen. -- Bob Stayton On

[docbook-apps] Bug fix for xslt stylesheets (manpage format)

2022-12-21 Thread Erik Leunissen
ising alignment of the text. [*] I'm using XMLmind XML Editor Sincerely, Erik Leunissen - tbl.xsl.orig 2018-02-19 22:22:59.0 +0100 +++ tbl.xsl.fix 2022-12-21 10:55:34.0 +0100 @@ -56,7 +56,7 @@ - .TS + .TS

Re: [docbook-apps] Docbook to docx

2016-04-07 Thread Erik Leunissen
internet to convert pdf to word xml (or 2b: does MS Word import PDF? I don't know). Greetings, Erik Leunissen. -- Basically the article has sections (nested), title, para, imageobjects, and lists.. tables would be a plus. Would be ok with a subset but a plus if one can map a tag to a

Re: [docbook-apps] Recommended docbook element for a "Problems section"

2016-01-11 Thread Erik Leunissen
On 11/01/16 08:47, Thomas Schraitle wrote: I fear, there is no dedicated element for a "problems" section. However, you can try the label attribute and set it to an empty value. It is there to influence the section numbering. Not sure if this is what you want. On the other side, the best appro

[docbook-apps] Recommended docbook element for a "Problems section"

2016-01-10 Thread Erik Leunissen
In case it matters: my processing toolchain is: docbook5 XML | xsltproc | fop | pdf I'd appreciate very much any suggestions, Erik Leunissen. -- - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

Re: [docbook-apps] A docbook-xsl parameter "bridgehead.renderas"

2015-03-13 Thread Erik Leunissen
ded to the docbook-xsl project as a basis for a patch, at their discretion. And to everybody to use at liberty. Greetings, Erik Leunissen. -- Best regards, Dick Hamilton --- XML Press XML for Technical Communicators http://xmlpress.net hamil...@xmlpress.net On Mar 13, 2015, at 10:58, Er

[docbook-apps] A docbook-xsl parameter "bridgehead.renderas"

2015-03-13 Thread Erik Leunissen
ndles this at at the document level. The docbook-xsl stylesheets do not currently provide such a facility. Well, I guess that amounts to a Feature Request ... Anything wrong with this idea? Greetings, Erik Leunissen. [*] I'm producing PDF output using docbook-xsl -

[docbook-apps] Solved [was Problem customizing appendix title (for PDF)]

2015-03-09 Thread Erik Leunissen
On 09/03/15 18:08, Erik Leunissen wrote: On 08/03/15 22:29, Erik Leunissen wrote: ... So the text "Bijlage" is to be prepended to the appendix number. ... Such prepended text doesn't even I show up in my output if I apply just the stock stylesheets without any customizatio

Re: [docbook-apps] Problem customizing appendix title (for PDF)

2015-03-09 Thread Erik Leunissen
On 08/03/15 22:29, Erik Leunissen wrote: ... So the text "Bijlage" is to be prepended to the appendix number. ... Such prepended text doesn't even I show up in my output if I apply just the stock stylesheets without any customization at all. Am I right that prepending text,

Re: [docbook-apps] Problem customizing appendix title (for PDF)

2015-03-09 Thread Erik Leunissen
On 08/03/15 22:41, Martin Doucha wrote: ... Put the section into a separate XML file (e.g. l10n-data.xml) and link to it using the local.l10n.xml parameter like this: ... Thanks Martin, I did that. The PDF output (and the FO output likewise) still shows a mere "1." as the appendix's label.

Re: [docbook-apps] Problem customizing appendix title (for PDF)

2015-03-09 Thread Erik Leunissen
On 09/03/15 07:55, Thomas Schraitle wrote: ... You are missing the important xml:lang attribute in your root element. Without that attribute, all generated texts are created in English by default. Add the line xml:lang="nl" into your article without using any customization layer at all. Reb

[docbook-apps] Problem customizing appendix title (for PDF)

2015-03-08 Thread Erik Leunissen
which I applied using xsltproc. Finally, I used fop to generate the final PDF (which seems to me irrelevant to the issue). I fail to produce output that has *any* text prepended to the appendix's number (i.e. even regardless the Dutch language). Does anybody see what I'm doing wrong?

Re: [docbook-apps] Issue with page number format, when toc is relocated

2013-10-31 Thread Erik Leunissen
On 31/10/13 19:54, Bob Stayton wrote: Hi Erik, You'll need to customize the template named 'page.number.format' from fo/pagesetup.xsl. It has an xsl:choose with a case for the TOC when the context element is a book (so the TOC is generated without a toc element), so you need to add a case for a

[docbook-apps] Issue with page number format, when toc is relocated

2013-10-31 Thread Erik Leunissen
age 5. Attached you find an xml source and corresponding customization which exercise this behaviour (using xsltproc and fop1.1 to produce PDF). I'd like to prevent this behaviour but am clueless about where to attack this phenomenon. Any pointers/direction are greatly appreciated. Erik

Re: [docbook-apps] Title of a toc, when toc is generated at a user-specified position

2013-10-29 Thread Erik Leunissen
On 29/10/13 18:02, Erik Leunissen wrote: ... However, it doesn't do exactly what you describe w.r.t. the warning messages: two of them are still emitted when I'm doing the processing here. ... ..., which is only because I happen to need all my docbook 5 elements prefixed with the

Re: [docbook-apps] Title of a toc, when toc is generated at a user-specified position

2013-10-29 Thread Erik Leunissen
issue. I'm happy with the result in the PDF. Thanks a lot, Erik Leunissen. -- - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

[docbook-apps] Title of a toc, when toc is generated at a user-specified position

2013-10-28 Thread Erik Leunissen
est approach to make this TOC have a title nonetheless? Thanks in advance, Erik Leunissen (xsltproc - fop1.1 -> pdf) -- [1] Adding a title to toc in the xml source makes the toc element non-empty, which effectively disables the "process.empty

Re: [docbook-apps] Strange issue with para customization affecting footnotes

2013-10-20 Thread Erik Leunissen
On 20/10/13 18:08, Erik Leunissen wrote: I find it difficult to decide whether it's best to accept this fragility, or pursue a more robust solution (which isn't very inefficient). Any thought's about that? And that has also been

Re: [docbook-apps] Strange issue with para customization affecting footnotes

2013-10-20 Thread Erik Leunissen
On 20/10/13 17:37, Erik Leunissen wrote: I'm baffled. What's going on here? It appears that I've let myself be lured into an import precedence issue. See: http://docbook.10921.n7.nabble.com/RE-docbook-para-customization-affects-footnote-numbers-td3638.html The solution

[docbook-apps] Strange issue with para customization affecting footnotes

2013-10-20 Thread Erik Leunissen
and corresponding stylesheet. Just uncomment/comment out the d:para template to see the effect. Any modification based off this template[*] has the same effect and makes them unusable. I'm baffled. What's going on here? Thanks in advance for any help, Erik Leunissen. -- [*] I i

Re: [docbook-apps] Example element isn't kept together

2013-10-13 Thread Erik Leunissen
In the meantime I found that adding always to ... does what I want. It's just that I thought that that is default behaviour. Regards, Erik Leunissen. - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.

Re: [docbook-apps] Nested lists insensitive to "list.block.spacing" attribute set

2013-10-13 Thread Erik Leunissen
On 13/10/13 22:59, Bob Stayton wrote: Hi Erik, Yes, that is intended behavior. The list element templates have two attribute sets designed specifically for vertical spacing: list.block.spacing sets the vertical space before and after the whole list, and list.item spacing sets them for each listi

[docbook-apps] Example element isn't kept together

2013-10-13 Thread Erik Leunissen
r any help, Erik Leunissen. http://docbook.org/ns/docbook"; xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:xi="http://www.w3.org/2001/XInclude"; xmlns:svg="http://www.w3.org/2000/svg"; xmlns:m="http://www.w3.org/1998/Mat

[docbook-apps] Nested lists insensitive to "list.block.spacing" attribute set

2013-10-12 Thread Erik Leunissen
customization in my setup, which consists of xsltproc and fop 1.1 - Is that intended behaviour? - What can I do to indent all lists regardless their place in the docbook element hierarchy? Thanks in advance for any help, Erik Leunissen. http://docbook.org/ns/docbook"; xmlns:xlin

Re: [docbook-apps] impotent "space-before.*" in attribute set component.title.properties

2013-10-07 Thread Erik Leunissen
. Hello Bob, Thanks very much for the explanation and the remedy, which indeed made the processing system do what I intended. Greetings, Erik Leunissen. - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-op

[docbook-apps] impotent "space-before.*" in attribute set component.title.properties

2013-10-05 Thread Erik Leunissen
e-after.*" attributes, to which the output is sensitive as expected. I'm clueless about what's going wrong: my logic, xsl or fop processing, ... Any help in directing me where to look for something inappropriate is much appreciated. Thanks in advance, Erik Leunissen. -- Pro

Re: [docbook-apps] itemizedlist in manpages after xml transformation

2012-11-29 Thread Erik Leunissen
Never mind. I found the issue to be the result of a configuration at the level of the man command, used specifically by the midnight commander (when you simply hit enter while a manpage file is selected). The canonical incantation > man filename made the page display nicely, also the copyri

[docbook-apps] itemizedlist in manpages after xml transformation

2012-11-29 Thread Erik Leunissen
on my side; but then I haven't a clue at which level to look: - stylesheet parameters? - wrong font, somewhere? - ... A similar issue regards the copyright sign, which is rendered as nr. 251 in reverse video. Can someone indicate to me where to fix this? Thanks in advance,

Re: [docbook-apps] Formatting chapter and section titles

2009-06-06 Thread Erik Leunissen
Erik Leunissen wrote the following inaccurate statement: > > Observed effect: > --- > Chapter 3. Getting started > + > + > + > This is the first paragraph of chapter 3. Bla, bla ... > and bla and

[docbook-apps] Formatting chapter and section titles

2009-06-06 Thread Erik Leunissen
Hello all, I've got a few questions regarding the formatting and lay-out of chapter and section titles. Thanks in advance for any help/advice. Erik Leunissen -- 1. How can I suppress a trailing dot in automatic component/section labels? This parameter in a customization

Re: [docbook-apps] How to adjust listitem indentation for variablelists?

2008-06-29 Thread Erik Leunissen
rm. Thanks, Erik. > If you were using "list" format (side by side), then there is a > processing instruction that can adjust the indent width. > > Bob Stayton > Sagehill Enterprises > [EMAIL PROTECTED] > > > - Original Message - From: "Erik Leunissen&

[docbook-apps] How to adjust listitem indentation for variablelists?

2008-06-27 Thread Erik Leunissen
very much appreciate a direction. Thanks in advance, Erik Leunissen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [docbook-apps] customizing space before refsect elements

2008-06-23 Thread Erik Leunissen
ntries inducing a page break). Any hints for how I can control the space before a refsynopsisdiv element? Thanks in advance, Erik Leunissen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [docbook-apps] xsl parameter "ulink.footnotes" generating an error

2008-06-22 Thread Erik Leunissen
Erik Leunissen wrote: > ... > The two resulting output files (xsltproc.out.err and xsltproc.out > respectively) have been diff'ed and the diff is appended. > ... In case anyone wonders: Yes indeed, output size from "xsltproc -v" is huge, in my case around 1.25 MB

Re: [docbook-apps] xsl parameter "ulink.footnotes" generating an error

2008-06-22 Thread Erik Leunissen
Bob Stayton wrote: > Hi, > I processed your test file with your customization layer (changing the > xsl:import path to my copy of 1.74.0), using the same version of > xsltproc (actually, the Windows binary), and I got no namespace error > message. Your path looks like a Linux path, so perhaps some

Re: [docbook-apps] xsl parameter "ulink.footnotes" generating an error

2008-06-22 Thread Erik Leunissen
from another location in this discussion thread for a report about that. Erik. > Regards, > Dick Hamilton > http://rlhamilton.net > > On Fri, 2008-06-20 at 19:27 +0200, Erik Leunissen wrote: >> John Brown wrote: >>> If you are on Ubuntu, then at the prompt, run:

Re: [docbook-apps] xsl parameter "ulink.footnotes" generating an error

2008-06-20 Thread Erik Leunissen
John Brown wrote: > > If you are on Ubuntu, then at the prompt, run: > > sudo ./install.sh > and enter your password when prompted. That will let you run the script > as root. It appears that the distribution is not supposed to be installed as root: > su Password: # ./install.sh NOTE: For non

Re: [docbook-apps] xsl parameter "ulink.footnotes" generating an error

2008-06-19 Thread Erik Leunissen
Bob Stayton wrote: > Hi, > I processed your test file with your customization layer (changing the > xsl:import path to my copy of 1.74.0), using the same version of > xsltproc (actually, the Windows binary), and I got no namespace error > message. Your path looks like a Linux path, so perhaps some

Re: [docbook-apps] customizing space before refsect elements

2008-06-19 Thread Erik Leunissen
ehill.net/docbookxsl/HTMLTitlePage.html > > Bob Stayton > Sagehill Enterprises > [EMAIL PROTECTED] > > > - Original Message - From: "Erik Leunissen" <[EMAIL PROTECTED]> > To: > Sent: Thursday, June 19, 2008 1:40 PM > Subject: [docbook-apps] customizing s

Re: [docbook-apps] xsl parameter "ulink.footnotes" generating an error

2008-06-19 Thread Erik Leunissen
ath, so perhaps someone could > test it on a Linux box. > Thanks for testing this. The xsl:import path is a Linux local path which refers to a 1.74.0 stylesheet indeed. Erik. > Bob Stayton > Sagehill Enterprises > [EMAIL PROTECTED] > > > ----- Original Message - F

[docbook-apps] customizing space before refsect elements

2008-06-19 Thread Erik Leunissen
Hello all, I'm looking for a way to modify the spacing before refsect1 titles. I found how to do that for section titles (see below). Does anybody know how to do that for refsect1 elements (or refsections in general) ? Thanks in advance, Erik Leunissen == 1.0em

Re: [docbook-apps] xsl parameter "ulink.footnotes" generating an error

2008-06-18 Thread Erik Leunissen
Erik Leunissen wrote: > >> If one of those things doesn't solve the problem, then I'd suggest >> reposting the question with more information on your environment (i.e., >> which version of the stylesheets, which xslt processor, your xml source >> file, your O

Re: [docbook-apps] xsl parameter "ulink.footnotes" generating an error

2008-06-18 Thread Erik Leunissen
ironment (i.e., > which version of the stylesheets, which xslt processor, your xml source > file, your OS, etc.). > > Hope that helps. > > Dick Hamilton > http://rlhamilton.net > > On Tue, 2008-06-17 at 22:29 +0200, Erik Leunissen wrote: >> Hello all, >> &

Re: [docbook-apps] xsl parameter "ulink.footnotes" generating an error

2008-06-18 Thread Erik Leunissen
Florent Georges wrote: > > How do you know that this line is the cause of the error? > Removing it, or commenting that line out makes the error go away. I interpreted this behaviour as the line being the cause. Erik

[docbook-apps] xsl parameter "ulink.footnotes" generating an error

2008-06-17 Thread Erik Leunissen
Hello all, The statement: 1 used in the customization layer below, triggers the following error message: "XPath error : Undefined namespace prefix" Anybody know: - whether that's merely an annoyance or a real error? - how to prevent it from happening? Note aside: I know that "

Re: [docbook-apps] Problem solved (Was: How to generate TOC for article/appendix (using FOP))

2008-06-17 Thread Erik Leunissen
ymlink). After having updated the symlink, I get the so-desired appendix toc. Sorry for the stupid mistake. Thanks for your help, Erik Leunissen == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [docbook-apps] How to generate TOC for article/appendix (using FOP)

2008-06-17 Thread Erik Leunissen
my case. If the xsl processor doesn't matter then I'm suspecting the particular xml source that I'm using. Therefore, I've appended the minimal XML source with which I tested the above. I'd appreciate very much if someone tested with that source, verifying that switc

Re: [docbook-apps] How to generate TOC for article/appendix (using FOP)

2008-06-17 Thread Erik Leunissen
Erik Leunissen wrote: > > Thanks a lot for checking this. I'm indeed using 1.74.0. (and fop 0.94), > > Could it be that the xsl processor matters? I'm using xslt. > Oh, that was inaccurate. That should be: > xsltproc --version Using libxml 20626, libxslt 10117 a

Re: [docbook-apps] How to generate TOC for article/appendix (using FOP)

2008-06-17 Thread Erik Leunissen
you are > using 1.74.0, so I'm not sure what else might be going wrong. > Thanks a lot for checking this. I'm indeed using 1.74.0. (and fop 0.94), Could it be that the xsl processor matters? I'm using xslt. Erik. > Bob Stayton > Sagehill Enterprises > [EMAIL PROTE

Re: [docbook-apps] How to generate TOC for article/appendix (using FOP)

2008-06-16 Thread Erik Leunissen
Mauritz Jeanson wrote: > > I think you have to remove the line continuation characters. There should > only be whitespace between the entries. > I removed it, and that made a difference: Now, when I include the parameter in the customization layer, it *does* generate a TOC, but for the main art

Re: [docbook-apps] How to generate TOC for article/appendix (using FOP)

2008-06-16 Thread Erik Leunissen
Dave Pawson wrote: > > Are you using the element in your source file? No, I'm not. Should I? It appears that it isn't always needed to do so since a toc for the main article is generated "automagically", without the source having any reference to a element, provided that I remove any "generate

[docbook-apps] How to generate TOC for article/appendix (using FOP)

2008-06-16 Thread Erik Leunissen
ix is concerned. Does anybody have an idea what's wrong? I've been using: - docbook 4.5 - xsl stylesheets 1.74.0 - fop 0.94 (under Linux) Thanks in advance for your attention, Erik Leunissen - To unsubscribe, e-ma

DOCBOOK-APPS: Overview of available editors

2002-04-06 Thread Erik Leunissen
such comprehensive information is readily available, I'd appreciate a pointer to it; otherwise I'd be very happy with separate pointers to the single utilities. Thanks in advance, Erik Leunissen.