OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: RE: [docbook-apps] Easy wasy to remove generated title in xref?


Cheers! that solved the problem. That parameter makes the stylesheet just insert the reference but not the title. (I knew there where a way to postpone learning XSL for yet a few weeks :-) )


Rgds
Johan



On the 2009-05-18 you wrote:
> I believe in this case he can just set xref.with.number.and.title to 0. See:
>
> http://docbook.sourceforge.net/release/xsl/current/doc/html/xref.with.number.and.title.html
>
> and:
>
> http://www.sagehill.net/docbookxsl/CustomXrefs.html#XrefGentext
>
> David
>
> > -----Original Message-----
> > From: Tobias Anstett [k15t.com] [mailto:tobias@k15t.com]
> > Sent: Monday, May 18, 2009 2:49 AM
> > To: Johan Persson
> > Cc: docbook-apps
> > Subject: Re: [docbook-apps] Easy wasy to remove generated
> > title in xref?
> >
> > Hi Johan,
> >
> > you can simple override the generated text in your
> > customization layer:
> >
> > <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
> > <l:l10n language="en">
> > <l:context name="xref">
> > <l:template name="CHECK THE NAME IN common/en.xml"
> > text="PATTERN WHAT SHOULD BE RENDERED"/>
> > </l:context>
> > </l:l10n>
> > </l:i18n>
> >
> > Hope this helps,
> >
> > --
> > Cheers,
> > Tobias
> >
> >
> > ________
> > K15t Software UG (haftungsbeschränkt), http://www.k15t.com
> > Rosenbergstr. 58, 70176 Stuttgart, GERMANY
> > Registration: Stuttgart HRB 729752, VAT ID: t.b.a.
> > Geschäftsführer (CEO): Klaus-Dieter Krüger
> >
> > On Mon, May 18, 2009 at 9:29 AM, Johan Persson
> > <johanp@aditus.nu> wrote:
> > > I've read up a bit on customization of the v5 XSL
> > stylesheets but before I
> > > start adding a customization layer I was just wondering If
> > I might have
> > > missed something.
> > >
> > > What I want is a "LaTeX" style references when I use an xref, i.e
> > >
> > > ... for more details see "example 3.2"
> > >
> > > and not what the stylesheets generate by default, i.e.
> > >
> > > ... for more details see "example 3.2, Some potentially
> > very long title"
> > >
> > > I'm aware of the titleabbrev tag but I would like to avoid
> > having another
> > > tag.
> > > Is there some easier way to remove the generated title
> > completely (and just
> > > keep the reference type and numbering) other than adding a small
> > > customization layer?
> > >
> > > Johan
> >
> >
> >
> > --
> > Cheers,
> > Tobias
> >
> >
> > ________
> > K15t Software UG (haftungsbeschränkt), http://www.k15t.com
> > Rosenbergstr. 58, 70176 Stuttgart, GERMANY
> > Registration: Stuttgart HRB 729752, VAT ID: t.b.a.
> > Geschäftsführer (CEO): Klaus-Dieter Krüger
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> > For additional commands, e-mail:
> > docbook-apps-help@lists.oasis-open.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]