Re: [docbook-apps] .texi files conversion to docbook

2015-01-12 Thread davep
On Wed, 07 Jan 2015 16:10:59 -0500 Peter Eisentraut pe...@eisentraut.org wrote: On 1/6/15 4:35 AM, davep wrote: Does anyone know if tools to convert from texinfo files to docbook are up to date please? Do they do a good / reasonable job? I have been using docbook2x for a while. It works

[docbook-apps] .texi files conversion to docbook

2015-01-06 Thread davep
Does anyone know if tools to convert from texinfo files to docbook are up to date please? Do they do a good / reasonable job? TiA Dave P -- regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To

Re: [docbook-apps] Tests Framework for DocBook Stylesheets Customizations?

2014-10-19 Thread davep
On Thu, 16 Oct 2014 15:11:27 +0200 Thomas Schraitle tom_s...@web.de wrote: Apart from this technical implementations, I'm more interested in the overall structure. What would be a good test environment for stylesheet customizations? Or even the DocBook stylesheets itself? Start at the bottom?

Re: [docbook-apps] Tests Framework for DocBook Stylesheets Customizations?

2014-10-16 Thread davep
On Thu, 16 Oct 2014 10:56:11 +0200 Thomas Schraitle tom_s...@web.de wrote: Hi, when developing customizations for the DocBook stylesheets I have always the feeling I forget something important and work without any safey net. ;) As such, it would be great to have a test framework which

Re: [docbook-apps] support for xpointer

2014-09-16 Thread davep
On Sun, 14 Sep 2014 16:01:27 -0400 Stefan Seefeld ste...@seefeld.name wrote: On 09/14/2014 02:02 PM, Richard Hamilton wrote: Regarding the question of pulling the second listitem from a section with a particular id, I think the following will do the trick (I don't claim it's the most

[docbook-apps] transclusion

2014-09-06 Thread davep
Piece from Eliot on transclusion. http://thelanguageofcontentstrategy.com/2014/09/term-of-the-week%3A-transclusion -- regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail:

Re: [docbook-apps] db5, fo output, page breaks

2014-06-24 Thread davep
On Mon, 23 Jun 2014 16:01:52 +0200 Jirka Kosek ji...@kosek.cz wrote: On 23.6.2014 15:40, davep wrote: Yes... but it wouldn't help with tiny chapters? I'm thinking I have to go to article layout, not a big job for this piece. Yes, each chapter starts a new fo:page-sequence, so you have

Re: [docbook-apps] db5, fo output, page breaks

2014-06-23 Thread davep
/force.blank.pages.html Peter Yes... but it wouldn't help with tiny chapters? I'm thinking I have to go to article layout, not a big job for this piece. Thanks Peter. On Sun, Jun 22, 2014 at 7:20 AM, davep da...@dpawson.co.uk wrote: Chapter based book, I'm getting 'too many' page breaks

[docbook-apps] db5, fo output, page breaks

2014-06-22 Thread davep
Chapter based book, I'm getting 'too many' page breaks (chapters less than a page long). There appears to be no pagination based params to control this? Convert to article to reduce length? Is that the only option please? TiA -- regards -- Dave Pawson XSLT XSL-FO FAQ.

Re: [docbook-apps] Strip docbook-5 to content only

2014-03-25 Thread davep
use XSLT but I won't grin/ regards DaveP Regards, Michael Fritsch -Original Message- From: davep [mailto:da...@dpawson.co.uk] Sent: Sonntag, 23. März 2014 12:33 To: docbook-apps@lists.oasis-open.org Subject: [docbook-apps] Strip docbook-5 to content only I'm playing

[docbook-apps] Strip docbook-5 to content only

2014-03-23 Thread davep
I'm playing with a grammar checker that isn't as yet XML friendly. One option is to strip all markup and pass through to the grammar checker having expanded any xincludes. Issues: 1. Plain text output, Ideally block - newline, inlines -whitespace separation. 2. Indexing is a special. Null

Re: [docbook-apps] Re: Syntax highlighting

2013-12-10 Thread davep
On 10/12/13 09:41, Frank Arensmeier wrote: 10 dec 2013 kl. 07:59 skrev davep da...@dpawson.co.uk: On 09/12/13 16:09, Norman Walsh wrote: I can see you getting 80% with html and CSS... My penneth says you'll fall over on the 20% so I'm -1 on this. Do you believe you can do it? What of re

Re: [docbook-apps] Re: Syntax highlighting

2013-12-09 Thread davep
On 09/12/13 16:09, Norman Walsh wrote: I can see you getting 80% with html and CSS... My penneth says you'll fall over on the 20% so I'm -1 on this. Do you believe you can do it? What of re-ordering, toc etc? Oh, you'd need a for print HTML stylesheet. There's lots of things that CSS can't

Re: [docbook-apps] Re: HTML5 Audio + Video multiple sources

2013-12-09 Thread davep
On 09/12/13 21:52, Norman Walsh wrote: I'm not sure what the right answer is. If HTML5 is going to represent the state of the art for the forseable future, an argument can be made that we should simply copy its model. But we'd lose functionality if we did that (functionality that in the HTML5

Re: [docbook-apps] Syntax highlighting

2013-12-06 Thread davep
On 06/12/13 21:53, Norman Walsh wrote: Hello world, A fair bit of effort in the DocBook stylesheets goes into parsing, decomposing, annotating, and recomposing program listings for the purpose of adding line numbers to them. There's also a bunch of work that goes into syntax highlighting them.

Re: [docbook-apps] Storing data within Docbook?

2013-11-19 Thread davep
On 19/11/13 00:34, Vadim Peretokin wrote: I'm transforming some data from an XML format into a Docbook table - but not all of the data in the XML is to be displayed in Docbook. I would, however, like to store it in my Docbook XML - because future transformations would like to read my Docbook XML

Re: Fwd: Re: [docbook-apps] Storing data within Docbook?

2013-11-19 Thread davep
On 20/11/13 00:38, Vadim Peretokin wrote: Dodgy mailing list software on some servers broke my habit of 'reply all'. Sorry - forwarding to the ML. Alright - I'll have to make my custom Docbook stylesheet ignore this entry then though when preprocessing it, right? Yes... No. Customize

[docbook-apps] v5, html output. toc management

2013-08-25 Thread davep
http://docbook.sourceforge.net/release/xsl/1.75.2/doc/html/generate.toc.html tells me all about selecting what to put in toc... I have an article. Weird toc requirements, so I generated docbook toc content myself. It's not showing in html ouput? I have xsl:param name=generate.toc article

[docbook-apps] db 5, html output, tocdiv/title

2013-08-25 Thread davep
Processing resulted in report Element title in namespace 'http://docbook.org/ns/docbook' encountered in tocdiv, but no template matches. I believe it to be valid docbook. toc titleRules - Table of Contents/title tocdiv titleSections/title tocentry

[docbook-apps] db5 stylesheets, chunking... or not, on appendix

2013-08-22 Thread davep
Styling an article. I call docbook.xsl I am getting the body of the article as a single file, but the appendices and index are output as separate files? Is this intended please? If so, how to stop it being chunked? regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk

Re: [docbook-apps] db5 stylesheets, chunking... or not, on appendix

2013-08-22 Thread davep
On 22/08/13 10:02, davep wrote: Styling an article. Sorry, please ignore. resolved - finger trouble. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: docbook-apps-unsubscr

Re: [docbook-apps] Use of XML Catalog with Ant (xslt task) - request for example (using for DocBook/WebHelp)

2013-08-16 Thread davep
On 16/08/13 11:45, Kerry, Richard wrote: I'm still not getting this working. Please can someone who's had it working tell me how to do the following : 1. The syntax for the catalog spec. Ive tried this : xmlcatalog id=docbook-catalog catalogpath pathelement

Re: [docbook-apps] Ajax HTML format wanted

2013-04-25 Thread davep
On 25/04/13 10:56, Edwin Aldridge wrote: I am writing a set of docbook articles which I would like presented on the web but I find the HTML and XHTML formats really clunky. Aesthetics asice, they certainly do not take advantage of the medium's capabilities and am looking for something a bit

Re: [docbook-apps] Epub2 and SVG

2013-04-05 Thread davep
On 04/04/13 20:28, Marcel Tromp wrote: I am curious about other people's approach to using SVG in Epub2. IIRC Epub2, the spec, doesn't mention SVG? Perhaps that is why most readers don't render well? regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk

[docbook-apps] v5, pdf output, font-family config

2013-03-02 Thread davep
In my import stylesheet I have xsl:param name=body.font.familyaries, ariesItalic, ariesBoldOSfigs/xsl:param I.e. I want the formatter to use different fonts to match normal, body, bold. when I look at the xxx.fo file I see font-family=aries ariesItalic ariesBoldOSfigs,Symbol,ZapfDingbats

Re: [docbook-apps] v5, pdf output, font-family config

2013-03-02 Thread davep
have been something odd I was doing. Now working, thanks for your reply. Sorry to waste bwidth. regards Bob Stayton Sagehill Enterprises b...@sagehill.net -- From: davep da...@dpawson.co.uk Sent: Saturday, March 02, 2013 7:41 AM To: docbook

Re: [docbook-apps] O'Reilly blog...

2013-02-04 Thread davep
On 05/02/13 04:59, Warren Young wrote: On 2/1/2013 11:31, davep wrote: http://techblog.safaribooksonline.com/2013/02/01/the-unxmling-of-digital-books/ It's an interesting article, and the issues it brings up are real. DocBook XML is fine when it fits the shape of the hole your problem has

[docbook-apps] docbook parameters

2013-02-02 Thread davep
... is that the only place?) and where they are defined (roughtly the same thing). I was working from svn so the file locations are relative. It may help others puzzling over interactions. The xslt is available if anyone wants it. DaveP ?xml version=1.0 encoding=UTF-8? usage stylesheet name

[docbook-apps] O'Reilly blog...

2013-02-01 Thread davep
be interested. DaveP

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

2013-01-31 Thread davep
On 31/01/13 18:18, Bob Stayton wrote: This copyright is in a bibliography, right? No Bob, chapter/info/copyright but it seems to work the same as your description. The template for processing copyright in mode=bibliography.mode calls the template named dingbat in fo/fo.xsl to generate the

[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

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

2013-01-30 Thread davep
template name='dingbat' regards DaveP -- From: davep da...@dpawson.co.uk Sent: Wednesday, January 30, 2013 11:01 AM To: Bob Stayton b...@sagehill.net Cc: docbook-apps@lists.oasis-open.org Subject: Re: [docbook-apps] copyright sign, 1-78 stylesheets, xsl

[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

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] 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

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

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

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] 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] 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

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

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] 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] 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] 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] 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] 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] 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] 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

[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] 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.

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

[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

[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

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] 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

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

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

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] 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] 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

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

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

  1   2   >