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

2013-04-10 Thread Denis Bradford
I've been unable to implement 1.78.1 webhelp because fragment hrefs (generated from local links and olinks) don't seem to work. For example, clicking this link does nothing when the target is in the same chunk: a class=link href=ch01.html#testtargetTest local link/a Local links like this

[docbook-apps] webhelp sample build.xml: missing Xerces config?

2013-04-06 Thread Denis Bradford
In docbook-xsl-ns-1.78.1 (and going back to 1.77.1, I think), I've found a possible bug in the sample webhelp/build.xml Ant file. In the chunk target, the first xslt task, which generates a profiled version of the document, specifies the Xerces XML parser: sysproperty

Re: [docbook-apps] [xhtml-1_1][header.navigation] An unallowed attribute

2012-06-22 Thread Denis Bradford
Hi Devine, afaik, copying the template to your customization is the right way to go, as described in http://sagehill.net/docbookxsl/CustomizingPart.html. It's certainly better than directly editing the stock templates. If it's a bug and the template gets fixed in a future release, you can

Re: [docbook-apps] Webhelp questions: catalogs and xpointers

2012-06-21 Thread Denis Bradford
Hi Jeff, I gave up trying to get catalogs to work with the ANT xslt task, probably because I don't know ANT well enough. But it did get things to work after ditching the xslt task and just using the java task. Attached are my current build and properties files (note, i haven't upgraded it

Re: [docbook-apps] olink target.db generation problem in 1.77 Webhelp output

2012-06-19 Thread Denis Bradford
, you could modify your ant script to use xsltproc for the xslt portion. David On 06/17/2012 08:44 AM, Denis Bradford wrote: The problem seems to be the doctype generation in the generated targetdb Sorry, I meant The problem seems to be the doctype line in the generated target.db On 06/17

[docbook-apps] olink target.db generation problem in 1.77 Webhelp output

2012-06-17 Thread Denis Bradford
docbook-xsl-ns-1.77.1 appears to break Webhelp olinks. My build hangs while processing the target database. The problem seems to be the doctype generation in the generated targetdb, which was not there in 1.76.1: !DOCTYPE div PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

Re: [docbook-apps] olink target.db generation problem in 1.77 Webhelp output

2012-06-17 Thread Denis Bradford
The problem seems to be the doctype generation in the generated targetdb Sorry, I meant The problem seems to be the doctype line in the generated target.db On 06/17/2012 09:36 AM, Denis Bradford wrote: docbook-xsl-ns-1.77.1 appears to break Webhelp olinks. My build hangs while processing

[docbook-apps] xlink:show=new support omits link element

2012-06-02 Thread Denis Bradford
Version 1.77.0 adds support for xlink:show=new, so you can open an HTML link in a new window instead of replacing the current window. It works for various inline elements, but not for link itself. Is this a bug? For example this link paralink xlink:href=my.mp3 xlink:show=newAudio/link/para

Re: [docbook-apps] webhelp.xsl customizations

2012-01-28 Thread Denis Bradford
I didn't realize the jquery css file was intended for overrides, either. So my solution was to add a link to my custom CSS style sheet at the end of the user.head.content template, after all the stock css and js files. That way, my CSS rules take precedence. - Denis On 01/28/2012 10:35 AM,

Re: [docbook-apps] Serializing DB 5 with XOM: wrong encoding

2011-03-25 Thread Denis Bradford
: | -Original Message- | From: Denis Bradford | | I've been trying to preprocess xincludes in my DocBook 5 | build with xom, | using the incantation in Bob Stayton's Complete Guide: | | $ java -cp xom-1.2.1.jar:xom-samples.jar | nu.xom.samples.XIncludeDriver source.xml serialized.xml

[docbook-apps] Serializing DB 5 with XOM: wrong encoding

2011-03-20 Thread Denis Bradford
I've been trying to preprocess xincludes in my DocBook 5 build with xom, using the incantation in Bob Stayton's Complete Guide: $ java -cp xom-1.2.1.jar:xom-samples.jar nu.xom.samples.XIncludeDriver source.xml serialized.xml The xincludes resolve just fine, but the serialized doc's encoding

Re: [docbook-apps] Ideas for GSoC 2011

2011-02-10 Thread Denis Bradford
I second the motion, but maybe there's not a huge hurry. My 2₵: Help 3 (official name: Microsoft Help Viewer) is currently used only in Visual Studio (and MSDN, in some form) -- MS does not yet consider it a general purpose replacement for HTML Help. Help 3 design is still a moving target.

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

2010-09-26 Thread Denis Bradford
Also see Bob Stayton's summary of using xincludes in http://www.sagehill.net/docbookxsl/DuplicateIDs.html. I've successfully implemented xincludes in place of entity refs, but it was tricky, along the lines that Sam describes. That's why I sat up when David mentioned Jirka's transclusion

Re: [docbook-apps] article / info / author / address - how do I make it appear?

2010-07-18 Thread Denis Bradford
Hi Jochen According to 'DocBook 5: The Definitive Guide' (http://www.docbook.org/tdg51/en/html/info.html), article/info is not designed to appear in output: == Description The info element contains meta-information about the element that contains it. Processing

Re: [docbook-apps] Website: is there any additional *short* title for use in the TOC / left column?

2010-07-14 Thread Denis Bradford
Hi Jochen, In your layout.xml, you can add titles to tocentries, like this: tocentry filename=am-paris.html page=am-paris.xml titleShort title/title /tocentry If you add the optional title element a tocentry, it is displayed in the TOC instead of the title that's in

Re: [docbook-apps] RESEND: Newbie question

2010-06-24 Thread Denis Bradford
You can create a file with a collection of text entities, similar to the examples in docbook/schema/dtd/4.5/dbgenent.mod, and then reference the ones you want in your document. But I believe XIncludes are intended to replace entities for this purpose, and DocBook 5 supports them. An XInclude

Re: [docbook-apps] New Branch: website5

2010-05-26 Thread Denis Bradford
all this very cool development. Thanks to all for your thoughtful responses! Dave Pawson wrote: On Thu, 27 May 2010 01:00:47 +1000 Ruediger Landmann r.landm...@redhat.com wrote: On 05/20/2010 11:33 AM, Denis Bradford wrote: Neat! That ought to prove my point -- both of us can't be wrong

Re: [docbook-apps] New Branch: website5

2010-05-21 Thread Denis Bradford
Hi David, Sorry I missed the WebHelp project -- you're right, the features I had in mind do suggest user assistance. I'm not sure what should be in the Index tab, but I'll see if I can help. Thanks, Denis David Cramer wrote: -Original Message- From: Denis Bradford

Re: [docbook-apps] New Branch: website5

2010-05-20 Thread Denis Bradford
Dave Pawson wrote: On Wed, 19 May 2010 17:31:59 -0400 Denis Bradford denis.bradf...@verizon.net wrote: Another example, on the Website side: why should only books and help systems have an index? It's a great navigation tool for an informational web site, too. So, I hacked the Website

Re: [docbook-apps] New Branch: website5

2010-05-20 Thread Denis Bradford
Hi Sina, please see my response at the bottom. Sina K. Heshmati wrote: Denis Bradford denis.bradf...@verizon.net said: Hello Denis, Not sure if this the best place to post this, but here goes: Where better than here? Sina, I'm so glad to see active development on Website, it's

Re: [docbook-apps] New Branch: website5

2010-05-19 Thread Denis Bradford
Not sure if this the best place to post this, but here goes: Sina, I'm so glad to see active development on Website, it's such a terrific product. As long as you're thinking about its next stage of development, has anyone suggested folding Website into DocBook? I use both all the time, and I

Re: [docbook-apps] New Branch: website5

2010-05-19 Thread Denis Bradford
Neat! That ought to prove my point -- both of us can't be wrong. Doug wrote: On Thu, 20 May 2010, Denis Bradford wrote: Not sure if this the best place to post this, but here goes: Sina, I'm so glad to see active development on Website, it's such a terrific product. As long as you're thinking

Re: [docbook-apps] Converting Website to DB5: suppressing version=5.0 attribute on children of root

2009-11-27 Thread Denis Bradford
As usual, I should have dug a little more before asking for help. Found the source of my problem: In db4-upgrade.xsl, the * mode=AddNS template adds a version attribute to the root element, like this: xsl:if test=not(parent::*) xsl:attribute name=version5.0/xsl:attribute

[docbook-apps] Converting Website to DB5: suppressing version=5.0 attribute on children of root

2009-11-26 Thread Denis Bradford
I'm working on an XSL 1.0 stylesheet that processes a DocBook Website autolayout file, transforming its Website pages into DocBook 5 articles. My stylesheet imports Norm's db4-upgrade.xsl, which does most of the work. My output is valid, and looks fine except for one nagging detail: some

[docbook-apps] RE: DocBook topic element]

2009-08-02 Thread Denis Bradford
Sorry, posted to wrong list: Original Message To: docb...@lists.oasis-open.org ... the DocBook model (so far) has been a top-down approach, with documents typically being authored as entire publications that contain chapters and sections. Introducing a topic into DocBook

Re: [docbook-apps] DocBook Customization

2009-05-19 Thread Denis Bradford
In terms of the cost of customization, I have found customizing the DocBook 4 DTD to be easier than customizing the DITA DTDs. Talk about complex transforms: I've been using DITA recently, and the OT stylesheets look pretty intimidating to me - and no 'DITA XSL The Complete Guide' to help

Re: [docbook-apps] DocBook HTML transform with Frames ?

2009-04-30 Thread Denis Bradford
If you're interested in a tree-view TOC *without* frames, there's DocBook Website. http://docbook.sourceforge.net/release/website/example/ Website has a whole chapter in Bob Stayton's Complete Guide, and the XSL is part of the basic DocBook distribution. You'll enjoy customizing the

[docbook-apps] Website: Incorrect relative links to offsite docs in toc

2009-03-14 Thread Denis Bradford
I'm including an offsite document in my Website 2.6.0 layout. However, some -generated tocs do not link to it when I specify its location with a relative path. For example, in this layout the second tocentry specifies an offsite document that is to be found in the output-root directory.

Re: [docbook-apps] Website: Problem using olinks across websites

2008-04-10 Thread Denis Bradford
give me a clue, I installed it and generated a website.database.xml there. Learned nothing new: the file has the same structure. Denis Bradford wrote: Sorry, I should have indicated that the first bit was a fragment - I do have a sitemap element. I'm confused about your second point: I

[docbook-apps] Website: Problem using olinks across websites

2008-03-31 Thread Denis Bradford
I maintain a web site as a collection of DocBook websites, each with its own layout and its own TOC. I want to replace the old ulinks with olinks. The olinks are working fine within each website, but olinks across websites fail to resolve. Here's how TDG says to do it: Once you have the

Re: [docbook-apps] Expected PDF output of minimal document - total newbie alert!

2008-03-16 Thread Denis Bradford
FWIW, here's the docbook2.pdf that I generate using docbook-xsl-1.73.2 and FO 0.20. I don't think the mail list likes attachments, but the PDF is small, so I'll just cat the contents below: a%PDF-1.3 %ª«¬­ 4 0 obj /Type /Info /Producer (FOP 0.20.5) endobj 5 0 obj /Length 122 /Filter [

Re: [docbook-apps] Generating a customized TOC chunking.

2007-12-18 Thread Denis Bradford
Two possible starting points using the base DocBook stylesheets: * Olink databases, if you use olinks. To quote 'Target database additional uses' in Chapter 24 of Stayton's book: You may find additional uses for the target database that keeps track of potential olink targets. The database

Re: [docbook-apps] DocBook Markup

2007-08-11 Thread Denis Bradford
to tables which makes the layout difficult. Using DIV allows mcuh more control through the use of CSS. Russell Denis Bradford wrote: Where do you want to generate divs? I haven't noticed a one-to-one mapping in the docbook HTML stylesheets: divs seem to be generated to put structure around all

Re: [docbook-apps] refentry or section

2007-05-29 Thread Denis Bradford
I think you're dealing with apples and oranges. A reference is (I think) designed to be used for reference information, often presented in a dictionary-style for easy lookup. A reference is a collection of refentries, similar to a book comprising a bunch of chapters or articles. In addition

Re: [docbook-apps] refentry or section

2007-05-29 Thread Denis Bradford
Sorry, I meant to say, the analog of a section is a refsection. Also, I think a reference can be a good choice for an API, for the reason that you guessed: it's designed to give you a regular structure that makes information easy to up. I think that's what most people do with API docs.