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 12/21

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

2022-12-21 Thread Erik Leunissen
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 H

Re: [docbook-apps] Docbook to docx

2016-04-07 Thread Erik Leunissen
on 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 style

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

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

2016-01-10 Thread Erik Leunissen
g 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

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

2015-03-13 Thread Erik Leunissen
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 - xsltproc - fop

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

2015-03-13 Thread Erik Leunissen
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, Erik Leunissen e

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 l:i18n section into a separate XML file (e.g. l10n-data.xml) and link to it using the local.l10n.xml parameter like this: xsl:param name=local.l10n.xml select=document('l10n-data.xml')/ ... Thanks Martin, I did that. The PDF output (and the

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.

[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 customization at all. Am I right

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, like Appendix

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

2015-03-08 Thread Erik Leunissen
wrong? Thanks in advance for any insight, Erik Leunissen -- # Docbook XML source ?xml version=1.0 encoding=UTF-8? article version=5.0 xmlns=http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink; xmlns:xi=http://www.w3.org/2001/XInclude; xmlns:svg=http

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

2013-10-31 Thread Erik Leunissen
. 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 Leunissen

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

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

2013-10-29 Thread Erik Leunissen
, 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] 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 namespace d

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

2013-10-28 Thread Erik Leunissen
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.source.toc parameter

[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 intended

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 offered

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 resolved. Erik

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

2013-10-13 Thread Erik Leunissen
help, Erik Leunissen. ?xml version=1.0 encoding=UTF-8? section version=5.0 xmlns=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

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

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

2013-10-13 Thread Erik Leunissen
In the meantime I found that adding xsl:attribute name=keep-together.within-columnalways/xsl:attribute to xsl:attribute-set name=example.properties ... /xsl:attribute-set does what I want. It's just that I thought that that is default behaviour. Regards, Erik Leunissen

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

2013-10-12 Thread Erik Leunissen
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. ?xml version=1.0 encoding=UTF-8? section version=5.0 xmlns=http://docbook.org/ns/docbook; xmlns:xlink=http://www.w3.org/1999/xlink

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

2013-10-07 Thread Erik Leunissen
, 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-open.org

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

2013-10-05 Thread Erik Leunissen
, 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. -- Processing system - docbook

[docbook-apps] itemizedlist in manpages after xml transformation

2012-11-29 Thread Erik Leunissen
; 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, Erik Leunissen

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

[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 layer

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 bla, ... + + + 3.1. First section

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

2008-06-29 Thread Erik Leunissen
: Erik Leunissen [EMAIL PROTECTED] To: docbook-apps@lists.oasis-open.org Sent: Friday, June 27, 2008 2:33 PM Subject: [docbook-apps] How to adjust listitem indentation for variablelists? Hello all, I'm looking for a way to adjust the amount of indentation of the listitems of a varlistentry

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

2008-06-27 Thread Erik Leunissen
I want possible? If so, I'd 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
, it is the first element on a page (refentries 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

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

2008-06-22 Thread Erik Leunissen
is about. In the meantime I've take other directions to find the cause of that error, but I'll branch off 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

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 someone

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 for each run. However, the difference

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

2008-06-20 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 someone

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

[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 == xsl:attribute-set name

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

2008-06-19 Thread Erik Leunissen
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 - From: Erik Leunissen [EMAIL PROTECTED] Cc: docbook-apps

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

2008-06-19 Thread Erik Leunissen
Bob Stayton Sagehill Enterprises [EMAIL PROTECTED] - Original Message - From: Erik Leunissen [EMAIL PROTECTED] To: docbook-apps@lists.oasis-open.org Sent: Thursday, June 19, 2008 1:40 PM Subject: [docbook-apps] customizing space before refsect elements Hello all, I'm

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 Leunissen

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

2008-06-18 Thread Erik Leunissen
. Dick Hamilton http://rlhamilton.net On Tue, 2008-06-17 at 22:29 +0200, Erik Leunissen wrote: Hello all, The statement: xsl:param name=ulink.footnotes1/xsl:param used in the customization layer below, triggers the following error message: XPath error : Undefined namespace prefix

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 OS, etc.). OK, I used the same xsl

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

2008-06-17 Thread Erik Leunissen
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 PROTECTED] - Original Message - From: Erik Leunissen [EMAIL PROTECTED] To: Mauritz

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 and libexslt 813 xsltproc

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

2008-06-17 Thread Erik Leunissen
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 switching on/off the toc for both the article level and the appendix level have the desired effect. Thanks in advance, Erik

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

2008-06-17 Thread Erik Leunissen
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]

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

2008-06-16 Thread Erik Leunissen
except when the appendix 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

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 toc/ 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 toc/ element, provided that I remove any

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

DOCBOOK-APPS: Overview of available editors

2002-04-06 Thread Erik Leunissen
. If 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.