Re: [docbook-apps] Guidance for running XSLT distribution build, for local development

2024-01-21 Thread Peter Desjardins
Thanks for pointing out the xslTNG project! I hadn't realized what that is, and I'm so glad to know about it! I think that looks like a more appropriate project for additions. I'll continue exploring the next generation distribution and see how far I get. Peter On Sun, Jan 21, 2024 at 12:19 PM

[docbook-apps] Guidance for running XSLT distribution build, for local development

2024-01-21 Thread Peter Desjardins
Hello! I'm working on a new output format that I would like to offer as a contribution (if my skills are up to the task). I want to build the XSL distribution from my fork of the repository so I can test my changes. I haven't worked with DocBook distribution builds in the past, and I think I'm

[docbook-apps] Reusing assembly modules with unique IDs - using and ?

2022-01-04 Thread Peter Desjardins
It looks like including an element in a to specify an XSLT might be a clean way to transform xml:id values to make them unique. I see that elements are not handled in the current implementation of

[docbook-apps] Using React to present DocBook XML?

2021-10-01 Thread Peter Desjardins
Has anyone tried using React JavaScript (https://reactjs.org/) to present DocBook XML content as HTML? I am trying to find a way to evolve my HTML output toolchain so that it is more compatible with a front-end development team that uses React JS. I'm wondering whether it would make sense to try

Re: [docbook-apps] transform title/@xml:id to title/@id in HTML

2021-03-03 Thread Peter Desjardins
Hi, Michel! I would consider customizing the d:title template and setting the output id value to whatever the input xml:id value is. https://github.com/docbook/xslt10-stylesheets/blob/master/xsl/html/titlepage.xsl#L1037 My idea feels like a hack though. Maybe someone else has a better

[docbook-apps] Generating markdown output from DocBook

2021-01-26 Thread Peter Desjardins
I'm finding that more documentation tools are optimized for consuming markdown these days. For example, some commercial API portal framework s and site-generation tools use markdown as their default input formats. Does anyone have a nice

Re: [docbook-apps] Docbook stylesheet for papers

2020-11-22 Thread Peter Desjardins
d find that it was too far from your required output? Peter On Sun, Nov 22, 2020 at 5:50 PM Ismael Olea wrote: > > > On Sun, Nov 22, 2020 at 11:45 PM Peter Desjardins < > peter.desjardins...@gmail.com> wrote: > >> Can you give an example of the output format you're hoping

Re: [docbook-apps] Docbook stylesheet for papers

2020-11-22 Thread Peter Desjardins
Can you give an example of the output format you're hoping for? And would PDF/print, HTML/web, or something else suit your purpose better? Peter On Sun, Nov 22, 2020 at 4:37 PM Ismael Olea wrote: > > Hi: > > I'm looking for a stylesheet with a journal's paper look but I can't find > anything.

Re: [docbook-apps] transform td role to td class in HTML-output

2020-09-15 Thread Peter Desjardins
Hi, Michel! I have some templates that use class.mode in my customization. I can confirm that this XSL controls the class attribute in output HTML: That template allows us to add some special CSS to a specific page in a doc set. I added the template based on the excellent coverage in

[docbook-apps] Elements for presenting multiple language variants in a code example

2020-02-24 Thread Peter Desjardins
I'm trying to design a set of elements that I can render as a single code example with multiple programming language variants. I'd like to style this in HTML so that the example selectively hides all but one example variant. I need to pass some indication of the programming language to the output

[docbook-apps] Implementing support for filterin/filterout in assemblies

2019-03-22 Thread Peter Desjardins
Hi! I need to do some conditional processing of a book that I'm assembling from an assembly structure. A specific audience needs a version of the book with some modules removed. I see in https://tdg.docbook.org/tdg/5.1/ch06.html that the filterout element is intended to do what I need. But it

Re: [docbook-apps] DocBook content review process/tools?

2018-10-25 Thread Peter Desjardins
a Web > version of the source file. Comments are stored server side. > Then the technical writer have access to the same page with a list of > all comments, who wrote it, etc. > Do not hesitate if you need further information. > > Have a nice day, > > Camille. > > Le 23/10/20

[docbook-apps] DocBook content review process/tools?

2018-10-23 Thread Peter Desjardins
Hi! Does anyone have a document content review process you can recommend? One that allows non-DocBook users to easily provide input and see each other's comments? My team uses Google docs for content review because reviewers can comment easily and see each other's input (this is at a company that

Re: [docbook-apps] How to make chemical structure automatically numbered

2018-10-12 Thread Peter Desjardins
I think the table is adding valid semantic structure here. It allows the figure numbering to exist at the Docbook level, not in SVG. Maybe use elements inside an ? You could wrap the informaltable in an example to give the entire set of diagrams a title. Peter

Re: [docbook-apps] How to make chemical structure automatically numbered

2018-10-11 Thread Peter Desjardins
Hi, Bernhard. It sounds like you should be using the formal title numbering behavior of one of the existing elements like example or figure. I hope I'm not misunderstanding, is your problem that you are using those elements already, and you need a custom formal element to hold *only* chemical

Re: [docbook-apps] Would like to add Copyright info to footer content

2018-08-14 Thread Peter Desjardins
Hi, Gabriela. Try customizing the user.footer.content template? This page gives an example that includes copyright information: http://www.sagehill.net/docbookxsl/HTMLHeaders.html#HeaderExtras You could add HTML in that template until the copyright information appears where you want it. Good

[docbook-apps] Language/style linter for DocBook processing?

2018-08-13 Thread Peter Desjardins
Hi! Is anyone using a linter to flag writing style problems in a DocBook publishing toolchain? I see a lot of writing linters in my search results, but I thought I'd check to see whether there's a known good fit for DocBook work. The XML authoring tool my team uses is great for creating content,

Re: [docbook-apps] Parameter reference source

2018-02-16 Thread Peter Desjardins
On Fri, Feb 16, 2018 at 12:23 PM, Stefan Seefeld <ste...@seefeld.name> wrote: > On 16.02.2018 12:14, Peter Desjardins wrote: > > Hi! > > It seems that the parameter reference site is down: > http://docbook.sourceforge.net/release/xsl/1.75.2/doc/param.html. > > Doe

[docbook-apps] Parameter reference source

2018-02-16 Thread Peter Desjardins
Hi! It seems that the parameter reference site is down: http://docbook.sourceforge.net/release/xsl/1.75.2/doc/param.html. Does anyone know where the source for that reference is? Peter - To unsubscribe, e-mail:

[docbook-apps] Re: [docbook] Add a link to a image

2017-12-22 Thread Peter Desjardins
I believe you can add an xlink:href attribute to an image element. Universal linking is described here: http://www.sagehill.net/docbookxsl/Db5Tools.html#Db5UnivLinking Peter On Fri, Dec 22, 2017 at 2:20 PM, Sascha Manns wrote: > Hello List, > > in some cases it can be

Re: [docbook-apps] Including local Image in pdf output

2017-12-20 Thread Peter Desjardins
What error does Apache FOP report in its command line output? Something about the file not being found? Have you verified that the formatting objects XML file includes the image element? Search for the file path string (test.png) in the FO XML file? When I process FO to generate PDF (I also use

[docbook-apps] Re: Vertical ellipsis in PDF - add Arial Unicode MS to my Apache FOP configuration?

2017-12-12 Thread Peter Desjardins
, and now my PDFs render the vertical ellipsis. Peter On Mon, Dec 11, 2017 at 5:13 PM, Peter Desjardins <peter.desjardins...@gmail.com> wrote: > I need to use a vertical ellipsis (Unicode 22ee) in my DocBook > content. My body font family doesn't include a glyph for that > cha

[docbook-apps] Vertical ellipsis in PDF - add Arial Unicode MS to my Apache FOP configuration?

2017-12-11 Thread Peter Desjardins
I need to use a vertical ellipsis (Unicode 22ee) in my DocBook content. My body font family doesn't include a glyph for that character. I found the workaround for switching font family for symbols (http://www.sagehill.net/docbookxsl/SpecialChars.html#SwitchSymbol). However, the default Symbol font

Re: [docbook-apps] REST API description

2017-12-07 Thread Peter Desjardins
I'm using NPM Bootprint (https://www.npmjs.com/package/bootprint) to convert OpenAPI YAML definititions to HTML. Then I use Jsoup (https://jsoup.org/) to convert the resulting HTML to XHTML. Then I use XSLT to insert the XHTML API documentation into my DocBook webhelp. I'm not too happy about

Re: [docbook-apps] Issue with WebHelp search deleting the sidebar

2017-10-17 Thread Peter Desjardins
>>> special keyword. >>> >>> We should do this for all the Array objects in there such as >>> stemmedWordsList, cleanwordsList, wordsList. >>> >>> @Janice, are you interested in sending a GitHub pull request for this? :) >>> >>>

Re: [docbook-apps] Issue with WebHelp search deleting the sidebar

2017-10-16 Thread Peter Desjardins
I can confirm that I see the same behavior in our webhelp. Searching for the term "length" will result in the same JS error. The search function is working as expected otherwise. Interesting problem! Peter On Mon, Oct 16, 2017 at 5:00 PM, Janice Manwiller wrote: > This issue

[docbook-apps] Including contentonly module in a structure, render content sections as chapters?

2017-09-05 Thread Peter Desjardins
Hi! I'm trying to write a DocBook 5.1 topic that I can include in a very large structure and that I can also publish as a smaller standalone book. The topic has nested section elements. To create my standalone book, I want to include the topic module as the only content in the structure and

Re: [docbook-apps] Gradle build cross-platform - trouble with Saxon 6.5.5 params under Windows

2017-08-11 Thread Peter Desjardins
uil...@gmail.com> wrote: > Hi, > > On Thu, 10 Aug 2017 06:14:04 +0200, Peter Desjardins > <peter.desjardins...@gmail.com> wrote: > >> Question #2 is: Has anyone had trouble using Saxon9HE with the DocBook >> XSLT v1.0 stylesheets? The way the arguments for the l

[docbook-apps] Gradle build cross-platform - trouble with Saxon 6.5.5 params under Windows

2017-08-09 Thread Peter Desjardins
Hi! I have a working Gradle build system that transforms DocBook 5.1 (using an assembly) to a few output mediums. I'm using Saxon 6.5.5 and the DocBook XSLT 1.0 stylesheets (latest version). When a new writer chose to use Windows, the Gradle build broke when she ran it locally. Problem #1 is that

Re: [docbook-apps] Book info/title ignored when processing an assembly/structure

2017-05-31 Thread Peter Desjardins
assembly elements themselves. So they added a merge element to > separate out any content you want to actually merge into the resource for > output. > > I hope I cleared that up. > > Bob Stayton > Sagehill Enterprises > b...@sagehill.net > > > On 5/30/2017 2:46 PM,

[docbook-apps] Book info/title ignored when processing an assembly/structure

2017-05-30 Thread Peter Desjardins
Hi! I'm using the new assembly/resource/structure method to construct books from topic elements. Thank you to everyone who worked on that feature, it's extremely useful! I am having trouble getting the titles of books to appear in my rendered book files. Based on my reading, I understand that I

Re: [docbook-apps] PDF recto title page customization adds blank page before the verso title page

2017-01-20 Thread Peter Desjardins
attributes that I had been using. Those were compensating for the page.margin.top and page.margin.inner attributes. I appreciate the help, the cover's looking great! Peter On Thu, Jan 19, 2017 at 11:34 AM, Peter Desjardins <peter.desjardins...@gmail.com> wrote: > Thanks, Erik and Bo

Re: [docbook-apps] PDF recto title page customization adds blank page before the verso title page

2017-01-19 Thread Peter Desjardins
n the > customization > stylesheet) there are things to consider, > e.g: > > > > > > > > > > Hope this helps, > BR /Erik R. > > From: Peter Desjardins <peter.desjardins...@gmail.com> > Sent: Wednesday, J

Re: [docbook-apps] Docbook to docx

2016-04-05 Thread Peter Desjardins
I wrote XSLT to convert Word 2010 XML to DocBook. I think it should be possible to use XSLT (and a zip utility) to create Word files from DocBook. It might be easier to create a Word file from DocBook than the reverse, actually. A lot of the work I had to do was in wrapping the flat paragraph

Re: [docbook-apps] Trying to get product number to appear on title page

2016-02-25 Thread Peter Desjardins
Maybe something like this? Version I'm just guessing about the xpath you'd need. Peter On Thu, Feb 25, 2016 at 8:56 AM, Rob Flynn wrote: > Sorry in advance for my ignorance in this area. > > > > So, I’ve got my fo-titlepage-template.xsl coded so I get a

[docbook-apps] Re: [docbook] Breaking tables across pages, repeating header row

2016-02-04 Thread Peter Desjardins
[Moving to docbook-apps list, where publishing tools and problems are discussed] It sounds like you're having trouble with PDF output. Is that correct? I'm surprised that your headings are not repeated after a page break. I think that is the default behavior. Table breaking across pages is

[docbook-apps] Re: [docbook] TOC with parents

2015-10-21 Thread Peter Desjardins
[moving to docbook-apps] What you are describing sounds like the webhelp output. Did you consider using that? Webhelp produces HTML pages with the full TOC on each page. I have customized the HTML and CSS significantly to match different web sites and branding. Peter On Wed, Oct 21, 2015 at

[docbook-apps] Re: [docbook] TOC with parents

2015-10-21 Thread Peter Desjardins
ailing lists? > Are they meant to represent docbook-dev and docbook-users? > > > On 22/10/2015 12:46pm, Peter Desjardins wrote: >> [moving to docbook-apps] >> >> What you are describing sounds like the webhelp output. Did you >> consider using that? >> &g

Re: [docbook-apps] part should become appendix in another book

2015-08-25 Thread Peter Desjardins
I have been dealing with this type of problem for some time. I have not read about the new assembly and topic structures in depth yet ( http://docbook.org/tdg51/en/html/ch06.html), but I am hoping they might help make reuse more flexible. I wrote some custom XSLT 2.0 to include sections where

Re: [docbook-apps] Paragraphs within list item jutting into page footer

2015-07-29 Thread Peter Desjardins
I'm wondering why the last listitem did not break to the next page. Have you applied any customization to the way orderedlists keep-together? Maybe temporarily turn off all your customizations and see what happens to the lists in the default PDF formatting? I have very many lists with listitems

Re: [docbook-apps] Paragraphs within list item jutting into page footer

2015-07-29 Thread Peter Desjardins
any customizations at all to ordered lists or list items. The only keep-together customization I added to was to prevent page breaks in table rows. Janice On Wed, Jul 29, 2015 at 11:28 AM, Peter Desjardins peter.desjardins...@gmail.com wrote: I'm wondering why the last listitem did not break

Re: [docbook-apps] Time for new DocBook Stylesheet Release?

2015-07-01 Thread Peter Desjardins
Do you have any output targets in mind? What would be interesting to you? Peter On Tue, Jun 30, 2015 at 4:18 PM, Frank Arensmeier farensme...@gmail.com wrote: Hi! I'd be interested to know what to expect from these updates to come too – besides bug fixes I mean. Are there any plans to

Re: [docbook-apps] Problem with xi:include of section

2015-06-19 Thread Peter Desjardins
Is this your first attempt to use xi:include? If so, you'll need to make sure that the XSLT processor and XML parser that you're using support the xpointer scheme. Your editor may be able to handle more advanced xi:include syntax than your publishing tools. The Reason: XPointer resolution

[docbook-apps] Re: Index entry fo:block disrupts keep-with-next.within-column

2015-06-03 Thread Peter Desjardins
, /xsl:text xsl:value-of select=d:tertiary/ /xsl:if /xsl:with-param /xsl:call-template /xsl:comment /xsl:element /xsl:template On Tue, Jun 2, 2015 at 3:33 PM, Peter Desjardins peter.desjardins...@gmail.com wrote: I noticed a section title

[docbook-apps] Index entry fo:block disrupts keep-with-next.within-column

2015-06-02 Thread Peter Desjardins
I noticed a section title separated from the first paragraph in its section by a PDF page break. The title of the section is at the bottom of one page and the first paragraph at the top of the next page. I'm using the docbook-xsl-ns-1.78.1 stylesheets. The problem is caused by an index entry

Re: [docbook-apps] Redundant end tags been removed

2014-07-23 Thread Peter Desjardins
This reminds me of a problem I saw in webhelp. I think it was solved by inserting a comment in the script tag. Then the end tag is preserved. Peter On Jul 23, 2014 7:01 PM, Peter Fleck peterfl...@gmail.com wrote: Thanks Stefan, When I put something between the /script it works, although

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

2014-06-23 Thread Peter Desjardins
Have you set force.blank.pages to 0? I have some short chapter-based books and I found they looked more sensible after removing the empty pages. http://docbook.sourceforge.net/release/xsl/current/doc/fo/force.blank.pages.html Peter On Sun, Jun 22, 2014 at 7:20 AM, davep da...@dpawson.co.uk

Re: [docbook-apps] Alternate background-color in table columns.

2014-02-25 Thread Peter Desjardins
What format is your output? HTML, PDF, something else? Peter On Tue, Feb 25, 2014 at 10:19 AM, Rogério Rosa rogerio.r...@eixodigital.com wrote: Hello, I am trying to set a different background colour for the first column in a table, however I am not managing to do it. There is anyone that

Re: [docbook-apps] Alternate background-color in table columns.

2014-02-25 Thread Peter Desjardins
...@eixodigital.com wrote: Hey, I am trying to generate a PDF. Rogério On Feb 25, 2014, at 3:59 PM, Peter Desjardins peter.desjardins...@gmail.com wrote: What format is your output? HTML, PDF, something else? Peter On Tue, Feb 25, 2014 at 10:19 AM, Rogério Rosa rogerio.r...@eixodigital.com wrote

[docbook-apps] Re: [docbook] creating clickable titles

2014-02-13 Thread Peter Desjardins
AM, Peter Desjardins peter.desjardins...@gmail.com wrote: [switching to docbook-apps list] That use case sounds reasonable, although in my opinion making headings links to themselves sounds a little confusing to users. I typically use the webhelp output format instead of direct HTML so my

[docbook-apps] Re: [docbook] creating clickable titles

2014-02-12 Thread Peter Desjardins
the URL (document#anchor) to send. Nat On Wed, Feb 12, 2014 at 3:48 PM, Peter Desjardins peter.desjardins...@gmail.com wrote: Hi. Typically, this sort of question should go to docbook-apps@lists.oasis-open.org because it is about publishing tools rather than the XML source. I can image

Re: [docbook-apps] Re: Syntax highlighting

2013-12-10 Thread Peter Desjardins
I think you mentioned exploring HTML+CSS for print a few days ago. Is that because FO might be at the end of it's road? Thanks! Peter On Tue, Dec 10, 2013 at 9:49 AM, Norman Walsh n...@nwalsh.com wrote: Jan Tosovsky j.tosov...@email.cz writes: On 2013-12-09 Norman Walsh wrote: ... future

Re: [docbook-apps] Duplicate TOC Enries with WebHelp DocBook

2013-09-17 Thread Peter Desjardins
Is the source DocBook XML changing between the random occurrences of this error? Also, are you validating the source XML? I'm wondering why the stylesheets are trying to find the title of a code element. It sounds like you might be trying to process invalid DocBook XML. Have you broken the

Re: [docbook-apps] Duplicate TOC Enries with WebHelp DocBook

2013-09-17 Thread Peter Desjardins
on this problem. If any more information is needed, please let me know. Regards, Morgan -Original Message- From: Peter Desjardins [mailto:peter.desjardins...@gmail.com] Sent: September-17-13 10:26 AM To: Morgan Hayward Cc: docbook-apps@lists.oasis-open.org Subject: Re: [docbook-apps

Re: [docbook-apps] Replacing recto titlepage

2013-09-10 Thread Peter Desjardins
Hi. Are you using the book element for your content? If so, try overriding the book.titlepage.recto template. There should be an article.titlepage.recto template also, I haven't looked for it. xsl:template name=book.titlepage.recto [insert-your-cover-page-here] /xsl:template I've never

Re: [docbook-apps] Webhelp ToC tree depth

2013-08-13 Thread Peter Desjardins
Hi, Mark. I'm not a Webhelp expert but I've used it for a while. Webhelp generates its TOC using a separate mechanism. It has to support the JavaScript for the expanding TOC so it does things in a different way than the standard DocBook TOC functions do. I don't think the use case you are

Re: [docbook-apps] olinking between PDFs - open target in new window

2013-07-26 Thread Peter Desjardins
What viewer are you using to view the PDFs and follow the link? I'm using docbook-xsl-ns-1.78.0. If I add the olink.properties customization (shown on the page you mention) to my customization layer, following a link from one PDF to another will open a new Adobe Reader window. Possible

Re: [docbook-apps] Strange effect using in 1.78.1 webhelp output

2013-06-22 Thread Peter Desjardins
Hi. Is this behavior new in 1.78.1? Were you seeing correct behavior in an earlier version or is this the first time you've used webhelp? Have you tried viewing the pages with Chrome or Firefox? Maybe this could be caused by Opera interpreting the CSS differently? Index.png looks really

Re: [docbook-apps] A Complex Title Page - which method to use ?

2013-06-14 Thread Peter Desjardins
I'm using a slightly complex title page for a book right now. I'm customizing the book.titlepage.recto template and adding FO elements as needed. It sounds like you're already customizing article.titlepage.recto to add your page break. Can you add more FO to get the decoration you need? Here's

Re: [docbook-apps] Problem with \ in WebHelp Search

2013-06-05 Thread Peter Desjardins
This problem does not occur for me in docbook-xsl-ns-1.78.0. I've tested my own output in Firefox 21.0 and Chrome 27.0.1453.110 m. Seems unlikely that it's a namespace/non-namespace thing. About technical terms like /var/log, the search indexer will strip most punctuation characters by default,

Re: [docbook-apps] Problem with \ in WebHelp Search

2013-06-05 Thread Peter Desjardins
did, even some breadcrumbs, I would certainly appreciate it. I am far from proficient in Java and would accept any help I can get. Regards, Morgan -Original Message- From: Peter Desjardins [mailto:peter.desjardins...@gmail.com] Sent: June-05-13 3:02 PM To: Fekete Róbert Cc

Re: [docbook-apps] In webhelp 1.78.1, local links don't work

2013-04-10 Thread Peter Desjardins
I saw that too. It prevents links between callouts and callout bugs in programlistings. Turning JavaScript off fixes the problem. I've been girding loins in preparation for a wade into the jquery. Peter On Wed, Apr 10, 2013 at 10:27 AM, Denis Bradford denis.bradf...@verizon.net wrote: I've

Re: [docbook-apps] How do you manage your catalogs ?

2012-12-04 Thread Peter Desjardins
In my environment, most people don't have to set up the publishing tools so hand editing the catalog is not a problem. I keep all the publishing tools (the catalog, DTDs, Saxon, XSL) in a directory that people can grab and put anywhere on a computer. Then the person setting up to publish needs to

Re: [docbook-apps] DocBook/XSL Renders img / without the alt=... attribute in XHTML mode (xsltproc/xalan)

2012-11-02 Thread Peter Desjardins
Hi. You could try wrapping the mediaobject in an informalfigure element. I use alt text for images and I'm publishing to XHTML via webhelp. Here's one of my informalfigure elements: informalfigure mediaobject altThis illustration is described in the preceding

Re: [docbook-apps] Should ie.css be included by default in the generated webhelp files?

2012-06-05 Thread Peter Desjardins
Have you tried the xsl:comment element? http://zvon.org/comp/r/ref-XSLT_1.html#Elements~comment Peter On Tue, Jun 5, 2012 at 12:34 PM, Derek Van Kooten derek...@gmail.com wrote: I am using version 1.77.0 I noticed that the generated webhelp files do not look correct in Microsoft Internet

Re: [docbook-apps] Is there any way to control what level a page break occurs at for webhelp?

2012-06-04 Thread Peter Desjardins
Try adjusting the chunk.section.depth parameter. I set mine to two. xsl:param name=chunk.section.depth select=2/xsl:param Other chunking parameters: http://docbook.sourceforge.net/release/xsl/current/doc/html/chunking.html Peter On Mon, Jun 4, 2012 at 9:19 AM, Derek Van Kooten

Re: [docbook-apps] XSLT2.0 customizations

2012-04-11 Thread Peter Desjardins
I haven't done that myself with DocBook but I think it should make no difference. I'm customizing another set of 2.0 stylesheets right now and all I need to do is make sure my customization layer stylesheet also specifies version 2.0: xsl:stylesheet version=2.0

[docbook-apps] Transforming DITA to DocBook

2012-03-27 Thread Peter Desjardins
Hi. Does anyone know of an XSLT project that transforms DITA to DocBook? My searching didn't turn one up. If there isn't one available, I'm going to give it a shot. I don't want to reinvent the wheel though. Thanks. Peter -

Re: [docbook-apps] Olink sitemap for chunked HTML?

2012-03-22 Thread Peter Desjardins
Here's an example of a map that I am using for chunked HTML. It can be a little tricky to figure out what the relative path to other documents is. It all depends on how you are packaging the HTML files. Mine are grouped in directories for the product, then the document, and then a directory named

Re: [docbook-apps] Preparing a stylesheet for HTML and PDF Output/ Stating the base.dir for HTML and PDF: How can you define the base.dir PDF, using the same relative path as used for HTML

2012-02-28 Thread Peter Desjardins
When I create FO for PDF, I pass the -o argument to Saxon. This is a relative path to the directory that I want the FO file in. Does that help? On Mon, Feb 27, 2012 at 6:10 AM, daniel.ke...@finaris.de wrote: Hey, Currently we are finalizing our HTML stylesheet for DocBook. Since our

Re: [docbook-apps] accessibility and xhtml/html5 xsl

2012-02-09 Thread Peter Desjardins
I had to support accessibility requirements in the XHTML output in the webhelp format. I found that the table cell customizations were the most complicated. I posted the XSL customization I use in the DocBook cookbook here: http://wiki.docbook.org/HtmlTableAccessibility Peter On Thu, Feb 9,

Re: [docbook-apps] Word to DocBook conversion and applying XSLT

2012-01-30 Thread Peter Desjardins
I would try invoking the stylesheets from the command line. This will give you a better understanding of what's going on. If you have the Saxon XSLT processor and the DocBook XSLT stylesheets, you could create a little .bat file with the following commands. You'll have to alter the paths to suit

Re: [docbook-apps] Easiest way to convert Word .doc or .rtf to DocBook?

2011-12-02 Thread Peter Desjardins
styles. Without that, the XSLT might not be so successful. You might consider investing in some custom XSLT work. That way you can carefully control the resulting DocBook XML to suit the workflow that you'll be moving to. Peter Desjardins On Fri, Dec 2, 2011 at 10:07 AM, Donna Saporito dsapor

Re: [docbook-apps] Setting guilabel to bold using docbook-xsl

2011-10-12 Thread Peter Desjardins
It looks like you're using the namespace stylesheets. Try matching d:guilabel? Peter On Oct 12, 2011 5:39 PM, Parker, Joel J. K. (GSFC-5950) joel.j.k.par...@nasa.gov wrote: Hi all, I'm having some trouble defining guilabel as bold in my Docbook-XSL customization layer: xsl:import

[docbook-apps] Empty div tag in XHTML partintro throws CSS off

2011-09-29 Thread Peter Desjardins
Hi. I'm using DocBook 5.0, stylesheets docbook-xsl-ns-1.76.1, and the webhelp output which generates XHTML. I noticed a CSS problem with the first XHTML chunk for a part. My book is divided into parts. The parts have partintro elements but there are no titles for the partintros. Nor anything else

Re: [docbook-apps] Accessibility: adding scope attribute to HTML output

2011-09-19 Thread Peter Desjardins
I had to meet accessibility requirements for tables and I ended up using the headers attribute in each td and referring to the id of the corresponding th. This was possible for me because I'm using a separate XSL process to generate the DocBook XML from MS Word XML. I added code to that

[docbook-apps] Table reading order in right-to-left languages

2011-07-08 Thread Peter Desjardins
Hi, I am writing a customization to add HTML table cell attributes for accessibility. Specifically, I am trying to write some logical rules for associating body cells with header cells. Some of the logic I am considering depends on the column sequence number. I assume that the columns in a table

Re: [docbook-apps] Table reading order in right-to-left languages

2011-07-08 Thread Peter Desjardins
order, regardless of the output direction. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: Peter Desjardins peter.desjardins...@gmail.com To: DocBook Apps docbook-apps@lists.oasis-open.org Sent: Friday, July 08, 2011 5:05 AM Subject: [docbook-apps

Re: [docbook-apps] WebHelp indexer issue

2011-06-20 Thread Peter Desjardins
Hi, Eric. I remember a frustrating time with Xerces classes when I was setting up the indexer. I had to put copies of xercesImpl.jar and xml-apis.jar in the jre/lib/endorsed directory of my JVM. I'm not sure that yours are the errors I was seeing but you might try it. Peter

Re: [docbook-apps] Design for moving English strings out of the webhelp JavaScript file nwSearchFnt.js

2011-06-02 Thread Peter Desjardins
On Thu, Jun 2, 2011 at 1:27 AM, David Cramer da...@thingbag.net wrote: Indeed, string in that file is currently not internationalized. One approach would be to generate nwSearchFnt.js from an xslt. The xslt would mostly spit out large chunks of CDATA containing the javascript code, but would

[docbook-apps] Design for moving English strings out of the webhelp JavaScript file nwSearchFnt.js

2011-06-01 Thread Peter Desjardins
Hi. I'm customizing the web help output. My team decided that when the search returns no results, it would be better to not report the search query entered because the query is still displayed in the entry box. We also plan to use the empty pane to provide some explanation of the search

Re: [docbook-apps] How to insert JavaScript near end of HTML without chunking?

2011-05-19 Thread Peter Desjardins
On Thu, May 19, 2011 at 2:28 AM, Mark Craig mark.cr...@gmail.com wrote: How does one insert script content, such as for Google Analytics, near the end of generated HTML? Chunking is turned off by popular reader demand. Can you use a technique like this one?

[docbook-apps] Break long programlisting lines without spaces?

2011-04-13 Thread Peter Desjardins
anyone developed a customization that will do this? Thanks for your help. Peter Desjardins - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis

Re: [docbook-apps] Break long programlisting lines without spaces?

2011-04-13 Thread Peter Desjardins
:32 PM, Jirka Kosek wrote: Peter Desjardins wrote: Has anyone developed a customization that will do this? There is parameter for this: http://docbook.sourceforge.net/release/xsl/current/doc/fo/hyphenate.verbatim.characters.html If you want to allow breaking after any character you can put

[docbook-apps] Slow TOC tree in webhelp when there are a large number of heading entries

2011-03-31 Thread Peter Desjardins
help. Peter Desjardins - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

[docbook-apps] Search behavior in webhelp output

2011-03-17 Thread Peter Desjardins
to search for strings that contain special characters like periods. Can I search for foo.bar by escaping the period? Can I remove the period from the list of special characters? Thanks for your help. I have turned off stemming in case that matters. Peter Desjardins

[docbook-apps] Preventing extra spaces for indexterm elements with Apache FOP

2011-03-14 Thread Peter Desjardins
to no? Is there a better workaround for this problem? My searching didn't turn up a clear answer. Thanks for your help. Peter Desjardins - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional

[docbook-apps] Webhelp search trims certain letters from search terms?

2011-03-09 Thread Peter Desjardins
behavior with the search term zeus and tutus becomes tutu. Is this a configurable behavior? Is the search function purposely simplifying my terms? Thanks. Peter Desjardins - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis

Re: [docbook-apps] Webhelp search trims certain letters from search terms?

2011-03-09 Thread Peter Desjardins
On Wed, Mar 9, 2011 at 6:56 AM, Kasun Gajasinghe kasun.gajasin...@gmail.com wrote: Does it return false results for 'nucleu' when searched for 'nucleus'? We tested the search with stemming, and it worked as expected except some few glitches which is ignorable compared to the power it adds! I

[docbook-apps] Generating separate closing tags in XHTML webhelp output

2011-03-04 Thread Peter Desjardins
that I haven't encountered yet? Thanks for your help. Peter Desjardins - 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 separate closing tags in XHTML webhelp output

2011-03-04 Thread Peter Desjardins
On Fri, Mar 4, 2011 at 11:02 AM, Kasun Gajasinghe kasun.gajasin...@gmail.com wrote: The main issue with HTML is with the html-search feature. To properly retrieve the content text excluding the html-tags, the html files should be in a proper format. Strict XML is the standard way for this.

Re: [docbook-apps] Generating separate closing tags in XHTML webhelp output

2011-03-04 Thread Peter Desjardins
On Fri, Mar 4, 2011 at 11:37 AM, David Cramer da...@thingbag.net wrote: Hi all, I've face this problem myself, in particular with the a element and xhtml output. The trick is to use pseudoclasses so your rule only applies only to links and not to anchors: a:link    {     color: #00589E;    

Re: [docbook-apps] Are HTML chunk targets equivalent to XHTML chunk targets for olinking?

2011-02-28 Thread Peter Desjardins
/${current.docid}Targetswebhelp.db token=PUBLIC #34;-//W3C//DTD XHTML 1.0 Transitional//EN#34; #34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd#34;gt;; value= encoding=utf-8 / Peter Desjardins

[docbook-apps] Are HTML chunk targets equivalent to XHTML chunk targets for olinking?

2011-02-25 Thread Peter Desjardins
for the targets and for the actual output, right? I'm wondering whether I'm introducing inconsistency between the link targets and the actual content that the links will try to point to. Thanks. Peter Desjardins

Re: [docbook-apps] graphic on titlepage

2011-02-10 Thread Peter Desjardins
I customized xsl:template name=setup.pagemasters as described in this thread: http://markmail.org/message/gtkz6z7xovg7cnmd?q=Title+page+background+image+appearing+on+part+title+pages+list:org%2Eoasis-open%2Elists%2Edocbook-apps However, I also see the image on part title pages and I haven't

Re: [docbook-apps] graphic on titlepage

2011-02-10 Thread Peter Desjardins
I was attracted to the fo:region-body background-image=url(image.png) method because I needed the book title and other title page elements to appear in front of the page background image. Peter On Thu, Feb 10, 2011 at 7:42 AM, Eduard Tibet eduard.ti...@i-free.com wrote: Lwam, Take a look

[docbook-apps] Finding a position in a FO file based on FOP's see position message

2010-12-21 Thread Peter Desjardins
Hi. I'm using FOP 1.0 to create PDFs. One of my FO files has a problem with a table that results in this message: [java] org.apache.fop.fo.ValidationException: The column-number or number of cells in the row overflows the number of fo:table-columns specified for the table. (See position

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

2010-11-09 Thread Peter Desjardins
Hi, I'm getting started with Apache Ant and DocBook publishing. I have figured out how to use Ant to transform DocBook files with the stylesheets. Now I'm trying to find an efficient, maintainable, and scalable way to handle the sets of attributes that are unique to documents. I am dealing with

Re: [docbook-apps] Olink logic between different trunk/branches folders of documentation (several projects)

2010-10-06 Thread Peter Desjardins
? Are you delivering the output files in the same directories that you use for versioning the source files? Sorry if I missed the point here. Good luck. Peter Desjardins - To unsubscribe, e-mail: docbook-apps-unsubscr

[docbook-apps] Can XOM's XIncludeDriver use an XML catalog?

2010-09-01 Thread Peter Desjardins
Hi. I'm trying to use XInclude from the XOM package (http://www.ibiblio.org/xml/XOM/) to resolve xi:includes. Sometimes it works perfectly. I'm seeing frequent intermittent failures to resolve my documents because XInclude can't access DTD components on the Internet. I am invoking XInclude as

  1   2   >