ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Subject: Re: My Way: Unicode Symbols
Date: Tue, 6 Jan 2004 12:22:10 +0000	[thread overview]
Message-ID: <20040106122210.16498@smtp.btinternet.com> (raw)
In-Reply-To: <6.0.1.1.2.20040105205934.01dc7890@server-1>

Hans Hagen said this at Mon, 5 Jan 2004 21:12:16 +0100:

>and of course a \showXMLfile{name.xml}
>
>The advantage of this method is that too wide lines are handled better i.e. 
>they are properly indented

Thanks, Hans.
I tried that a little following your suggestion. It has some trouble with
'$' in the input file, surrounding each one with \bgroup \egroup. It
turns this input:
<xsl:value-of select="map[@charValue=$char-value]/@charName"/> 
  ...into this output...
<xsl:value-of select="map[@charValue=\bgroup \$\egroup char-value]/
@charName"/> 

XSLT is also kind of special in that changes in whitespace really affect
the output, so people who copy & paste the script (or otherwise try to
learn from the typeset version) might not have very good results. (Less
of a problem because I distribute the script, this time.)

The $ mishandling probably is a bug (using Beta from 18 Dec).

The other suggestions are great. I'll see what I can do to refine it.

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay                      atl@comp.lancs.ac.uk
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  reply	other threads:[~2004-01-06 12:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-02 17:59 unicode and out-of-box usability Adam Lindsay
2004-01-03 22:38 ` Hans Hagen
2004-01-05 13:43   ` Adam Lindsay
2004-01-05 14:23   ` My Way: Unicode Symbols Adam Lindsay
2004-01-05 19:20     ` Adam Lindsay
2004-01-05 20:12     ` Hans Hagen
2004-01-06 12:22       ` Adam Lindsay [this message]
2004-01-06 14:01         ` Hans Hagen
2004-01-07 15:26           ` Adam Lindsay
2004-01-11 11:30       ` Adam Lindsay

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=20040106122210.16498@smtp.btinternet.com \
    --to=atl@comp.lancs.ac.uk \
    --cc=ntg-context@ntg.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).