Re: [docbook-apps] Long programlisting

2011-06-06 Thread davep
this in your mod files: I'm using v5... if that makes any difference Dean? regards DaveP ?xml version=1.0 encoding=UTF-8? !ELEMENT xi:include (xi:fallback?) !ATTLIST xi:include xmlns:xi CDATA #FIXEDhttp://www.w3.org/2001/XInclude; href CDATA #REQUIRED parse

Re: [docbook-apps] Long programlisting

2011-06-06 Thread davep
On 06/06/2011 03:49 PM, David Cramer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is the programlisting in anexample? Yes it is. If so, you can either change the default for examples or use?dbfo keep-together=auto?:

Re: [docbook-apps] Long programlisting

2011-06-07 Thread davep
On 06/06/2011 07:57 PM, David Cramer wrote: For a long listing, keep-together.always is a problem. Sounds like the source of my issue David? Yes, but the default behavior will change the next time we do a release. I think that's an improvement. I think you can do: example ?dbfo

Re: [docbook-apps] Long programlisting

2011-06-07 Thread davep
On 06/07/2011 01:11 PM, David Cramer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/07/2011 01:40 AM, davep wrote: Why .within-column? I'd have thought .within-page would be more logical? Well, column and page are the same unless you do two-column output. If you're doing two

[docbook-apps] fop and floats

2011-07-13 Thread davep
Input docbook para xml:id=xxxIn the midst of ... resultant fo fo:float float=start fo:block margin=0pt text-depth=0pt font-size=33pt line-height=26pt padding-end=2ptI/fo:block /fo:floatn the midst of ... I have said I'm using fop !-- For fop usage -- xsl:param

Re: [docbook-apps] fop and floats

2011-07-13 Thread davep
On 07/13/2011 05:10 PM, Bob Stayton wrote: Hi Dave, I'm not understanding your example. This looks like an implementation of dropcap using a side float for the first letter of the para. There is no such dropcap implemented in the stock DocBook XSL, so that must be coming from a customization

Re: [docbook-apps] db 5, para formatting, fo output

2011-07-25 Thread davep
On 07/25/2011 03:41 PM, davep wrote: Attached (if it gets through) the horrible looking result when justification is on and the line includes a url of any length. 1. I'd like to have justified text (param alignment='justified'), but if it contains a url... (Yes, not easy) or 2. How to persuade

Re: [docbook-apps] db 5, para formatting, fo output

2011-07-25 Thread davep
/magazines/fortune/fortune_archive/2004/02/23/362182/index.htm/link Screenshot attached? regards - Original Message - From: davep da...@dpawson.co.uk To: docbook-apps@lists.oasis-open.org Sent: Monday, July 25, 2011 8:22 AM Subject: Re: [docbook-apps] db 5, para formatting, fo output

Re: [docbook-apps] db 5, para formatting, fo output

2011-07-26 Thread davep
On 07/25/2011 08:51 PM, Bob Stayton wrote: Hi Dave, The feature is applied only when the link element is empty, when the stylesheet is processing the url attribute to make the displayed link text. I think that is the correct behavior, because the text content of link is arbitrary, and

[docbook-apps] Docbook and style

2011-07-27 Thread davep
Docbook is now used for many other uses than tech doc. With this come style requirements. Since db5 now uses Relax NG, which is easy to customize, is it possible to add a simple 'decorative' customization to add markup specifically for styling. E.g. Drop caps for the first letter of the first

Re: [docbook-apps] Docbook and style

2011-07-28 Thread davep
On 07/28/2011 09:56 AM, redlettucemail wrote: It is somewhat simplistic to say that DB5 can be easily customised with a simple customisation layer - some customisations for style are easy (and the stylesheets logical to follow), while others are frustratingly difficult because the logic

[docbook-apps] fo template 'header.content'

2011-08-01 Thread davep
I want to tweak the header contents. http://www.sagehill.net/docbookxsl/PrintHeaders.html#PrintHeadersText suggests header.content is the right place. Running that, no priority attribute I get Error at xsl:call-template on line 2025 of file:/sgml/docbook/docbook-xsl-ns-1.76.1/fo/pagesetup.xsl:

Re: [docbook-apps] fo template 'header.content'

2011-08-01 Thread davep
On 08/01/2011 12:07 PM, Markus Hoenicka wrote: davep da...@dpawson.co.uk was heard to say: I want to tweak the header contents. http://www.sagehill.net/docbookxsl/PrintHeaders.html#PrintHeadersText suggests header.content is the right place. Hi Dave, I've used Bob's instructions just

[docbook-apps] acknowledgements

2011-08-01 Thread davep
http://www.docbook.org/tdg51/en/html/acknowledgements.html Parents These elements containacknowledgements http://www.docbook.org/tdg51/en/html/acknowledgements.html:article http://www.docbook.org/tdg51/en/html/article.html,book http://www.docbook.org/tdg51/en/html/book.html,module

Re: [docbook-apps] acknowledgements

2011-08-01 Thread davep
On 08/01/2011 05:51 PM, Bob Stayton wrote: Hi Dave, In FO output, acknowledgements is not a block, it is a page-sequence. The template for book in division.xsl (in 1.76.1) has this: xsl:apply-templates select=acknowledgements mode=acknowledgements/ and component.xsl as: xsl:template

[docbook-apps] Bibliography, v5, titlepage template

2011-08-02 Thread davep
My template is t:titlepage t:element=bibliography t:wrapper=fo:block t:titlepage-content t:side=recto title t:force=1 t:named-template=component.title param:node=ancestor-or-self::bibliography[1] margin-left={$title.margin.left} font-size=12pt

Re: [docbook-apps] Bibliography, v5, titlepage template

2011-08-03 Thread davep
-align=start and other properties are coming from. Bob Stayton Sagehill Enterprises b...@sagehill.net Thanks Bob. component.title.properties is used quite widely isn't it? Not sure how to address this one. regards DaveP - Original Message - From: davep da...@dpawson.co.uk

[docbook-apps] itemized list, and import precedence

2011-08-06 Thread davep
I have import docbook stylesheets import my attribute sets in which I have xsl:attribute-set name=list.block.spacing xsl:attribute name=space-before5mm/xsl:attribute xsl:attribute name=space-after5mm/xsl:attribute /xsl:attribute-set The resulting xsl-fo shows fo:list-block

[docbook-apps] pagesetup.xsl

2011-08-06 Thread davep
I gather from pagesetup.xsl that if I wanted the various page-masters to have different region sizes that I'd need to customize xsl:template name=setup.pagemasters ... Is that the only way to make them different please? TIA regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk

Re: [docbook-apps] itemized list, and import precedence

2011-08-07 Thread davep
have stripped them all out now. I simply wanted to reduce the space-before/after in a sequence of epigraphs. +1 on the qualified attributes. Unnecessary complication? Thanks Bob. - Original Message - From: davep da...@dpawson.co.uk To: Docbook-apps docbook-apps@lists.oasis-open.org

Re: [docbook-apps] pagesetup.xsl

2011-08-07 Thread davep
original page masters. Thanks Bob. grin/ Sneaky thing! Very neat solution. And a much nicer way to go! I'm looking for a new template for preface/ Different from chapter/ I'm wondering if the titlepage.template system would work with those? sounds like it should? regards DaveP Bob Stayton

Re: [docbook-apps] pagesetup.xsl

2011-08-08 Thread davep
On 08/07/2011 05:53 PM, Bob Stayton wrote: If you want to use the original page master names, then the answer is yes, you must customize that big template. If you want to use your own master names, then you can use the user.pagemasters and select.user.pagemaster templates to write your own

[docbook-apps] fo page sizes

2011-08-08 Thread davep
wrt top margins I see page.margin.top body.margin.top region.before.extent. I'm looking for specific sizes, A smaller page within A4, so I want a top/bottom page margin of 43.5mm, then the regions within this. I.e. region-before offset by 43.5mm below the top of the page. page.margin.top

[docbook-apps] titleabbrev, docbook v5

2011-08-09 Thread davep
http://www.docbook.org/tdg/en/html/titleabbrev.html says One common use of|TitleAbbrev| http://www.docbook.org/tdg/en/html/titleabbrev.htmlis for the text used in running headers or footers, when the proper title is too long to be used conveniently. I can't find any customization that

Re: [docbook-apps] itemized list, and import precedence

2011-08-09 Thread davep
On 08/09/2011 11:33 AM, Jirka Kosek wrote: On 7.8.2011 18:50, Bob Stayton wrote: This isn't a case of import precedence, but of different attributes. In general, the qualified attributes (like space-before.optimum) take precedence over the non-qualified attributes (like space-before). I

Re: [docbook-apps] titleabbrev, docbook v5

2011-08-11 Thread davep
On 08/11/2011 05:12 PM, Bob Stayton wrote: Hi Dave, Yes, using mode=titleabbrev.markup is the way to get the titleabbrev when you need it. It falls back to the title if there is no titleabbrev. In fact, the default header declared in the 'header.content' template in fo/pagesetup.xsl uses

Re: [docbook-apps] fo page sizes

2011-08-12 Thread davep
the help clearer. Thanks Bob. regarsd - Original Message - From: davep da...@dpawson.co.uk To: Docbook-apps docbook-apps@lists.oasis-open.org Sent: Monday, August 08, 2011 7:22 AM Subject: [docbook-apps] fo page sizes wrt top margins I see page.margin.top body.margin.top

[docbook-apps] Word/ODF to docbook

2011-08-19 Thread davep
http://holloway.co.nz/docvert/ Docvert takes word processor files (typically .doc) and converts them toOpenDocument http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=officeand cleanHTML. Web Service receives .doc fileand converts it to a OpenDocument (ODF)which can then be

Re: [docbook-apps] ZedAI

2011-08-27 Thread davep
On 08/28/2011 01:11 AM, William R. Greene wrote: Is the Daisy Consortium's Z39.86 Authoring and Interchange Framework http://www.daisy.org/zw/ZedAI_Introduction (ZedAI) meant to replace DocBook as the format for master documents? -- Bill Greene No Bill. regards -- Dave Pawson XSLT

[docbook-apps] Page master selection. .fo, db5

2011-08-29 Thread davep
I note that for my usage, I can see 15 page-masters. Each has the same paper size. Each has the same margin-top margin-bottom margin-left margin-right (inside/outside inverted) Each has the same region-body margin-bottom, margin-top, margin-left, margin-right. Each has the same before-extent,

Re: [docbook-apps] default value for @content-width in fo xsls

2011-08-31 Thread davep
On 08/30/2011 10:59 PM, David Cramer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/30/2011 01:23 PM, Křištof Želechovski wrote: Dnia wtorek, 30 sierpnia 2011 o 14:30:44 David Cramer napisał(a): Hi there, I notice that the default value for content-width in the fo stylesheets is

Re: [docbook-apps] Page master selection. .fo, db5

2011-08-31 Thread davep
On 08/31/2011 04:44 AM, Bob Stayton wrote: Hi Dave, The simplest solution for just the chapter title is to add space-before in the title (and be sure to add space-before.conditionality=retain since it appears first in the flow). I thought so, thanks for the confirmation. In general, the

Re: [docbook-apps] Using olinks in bibliography collection with processor's parameters with relative paths

2011-09-11 Thread davep
On 09/11/2011 10:28 AM, Křištof Želechovski wrote: This problem is common to all hypertext technologies, not only DocBook: namely, how do I declare an entity to be global to the current project, without hardcoding the path to the project, so that the links continues to work if the project is

Re: [docbook-apps] Using olinks in bibliography collection with processor's parameters with relative paths

2011-09-11 Thread davep
On 09/11/2011 04:49 PM, Křištof Želechovski wrote: Dnia niedziela, 11 września 2011 o 12:29:26 davep napisał(a): I also use it for docbook graphics, CSS files etc. the root directory is further split by project /docbook /project1 /css /bibtex etc. HTH This is all good

[docbook-apps] @role. How high can it go?

2011-09-13 Thread davep
I'm experimenting with typekit, typekit.com and I want to add an @role attribute quite high in the xml tree, to select a font for all the children? Tried it on book, chapter, section and it doesn't come through as a @class attribute? Works OK on para ... I have the params set correctly I

Re: [docbook-apps] @role. How high can it go?

2011-09-13 Thread davep
On 09/13/2011 05:28 PM, Bob Stayton wrote: Hi Dave, There are only four elements for which the stylesheets can propagate a role attribute to an HTML class attribute: emphasis, para, phrase, and entry, and each has its own stylesheet param to control such behavior (such as

Re: [docbook-apps] @role. How high can it go?

2011-09-13 Thread davep
On 09/13/2011 05:41 PM, Bob Stayton wrote: Hi Dave, That sounds fine. There is also a utility template named 'body.attributes' that can be customized to add attributes to the body element. The original is in html/docbook.xsl. It is called right after the opening tag of body. Bob Stayton

Re: [docbook-apps] Removing HTML TOC from epub

2011-09-23 Thread davep
the toc is never needed (the ncx supplants a toc), would it make sense to delete the call to generate it such that annoyance is removed? regards DaveP - Original Message - *From:* Chris Ridd mailto:chrisr...@mac.com *To:* docbook-apps@lists.oasis-open.org mailto:docbook-apps

Re: [docbook-apps] Removing HTML TOC from epub

2011-09-24 Thread davep
On 09/24/2011 08:34 AM, Chris Ridd wrote: On 23 Sep 2011, at 17:47, Keith Fahlgren wrote: Hi, On Thu, Sep 22, 2011 at 11:30 PM, davepda...@dpawson.co.uk wrote: Since the toc is never needed (the ncx supplants a toc), would it make sense to delete the call to generate it such that annoyance

Re: [docbook-apps] EPUB3: missing some meta data

2011-09-26 Thread davep
On 09/25/2011 09:47 PM, Keith Fahlgren wrote: Hi, You can include the (somewhat deprecated) DCMES versions as well: http://idpf.org/epub/30/spec/epub30-publications.html#sec-opf-dcmes-optional This (duplication) will help older EPUB 2 reading systems (and should probably be controlled with a

Re: [docbook-apps] EPUB3: missing some meta data

2011-09-26 Thread davep
On 09/26/2011 08:05 PM, Keith Fahlgren wrote: http://idpf.org/epub/30/spec/epub30-publications.html#confreq-rs-backward-epub2 On Mon, Sep 26, 2011 at 12:15 AM, davepda...@dpawson.co.uk wrote: What's the situation wrt backwards compatibility Keith? Is epub 3 'required' to be backwards

Re: [docbook-apps] EPUB3: missing some meta data

2011-09-27 Thread davep
On 09/27/2011 07:38 AM, Michael Wiedmann wrote: davep wrote: On 09/26/2011 08:05 PM, Keith Fahlgren wrote: http://idpf.org/epub/30/spec/epub30-publications.html#confreq-rs-backward-epub2 It should process EPUB version 2 Publications as defined in[OPF2] http://idpf.org/epub/30/spec

Re: [docbook-apps] EPUB3: missing some meta data

2011-09-27 Thread davep
On 09/27/2011 08:25 AM, Bob Stayton wrote: Hi Keith, This description is backwards compatibility of the epub 3 reader, that it should be able to handle epub 2 documents. That is useful, must mostly of interest to creators of epub3 reader software. I don't have that interpretation Bob? I

Re: [docbook-apps] EPUB3: missing some meta data

2011-09-27 Thread davep
On 09/27/2011 09:39 AM, Bob Stayton wrote: Well, the title of that section is 2.2 Reading System Conformance and the intro para says An EPUB Reading System must meet all of the following criteria: So the spec is more than just the file format. Bob Stayton Sagehill Enterprises

[docbook-apps] fo output, docbook 5,

2011-10-10 Thread davep
Two issues. There is a param xsl:param name=text-align-lastleft/xsl:param Not visible on http://docbook.sourceforge.net/release/xsl/1.76.1/doc/fo/ Tried setting xsl:param name=ulink.hyphenate.chars/_amp;/xsl:param and I see no hyphenation on the / character, xep formatter. I have hyphenate

Re: [docbook-apps] fo output, docbook 5,

2011-10-10 Thread davep
, then text-align-last defaults to left? Where please? grep doesn't show that? regards DaveP - Original Message - From: davep da...@dpawson.co.uk To: Docbook-apps docbook-apps@lists.oasis-open.org Sent: Monday, October 10, 2011 1:46 AM Subject: [docbook-apps] fo output, docbook 5

Re: [docbook-apps] fo output, docbook 5,

2011-10-10 Thread davep
On 10/10/2011 04:04 PM, Bob Stayton wrote: Hi Dave, I do think if justification is set to on, that text-align-last should be set to left? Looks horrible stretched out to justify? I completely agree, as did the authors of the XSL-FO spec. The spec says the default value for text-align-last

[docbook-apps] Parameter interaction. Can you help?

2011-10-11 Thread davep
I've just been caught out setting one parameter, which depends on another being set. I.e. I set one not knowing the other had to be set? To help others, if you know of parameters which are associated like this, where the documentation could be improved, please let me know and I'll update

[docbook-apps] Docbook and 'style'. db5 and xsl-fo output

2011-10-24 Thread davep
Some time back I had an itch, I wanted to add style information to docbook schema. I've now scratched it, adding properties to a couple of elements and creating stylesheet customizations to match. See http://dpawson.co.uk/docbook/style/style.html regards -- Dave Pawson XSLT XSL-FO FAQ.

[docbook-apps] titlepage customization, docbook v5

2011-11-26 Thread davep
I'm having problems using the html titlepage code. Bob has http://www.sagehill.net/docbookxsl/TitlePageNewElems.html which relates to older versions, where the templates and the xsl file to process it is in the template directory which doesn't exist in the v5 distro. I copied out

Re: [docbook-apps] titlepage customization, docbook v5

2011-11-26 Thread davep
On 11/26/2011 08:29 AM, davep wrote: I'm having problems using the html titlepage code. Only because I didn't rtfm. why does it always happen after I send the email? the template directory is still there, used as in previous releases. Sorry for the noise. regards -- Dave Pawson XSLT

[docbook-apps] Relocated graphics.... bug or not?

2011-11-29 Thread davep
Scenario. I keep my graphics in X/graphics I set xsl:param name=img.src.path select='/styles/rpi/graphics/'/ I build (docbook v5) During the build I get errors Failed to load image: ARM1176JZF-Sblockdiag.png Part of the (ant based) build is to copy all images to /styles/rpi/graphics so

Re: [docbook-apps] Relocated graphics.... bug or not?

2011-11-29 Thread davep
On 11/29/2011 02:06 PM, Markus Hoenicka wrote: davep da...@dpawson.co.uk was heard to say: During the build I get errors Failed to load image: ARM1176JZF-Sblockdiag.png Just a thought: does this error message indeed state that the image file was not where it was supposed to be, or does

Re: [docbook-apps] Relocated graphics.... bug or not?

2011-11-29 Thread davep
On 11/29/2011 02:31 PM, David Cramer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think you've run into the bug mentioned here: http://www.cygwin.com/ml/docbook-apps/2005-q1/msg00320.html David Yes. Looks like it. Is it a bug processing or java? Or just the way I'm using

Re: [docbook-apps] Relocated graphics.... bug or not?

2011-11-29 Thread davep
On 11/29/2011 06:15 PM, Jirka Kosek wrote: On 29.11.2011 16:55, davep wrote: Yes... The source file has href='file.jpg' i.e. in same directory as XML former, but that means the latter (if you see what I mean?) I'm doing it so that files loaded from my hard drive load from the same 'absolute

Re: [docbook-apps] MSV validation?

2011-11-29 Thread davep
On 11/29/2011 07:18 PM, Bob Stayton wrote: I've used Sun's Multi-Schema Validator with the Schematron add-on for DocBook5 files. The version with add-on was in a 'relames.jar' file. I am no longer able to locate a download for such a file. Since Oracle bought Sun, it is now the Oracle

Re: [docbook-apps] Relocated graphics.... bug or not?

2011-11-29 Thread davep
On 11/29/2011 04:59 PM, Bob Stayton wrote: Yes, as the message says, it is a bug introduced in version 1.67 of the java extensions. The extension code is triggered when stylesheet parameters $use.extensions=1 and $graphicsize.extension=1. It appears that a bug report was not filed (I cannot

Re: [docbook-apps] passivetex support

2011-12-14 Thread davep
On 12/15/2011 08:03 AM, Klaus Schilling wrote: Is Docbook In ConTeXt usable for Docbook5? Or what other free software tools without java exist for that purpose? Emacs + nxml-mode. Very solid, also provides an xslt 2.0 mode. HTH regards -- Dave Pawson XSLT XSL-FO FAQ.

[docbook-apps] Opera oddity

2011-12-21 Thread davep
using opera labs 12.0 beta. I have my images at /dir/dir/name.jpg Works fine in FF, Chrome. For some strange reason I get the 'graphic missing' glyph in Opera? Anyone else noticed this? regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk

[docbook-apps] Sun Java, 64 bit, core dump?

2012-01-25 Thread davep
Getting rather regular recently. I'm on Linux if it makes a difference. I run docbook transforms using Ant. xInclude, Validate, transform to html. I can do it half a dozen times then I get a core dump. Rebooting or log-off/-on seems to cure it for a while. Today it was using a transform in

Re: [docbook-apps] Content Management solutions that support DocBook 5.x?

2012-02-04 Thread davep
docbook ) on import? Something I found this week which surprised me. A well formed document, but invalid, was rejected. regards DaveP -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: docbook-apps

Re: [docbook-apps] Regarding the project DocBook to Word XML roundtripping XSLs

2012-04-02 Thread davep
On 02/04/12 05:03, Buddhiprabha Erabadda wrote: Are there any other links to resources which might be useful to further study about the project DocBook to Word XML roundtripping XSLs? I am new to DocBook and I would appreciate advice regarding the project. Thank you in advance.

[docbook-apps] Indexing.

2012-05-05 Thread davep
I'm about to start indexing a db5 book. Reading up on the subject(Nancy C. Mulvany) and wondered if anyone has been there and done that, got the tee-shirt and found the pitfalls in docbook? Any advice from those with lots of experience of using db indexes please? regards -- Dave Pawson XSLT

Re: [docbook-apps] Indexing.

2012-05-05 Thread davep
On 05/05/12 11:00, Thomas Schraitle wrote: Any advice from those with lots of experience of using db indexes please? Are you asking more about the indexing task itself or about the technical aspect? The docbook aspects please Thomas Speaking about the indexing task itself, IHMO this is

Re: [docbook-apps] Indexing.

2012-05-05 Thread davep
On 05/05/12 12:52, PC Thoms wrote: Hi Dave Mulvany's text is an excellent indexing manual. The Chicago Manual of Style (http://www.chicagomanualofstyle.org/home.html) has a concise chapter on indexing. A free trail is available, and this manual is usually available at a library in the

Re: [docbook-apps] Better rendering for programlisting

2012-05-05 Thread davep
On 05/05/12 14:33, Norman Walsh wrote: Hello world, The current rendering for verbatim environments, when line numbers are enabled, has a significant deficiency: you can't cut-and-paste the listing without also getting the line numbers and separators. Looking around at other sites with

Re: [docbook-apps] Re: Indexing.

2012-05-06 Thread davep
On 05/05/12 17:15, Norman Walsh wrote: The sources for The Definitive Guide have quite a bit of index markup from the O'Reilly copyedit. That might be a good place to look for examples. Indexing is an art. Yes. Exactly how it's described in this book I'm reading. Tks for the reference,

Re: [docbook-apps] Re: Indexing.

2012-05-06 Thread davep
On 05/05/12 17:17, Norman Walsh wrote: davepda...@dpawson.co.uk writes: I did made a note to for myself some time back that anindexterm inside a footnote caused an error. I was using oXygenXML v12 at the time. Not sure if this is still the case. Footnotes aren't normally indexed is one

Re: [docbook-apps] Indexing.

2012-05-06 Thread davep
On 05/05/12 18:57, Richard Hamilton wrote: Dave, Regarding the markup mechanics, here are two possibly unexpected things to look out for: 1) When you are doing a range, the closing index term in the range cannot follow a section close. I.e., If you have the following para some

Re: [docbook-apps] Better rendering for programlisting

2012-05-06 Thread davep
On 06/05/12 01:23, David Cramer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/05/2012 10:38 AM, davep wrote: 1. Stick with what we have now. 2. Use the table solution and accept the limitation that all lines must always be the same height. Why is this an issue Norm? How often

Re: [docbook-apps] Indexing.

2012-05-07 Thread davep
On 06/05/12 22:45, John W. Shipman wrote: There are certain very specific fetishes I have about indexing that I see violated quite often. !Not sure you should be talking about your fetishes in public John!! The index to the Guide to LaTeX by Helmut Kopka has an example of a horrible flaw

Re: [docbook-apps] Indexing.

2012-05-11 Thread davep
If this is implemented in axf, do you think it is a worthwhile addition Bob? http://www.antennahouse.com/xslfo/fo.htm 6.13.7 fo:retrieve-table-marker Extendedyes So it seems it is? regards - Original Message - From: davep da...@dpawson.co.uk To: docbook-apps@lists.oasis-open.org Sent

Re: [docbook-apps] Copyright and dbtimestamp

2012-06-14 Thread davep
this? regards DaveP -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - 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] Copyright and dbtimestamp

2012-06-15 Thread davep
DaveP regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - 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] generating a custom css to epub3 -- how? (+ italics?)

2012-07-18 Thread DaveP
On 07/18/2012 07:21 AM, Robert Nagle wrote: I've started to play around with the epub3 stylesheets. I noticed that with the epub3 there is a docbook.epub.css which is generated in the output directory. I don't know what the rationale for this was (although I appreciate that there are default

[docbook-apps] Re: generating a custom css to epub3 -- how? (+ italics?)

2012-07-18 Thread DaveP
On 07/18/2012 08:13 AM, Robert Nagle wrote: Ok, I haven't achieved my goal, which is causing docbook2.css to be copied into the target directory. The xhtml references the docbook2.css file though. Ok, Dave are you saying that I need to preprocess the xsl customization layer in order to expand

Re: [docbook-apps] Multilanguage DocBook documents - best practices needed

2012-07-23 Thread DaveP
On 07/23/2012 10:15 AM, Thomas Schraitle wrote: Hi Dave, On Mon, 23 Jul 2012 09:29:49 +0100 DaveP da...@dpawson.co.uk wrote: [...] I too thought it should be possible to have more than one language in a single file. Well, you *could* use the lang attribute and carefully assemble your

Re: [docbook-apps] WYSIWYG Editor for docbook

2012-08-13 Thread DaveP
On 08/13/2012 09:14 AM, Paul Taylor wrote: On 13/08/2012 02:19, deannel...@aol.com wrote: Paul, I've used oXygenXML before and if you can afford it, it will accelerate your content development. However, if you need a cheap (free) editor with OK XML support, use Eclipse which has XML support and

Re: [docbook-apps] Epub3 - zip, or not ?

2012-08-31 Thread DaveP
On 08/31/2012 12:51 PM, Kerry, Richard wrote: zip is the Info-zip program to create and manipulate zip files. I know that (and I already knew it), but note to the maintainers of the documentation - please state it explicitly; as I indicated I got the 'zip' is not recognized as an

[docbook-apps] website 2.6

2012-09-14 Thread DaveP
In my output I'm seeing htmlhead class='abc' meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1 etc in website.xsl there is a call to head.xsl which is followed, proven by outputting comments. head class='abc' xsl:comment head, head.mode /xsl:comment

Re: [docbook-apps] website 2.6

2012-09-14 Thread DaveP
On 09/14/2012 11:16 AM, Jirka Kosek wrote: On 14.9.2012 11:15, DaveP wrote: I am stuck, wondering where the charset definition is coming from? It is automatically generated if the output method is HTML. This is standard feature of XSLT. ? Input ?xml version=1.0 encoding=utf-8? doc/ ss

Re: [docbook-apps] website 2.6

2012-09-14 Thread DaveP
On 09/14/2012 11:38 AM, DaveP wrote: On 09/14/2012 11:16 AM, Jirka Kosek wrote: On 14.9.2012 11:15, DaveP wrote: I am stuck, wondering where the charset definition is coming from? It is automatically generated if the output method is HTML. This is standard feature of XSLT. ? Input ?xml

Re: [docbook-apps] website 2.6

2012-09-14 Thread DaveP
On 09/14/2012 01:30 PM, Jirka Kosek wrote: On 14.9.2012 13:52, DaveP wrote: If I add the head element, I get the meta output, with the encoding (seemingly ) derived from the input xml encoding. It's definitively not from XML input encoding. It's exither from xsl:output instruction if you

Re: [docbook-apps] Images not getting output in all formats using Oxygen 14.0

2012-09-28 Thread DaveP
On The WebHelp output (either the one which comes with Docbook or the customized Oxygen WebHelp) executes an ANT transformation which besides applying the XSLT stylesheets on the XML files does additional operations like copying image folders to the output folder. Yes realized later on I could

Re: [docbook-apps] Wrong PDF output: Custom button-format is only displayed in the Oxygen Editor and HTML, but not in PDF. Frame is missing.

2012-10-05 Thread DaveP
On 10/05/2012 01:42 PM, Aaron DaMommio wrote: I'm no expert on fo properties, Daniel, but here is a reference to the properties available for margins on an inline: http://www.schemacentral.com/sc/fo11/ag-fo_common-margin-properties-inline.html Thanks for that Aaron. Not sure how valid the xsd

Re: [docbook-apps] PDF transformation: Why is the right border of my inline box missing when I transform to PDF. It works for HTML and Oxygen XML Editor.

2012-10-12 Thread DaveP
On 10/12/2012 01:37 PM, daniel.ke...@finaris.de wrote: Hi Simon, we have implemented some custom styles in our style sheet and schema, so d:button shuld/ does match. As mentioned before, it is a custom style. It works for HTML and our Oxygen XML Editor, but not for PDF. Is it possible that

Re: [docbook-apps] re: How to create sidebars for epub3?

2012-10-13 Thread DaveP
On 10/13/2012 03:43 AM, Robert Nagle wrote: Jason, one thing that you should remember is that Amazon recently made the Kindle 3s support KF8. Kindle 3s were available as early as Fall, 2010, so that did wonders for backward compatibility. Ideally one would like to support everything, but I think

Re: [docbook-apps] Setting book toc.indent.width for sect1

2012-10-13 Thread DaveP
On 10/13/2012 08:33 AM, Xmplar wrote: In a book toc, I need to set the first-level sections listed under each chapter against the left margin of the toc. The screenshot showing the sections listed under Chapter 2 is what I’m trying to achieve with a customization of toc.indent.width (I think

[docbook-apps] DTD documentation.

2012-10-14 Thread DaveP
A relatively new project https://github.com/NCBITools/DtdAnalyzer documents DTD's, enabling markdown additions. I ran it on docbook, then the xslt. Produces a neat (undocumented of course) variant of the docbook dtd. Others may find it useful to aid in documenting dtd's. regards -- Dave

[docbook-apps] Indexing markup... emacs

2012-10-31 Thread DaveP
Reading a very good emacs blog I found the guy has a book, $5 US http://ergoemacs.org/emacs/buy_xah_emacs_tutorial.html The blog is good, I'm finding the tutorial really handy Quick lesson in macros. Docbook indexing. Highlight the term, M-x pi with or without s (for secondary term) Enjoy.

[docbook-apps] snapshots unavailable? 11 11 12

2012-11-11 Thread DaveP
http://docbook.sourceforge.net/snapshots/ Error 503 Service Unavailable Service Unavailable Guru Meditation: XID: 1275547498 Varnish cache server regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To

Re: [docbook-apps] snapshots unavailable? 11 11 12

2012-11-11 Thread DaveP
On 11/11/2012 01:08 PM, David Cramer wrote: Seems to be working fine now. David Yes. Thanks David. On 11/11/2012 02:49 AM, DaveP wrote: http://docbook.sourceforge.net/snapshots/ Error 503 Service Unavailable Service Unavailable Guru Meditation: XID: 1275547498 Varnish cache server

[docbook-apps] docbook website, version.... 6?

2012-11-13 Thread DaveP
this DTD to Norman Walsh, ndw@nwal 2. website.rng !-- Website DTD V2.6 Copyright (C) 1997-2003 Norman Walsh http://sourceforge.net/projects/docbook/ $id: website.rng, v 3.0 2008/02/09 12:00:00 davep Exp $ Please direct all questions and comments about this DTD to Norman Walsh, n

Re: [docbook-apps] DocBook XSL stylesheets version 1.78.0 have been released

2012-12-19 Thread DaveP
On 12/18/2012 10:19 PM, Bob Stayton wrote: A candidate release 1.78.0 of the DocBook XSL stylesheets has been released on SourceForge for downloading. After logging onto the DocBook SourceForge site, go to: Files docbook-xsl 1.78.0 or Files docbook-xsl-ns 1.78.0 Are there any plans to

[docbook-apps] Re Customization: was annotating docbook sections

2012-12-30 Thread DaveP
On 30/12/12 08:17, Bob Stayton wrote: That titlepage mechanism is described in this documentation: http://www.sagehill.net/docbookxsl/HTMLTitlePage.html I make it a practice of examining (or copying) the original template matching on an element before customizing it. That way I can see what

[docbook-apps] epub3

2013-01-30 Thread davep
may be an attempt to write files to the parent? I'm on Linux. Is this an oddity? a feature of xsltproc? Something else? suggestions please DaveP - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org

Re: [docbook-apps] epub3

2013-01-30 Thread davep
On 30/01/13 08:25, davep wrote: Latest stylesheets, db5 source, single file. The readme says xsltproc \ --stringparam base.dir ebook1/OEBPS/ \ epub3/chunk.xsl \ mybook.xml I tried, with a source file tmp.xml, having created ./ebook and ./ebook/OEBPS. Having run the transform, I see $ tree

[docbook-apps] copyright sign, 1-78 stylesheets, xsl-fo

2013-01-30 Thread davep
, is there anyway of changing this (seemingly singular) use of the font selected please? TIA DaveP - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h

Re: [docbook-apps] epub3

2013-01-30 Thread davep
on the iPad, looks really good. regards *From:* davep mailto:da...@dpawson.co.uk *Sent:* Wednesday, January 30, 2013 12:47 AM *To:* docbook-apps@lists.oasis-open.org mailto:docbook-apps@lists.oasis-open.org *Subject:* Re: [docbook-apps] epub3 On 30/01/13 08:25, davep wrote: Latest stylesheets

Re: [docbook-apps] copyright sign, 1-78 stylesheets, xsl-fo

2013-01-30 Thread davep
of ZapfDingbats get to the font file font-folder path=/usr/AHFormatterV6_64/fonts font-entry file=ZapfDingbats.afm glyph-list=ZapfDingbats-glyphname.txt/ /font-folder regards -- From: davep da...@dpawson.co.uk Sent: Wednesday

  1   2   >