ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: \type{a_b} inside \bTABLE ... \eTABLE
Date: Mon, 11 Apr 2005 23:39:17 +0200	[thread overview]
Message-ID: <425AEE85.90608@gmail.com> (raw)

Hello,

there's a very comical behavior of \type{sometextfollowedby_underscore} 
inside \bTABLE and \eTABLE. For example:

\starttext
\bTABLE
     \bTR\bTD \type{a_b} \eTD\eTR
\eTABLE
\stoptext

\type{_} or \type{_b} work OK, \type{a_b} outside the table works OK as 
well.

---

I tried to find \def\type in ConTeXt source, but I couldn't and I'm also 
not advanced enough to interpret the error message below. Any ideas?

(I would use the shorter form, \_, but the results are not quite the 
same. I solved my problem temporary by using \type{a}\type{_b} with 
quite some (unnecessary ?) "\type"-ing, but I'm still curious about the 
reason for the strange behavior.)

Thank you,
	Mojca


! Missing $ inserted.
<inserted text>
                 $
<to be read again>
                    _
<argument> \type {a_
                     b}
\handleTBLcell ...{\bTBLCELL \TBLcharalign {#2}{#4
                                                   }\eTBLCELL \inTBLcell 
{#1}...
<inserted text> ...bl \begintblrow \makeTBL {1}{1}
                                                   \nexttblcol 
\endtblrow \en...

\endTBL ...x {\trialtypesettingtrue \the \tbltoks
                                                   }\ifautoTBLspread 
\checktb...
...
l.4 \eTABLE

?
! Emergency stop.
<inserted text>
                 $
<to be read again>
                    _
<argument> \type {a_
                     b}
\handleTBLcell ...{\bTBLCELL \TBLcharalign {#2}{#4
                                                   }\eTBLCELL \inTBLcell 
{#1}...
<inserted text> ...bl \begintblrow \makeTBL {1}{1}
                                                   \nexttblcol 
\endtblrow \en...

\endTBL ...x {\trialtypesettingtrue \the \tbltoks
                                                   }\ifautoTBLspread 
\checktb...
...
l.4 \eTABLE

             reply	other threads:[~2005-04-11 21:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-11 21:39 Mojca Miklavec [this message]
2005-04-11 21:52 ` Patrick Gundlach
2005-04-12  5:58   ` Mojca Miklavec

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=425AEE85.90608@gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --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).