Dave Pawson | 1 Jul 2007 15:37
Picon

localization.

In en.xml etc, there are uses of %t, %n etc.

Anyone know where (if anywhere) these are explained?
I can't find anything in Bobs book.

TIA

regards

--

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
Thomas Schraitle | 1 Jul 2007 15:47
Picon

Re: localization.

Hi Dave,

On Sonntag, 1. Juli 2007, Dave Pawson wrote:
> In en.xml etc, there are uses of %t, %n etc.

%t = title
%s = subtitle (if available)
%n = number
%p = page number (if applicable)

> Anyone know where (if anywhere) these are explained?
> I can't find anything in Bobs book.

Some examples can be find in this section:
  http://www.sagehill.net/docbookxsl/CustomXrefs.html#XrefGentext

Hope that helps. :)

Tom

--

-- 
Thomas Schraitle
Dave Pawson | 1 Jul 2007 16:41
Picon

Re: localization.

Thomas Schraitle wrote:
> Hi Dave,
> 
> On Sonntag, 1. Juli 2007, Dave Pawson wrote:
>> In en.xml etc, there are uses of %t, %n etc.
> 
> %t = title
> %s = subtitle (if available)
> %n = number
> %p = page number (if applicable)

> Some examples can be find in this section:
>   http://www.sagehill.net/docbookxsl/CustomXrefs.html#XrefGentext
> 
> Hope that helps. :)

Yes, thanks Tom. I guessed at %n, but couldn't be sure.

I'm guessing that's relative content?
current()/title etc.

regards

--

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
Dave Pawson | 1 Jul 2007 19:56
Picon

<xsl:template name="href.target.uri"> in both html.xsl and chunk-common.xsl

Anyone know why please, and which takes precedence?

regards

--

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
Bob Stayton | 1 Jul 2007 21:24

Re: <xsl:template name="href.target.uri"> in both html.xsl and chunk-common.xsl

Hi Dave,
There are several templates with the same name in the chunking stylesheet 
modules.  Chunking is a customization of the single-file docbook.xsl 
stylesheet, so when you use a chunking stylesheet, the ones in the chunking 
modules have a higher import precedence.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs <at> sagehill.net

----- Original Message ----- 
From: "Dave Pawson" <davep <at> dpawson.co.uk>
To: "Docbook-Apps" <docbook-apps <at> lists.oasis-open.org>
Sent: Sunday, July 01, 2007 10:56 AM
Subject: [docbook-apps] <xsl:template name="href.target.uri"> in both 
html.xsl and chunk-common.xsl

> Anyone know why please, and which takes precedence?
>
>
>
> regards
>
> -- 
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk
>
> ---------------------------------------------------------------------
(Continue reading)

Dave Pawson | 2 Jul 2007 08:46
Picon

Re: <xsl:template name="href.target.uri"> in both html.xsl and chunk-common.xsl

Bob Stayton wrote:
> Hi Dave,
> There are several templates with the same name in the chunking 
> stylesheet modules.  Chunking is a customization of the single-file 
> docbook.xsl stylesheet, so when you use a chunking stylesheet, the ones 
> in the chunking modules have a higher import precedence.

Doh! Yes.

Should have guessed. Thanks Bob.

regards

--

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
Stefano Sabatini | 2 Jul 2007 14:27
X-Face
Picon
Favicon

Re: Docbook Editors

On date Friday 2007-06-29 08:57:16 -0300, Fabián Mandelbaum wrote:
> Another possible solution is to use Emacs PSGML instead of NXML mode,
> with PSGML mode you have automatic insertion of the 'skeletons' you
> want when inserting 'complex' elements (like variablelist). It even
> shows you (as a comment) which are the elements the DTD expects after
> the one you've inserted, or the structure expected by it by the DTD.
> 
> http://www.lysator.liu.se/projects/about_psgml.html
> 
> http://www.linkwerk.com/pub/xml/emacs-psgml/
> 
> PSGML is a bit old and looks unmaintained but it works.
> 
> On 6/28/07, John W. Shipman <john <at> nmt.edu> wrote:
> >On Thu, 28 Jun 2007, Stefano Sabatini wrote:
> >
> >+--
> >| Do someone know if it's possible with emacs NXML mode to see (for
> >| example in the ECB method buffer) the layout of the document edited,
> >| for example the hierarchy of chapters and sections?
> >+--
> >
> >I wrote a little Python script to pull out the id attributes
> >of all sections.  I'd be happy to post it if you like.  It
> >doesn't handle chapters; it assumes the document is an article.
> >
> >+--
> >| And what about the insertion of complex skeletons, like that of a
> >| variablelist? There is already some way to add them with some
> >| shortcuts or is needed to hook into nxml-mode-hook all the various
(Continue reading)

Mike Dickson | 2 Jul 2007 18:06
Picon
Favicon

RE: Looking for documents that use DocBook API markup

Please take me off your list.


On Wed, 2007-06-27 at 17:40 -0500, David Cramer (Tech Pubs) wrote:
One way to get a bunch of api docs in DocBook in a hurry is to run dbdoclet <http://www.michael-a-fuchs.de/> on some Java :-) David > -----Original Message----- > From: Paul DuBois [mailto:paul <at> kitebird.com] > Sent: Wednesday, June 27, 2007 4:49 PM > To: docbook-apps <at> lists.oasis-open.org > Subject: [docbook-apps] Looking for documents that use > DocBook API markup > > I need to mark up some API information that includes classes, > methods, functions, and so forth. It would be helpful to be > able to look at some "prior art". Can anyone point me to > some DocBook source that uses elements such as > <classsynopsis>, <methodsynopsis>, <ooclass>, <funcsynopsis>, > etc.? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe <at> lists.oasis-open.org For additional commands, e-mail: docbook-apps-help <at> lists.oasis-open.org
Stefano Sabatini | 2 Jul 2007 18:33
X-Face
Picon
Favicon

Re: Looking for documents that use DocBook API markup

On date Monday 2007-07-02 09:06:05 -0700, Mike Dickson wrote:
> Please take me off your list.
[...]
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: docbook-apps-unsubscribe <at> lists.oasis-open.org
> > For additional commands, e-mail: docbook-apps-help <at> lists.oasis-open.org

Please read the last lines of this email.

Regards.
--

-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)
Mike Dickson | 2 Jul 2007 18:57
Picon
Favicon

Re: Looking for documents that use DocBook API markup

I have done that about 15 times to no avail.  Any suggestions on how to get removed other than that?



On Mon, 2007-07-02 at 18:33 +0200, Stefano Sabatini wrote:
On date Monday 2007-07-02 09:06:05 -0700, Mike Dickson wrote: > Please take me off your list. [...] > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: docbook-apps-unsubscribe <at> lists.oasis-open.org > > For additional commands, e-mail: docbook-apps-help <at> lists.oasis-open.org Please read the last lines of this email. Regards.

Gmane