From: Simon Pepping <spepping@scaprea.hobby.nl>
Subject: Re: ANN: DocbookInContext
Date: Thu, 1 Aug 2002 21:20:46 +0200 [thread overview]
Message-ID: <20020801212045.B631@scaprea> (raw)
In-Reply-To: <5.1.0.14.1.20020726105455.04b53788@server-1>; from pragma@wxs.nl on Fri, Jul 26, 2002 at 10:56:03AM +0200
On Fri, Jul 26, 2002 at 10:56:03AM +0200, Hans Hagen wrote:
> At 09:22 PM 7/25/2002 +0200, Simon Pepping wrote:
>
> > > a) Using
> > <author><firstname>Tobias</firstname><surname>Burnus</surname></author>
> > > there is no space between first and surname.
> >
> >I see. I will have to devise a way to deal with that correctly. Now
> >the elements within author are typeset as they come; inserting a space
> >requires a greater control over them. I would have to find out what
> >the previous or next sibling is.
>
> even better:
>
> use \defineXMLsave to store the name components, and then flush them (when
> present) in the way you want
In that way you would loose the order of the components. I would like
to have the effect that is achieved by this XSLT template:
<xsl:template match="author">
<xsl:apply-templates
select="honorific|firstname|surname|lineage|othername"/>
</xsl:template>
<xsl:template
match="honorific|firstname|surname|lineage|othername">
<xsl:choose>
<xsl:when test="position() != 1"> </xsl:when>
</xsl:choose>
<xsl:apply-templates/>
</xsl:template>
I think I will do something with \ignorespaces and adding the explicit
space. When the interjections follow a more complicated pattern,
author will have to be saved and processed several times.
Simon
--
Simon Pepping
email: spepping@scaprea.hobby.nl
next prev parent reply other threads:[~2002-08-01 19:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-24 20:40 Simon Pepping
2002-07-25 9:28 ` Tobias Burnus
2002-07-25 9:40 ` Tobias Burnus
2002-07-25 19:22 ` Simon Pepping
2002-07-26 8:56 ` Hans Hagen
2002-08-01 19:20 ` Simon Pepping [this message]
2002-07-25 20:29 ` Michael Wiedmann
[not found] ` <Pine.LNX.4.44.0207251106001.11705-100000@warp9.physik.fu-b erlin.de>
2002-07-25 10:11 ` Hans Hagen
2002-07-27 11:38 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020801212045.B631@scaprea \
--to=spepping@scaprea.hobby.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).