Re: [docbook] Allow as root element?

2022-12-01 Thread David Cramer
 On 12/1/22 12:30 AM, Thomas Schraitle wrote: > > You are right, the _DTD_ cannot define a start element and as such every root > element would be possible. But you miss the point. :-) > > The DTD is _not_ not used for DocBook 5 (with the exception of 5.0, but > that's > a different story).

Re: [docbook] Allow as root element?

2022-11-29 Thread David Cramer
I make most or all elements start elements in my DocBook variants because why not? What if you want to xi:include a or a multiple times (and find entities to be kludgy and gross)? Put it in a file and xi:include that file as needed. No need for an id or id fixup. I also consider making a

Re: [docbook] Direct rendering with CSS

2022-10-24 Thread David Cramer
On 10/24/22 11:01 AM, Norm Tovey-Walsh wrote: >> I haven't been paying attention recently: is anyone working on >> rendering the original DocBook XML with CSS in the browser, and thus >> bypassing the conversion stage altogether? >> ... >> I dunno. Maybe you could get pretty far. Is

Re: [docbook-apps] Canonical DocBook

2022-02-27 Thread David Cramer
On 2/27/22 1:18 PM, Frank Steimke wrote: /No block Elements within para/ That's in my 80% because neither ODF nor OOXML do allow tables or lists in paragraphs. I would see a great benefit when the DocBook based structural interchange format would allow easy transformation into office

Re: [docbook-apps] DocBook Latin support works

2021-11-16 Thread David Cramer
Looks like it goes back 19 years (or more). Author is one Pablo Rodriguez: https://github.com/docbook/xslt10-stylesheets/blob/master/gentext/locale/la.xml Regards, David On 10/25/21 2:59 PM, Pc Thoms wrote: Don't know who to thank but, I inserted xml:lang="la" as follows:

Re: [docbook-apps] Creating Styles for an Attribute

2021-09-14 Thread David Cramer
On 9/11/21 3:10 AM, Bob Stayton wrote: > > It's main limitation is that it only is applied to text nodes in your > XML document, and so would not color generated text (like "Note" or > xrefs) or any rule lines.  If you can live with that limitation then > this is a simple solution. > And if you

Re: [docbook] Defining sets of attributes that apply to an element depending on an active profile

2021-07-22 Thread David Cramer
ation where it is used, which might not work for you.  You could > instead put it in a next to > where it is used.  Another stylesheet customization would not output > role="hidden", but the xref process would still find it to generate > the text. > > This is text I don't wan

Re: [docbook] Defining sets of attributes that apply to an element depending on an active profile

2021-07-19 Thread David Cramer
On 7/16/21 7:53 AM, Norm Tovey-Walsh wrote: > elements. I guess you could use namespaced attributes instead, but I’m > not sure it’s worth the effort. Namespaced attributes, hmm...that gives me an idea. Our schema is already a DocBook variant, so I have some flexibility. > That looks like a

[docbook] Defining sets of attributes that apply to an element depending on an active profile

2021-07-15 Thread David Cramer
Question: Before I cook something up myself, I'm wondering if someone has already solved the problem described below. For example, is there a Balisage paper I should read. Our authors use profiling based on the arch together with other attributes to add metadata that is reflected in the output

[docbook-apps] saxon6:output for running DocBook 1.0 xslts using Saxon 9.9

2019-10-28 Thread David Cramer
I just stumbled on this (haven't tried it out yet though). It could be I'm the last to hear about it, but I thought I'd post it just in case. If you wanted to use your existing customization layer with Calabash, for example, now you can :-)

[docbook-apps] Google "Season of Docs"

2019-03-12 Thread David Cramer
Back when we mentored those Summer of Code projects, I always thought they should do something similar for docs. Now they are: https://opensource.googleblog.com/2019/03/introducing-season-of-docs.html Regards, David - To

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

2018-10-26 Thread David Cramer
Hi Peter, Good question. Here are a few ideas: * Add a "Log a bug" link to each page that links to your bug tracking system. It's usually easy to add a few query parameters that prepopulate the new bug with contextual information (url, version, component, build date, etc). Then the users only

Re: [docbook-apps] Using the DocBook XSLT 2.0 stylesheets with Gradle

2018-03-05 Thread David Cramer
On 3/5/18 11:33 AM, Dave Pawson wrote: ant lets me pick / choose bits|all Am I odd? Minority? Majority? You are very odd Dave, but don't change the subject ;-) In my case a couple of toolchain developers (minority) support a large number of authors (majority). The tools developer's job is to

Re: [docbook-apps] Using the DocBook XSLT 2.0 stylesheets with Gradle

2018-03-05 Thread David Cramer
On 3/5/18 10:14 AM, Dave Pawson wrote: I got as far as ant for builds. I can understand most of that. Bash script... similar? Maybe gradle? Wozzat. Why make it deeper than needs be? Dave, The idea is to make it super easy for someone (e.g. an author) who just wants to build the doc. They

Re: [docbook-apps] Specific chunk.section.depth on one section

2018-01-23 Thread David Cramer
I'm pretty sure webhelp will work like any other chunked output. Even for toc generation, I think it relies on hooks that were in the xsls to find the file names etc. Regards, David On 1/18/18 12:00 PM, Bob Stayton wrote: A related approach that uses the same mechanism is to write a custom

Re: [docbook-apps] Specific chunk.section.depth on one section

2018-01-18 Thread David Cramer
Another option (that I don't see mentioned in Bob's book) would be to set the chunking depth very deep and then disable it using the stop-chunking?> processing-instruction in most cases: http://docbook.sourceforge.net/release/xsl/1.79.1/doc/pi/dbhtml_stop-chunking.html Regards, David On

Re: [docbook-apps] REST API description

2017-12-07 Thread David Cramer
I don't think DocBook is the right vocabulary for modeling a REST API. There's an XML schema, WADL (Web Application Description Language) that is designed for that: https://en.wikipedia.org/wiki/Web_Application_Description_Language I would suggest putting the API specification in WADL and

Re: [docbook-apps] Pure JS WebHelp

2017-04-18 Thread David Cramer
On 4/16/17 9:46 AM, Jan Tosovsky wrote: > as promised, I've published a demo output > https://www.bilyujezd.cz/beta/strucna-historie.html Wow, that looks great! It was in need of a refresh. Frontend stuff grows stale quickly. > Weaknesses: > - only modern browsers are supported (Chrome, FF,

Re: [docbook-apps] [WebHelp] Language support for search

2016-06-22 Thread David Cramer
On 6/22/16 1:31 PM, Jan Tosovsky wrote: > looking into the language support I can see only en/es/jp stopwords and > de/en/fr stemmers: > > http://snapshots.docbook.org/xsl/webhelp/template/search/ > > Has anybody implemented additional ones? > > In foreseeable future I'd like to cover also

Re: [docbook-apps] DocBook Wiki

2015-09-16 Thread David Cramer
We were having problems with bots creating accounts programmatically in an attempt to spam the wiki. These new accounts couldn't edit pages, but the mere act of creating the accounts was bringing it to its knees. I disabled account creation "temporarily". Camille Bégnis generously spent some time

Re: [docbook-apps] DocBook Wiki

2015-09-16 Thread David Cramer
I attempted switching to the instance that has the text captcha turned on, but notice that on that instance, I'm unable to log in (the server never responds when I try). I've asked Camille to take a look since he was working on it last. Regards, David On 9/16/15 4:07 PM, David Cramer wrote: >

Re: [docbook] docbook to RSS

2015-07-18 Thread David Cramer
Here's an xslt that turns revhistory to an atom feed in webhelp output: https://github.com/stackforge/clouddocs-maven-plugin/blob/master/src/main/resources/cloud/webhelp/revhistory2atom.xsl Regards, David On 7/18/15 5:42 AM, Aristedes Maniatis wrote: I'm wanting to write release notes for our

Re: [docbook] Docbook Consultants

2015-01-11 Thread David Cramer
Hi Camille, That page was on the DocBook wiki, which is in need of a caretaker. If you or anybody would like to own the application, I can provide you with the MoinMoin wiki data and a fresh virtual machine. The caretaker would have the option of updating it to the latest version of MoinMoin or

Re: [docbook-apps] [WebHelp] Incorrect initial scroll to anchor in Chrome

2014-10-28 Thread David Cramer
On 10/27/14, 1:04 PM, Jan Tosovsky wrote: ... While target offset is -195 in FF, it is 2200 in Chrome. The required anchor is not scrolled precisely to its location, but ca 300 px towards the bottom. However, on page reload it is sometimes correct, sometimes more or less than the initial

Re: [docbook-apps] Thanks!

2014-09-05 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 I'd suggest finding common solutions to the major issues and contributing back to the distribution so you can avoid fixing the same problems in different ways and having to maintain those in your own forks. Maybe start with some discussion here and

Re: [docbook-apps] Thanks!

2014-09-05 Thread David Cramer
On 9/5/14, 10:03 AM, David Cramer wrote: Should other options for search be provided? E.g. you could replace the javascript search with a Google site search. Believe it or not, all the books in the API Documentation portion of this site is actually webhelp (it's my former employer and I

Re: [docbook-apps] Fwd: Thanks!

2014-09-05 Thread David Cramer
On 9/5/14, 4:20 AM, Thomas Schraitle wrote: With olinks you don't need a set necessarily and performance issues are also not important. I guess Webhelp does support olinks too as it is derived from the HTML stylesheets. However, I'm not sure, so you better try it out. We used olink with

[docbook-apps] id fixup with prefix

2014-06-17 Thread David Cramer
I'm adding support for the id fixup mechanism [1, 2] in the clouddocs-maven-plugin [3]. To my mind, the most common use case (aside from no fixup at all) will be to specify a prefix with global linkscope: xi:include href=foo.xml db:idfixup=prefix db:idprefix=second-

Re: [docbook-apps] id fixup with prefix

2014-06-17 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 6/17/14, 10:12 AM, Jirka Kosek wrote: ... That sounds reasonable. I should update spec and sample code to use XInclude 1.1. I was waiting for XInclude 1.1 implementations before doing this. I will not be able to attend tomorrow telcon, but

Re: [docbook-apps] Profiling with Webhelp

2014-04-10 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 4/10/14, 8:13 AM, Jirka Kosek wrote: On 10.4.2014 9:54, Fritsch, Michael wrote: So, can anyone tell me please which style sheets I have to import and how the import statement has to look?? It might be possible copy content of webhelp.xsl

Re: [docbook-apps] DocBook-XML, webhelp and no more DTM-Ids available

2014-03-26 Thread David Cramer
On 03/26/2014 04:56 AM, Volker Bernhard Duetsch wrote: can anyone please test the attached files. I'm not sure if it's the setup of the machine or the document structure... pass.xml - fine result, everything works as expected failed.xml - won't work. Only one table row more as

Re: [docbook-apps] Expose profile attributes

2014-03-19 Thread David Cramer
On 03/18/2014 06:54 PM, Nordlund, Eric wrote: Hi, sorry if this is a repeat message, I sent it a few hours ago and I still haven’t seen it on the list yet. Hi Eric, One approach would be to match text nodes that have an ancestor with the desired attribute. The following example adds a span

Re: [docbook-apps] wiki.docbook.org down

2014-03-09 Thread David Cramer
On 03/09/2014 07:59 AM, Peter Eisentraut wrote: http://isup.me/wiki.docbook.org Is anyone looking into this? I just restarted apache and it seems to be back up (for now). David - To unsubscribe, e-mail:

RE: [docbook-apps] Re: docbook webhelp format: missing image file?

2014-02-26 Thread David Cramer
Sorry.  Haven't had a chance to look into this. It may well be cruft in the css. David Typed wtih thmubs.  Original message From: natk nkers...@gmail.com Date:02/26/2014 6:53 PM (GMT-06:00) To: DocBook Apps docbook-apps@lists.oasis-open.org Subject: [docbook-apps] Re:

Re: [docbook] DocBook Technical Committee Meeting Minutes: 16 October 2013

2014-01-09 Thread David Cramer
On 10/17/2013 12:39 PM, Bob Stayton wrote: 8. Transclusion in DocBook Norm reports that as of 8 October, XInclude 1.1 is now a W3C Candidate Recommendation. It requires two implementations. Norm has Calabash supporting it, and will contact Michael Kay about supporting it. He is also

Re: [docbook-apps] Fitting tall images in PDF

2014-01-06 Thread David Cramer
Hi Mark, I'd edit the fo and run it through your fo processor to confirm that scale-down-to-fit gives the result you want. For production you'll want to customize the templates from graphics.xsl to make the right stuff come out in the fo. In particular the templates xsl:template

Re: [docbook-apps] Fitting tall images in PDF

2014-01-06 Thread David Cramer
On 01/06/2014 11:58 AM, Bob Stayton wrote: Really this should be a feature of the stock xslts though. Indeeed, Antenna House also supports it since version 6. Any suggestions about how to fit this feature into the XSL? Here are some requirements that I see: 1. It needs to support

Re: [docbook] document reviewing ideas

2014-01-04 Thread David Cramer
On 01/02/2014 03:28 PM, Mats Wichmann wrote: I can't swing buying licenses (though it's nice to know from a user that the tool works well, maybe someday!) but the git-reviewing-site idea has merit since the source is in git already. though then they have to look at the markup :) Btw.,

Re: [docbook-apps] Fitting tall images in PDF

2014-01-04 Thread David Cramer
What about setting content-width and content-height in the fo to scale-down-to-fit? Should be supported in fop and xep; not sure about antenna house: http://apache-fop.1065347.n5.nabble.com/scale-image-if-too-large-td14003.html#a14005 Regards, David On 01/03/2014 04:35 PM, Bob Stayton wrote:

Re: [docbook] olink Difficulties in Maven Project

2014-01-02 Thread David Cramer
On 12/27/2013 10:41 AM, Sean Smitz wrote: I introduced my current project at work to DocBook for creating our user's guide. We have now split into two separate documents and I'm trying to get cross-linking between the documents working. However, the xincludes seems to causing some kind of

Re: [docbook] document reviewing ideas

2014-01-02 Thread David Cramer
On 01/02/2014 02:57 PM, Mats Wichmann wrote: .. So... asking for advice. What do people typically do when it's time to pass a document around to multiple reviewers? I'm not convinced something like Word is the best answer even there (you end up having to review serially, not in parallel, or

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

2013-12-23 Thread David Cramer
Looking at docbook.rng, I see that the xhtml namespace is explicitly excluded. I don't know why they schema is written that way; perhaps someone else can explain the rational: define name=db._any element a:documentationAny element from almost any namespace/a:documentation

Re: [docbook-apps] Re: Syntax highlighting

2013-12-09 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/09/2013 10:11 AM, Norman Walsh wrote: You can't cut and paste the verbatim display's now either. In fact, one reason to go with tables is to make that part work. All the numbers go in the first column, the lines in the second, so you can, if

Re: [docbook-apps] Syntax highlighting

2013-12-09 Thread David Cramer
On 12/09/2013 08:10 AM, Shaun McCance wrote: Yelp uses jQuery.Syntax for syntax highlighting, which we've been pretty happy with. I've had no problems with it clobbering markup inside code blocks, which is something I deal with pretty often. That looks interesting. I experimented by adding

Re: [docbook-apps] Syntax highlighting

2013-12-07 Thread David Cramer
On 12/07/2013 01:38 AM, davep wrote: 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

Re: [docbook-apps] wiki.docbook.org down

2013-11-27 Thread David Cramer
On 11/27/2013 08:26 PM, Vadim Peretokin wrote: Ok, it's back up now. I'd received a notification that the VM was using too much RAM and had to be rebooted. I resized the vm. We'll see how it goes. It seems to work now, albeit /very/ slowly. Just looking at the access logs, it appears to be

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

2013-11-19 Thread David Cramer
Jirka's suggestion is the best approach. It gives you all the flexiblity in the world with no extra work. Here's how it might look: ... tr td para info vadim:metadata

Re: [docbook-apps] Fop failing with illicit table

2013-11-15 Thread David Cramer
On 11/15/2013 04:24 AM, Camille Bégnis wrote: I am facing the infamous error: A table-cell is spanning more rows than available in its parent element. When trying to convert DocBook to PDF using FOP. It is a big document with many tables, and looking for the culprit is tedious. Has anyone

Re: [docbook-apps] Faster WebHelp XSL

2013-10-01 Thread David Cramer
On 10/01/2013 09:55 AM, Maxime Bégnis wrote: ... the files showing how we did it preserving the highlighting of the current tree item. Basically we generated an id attribute for each tree item and a javascript variable containing the current id for each page. After that the transformation took

Re: [docbook] XInclude 1.1

2013-09-15 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Any news or activity on this? What would the next steps be? Regards, David On 01/23/2013 09:59 AM, Norman Walsh wrote: Hello world, If you're interested in transclusion[1][2], you are probably also interested in XInclude 1.1, currently a Last

Re: [docbook-apps] how remove dot in orderedlist/listitem?

2013-08-30 Thread David Cramer
Wow, somehow between the time I read your message and wrote my reply, my brain completely reinterpreted what you were asking into a different question. Ignore me and listen to Bob. Sorry for the noise. David On 08/30/2013 10:40 AM, David Cramer wrote: IIRC, simplelist is formatted without dots

Re: [docbook-apps] how remove dot in orderedlist/listitem?

2013-08-30 Thread David Cramer
IIRC, simplelist is formatted without dots by default. Also look at the mark attribute on itemizedlist. Try setting that to none. For customizing lists, see Bob Stayton's excellent book on customizing the DocBook xsls: http://www.sagehill.net/docbookxsl/Itemizedlists.html Regards, David On

Re: [docbook-apps] TOC issues with DocBook WebHelp

2013-08-28 Thread David Cramer
and if there are changes we should make in the webhelp. Regards, David Thanks again for your help! Tracy 2013/8/28 David Cramer da...@thingbag.net mailto:da...@thingbag.net Hi Tracy, Regarding #1, it sounds like this bug (which I haven't looked into yet): http://sourceforge.net/p/docbook

Re: [docbook-apps] TOC issues with DocBook WebHelp

2013-08-27 Thread David Cramer
Hi Tracy, Regarding #1, it sounds like this bug (which I haven't looked into yet): http://sourceforge.net/p/docbook/bugs/1301/ Regarding #2, I can see why that would happen: while the help system may look like a frameset, the toc tree is actually reproduced on every page. When you click on a link

[docbook] Allowing arbitrary elements as the root of a DocBook document

2013-08-26 Thread David Cramer
Users sometimes want to create DocBook documents such that some arbitrary element is the root (e.g. table) and then xinclude that file into a larger doc more than one time. The motivation is to avoid the need to put an id on the element but still be able to refer to it from an xi:include. The

[docbook-apps] olink-maven-plugin

2013-08-13 Thread David Cramer
Greetings, I've created a maven plugin to create an olink database in the target directory of a maven project: https://github.com/rackerlabs/olink-maven-plugin The idea is that you bind this plugin to a phase before the phase that builds you docs, so that the target/olink.db file is available to

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

2013-08-09 Thread David Cramer
On 08/09/2013 05:19 AM, Kerry, Richard wrote: For my other target formats I’m using Saxon 6, via an Ant Java task. I have catalogs working for these as that’s taken care of by parameters passed to Saxon. For WebHelp I’m using the Xslt task – that’s how the one in the stylesheet distribution

Re: [docbook-apps] Using the Maven example project - goals to run customisation

2013-08-09 Thread David Cramer
On 08/09/2013 05:23 AM, gra...@heliocentrik.net wrote: This is exactly the workflow I'd like to replicate. What I'm confused about is which goals/targets to run to get it to actually do all this stuff. I've tried things like 'xml:transform', 'site' and so on, but it always seems to fail to

Re: [docbook] Recommendation for XSLT book?

2013-06-16 Thread David Cramer
On 06/16/2013 07:36 AM, ольга крыжановская wrote: Can any one recommend a programmers book for learning XSLT? This page lists some resources for learning DocBook and XSLT: http://wiki.docbook.org/LearningDocBook I'd suggest archiving a copy of this page since we're in the midst of some

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

2013-06-05 Thread David Cramer
On 06/05/2013 12:28 PM, Morgan Hayward wrote: We’ve been testing this on Firefox 21.0. However, I just tested this in IE9 and found the sidebar disappears when you search for a backslash (/) as well. Very strange. Indeed, I'm seeing that behavior in the current snapshot build:

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

2013-06-05 Thread David Cramer
to the JavaScript search UI. It's not a quick change. But I don't want to hijack the discussion here. Peter On Wed, Jun 5, 2013 at 2:42 PM, Fekete Róbert frob...@balabit.com wrote: On Wednesday, June 5, 2013 20:30 CEST, David Cramer da...@thingbag.net wrote: On 06/05/2013 12:28 PM

Re: [docbook-apps] chunking very slow

2013-05-28 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/28/2013 02:06 AM, Jirka Kosek wrote: On 28.5.2013 3:38, Peter Eisentraut wrote: Building with xsltproc and the xhtml/chunkfast.xsl stylesheet without customization takes about 18 minutes. (With customizations to match what I had with

Re: [docbook-apps] DocBook XSL snapshots are back

2013-05-08 Thread David Cramer
On 05/08/2013 02:44 AM, Thomas Schraitle wrote: * The for revision , text is missing a revision number * In former times, the Latest Changes part contained the contents of the LatestChanges file. Yeah, I was playing with it last night. Things seem to revert to broken if the wiki is

Re: [docbook-apps] DocBook snapshot SVN problem

2013-05-04 Thread David Cramer
On 05/03/2013 02:47 PM, honyk wrote: But I don't know if something like this is applicable to this situation. Now that you mention it, that's probably what happened in this case. Thanks, David - To unsubscribe, e-mail:

Re: [docbook-apps] Custom css with webhelp

2013-04-19 Thread David Cramer
Hi David, All the usual params are supported in the xslts BUT the sample Makefile and build.xml don't pass in every supported param. Looking at it, I see that it supports only the profiling params out of the box. So if you're using the supplied build.xml or Makefile as a starting point you'll

Re: [docbook-apps] participating GSOC 2013

2013-04-06 Thread David Cramer
On 04/05/2013 11:29 PM, Kelum Deshapriya wrote: I'm Kelum Deshapriya.i'm new to gsoc. I'm willing to participate gsoc 2013 and work with Docbook XSLT 2.0 stylesheets project. I haven't previous experience about project. so i did some searching to learn Docbook.

Re: [docbook-apps] [HELP] How can I get rid of the output of the revhistory / tag in the EPUB output

2013-03-26 Thread David Cramer
As I mentioned on irc, put the template xsl:template match=revhistory mode=titlepage.mode/ in your actual customization layer. Bob's book is for creating customization layers and his information doesn't apply to stand-alone preprocessing xslts you write. Alternatively, remove mode=titlepage.mode

Re: [docbook-apps] [HELP] How can I get rid of the output of the revhistory / tag in the EPUB output

2013-03-26 Thread David Cramer
I'm not sure what this does: ruby -s /home/shlomif/Download/unpack/file/docbook/docbook-xsl-ns-snapshot/epub/bin/dbtoepub -s docbook-epub-preproc.xslt -o human-hacking-field-guide--english.epub human-hacking-field-guide--english.db5.xml But I'm assming that your docbook-epub-preproc.xslt

Re: [docbook-apps] WebHelp bug?

2013-02-25 Thread David Cramer
On 02/25/2013 05:14 AM, Stefan Hinz wrote: Note that the construct that makes WebHelp fail is perfectly legal according to the DocBook DTD. We don't get any errors when building other formats (XHTML, FO, etc.). Since this is specific to WebHelp, I wonder if we've simply hit a bug. Let me

Re: [docbook] Re: XInclude 1.1

2013-01-27 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/25/2013 04:03 PM, Norman Walsh wrote: Bob Stayton b...@sagehill.net writes: This use case could be satisfied with the xpath scheme in XPointer, but I'm not finding any processors that support it, or even any information about that scheme.

Re: [docbook] More memory for Lucene

2013-01-27 Thread David Cramer
On 01/27/2013 12:29 PM, Stefan Hinz wrote: But how would I do that, i.e. allocate more than the default amount of memory (whatever it is) to Lucene? Any pointers appreciated! Output some timestamps from your Makefile into your log to confirm that it's indexing that's taking a long time and not

Re: [docbook-apps] WebHelp Search

2013-01-14 Thread David Cramer
Hi Eric, There were some changes in this release related to removing the content directory that might have affected you. Could you provide some more information about your environment or the output of a build? Are you using a customized version of the build.xml for example? Thanks, David On

Re: [docbook-apps] Profiling on table columns

2012-12-13 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/13/2012 10:26 AM, Jirka Kosek wrote: So in some cases it can be quite straightforward, in some cases it would be very difficult. Another difficulty is that you might also need/want to adjust column widths. Another approach would be to store

[docbook-apps] Re: [docbook-dev] new stylesheet release coming

2012-12-10 Thread David Cramer
On 12/10/2012 04:35 PM, Bob Stayton wrote: We will soon be releasing a new version of the DocBook XSL stylesheets. If you have any bug fixes still pending that need to be checked in, please do so by the end of this week. Thanks. Where end of this week = Friday? Thanks, David

Re: [docbook-apps] Creating a separate section/component for Revision History

2012-12-03 Thread David Cramer
We do something like what you're contemplating, but add the revhistory via a preprocessing step. The writer puts ?rax revhistory? somewhere in the doc, then we have some templates like these to add a DocBook table at that point: https://gist.github.com/4199240 Note that elsewhere we have a

Re: [docbook-apps] snapshots unavailable? 11 11 12

2012-11-11 Thread David Cramer
Seems to be working fine now. 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 regards

Re: [docbook-apps] olinking in webhelp

2012-10-24 Thread David Cramer
On 10/24/2012 01:47 PM, Bob Stayton wrote: Ah, the dreaded Saxon 6.5 DOCTYPE bug. When I set up a system to use olink previously I recall I hacked around it by having Ant remove the DOCTYPE as part of the build process (or maybe I used xinclude, I can't recall, I've used both tricks in different

Re: [docbook-apps] WebHelp link to index of manuals

2012-10-22 Thread David Cramer
things from the Rackspace stuff. Note that the Rackspace xslts are a bit behind the DocBook ones since we're downstream. Good luck, David On 21/10/2012 23:17, David Cramer wrote: On 10/21/2012 04:31 PM, Tim wrote: Hi David, I couldn't see the references that you said to look for. You couldn't

Re: [docbook-apps] WebHelp link to index of manuals

2012-10-21 Thread David Cramer
On 10/21/2012 04:31 PM, Tim wrote: Hi David, I couldn't see the references that you said to look for. You couldn't point me right to them, could you? Oops, I thought I'd linked to the file but that link was only to the dir. Those lines are in this file

Re: [docbook-apps] WebHelp link to index of manuals

2012-10-20 Thread David Cramer
On 10/19/2012 11:40 AM, Tim Casling wrote: I'm using the WebHelp stylesheets and would like to have a link back to a html page that has a list of manuals. In the Rackspace docs that are used as an example, I'm referring to the Rackspace Manuals link in the area at the top of the contents pane.

Re: [docbook-apps] Spell and grammar checking DocBook/ XML documents

2012-10-18 Thread David Cramer
On 10/18/2012 09:33 AM, daniel.ke...@finaris.de wrote: is annoying since every second word is a technical term and therefore highlighted as a mistake. ). You can can configure Oxygen to skip checking in certain elements (e.g. programlisting, code, whatever) to reduce the amount of noise. David

Re: [docbook-apps] Customized DocBook schema

2012-09-26 Thread David Cramer
On 09/26/2012 08:57 AM, رضا سالارمهر wrote: In http://stackoverflow.com/q/55622/752603http://stackoverflow.com/q/55622/752603 question some DocBook editors are listed, I extended the DocBook schema and now I want use it to author book. Which of that editors can be modified to use my

Re: [docbook-apps] Images not getting output in all formats using Oxygen 14.0

2012-09-26 Thread David Cramer
On 09/26/2012 10:56 AM, Paul Taylor wrote: Hi, using Oxygen 14.0 I have a docbook file help.xml, and in the same folder a subfolder called images with some images in it. I apply the Pdf, Html, Xhtml-Chunks and WebHelp transormations, what Ive found is: Html and Xhtml do not copy the

Re: [docbook-apps] Images not getting output in all formats using Oxygen 14.0

2012-09-26 Thread David Cramer
On 09/26/2012 02:33 PM, David Cramer wrote: I generally turn off image scaling for html and set contentwidth for html (or use scale-down-to-fit for contentwidth and contentheight if your fo renderer supports it). Btw., there's lots of detail about image scaling here: http://www.sagehill.net

Re: [docbook] GSoC Just Concluded

2012-08-24 Thread David Cramer
On 08/24/2012 10:47 PM, Stefan Seefeld wrote: On 2012-08-24 20:39, Richard Hamilton wrote: The Google Summer of Code just wrapped up, and I'm pleased to announce that all four of our students passed their final evaluations. Congratulations to our students, Visitha Baddegama (Webhelp), Arun,

Re: [docbook-apps] Can docbook me used to create OSX Help books

2012-08-15 Thread David Cramer
FYI in case it helps anybody, this is the best I can come up with so far http://stackoverflow.com/questions/11930989/can-docbook-generate-output-in-apples-help-book-format Looks like it would be a fairly easy customization layer + build script that would automate all that. My guess is that

Re: [docbook-apps] WYSIWYG Editor for docbook

2012-08-15 Thread David Cramer
On 08/15/2012 02:20 AM, Radu Coravu wrote: Bu the way, good new, in Oxygen 14.1 the actions for inserting xrefs and links in the Author page will be more evolved, they will show a dialog which will allow you to quick find a reference ID. Please see the attached image. And yes, if you choose

Re: [docbook-apps] Can docbook me used to create OSX Help books

2012-08-13 Thread David Cramer
On 08/12/2012 05:01 PM, Paul Taylor wrote: Can docbook me used to create OSX Help books ? Hi Paul, The DocBook xsls can create HTML out of the box. I haven't looked at OS X Help in years, but IIRC, it's just html with some metadata added to the head to cause the topic to appear in the right

Re: [docbook-apps] Can docbook me used to create OSX Help books

2012-08-13 Thread David Cramer
On 08/13/2012 11:13 AM, David Cramer wrote: On 08/12/2012 05:01 PM, Paul Taylor wrote: Alternatively, you could hire Bob or another consultant to prepare the customization layer for you. Should have included this link as well: http://wiki.docbook.org/DocBookConsultancy David

Re: [docbook-apps] WYSIWYG Editor for docbook

2012-08-13 Thread David Cramer
On 08/13/2012 12:07 PM, Mathieu Malaterre wrote: I have been using the free version of Serna. It is the only app which support XInclude AFAIK. I used then the docboox 4.x - docbook 5 converter since serna only support docbook 4.x http://www.syntext.com/products/serna-free/ There's a

Re: [docbook-apps] Using offline and online content in Webhelp

2012-08-12 Thread David Cramer
On 08/10/2012 03:05 PM, Jeff Powanda wrote: Using the current DocBook Webhelp stylesheet, is there any way that you can generate a help system that uses both offline (local) and online (web hosted) content? Hi Jeff, The short answer is maybe. You could easily customize a template and add nodes

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

2012-07-23 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/23/2012 01:58 AM, Jirka Kosek wrote: +1 with a few addenda below: In my experience the following works pretty well: 1. Store your source language (usually English) as modular DocBook documents. 2. Prior sending document for

Re: [docbook-apps] local.l10n.xml working in the xslt 2.0 stylesheets?

2012-07-20 Thread David Cramer
On 07/19/2012 10:04 PM, David Cramer wrote: Hi there, Using the latest xslt 2.0 stylesheets, I've added the following to my customization layer for html output: xsl:param name=local.l10n.xml select=document('')/ i18n xmlns=http://docbook.sourceforge.net/xmlns/l10n/1.0; l:l10n

Re: [docbook-apps] RE: Apache resolver library not found

2012-07-19 Thread David Cramer
On 07/19/2012 07:59 PM, Jeff Powanda wrote: Figured it out. It was a classpath problem. I updated the classpath to this and it worked: Interesting and good to know. I tried that once and couldn't get it to work. I must have given up too soon. David

Re: [docbook] Re: No DocBook Meetup at XML Prague (10 Feb 2012)

2012-07-13 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/17/2012 12:59 PM, Norman Walsh wrote: Peter Flynn pe...@silmaril.ie writes: I'm still interested in the idea of running a DocBook conference of some sort; please let me know if you have any suggestions. What about in conjunction with

Re: [docbook-apps] Using DiffMk with Docbook

2012-07-11 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/11/2012 11:18 AM, David Goss wrote: offer some advice, or know of an alternative that might work better? Being able to generate revisionflags between versions would be more useful than sliced bread is for sandwich making. There's a

Re: [docbook-apps] How do I remove the border around Webhelp graphics?

2012-07-10 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/10/2012 04:50 PM, Jeff Powanda wrote: I?m happy with the output generated by the default Webhelp stylesheet except for one problem: graphics have a visible border around them that I?d like to remove. Not sure what I need to change. Do I

Re: [docbook-apps] Programlistingco issue

2012-06-21 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/21/2012 04:53 PM, Carlos Araya wrote: We had an earlier conversation about using area spec with programlistingco and how it would not work giving coordinates, and arrived to examples like the one below: ... When switching to Jing as my

Re: [docbook-apps] Customizing html/head/title in chunked output

2012-06-21 Thread David Cramer
for it. Bob Stayton Sagehill Enterprises b...@sagehill.net - Original Message - From: David Cramer da...@thingbag.net To: DocBook Apps docbook-apps@lists.oasis-open.org Sent: Tuesday, June 19, 2012 7:37 AM Subject: [docbook-apps] Customizing html/head/title in chunked output Hi

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

2012-06-20 Thread David Cramer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jeff, Yes, you'd have to modify the supplied build.xml to use catalogs. Last time I used catalogs with ant, you had to have the resolver jar available (in the classpath? or ant lib dir?) to make it work. There was also a simpler catalog format you

  1   2   3   4   5   6   >