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

2015-01-12 Thread davep
On Wed, 07 Jan 2015 16:10:59 -0500 Peter Eisentraut 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.

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

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 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? A basic 1.

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 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 could > au

Re: [docbook-apps] support for xpointer

2014-09-16 Thread davep
On Sun, 14 Sep 2014 16:01:27 -0400 Stefan Seefeld 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 elegant way to do

[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: docbook-apps-u

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

2014-06-23 Thread davep
On Mon, 23 Jun 2014 16:01:52 +0200 Jirka Kosek 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 f

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

2014-06-23 Thread davep
lank.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 wrote: > > Chapter based book, I'm getting 'too

[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. http://www.dpawson.co.

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

2014-03-25 Thread davep
I'm tempted to ask why you didn't use XSLT but I won't 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-o

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

2014-03-25 Thread davep
On Mon, 24 Mar 2014 10:51:55 +0100 Stefan Knorr wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Hi Dave, > > On 23/03/14 12:32, davep wrote: > > I'm playing with a grammar checker that isn't as yet XML friendly. > > One option is to

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

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 w

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'

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: 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 t

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

[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. Rules - Table of Contents Sections etc regards -- Dave Pawson XSLT XSL-FO FAQ. http:/

[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 article title Not sure if I want this

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

[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] 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 : I think it needs the ns? HTH and something similar

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 smart

Re: [docbook-apps] Epub2 and SVG

2013-04-04 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] Oasis catalog 1.1

2013-03-22 Thread davep
I note Bob uses 1.0 at http://www.sagehill.net/docbookxsl/WriteCatalog.html#ResolveDtdLoc Has anyone integrated 1.1 catalogs please? I think it's the commons resolver in xerces-j? I need the systemSuffix feature which is 1.1 only? Tia regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpaw

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

2013-03-02 Thread davep
s!), so it must 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" Sent: Saturday, March 02, 2013 7:41 AM To: Sub

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

2013-03-02 Thread davep
In my import stylesheet I have aries, ariesItalic, ariesBoldOSfigs 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" So although the font list is comma separa

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 proble

[docbook-apps] docbook parameters

2013-02-02 Thread davep
hoose... 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 definition=&q

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

2013-02-01 Thread davep
lt;http://safaribooksonline.com/>. I thought others might 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

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

2013-01-30 Thread davep
------- From: "davep" Sent: Wednesday, January 30, 2013 11:01 AM To: "Bob Stayton" Cc: Subject: Re: [docbook-apps] copyright sign, 1-78 stylesheets, xsl-fo On 30/01/13 17:39, Bob Stayton wrote: Hi Dave, The copyright symbol is in the Symbol font, which is include

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

2013-01-30 Thread davep
le regards ------ From: "davep" Sent: Wednesday, January 30, 2013 2:30 AM To: Subject: [docbook-apps] copyright sign, 1-78 stylesheets, xsl-fo I'm getting a character glyph missing exception with AH processor. I think this is the source? The AH font file

Re: [docbook-apps] epub3

2013-01-30 Thread davep
, read 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, da

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

2013-01-30 Thread davep
ingly 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...@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] 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.or

[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
I (finally) came round to using this. Couple of comments, though I'd better define the version I'm using. 1. Schema Autolayout.rng headed 3. Stylesheets website.xsl

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

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

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 tha

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

2012-10-12 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] 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 our

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

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 instruct

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 ss

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 ss http://www.w3.org/1999/XSL/Transform

[docbook-apps] website 2.6

2012-09-14 Thread DaveP
In my output I'm seeing etc in website.xsl there is a call to head.xsl which is followed, proven by outputting comments. head, head.mode I am stuck, wondering where the charset definition is coming from? Any suggestions please? regards -- Dave Pawson XSLT X

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 an

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 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 structure if you want to

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

2012-07-23 Thread DaveP
On 07/23/2012 07:58 AM, Jirka Kosek wrote: In my experience the following works pretty well: 1. Store your source language (usually English) as modular DocBook documents. 2. Prior sending document for translation assemble it into one large file. 3. Use agency which has very good translation s

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

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

2012-07-17 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 c

Re: [docbook-apps] Copyright and dbtimestamp

2012-06-15 Thread davep
RRENT_YEAR; My Company Not sure how syntactically, possibly using the PI where Dean has the entity? but having me specify 2005, and letting the stylesheets pull in the current year seems a good way to address this? regards DaveP regards -- Dave Pawson XSLT XSL-FO FAQ. http://www

Re: [docbook-apps] Copyright and dbtimestamp

2012-06-14 Thread davep
2005-&CURRENT_YEAR; My Company Not sure how syntactically, possibly using the PI where Dean has the entity? but having me specify 2005, and letting the stylesheets pull in the current year seems a good way to address this? regards DaveP -- Dave Pawson XSLT XSL-FO

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" To: Sent: Monday, May 07, 2012 12:10 AM S

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] Better rendering for programlisting

2012-05-05 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-05 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 some text.

Re: [docbook-apps] Re: Indexing.

2012-05-05 Thread davep
On 05/05/12 17:17, Norman Walsh wrote: davep writes: I did made a note to for myself some time back that an 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 piece of adv

Re: [docbook-apps] Re: Indexing.

2012-05-05 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, I'll

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 numbered

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 referenc

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 som

[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] Regarding the project DocBook to Word XML roundtripping XSLs

2012-04-01 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. http://www.zve

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 oXyge

[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. http://www.dpawson.c

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 f

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 Multi-S

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

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

2011-11-29 Thread davep
27;m using docbook to get what I want? regards On 11/29/2011 08:06 AM, Markus Hoenicka wrote: davep 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 supp

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

2011-11-29 Thread davep
On 11/29/2011 02:06 PM, Markus Hoenicka wrote: davep 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 it state (quite

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

2011-11-29 Thread davep
Scenario. I keep my graphics in X/graphics I set 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 they aren't really missing... When checking for 'missing' gr

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 P

[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 titlepage.templa

Re: [docbook-apps] Relative path for highlight.xslthl.config

2011-11-21 Thread davep
On 11/21/2011 06:59 PM, Lars Vogel wrote: Hi, I'm currently using an absolute path for the syntax highlighting configuration file. As I'm switching between computers back and forth I would like to make this relative. Currently: I did not manage to make the system accept a relative path. Can

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

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

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] fo output, docbook 5,

2011-10-10 Thread davep
See the attached graphic, if it comes through? You say that if I set justify, then text-align-last defaults to left? Where please? grep doesn't show that? regards DaveP - Original Message - From: "davep" To: "Docbook-apps" Sent: Monday, October 10, 2011

[docbook-apps] fo output, docbook 5,

2011-10-10 Thread davep
Two issues. There is a param left Not visible on http://docbook.sourceforge.net/release/xsl/1.76.1/doc/fo/ Tried setting /_& and I see no hyphenation on the / character, xep formatter. I have hyphenate set to true. Screenshot Is there some interaction between text-align=justify and this?

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 b...@sagehil

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 thin

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

2011-09-26 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/epu

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, davep wrote: What's the situation wrt backwards compatibility Keith? Is epub 3 'required' to be backwards comp

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 pa

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, davep 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 is removed? Many

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

2011-09-22 Thread davep
.net> 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 is removed? regards DaveP - Original Message - *From:* Chris Ridd <mailto:chrisr...@mac.com> *To:* docbook-apps@lists.oasis-open.o

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 . Bob Stayton Sageh

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 $para.propagates.styl

  1   2   >