ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \type{a_b} inside \bTABLE ... \eTABLE
@ 2005-04-11 21:39 Mojca Miklavec
  2005-04-11 21:52 ` Patrick Gundlach
  0 siblings, 1 reply; 3+ messages in thread
From: Mojca Miklavec @ 2005-04-11 21:39 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-12  5:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-11 21:39 \type{a_b} inside \bTABLE ... \eTABLE Mojca Miklavec
2005-04-11 21:52 ` Patrick Gundlach
2005-04-12  5:58   ` Mojca Miklavec

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).