[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] xsl/groff option argument is listed with thedescription
> * In message <20030523170051.GY27375@redhat.com> > * On the subject of "Re: [docbook-apps] xsl/groff option argument is listed with the description" > * Sent on Fri, 23 May 2003 18:00:51 +0100 > * Honorable Tim Waugh <twaugh@redhat.com> writes: > > On Fri, May 23, 2003 at 12:40:02PM -0400, Sam Steingold wrote: > > > Indeed. the reason for this error is my own XSL customization: > > > > <xsl:template match="varlistentry/term"> > > <span class="term"><xsl:call-template name="anchor"/> > > <xsl:apply-templates/> > > </span> > > </xsl:template> > > I'm a bit confused: are you trying to get XHTML output or groff > output? I am trying to generate _both_ HTML _and_ groff from the same source. I would like to see them similar, i.e., -q -quiet -silent do not otput the banner. > Actually I'm not even sure how you'd get the output you want in groff. bash(1) allows it: ${parameter%word} ${parameter%%word} The word is expanded to produce a pattern just as in pathname expansion. If the pattern matches a trailing portion of the expanded value of parameter, then the result of the expansion is the expanded value of parameter with the shortest matching .... .TP ${\fIparameter\fP\fB#\fP\fIword\fP} .PD 0 .TP ${\fIparameter\fP\fB##\fP\fIword\fP} .PD The .I word is expanded to produce a pattern just as in pathname expansion. If the pattern matches the beginning of the value of I.e., I need something like <xsl:template match="varlistentry/term"> <span class="term"><xsl:call-template name="anchor"/> <xsl:apply-templates/> .PD 0 .TP </span> </xsl:template> except that I want " .PD 0 .TP" to be added only between successive terms, not after the final one. -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html> Single tasking: Just Say No.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]