From: "Brian R. Landy" <brian@landy.cx>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: parsing issue with \math{} inside natural table
Date: Mon, 12 Jul 2010 16:33:35 -0500 (CDT) [thread overview]
Message-ID: <alpine.OSX.2.00.1007121504300.9633@192.168.25.15> (raw)
In-Reply-To: <4C3B10E5.7080900@wxs.nl>
Thanks for the reply. I'm actually generating TeX from an application
that interprets $ in it's own code and occasionally this causes me
trouble in passing the $ through to TeX to use in math mode (I think
they have a bug and am hoping I can get that fixed). So I tend to use
\math{} to avoid complications with escaping $, but was stuck in this
case because I couldn't use $ or \math{}.
Anyway, I just now solved my problem in the other application and am
able pass through $ appropriately so it's no longer an issue for me.
Thanks,
Brian
On Mon, 12 Jul 2010, Hans Hagen wrote:
> On 9-7-2010 10:12, Brian R. Landy wrote:
>> Hi, I ran into a case where a natural table has an issue when it
>> contains inline math and an alignment character is used. Here's a
>> small
>> example which triggers the problem:
>>
>> \starttext<
>> \bTABLE<
>> \bTABLEbody<
>> \bTR<
>> \bTD[alignmentcharacter={.},aligncharacter=yes]{\le 4.0\math{-}}\eTD<
>> \eTR<
>> \eTABLEbody<
>> \eTABLE<
>> \stoptext<
>>
>> However, if I replace \math{-} with $-$, the file works. Am I correct
>> that $-$ and \math{-} should be interchangeable?
>
> side effect of alignmentcharacter that triggers expansion of cell
> content, so just use $ here
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry
> to the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2010-07-12 21:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-09 20:12 Brian R. Landy
2010-07-12 12:56 ` Hans Hagen
2010-07-12 21:33 ` Brian R. Landy [this message]
2010-07-12 22:05 ` Aditya Mahajan
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=alpine.OSX.2.00.1007121504300.9633@192.168.25.15 \
--to=brian@landy.cx \
--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).