RE: [docbook-apps] programlisting page breaks

2011-02-14 Thread Cramer, David W (David)
Hi Dick, It sounds like what would happen if you have a keep-together on a fo:block around the code listing. I'd check for that. I also did a quick test with a document that has long code listings: Using XEP and our customization layer which is based on the 1.72.0 xsls, everything is fine.

RE: [docbook-apps] Ideas for GSoC 2011

2011-02-10 Thread Cramer, David W (David)
Indeed, that's on the list for WebHelp: Add an option to use Lucene for server-side searches with table of contents state persisted on the server. http://wiki.docbook.org/topic/WebHelpGsoc2011 It would be good for situations where running Eclipse as a war is too heavy and presumably simpler to

RE: [docbook-apps] Cascading Stylesheet for DocBook XML

2011-01-27 Thread Cramer, David W (David)
Hi Sanjaya, Also, please don’t feel limited to the ideas posted. As you explore the DocBook tools and the features it has and doesn’t you may come up with your own idea for a project. According to Google, those are often the most successful. David From: Sanjaya Liyanage

[docbook-apps] GSoC 2011 ideas page

2011-01-23 Thread Cramer, David W (David)
Hi there, Towards the end of last year's Google Summer of Code, I started a wiki page [1] with some possible projects for 2011 in case we decide to participate again and are accepted as a mentoring org. I've recently gotten a couple of questions from students who are thinking ahead and doing

RE: [docbook-apps] Manually forcing line breaks?

2010-12-17 Thread Cramer, David W (David)
Perhaps you could programmatically process the input file somewhere along the way (e.g. the fo file before rendering the pdf) to change the space(s) after le, la, and les to #160; (a non-breaking space). David -Original Message- From: Faehndrich Philippe

RE: [docbook-apps] db5 svg images

2010-12-16 Thread Cramer, David W (David)
I haven't gotten around to trying out svgweb [1] with DocBook content yet, but it looks to me like the most promising solution to the problem. David [1] http://code.google.com/p/svgweb/ -Original Message- From: Steve Johnson [mailto:ste...@caringo.com] Sent: Thursday, December 16,

[docbook-apps] RE: Problem with cover

2010-12-10 Thread Cramer, David W (David)
This is probably a hack, but have you tried using negative margin values on the region-body? Here’s what I do (works with xep): fo:region-body margin-bottom=-.02in margin-top=-.02in margin-left=-.02in margin-right=-.02in background-repeat=no-repeat

[docbook-apps] RE: 'WebHelp' from from DocBook: Browsers and operating systems; translation of UI; performance; authoring of DocBook files

2010-11-19 Thread Cramer, David W (David)
Hi Christian, I'm posting this to the docbook-apps mailing list so we can continue the thread there since your questions pertain to DocBook generally. Also, other members of the community might have things to contribute. Yes, you can produce WebHelp from simplified DocBook. WebHelp is based on

RE: [docbook-apps] acronyms, abbreviations, definitions

2010-11-17 Thread Cramer, David W (David)
On Tue, 16 Nov 2010 19:38:51 + Rowland, Larry larry.rowl...@hp.com wrote: Actually, if you read the entire message, I was not suggesting that the rendered document have the content in a different location, I was suggesting that there was already markup available to represent the

RE: [docbook-apps] acronyms, abbreviations, definitions

2010-11-17 Thread Cramer, David W (David)
But this isn't a glossary entry Larry? It's semantically wrong IMHO. DaveP Really? You come across glosstermacronymTLA/acronym/glossterm in a document and don't know what TLA means... OK, I'll play dumb. I want to use acronym, with an expansion, in a para David. The fact that

RE: [docbook-apps] Docbook Webhelp: saxparser problem

2010-11-17 Thread Cramer, David W (David)
Hi David, What version of ant are you using? I've just discovered that the webhelp build.xml fails with ant 1.8.1 (and I know it works with 1.6.5 to 1.8.0), however it fails at a different point and with a different error than you're seeing. David -Original Message- From: David

RE: [docbook-apps] Docbook Webhelp: saxparser problem

2010-11-17 Thread Cramer, David W (David)
- From: Cramer, David W (David) Sent: Wednesday, November 17, 2010 3:28 PM To: 'David Priest'; docbook-apps@lists.oasis-open.org Subject: RE: [docbook-apps] Docbook Webhelp: saxparser problem Hi David, What version of ant are you using? I've just discovered that the webhelp build.xml fails

RE: [docbook-apps] svgweb and DocBook

2010-11-14 Thread Cramer, David W (David)
[mailto:ji...@kosek.cz] Sent: Saturday, November 13, 2010 10:50 AM To: Cramer, David W (David) Cc: DocBook Apps ML Subject: Re: [docbook-apps] svgweb and DocBook Cramer, David W (David) wrote: Hi there, Has anybody incorporated svgweb into their DocBook-produced html? As I understand

[docbook-apps] svgweb and DocBook

2010-11-12 Thread Cramer, David W (David)
Hi there, Has anybody incorporated svgweb into their DocBook-produced html? As I understand it, it's some JavaScript goo that uses Flash to render the SVG in primitive browsers that don't support SVG or in cases where you want more consistent rendering of the SVG.

RE: [docbook-apps] Handling individual document attributes when publishing with Ant

2010-11-10 Thread Cramer, David W (David)
://ant-contrib.sourceforge.net/tasks/tasks/trycatch.html [2] http://sourceforge.net/projects/ant-contrib/files/ -Original Message- From: Peter Desjardins [mailto:peter.desjardins...@gmail.com] Sent: Tuesday, November 09, 2010 11:06 PM To: Cramer, David W (David) Cc: DocBook Apps

RE: [docbook-apps] acronyms, abbreviations, definitions

2010-11-10 Thread Cramer, David W (David)
Hi Nathalie, I once started to implement an acronym expanding xslt with the idea that I could write acronymTLA/acronym and have the first occurrence automatically be expanded to TLA (Three Letter Acronym). Things were going fine till I hit GNU and ended up with GNU (GNU (GNU (...) is not Unix)

RE: [docbook-apps] removing elements and attrs from title

2010-11-10 Thread Cramer, David W (David)
Hi Mike, Interesting idea about removing xml:id from titles. Try the following: include href=docbookxi.rng define name=db.title.attlist interleave optional ref

RE: [docbook-apps] Handling individual document attributes when publishing with Ant

2010-11-09 Thread Cramer, David W (David)
Hi Peter, You could have a build.xml for each top-level/buildable source file that: 1. Declares properties like current.docid etc. 2. Imports your main build.xml that contains your build logic import file=path/to/main-build.xml/ Optionally, you could store the key/value pairs in a properties

RE: [docbook-apps] Re: qanda listings in html output

2010-10-28 Thread Cramer, David W (David)
-Original Message- From: Tom Browder [mailto:tom.brow...@gmail.com] Sent: Thursday, October 28, 2010 1:59 PM To: Bob Stayton Cc: Docbook Apps Help list Subject: Re: [docbook-apps] Re: qanda listings in html output On Thu, Oct 28, 2010 at 13:07, Bob Stayton b...@sagehill.net wrote:

RE: [docbook-apps] Re: DocBook-XSL 1.76.1 release schedule

2010-10-05 Thread Cramer, David W (David)
On Tue, Oct 5, 2010 at 2:08 AM, Mimil Mimil mimilo...@gmail.com wrote: The java code is now extracted has a library (as saxon and xalan extensions) named xsl-webhelpindexer, we now have something near to work, the only thing missing is concerning the VERSION file which seems to be a

RE: [docbook-apps] translated indexes

2010-09-25 Thread Cramer, David W (David)
] Sent: Saturday, September 25, 2010 10:02 AM To: DocBook Apps Subject: Re: [docbook-apps] translated indexes On 25 sept. 10, at 12:49, Cramer, David W (David) wrote: Typically you just translate the indexterms in place in the document and let the xslts generate a new index. For Japanese, you add

RE: [docbook-apps] Use of xincludes vs. entities

2010-09-25 Thread Cramer, David W (David)
Hi Sam and Jim, You might be interested in Jirka's proposal for transclusions in DocBook. It notes the problems with xincludes for the very use case you bring up: http://lists.oasis-open.org/archives/docbook-tc/201007/msg00041.html David -Original Message- From: Sam Fischmann

RE: [docbook-apps] translated indexes

2010-09-24 Thread Cramer, David W (David)
Typically you just translate the indexterms in place in the document and let the xslts generate a new index. For Japanese, you add sortas attributes to your primary, secondary, and tertiary elements with the term transliterated into a phonetic script (katakana or hiragana). Another problem is

[docbook-apps] RE: [docbook-dev] DocBook-XSL 1.76.0-RC1 for preliminary testing

2010-09-21 Thread Cramer, David W (David)
which seems to generate announcement(s) for freshmeat and sourceforge. Sorry I haven't had time to look into all this yet. Thanks, David From: Mimil Mimil [mailto:mimilo...@gmail.com] Sent: Tuesday, September 21, 2010 7:47 AM To: Cramer, David W (David); Keith Fahlgren; Docbook Apps; docbook

RE: [docbook-apps] draft.mode default to no?

2010-09-20 Thread Cramer, David W (David)
I also agree that draft mode as currently implemented should have a default of no. The problem I have with the current, image-based draft watermark mechanism is that if the image is dark enough to appear when printed (on all printers...different printers yield different results), then it's so

RE: [docbook-apps] Docbook for industrial usage

2010-09-07 Thread Cramer, David W (David)
This thread makes me wonder if we should all update and add details to http://wiki.docbook.org/topic/WhoUsesDocBook David -Original Message- From: Ruediger Landmann [mailto:r.landm...@redhat.com] Sent: Tuesday, September 07, 2010 6:25 PM To: docbook-apps@lists.oasis-open.org Subject:

RE: [docbook-apps] CHM Index Problem

2010-09-06 Thread Cramer, David W (David)
Hi Sam, Maybe try building it using an hhk file instead of the activex goo put in place of each indexterm by default. See: http://docbook.sourceforge.net/release/xsl/current/doc/html/htmlhelp.use.hhk.html and http://www.sagehill.net/docbookxsl/HtmlHelp.html#HHGenIndex David From: Sam

RE: [docbook-apps] Avoiding hot links in olinks to other docs

2010-09-04 Thread Cramer, David W (David)
Thanks Bob, I got it working in my customization layer and have added a feature request: https://sourceforge.net/tracker/?func=detailaid=3059394group_id=21935atid=373750 David From: Bob Stayton [mailto:b...@sagehill.net] Sent: Friday, September 03, 2010 11:52 AM To: Cramer, David W (David

[docbook-apps] Avoiding hot links in olinks to other docs

2010-09-03 Thread Cramer, David W (David)
Hi there, I would like to set up olinking so that when I generate certain output formats (pdf, webhelp) olinks to the same document are hyperlinks (just as if they were xrefs) but olinks to other documents only show the title of the section and document name, but are not hyperlinks. For these

RE: [docbook-apps] [PDF] Bookmarks - add index groups

2010-09-01 Thread Cramer, David W (David)
Thanks for posting the details Jan. I've added a feature request linking back to this post. I think it would be a nice addition to the base xsls: https://sourceforge.net/tracker/index.php?func=detailaid=3057673group_id=21935atid=373750 David -Original Message- From: honyk

[docbook-apps] RE: [docbook-dev] DocBook-XSL 1.76.0-RC1 for preliminary testing

2010-08-31 Thread Cramer, David W (David)
Hi Keith, Please also mention the addition of webhelp as a newly supported output format in the release notes :-) Thanks, David -Original Message- From: Keith Fahlgren [mailto:abdela...@gmail.com] Sent: Tuesday, August 31, 2010 2:56 AM To: docbook-developers Cc: Docbook Apps Subject:

[docbook-apps] RE: [docbook-dev] DocBook-XSL 1.76.0-RC1 for preliminary testing

2010-08-31 Thread Cramer, David W (David)
...@gmail.com] Sent: Tuesday, August 31, 2010 10:39 AM To: Cramer, David W (David) Cc: docbook-developers; Docbook Apps Subject: Re: [docbook-dev] DocBook-XSL 1.76.0-RC1 for preliminary testing Ok. I'll ad something to look for that in the notes. Would you please provide the text? -- Typed with thumbs

RE: [docbook-apps] Changing default olink behavior

2010-08-31 Thread Cramer, David W (David)
the ideal way to achieve that would actually be. Thanks, David From: Bob Stayton [mailto:b...@sagehill.net] Sent: Monday, August 30, 2010 10:28 PM To: Cramer, David W (David); DocBook Apps Subject: Re: [docbook-apps] Changing default olink behavior Hi, There is no parameter option to do that. You

[docbook-apps] Changing default olink behavior

2010-08-29 Thread Cramer, David W (David)
Hi there, I would like to change the behavior of olinks so that by default the default olink text from the olink database is used instead of the link text (the contents of the olink element). However, I would like the writer to be able to specify individual cases that the link text should be

RE: [docbook-apps] Controlling the publishing process - shell scripts, Ant, other tools

2010-08-26 Thread Cramer, David W (David)
Hi Peter, I also use Ant for our build process and would add a couple of points to those others have made: The xslt task [1] allows you to pass in parameters if they have been specified. This is very convenient since you want to use the default values from the xslts unless you pass in a

RE: [docbook-apps] The next formal DocBook-XSL release

2010-08-24 Thread Cramer, David W (David)
Message- From: Keith Fahlgren [mailto:abdela...@gmail.com] Sent: Monday, August 23, 2010 12:33 AM To: Cramer, David W (David) Cc: Bob Stayton; Docbook Apps Subject: Re: [docbook-apps] The next formal DocBook-XSL release Hi, On Sun, Aug 1, 2010 at 6:43 PM, Cramer, David W (David) dcra...@motive.com

[docbook-apps] RE: [docbook] para customization affects footnote numbers

2010-08-22 Thread Cramer, David W (David)
Hi Sharon, I had the very same problem long ago and was helped by Bob Stayton on the docbook-apps mailing list: This is one of the gotchas of XSL import precedence. This template in fo/footnote.xsl: xsl:template match=footnote/para[1] |footnote/simpara[1]

RE: [docbook-apps] Help needed testing CJK search support in webhelp

2010-08-13 Thread Cramer, David W (David)
to the list. Regards, Kasun Gajasinghe On Thu, Aug 12, 2010 at 10:56 AM, Cramer, David W (David) dcra...@motive.commailto:dcra...@motive.com wrote: Hi Robert, Kasun knows more about the details of the stemmer, but I can point you to the documentation for the porter stemmer we used: http

RE: [docbook-apps] Help needed testing CJK search support in webhelp

2010-08-13 Thread Cramer, David W (David)
-Original Message- From: Fekete Róbert [mailto:frob...@balabit.com] Sent: Friday, August 13, 2010 2:01 AM To: Kasun Gajasinghe Cc: =?utf-8?q?cra...@mail.balabit.hu; Cramer, David W (David); docbook-apps@lists.oasis-open.org Subject: Re: [docbook-apps] Help needed testing CJK search support in webhelp

RE: [docbook-apps] Help needed testing CJK search support in webhelp

2010-08-13 Thread Cramer, David W (David)
a great work for this summer, and best of luck for your project! :) David, if you can find some docbook files which doesn't have any confidential issues, please send them to the list. Regards, Kasun Gajasinghe On Thu, Aug 12, 2010 at 10:56 AM, Cramer, David W (David) dcra

RE: [docbook-apps] Help needed testing CJK search support in webhelp

2010-08-12 Thread Cramer, David W (David)
Hi Robert, Kasun knows more about the details of the stemmer, but I can point you to the documentation for the porter stemmer we used: http://snowball.tartarus.org/algorithms/porter/stemmer.html Currently, English, French, and German are supported. You are correct search does not support

RE: [docbook-apps] The next formal DocBook-XSL release

2010-08-01 Thread Cramer, David W (David)
We should also plan for a post-GSOC release that incorporates the work of our students this summer. David -Original Message- From: Bob Stayton [mailto:b...@sagehill.net] Sent: Sunday, August 01, 2010 5:33 PM To: Keith Fahlgren; Docbook Apps Subject: Re: [docbook-apps] The next formal

RE: [docbook-apps] The next formal DocBook-XSL release

2010-08-01 Thread Cramer, David W (David)
-Original Message- From: Keith Fahlgren [mailto:abdela...@gmail.com] Sent: Sunday, August 01, 2010 8:12 PM To: Cramer, David W (David) Cc: Bob Stayton; Docbook Apps Subject: Re: [docbook-apps] The next formal DocBook-XSL release What do you think would be the best time for that release

[docbook-apps] Importing titlepage.xsl breaks section heading level in html

2010-07-31 Thread Cramer, David W (David)
Hi there, I've notice some odd behavior in the DocBook xsls: If you import your titlepage xsl after importing the main docbook.xsl file, then all the headings for any section level are h1. However if you import the titlepage xsl first, then the headings are h1, h2, etc as you expect. I've put a