From: Hans Hagen <pragma@wxs.nl>
Cc: konference o ConTeXtu <ntg-context@ntg.nl>
Subject: Re: XML and TeX
Date: Wed, 23 Jan 2002 14:37:36 +0100 [thread overview]
Message-ID: <5.1.0.14.1.20020123143411.03447a70@server-1> (raw)
In-Reply-To: <20020123125918.C32293@merkur.econ.muni.cz>
At 12:59 PM 1/23/2002 +0100, AlterEgo Qasars wrote:
>Good evening,
>
>I'd like to typeset some TeX command within XML code. Things like
>
><?context-command \blank[4*line, force] ?>
>
>should work (according to manual), but they don't. The last parameter is
>typeset (word force). With some commands (\noindent) it crashes. What's
>wrong? How to do it?
In cont-new.tex you may add (after \unprotect):
\def\rawprocesscommaitem#1,#2%
{\if]#1\else
\csname\s!next\the\commalevel\endcsname{#1}%
\@EA\rawprocesscommaitem
\fi#2}
this is more tolerant.
BTW, this problem was introduced when extending the \blank macro: you can
now enter more complex constructs (while it's also much faster).
things like \defineblank[whatever][big,2*small]
\blank[3*big,2*whatever,small] are supposed to work ok now.
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
fall-back web server:
www.pragma-pod.nl
-------------------------------------------------------------------------
prev parent reply other threads:[~2002-01-23 13:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-23 11:59 AlterEgo Qasars
2002-01-23 12:55 ` Hans Hagen
2002-01-23 13:37 ` Hans Hagen [this message]
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=5.1.0.14.1.20020123143411.03447a70@server-1 \
--to=pragma@wxs.nl \
--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).