That colon is in the template that starts with this:
between "label.markup" and "title.markup"
On 12/24/2021 6:25 PM, M. Downing Roberts wrote:
I got your endnotes template working — really helpful!
For anybody else who tries this
This is odd. Your markup looks fine. I cannot figure out where that
WARNING message is coming from. It doesn't seem to exist in the stock
stylesheets. I cannot even find the word "Unknown" in any error message
generated by the stylesheet. Are you using a customization layer?
I used the same style of endnotes in a book that I wrote with DocBook,
so I have attached the stylesheet module that I wrote to do that. You
might need to make some adjustments to fit it into your customization layer.
On 12/21/2021 7:02 AM, M. Downing
the outer color.
On 9/13/2021 11:41 PM, David Cramer wrote:
On 9/11/21 3:10 AM, Bob Stayton wrote:
It's main limitation is that it only is applied to text nodes in your
XML document, and so would not color generated text (like "Note" or
xrefs) or any
Check out the section on table borders in my online book and see if that
On 8/19/2021 3:13 AM, Esteban Zimanyi wrote:
A table in my source DocBook xml document is defined as follows
On 8/17/2021 6:10 AM, Esteban Zimanyi wrote:
I am using docbook, xsltproc, dblatex, and dbtoepub (epub not epub3)
with a standard Ubuntu distribution
Let me know if any of this requires further explanation.
On 7/19/2021 12:39 PM, Kevin Dunn wrote:
In double-sided xsl-fo, how can you control text-align for the center
cell of the header or footer table (usually chapter or sec
You should be able to unsubscribe with this link:
On 7/6/2021 8:14 AM, Kathleen Mattson wrote:
Apologies for spamming the list with this -
I have long since lost track of how to unsubscribe to this list. *Can
You can rearrange that template to call "page-sequence" just once and
put all the TOC content into its single "content" param. You'll still
want to test each one to see if it should be included.
If you want to force page breaks between LOTs, you can add:
before each one.
Then you would get your style if you specify ,
otherwise you get the default.
On 6/14/2021 8:27 PM, Kevin Dunn wrote:
Putting "'yes'" (single in double quotes)
I think the problem is in the param statement, where the string yes is
being interpreted as an element name.
(I added single quotes around the word yes).
On 6/14/2021 12:05 PM, Kevin Dunn wrote:
I'm customizing xrefs to render page numbers in pdf files
For your next stop, see Customizing cross references
<http://www.sagehill.net/docbookxsl/CustomXrefs.html>in my online book.
On 6/13/2021 8:37 PM, Kevin Dunn wrote:
The learning curve for transitioning from dsssl to xsl has not been as
case, you will see that font-variant is not supported yet.
XEP may require some addtional configuration in the XEP configuration
file to trigger the selection of a small caps font. Check the XEP
On 6/12/2021 12:54 PM, Kevin Dunn wrote:
your logo inserted by any of those elements in your
content, but not if the stylesheet generates a reference to the image
On 5/12/2021 3:46 AM, Michel van den Burg wrote:
That’s an interesting parameter! Is there a way to apply this to some
irect link to the image file, which would show it
unscaled (or full scale) in the browser window.
On 5/7/2021 12:27 AM, Dave Pawson wrote:
I've a set of photographs of document pages.
With small text if the page is zoomed to make the text readable
the main page text is .
That question would need to be directed at Norm Walsh, the creator of
the titlepage system. Not sure he would remember why. He wrote the
original code when XSL was new.
On 4/30/2021 3:25 AM, Tony Graham wrote:
On 29/04/2021 21:10, Bob Stayton wrote
the XSL I need in custom templates "book.titlepage.recto" and
"book.titlepage.verso" to completely override the generated templates.
On 4/29/2021 8:52 AM, Tony Graham wrote:
Is is possible to wrap two or more elements inside a
The standard DocBook XSL stylesheet does not add the italics property to
equations. You might ask on the Oxygen XML mailing list.
On 4/18/2021 8:29 AM, Philo Calhoun wrote:
Is there an easy way to change the docbook>pdf export in Oxygen XML Editor
; to refer to titles, subtitles,
and any other info elements that should appear at the beginning of a
For your case, you will want to edit the spec file and add a
hyphenate="false" property to the and elements you
want to turn off, and then generate the titlepage XSL f
-element-mods.xsl files there is a template that starts with
that handles the
conversion of hard attributes to styles. The culprit is this line in
that needs to be changed to:
to remove the exception for img elements.
On 3/25/2021 9:21 PM, Bob
@style attribute by processing the generated img
element in mode="convert.to.style".
So I'm not yet clear on is where that process is going wrong such that
you are seeing @width in your output. I'll need to investigate more.
On 3/25/2021 4:46 AM, R
for generated text because it could
be very long. The stylesheet recognizes that problem and issues this
WARNING: xref to para id="Ref1" has no generated text. Trying
its ancestor elements.
but then it doesn't seem to handle the attempt properly in this case.
information is under "index, columns" in my book's index.
I should mention that using Saxon HE 10.3 might create compatibility
issues because the DocBook XSL stylesheets are written in XSLT 1.0. I
generally recommend using Saxon 6.5.5 to avoid such issues.
ate my book with all the changes that have been made
to DocBook XSL.
On 9/15/2020 5:21 AM, Peter Desjardins wrote:
Hi, Michel! I have some templates that use class.mode in my
customization. I can confirm that this XSL controls the class
attribute in output HTML:
continues from the previous page-sequence. The original template is in
On 8/23/2020 1:12 PM, Bernhard Kleine wrote:
I have this structure in my book.
parameters and changes that need to be made.
It does not cover the thumb index because that's your own customization.
On 8/15/2020 8:39 AM, Bernhard Kleine wrote:
Am 14.08.2020 um 20:38 schrieb Tony
I'm inclined to think that is a bug, because there are perhaps
legitimate reasons for the text attribute of a particular gentext
template to be empty in some languages.
On 8/11/2020 6:06 PM, Richard Hamilton wrote:
The template gentext.template.exists in the 1.0
After the recent discussion of olinks, I came across this paper I wrote
for a conference in 2005 describing olinks, titled "Linking Outside the
Box". It might be of interest to those contemplating using olinks.
I use Oxygen XML.
On 7/28/2020 2:55 PM, Richard Hamilton wrote:
This is a question for the group.
What do you currently use for validating DocBook agains both RelaxNG and
I’ve been looking around and downloading and trying some 10-to-15 year old
The short answer is: The DocBook XSL stylesheets are written in XSL 1,
and work best with Saxon 6.5.5.
On 7/12/2020 11:24 PM, Mark Giffin wrote:
I'm messing with olinks and I'm trying to generate my target.db files
from the command line (Windows 10) with Saxon
nto the FO file
for that purpose. But they don't seem to actually work in the PDF.
There is an open bug report on this at the Apache site:
On 7/10/2020 10:30 AM, Bob Stayton wrote:
The problem with FOP, includi
On 7/10/2020 8:00 AM, Barton Wright wrote:
As I said, PDF-fu. You work for Antenna House, Masters of the PDF
Universe. Case, rested.
But, the question for us is whether the DocBook XSL supports
generating these links, and does so without
ion of html/autotoc.xsl have a line like
If so, then you can replace , which might solve some of your
On 6/30/2020 10:38 AM, Jennifer Moore wrote:
On a hunt for which template I need to tweak for a table of cont
Yes, this needs to be fixed. I'm cleaning up pull requests and issues
and will be making a new release soon. Could you please file an issue
on the DocBook XSL github with your recommended fix:
On 6/8/2020 12:02
If you just want to change the @type attribute value for all scripts,
there's a param for that:
On 4/18/2020 5:01 AM, Niels Müller Larsen wrote:
You may customize docbook
t; template does not process any subsections.
On 4/1/2020 2:05 AM, Peter Fleck wrote:
Yes, sorry FO, I know I can use a manual.toc for HTML.
On Tue, 31 Mar 2020 at 23:27, Bob Stayton <mailto:b...@sagehill.net>> wrote:
You didn't menti
You didn't mention whether this was for FO or HTML type of output.
On 3/31/2020 2:08 PM, Peter Fleck wrote:
I have an abnormal use case.
The source file is a book with many articles, however the TOC is to be
first level sections of each article
. In most cases, that is nothing, but there are some chunking
configurations where some things are not chunked and they would go to
On 3/29/2020 5:59 AM, Niels Müller Larsen wrote:
You have done it again! You once helped me with missing
"docbook.xsl", because that
first resolves to your custom stylesheet, which imports chunk.xsl which
in turn imports docbook.xsl, which triggers the catalog lookup again
even though you don't intend it a second time.
Try changing your catalog and Makefile to use mydocbook.xsl instead.
is mapping the stylesheet URL to that file.
On 3/28/2020 11:14 AM, Niels Müller Larsen wrote:
When producing html output from my docbook I use the following fragment of a
rm -rf site
how to use solar energy to eliminate
poverty in the world.
On 3/19/2020 9:16 PM, Robert Nagle wrote:
This is very interesting to me. I have tried for two projects to
generate indexes that would work on Kindle. The indexterm content had
both a primary
Let me know if this isn't sufficient for your needs.
On 2/24/2020 8:13 PM, Peter Desjardins wrote:
I'm trying to design a set of elements that I can render as a single
code example with multiple programming language var
Then each entry's element is processed in mode="toc" to format the
listing, so look at the other mode="toc" templates for examples to
create a new template in that mode for poetry.
On 2/17/2020 7:07 AM, Pc Thoms wrote:
The elements d
On 11/20/2019 9:16 AM, Shlomi Fish wrote:
with the attached file and the command:
my-real-person-fan-fiction.docbook5.xml | less
I am not seeing any tags. See
I don't see the resolver.jar in your classpath, which is used to resolve
paths using an XML catalog file.
On 10/24/2019 8:00 AM, Rob Flynn wrote:
java.lang.NoClassDefFoundError in docbook build
In a build that used to work, a ton of Linux patches were
ction.autolabel|/ parameter to 1". Stylesheet parameters can be set
on the command line or in an XSL customization layer as described
elsewhere in the book.
Once section numbering is turned on, the @label value on a sect1 element
will override the default number.
If you need further control, you'll have to customize some of the
internal table templates.
On 8/29/2019 6:27 AM, Tim Arnold wrote:
I'm converting DocBook 5 to html (docbook-xsl-1.79.2) with a
I now need to wrap my table e
page margins are. I didn't test that, so let us know if it works.
On 8/26/2019 12:26 PM, Gabriela Simonka wrote:
I am trying to create a PDF file of an article with an image as the
title page, but I keep getting a compilation error "[error] no
You can achieve what you want by moving the code samples elsewhere when
you make topics. An Xinclude that does not resolve is left as an
xi:include element in the output of the parser. Then move the code files
that specifies the number format for such a list. I'll file a bug
report, but I can't say when it will get fixed.
On 5/7/2019 3:16 PM, Emily Shaffer wrote:
I've run into an issue where we are seeing output from AsciiDoc->nroff
as originally proposed.
Here is a link to the proposal:
Your review and comments will help the DocBook TC in their deliberations
about this proposal. Thank you for your time.
Information about embedding metadata in fo output which goes to the PDF
is found here:
The data can be changed by customizing this template found in fo/fop1.xsl:
On 3/22/2019 1:04 PM, Peter Desjardins wrote:
Hi! I need to do some conditional processing of a book that I'm
assembling from an assembly structure. A specific audience needs a
docbook-xslt1-db4-1.80.1 - no namespace version for DocBook 4 (db4).
The xslt1 part distinguishes them from the stylesheets written in xslt 2.
On 3/11/2019 7:51 PM, Robert Nagle wrote:
Hi, there, I'm going to try a new project using Docbook
If body.font.master is set to '10pt' instead of '10', the stylesheet
treats it as Not a Number (NaN) and generates that error.
On 3/10/2019 10:34 AM, Bernhard Kleine wrote:
Since today I encounter an error while transforming my book with the
the generated templates in your stylesheet customization layer.
Modify templates in |mode="titlepage.mode"| and more specific modes
to customize how individual elements are handled.
On 2/18/2019 11:19 AM, Bernhard Kl
Nothing follows. Did you omit an attachment?
On 2/18/2019 12:54 AM, Bernhard Kleine wrote:
I added the following (from docbook xsl book p. 187) to my customization
file in oxygen 20.1 but the image does not show up. What is wrong
More details needed. Do those refsect1 elements contain title elements?
On 2/15/2019 5:07 PM, Vivek Ghosh wrote:
I noticed that converted man pages are missing < refsynopsisdiv> and < refsect1
The broken URL resolves to:
but the book is at:
On 2/16/2019 12:19 PM, Ron Catterall wrote:
This is a great idea, but I must mention that we are in the process of
updating that page about transforms in The Definitive Guide. There are
several corrections that need to be made to the descriptions of how the
attributes are to be used.
When I run into a problem like this, I start commenting out templates in
my customization until I find the one causing the problem, then examine
that one in more detail. If you find the culprit but cannot see why it
is wrong, post it here.
rk, so I'm not sure
why it is not working for you.
On 2/8/2019 8:18 AM, Bernhard Kleine wrote:
Die Begriffe Falter und Schmetterling sind
meines Wissens gleichbedeutend und
werden in glei
That's odd. My footnotes are numbered, not lettered. How is it that
your footnotes are lettered? Can you supply a sample of the markup you
On 2/8/2019 4:49 AM, Bernhard Kleine wrote:
In my book I noticed that footnote marks
On 1/29/2019 5:46 AM, Bernhard Kleine wrote:
The culprit is in the fo visible:
Copyright font-family="serif,Alegreya, Symbol,ZapfDingbats">© 2019
the serif in front of Alegreya.
Am 29.01.2019 um 14:01 sch
in the PDF.
Customization of titles for print is covered in this section of my book:
On 12/19/2018 3:02 AM, Bernhard Kleine wrote:
Without changing anything to do with chapter and section titles
That does work. Thanks for pointing that out.
On 12/11/2018 11:11 AM, Tony Graham wrote:
On 11/12/2018 05:40, Bob Stayton wrote:
Also, the nodeset approach won't work for FO output because the
On 12/10/2018 5:44 AM, Ilan Finci wrote:
I’m new to docbook and XSLT, and tried to find the answer among the
different books/websites and failed, so looking up for your help
(pointers to the right place will be good as well
' generates an element that
produces the dot leaders.
On 11/26/2018 12:19 AM, Bernhard Kleine wrote:
Unfortunately the case you cite is not applicable in my example. I
looked for the spacing e.g. for this line:
is caused by whitespace around the
title. Your misaligned entries all seem to have short dot leaders. But
it seems the fop algorithm has a problem with right alignments with dot
On 11/25/2018 10:03 AM, Bernhard Kleine wrote:
Sorry, I should have tested that before posting. Indeed, it is more
complicated because the qandaset is formatted with a layout table in
HTML output. I think that template will need to be rewritten, so I
don't have a quick fix for you.
That will create a nested div with attribute class="title" inside the
div for qandaentry, and then you can add a new CSS entry to your
stylesheet to format it.
On 11/21/2018 4:31 PM, ttl wrote:
I have a title element as f
values of the class
attribute, otherclass= is another permitted attribute, and
"somethingnew" is an arbitrary string.
However, citetitle does not have this mechanism, so the role attribute
would have to be used.
On 11/19/2018 3:40
Any generated text should be found in the locale files in the "common"
directory of the stylesheet distribution, one for each locale.
Customization of such content is described here:
The key attribute for that item is "List
The context of toc.line is the current docbook element being processed
(such as section), so you can match on its xml:id or some other
attribute like role.
On 10/31/2018 9:10 PM, Robert Nagle wrote:
I am making an
Yes, danger will be added to DocBook 5.2. There is not yet a scheduled
release date for 5.2. There is a recent beta release of 5.2 on
docbook.org if you want to try it out.
On 10/26/2018 1:55 AM, Matteo
That separator is supplied by a stylesheet parameter named
'xref.label-title.separator', whose default value is ": "
Strange. What happens when you change the first xsl:import statement to
point to your local /usr/share/xml/... path to docbook.xsl instead of
the http URL?
On 10/24/2018 12:39 PM, Filippo Rusconi wrote:
On Wed, Oct 24
not have the same name.
On 10/24/2018 9:44 AM, Filippo Rusconi wrote:
On Wed, Oct 24, 2018 at 08:42:17AM -0700, Bob Stayton wrote:
I'm not sure what the problem is here, as your process looks correct.
Can you compare your generated
I'm not sure what the problem is here, as your process looks correct.
Can you compare your generated titlepage.xsl to the original
fo/titlepage.templates.xsl that is included with the distribution? They
should be equivalent, modulo whitespace variations.
As you discovered, XSLT selects only one template for each match, even
when more than one applies. You'll need to write a more general
template to handle all your permutations, something like this:
2011, seven years ago. The "epub3" directory uses xhtml5, not
xhtml-1_1. Are people still generating epub documents in version 2, or
has everyone moved on to version 3? Would it create hardship to not
include the epub and xhtml-1_1 directories in forthcoming stylesheet
] and one to match on
figure[@condition = 'chem']. In each, you have elements to
match the condition for counting.
One further complication is the word "Figure" in your language would be
applied to all of them. To change that will require further customization.
On 10/6/2018 11:37 PM, Dave Pawson wrote:
You might like a level of indirection provided by xml catalog.
Particularly if you think you may modify the layout as the system develops?
low easier customization. I'll add that for the next
On 10/5/2018 7:44 AM, Bernhard Kleine wrote:
I had tomatoes over my eyes: I have not seen the caption tag.
Now the question is : How to indent all the captions by let
Did you customize the page-master to comment out the use of
page-position="first" as described in that archive posting?
It is hard to diagnose the problem without seeing your XSL
customization. If you don't want to post it you can send it directly to me.
rk for you.
On 9/26/2018 1:45 PM, Bernhard Kleine wrote:
On 9/26/2018 10:27 AM, Bernhard Kleine wrote:
I have the following xml example
and rearrange it as needed.
The call to the template named "gentext" generates the word "Copyright"
in the appropriate language, and the call to the template named
"dingbat" generates the copyright symbol.
If you are using DocBook 5 then you will need to add the namespace
prefix to the element names.
On 8/14/2018 8:37 AM, Peter Desjardins wrote:
PDF file does not need a baseuri.
On 8/10/2018 1:54 PM, Bob McIlvride wrote:
Thank you for the suggestion. This is unfamiliar territory for me,
and I seem to have run into an obstacle implementing this suggestion:
"So you ne
stylesheet to generate separate data files for PDF output. Those
files with different names would be referenced by the PDF version of the
target database document.
On 8/7/2018 12:07 PM, Bob McIlvride wrote:
That would make sense. I’ve
as a sequence of document elements without a sitemap
and without @baseuri's, which should then form relative links.
I haven't tested this, but I think it will work. Let me know if it doesn't.
On 8/1/2018 12:25 PM, Bob McIlvride wrote:
After almost two years being moved to other tasks, I now have an opportunity
to complete this project. The HTML output is working fine, but the issue
now is PDF (FO) output. Here's
number properly as in my test.
On 6/29/2018 2:10 AM, Matteo Regazzo wrote:
Great Bob, thank you very much, it works! J
While making some tests I’ve found 2 minor problems:
-if I have to include more than one table in more than one
Yes, param.xsl is built prior to making a distribution. So you are
looking at the source directories, not the distribution. As I said, you
can download the already-built distribution from here:
content. It might be possible to
declare a full size image in one of those areas but extending out side
the designated area, but I'm not sure if it would be under or over the
On 6/29/2018 8:56 PM, Otto Hirr wrote:
Sorry for the disarray on the GitHub site. Stefan Seefeld did a great
job transitioning from SourceForge, but I need to make more content
improvements. I'm finally getting back to DocBook work, so you can
expect a new XSL release and better doc, coming soon.
The build doc on Github is still in development, and it will explain
~/.xmlc when it is done. In the mean time, here is a link to the sample
On 6/30/2018 7:03 AM
On 6/30/2018 6:59 AM, Dave Pawson wrote:
Some oddities with my current (quite old) stylesheets.
What is the preferred install method please?
git clone / download zip?
Is build needed?
table, not the nested table, but at least it won't be duplicated.
If this doesn't suit you, then you'll need to create an XSL
customization layer to customize some XSL templates to handle the
footnote in the nested table.
1 - 100 of 2305 matches
Mail list logo