[docbook] Section numbering.

2014-02-10 Thread anmol gupta
Hi, I need help for printing section number in a different way in docbook, Currently, if there is section like 2.1.3, Generated pdf prints *2.1.3.* instead of *2.1.3* In first case there is a dot at the end which can be sometimes confusing. I dont want that in my pdf. Please help me fixing

Re: [docbook] Alignment of external graphic inserted as style icon

2014-02-10 Thread Jean-Francois Weissmann
I use a vertical-align=« middle » and everything went fine in the end! Thanks, JF Le 10 févr. 2014 à 13:12, Jean-Francois Weissmann jf...@yahoo.fr a écrit : Hi, I defined a style for my weblink as follows: xsl:template match=d:link[@xrefstyle = 'web'] xsl:param name=content

Re: [docbook] Section numbering.

2014-02-10 Thread Bob Stayton
This dot is coming from the gentext (generated text) file for the language you are using. The general process for customizing gentext in DocBook XSL is described here: http://www.sagehill.net/docbookxsl/CustomGentext.html And in your case, you want to modify the l:template with name=section

Re: [docbook-apps] Alignment of an uneven multi-line footer

2014-02-10 Thread Bob Stayton
Unfortunately, the display-align property is hard coded into the layout table for the footer, so that will require customizing the footer table. The reason display-align=after is used in the footer is so that the page.margin.bottom setting is accurate and consistent. See the diagram on this

Re: [docbook-apps] xref into a biblioset?

2014-02-10 Thread Bob Stayton
Hi Vadim, I'm afraid it won't be easy to link to a specific biblioset if it does not have an xml:id. Are those entries not editable? If you can xref to the xml:id on biblioset, it will generate the biblioset/title by default. However, I notice that in FO output, the xml:id is not copied

Re: [docbook-apps] Ordered list - use bracket instead of period as separator

2014-02-10 Thread Bob Stayton
Hi Vadim, As you say, in the namespaced stylesheets, the namespace is explicit, so all docbook element names have the docbook namespace prefix, so look for this template instead: xsl:template match=d:orderedlist/d:listitem mode=item-number I confirmed it is present in

Re: [docbook-apps] Sigplan template, the continuing saga: Paragraph indents

2014-02-10 Thread Bob Stayton
Hi Aaron, This can be done, but it is surprisingly tricky to select the first para after a section title in the general case. The content model for section allows all kinds of elements to appear before the first para element. For example, an itemizedlist can appear first in a section, but

[docbook-apps] Re: Sigplan template, the continuing saga: Paragraph indents

2014-02-10 Thread Aaron W. Hsu
Bob Stayton b...@sagehill.net writes: The following customized template is copied from the match=d:para template in fo/block.xsl. It selects the children of section, then eliminates the allowed elements before para, then takes the first remaining element [1], and then checks to see if it is

Re: [docbook-apps] Ordered list - use bracket instead of period as separator

2014-02-10 Thread Vadim Peretokin
Right. That was not very clever of me to miss that. Thank you! On 11/02/14 03:57, Bob Stayton wrote: Hi Vadim, As you say, in the namespaced stylesheets, the namespace is explicit, so all docbook element names have the docbook namespace prefix, so look for this template instead: