Problem with \starttable \stoptable and some math
Hi, After recompiling a 1-year old document I stumbled on the following (which used to work) Some of math symbols in a table environment are ''ignored'' i.e are not shown. They do work outside the table environment though. I think it has to do with some font switching in the table environment, but cannot verify this. I also tried the bTABLE/eTABLE but same result. Any help is welcome. Wim Version context TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6) \write18 enabled. (c:/Context/isoimage/usr/local/context/tex/texmf-mswin/web2c/natural.tcx) entering extended mode .. ConTeXt ver: 2007.07.29 22:06 MKII fmt: 2007.7.31 int: english/english Minimal test file (also checked on livecontext) \loadmapfile[original-youngryu-tx.map] \startmathcollection [extra] \definemathsymbol [oiint] [op] [mc] ["08] [mc] ["09] \definemathsymbol [oiiint] [op] [mc] ["29] [mc] ["2a] \definemathsymbol [ointctrclockwise] [op] [mc] ["0A] [mc] ["0B] \definemathsymbol [ointclockwise] [op] [mc] ["0C] [mc] ["0D] \definemathsymbol [varointctrclockwise] [op] [mc] ["2B] [mc] ["2C] \definemathsymbol [varointclockwise] [op] [mc] ["2D] [mc] ["2E] \definemathsymbol [iint] [op] [mc] ["21] [mc] ["22] \definemathsymbol [iiint] [op] [mc] ["23] [mc] ["24] \definemathsymbol [iiiint] [op] [mc] ["25] [mc] ["26] \definemathsymbol [idotsint] [op] [mc] ["27] [mc] ["28] \definemathsymbol [oiintctrclockwise] [op] [mc] ["40] [mc] ["41] \definemathsymbol [oiintclockwise] [op] [mc] ["48] [mc] ["49] \definemathsymbol [varoiintctrclockwise][op] [mc] ["4A] [mc] ["4B] \definemathsymbol [varoiintclockwise] [op] [mc] ["42] [mc] ["43] \definemathsymbol [oiiintctrclockwise] [op] [mc] ["44] [mc] ["45] \definemathsymbol [oiiintclockwise] [op] [mc] ["4C] [mc] ["4D] \definemathsymbol [varoiiintctrclockwise][op] [mc] ["4E] [mc] ["4F] \definemathsymbol [varoiiintclockwise] [op] [mc] ["46] [mc] ["47] % added 10-06-2007 \stopmathcollection \starttypescript [math] [modern,computer-modern,latin-modern,ams] [size] \definebodyfont [28pt,24pt,18pt,17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [mc=txexa sa 1] \stoptypescript \definetypeface[mainface] [rm] [serif] [times] [default] [encoding=texnansi] \definetypeface[mainface] [mm] [math] [modern] [modern] [encoding=texnansi] \setupbodyfont[mainface,11pt] \enablemathcollection[extra] \starttext \startformula \oiint \vec{E} \cdot d \vec{S} \ \stopformula $\oiint \vec{E} \cdot d \vec{S}$ \startitemize[a][stopper=)] \item De wet van Gauss \starttable[|lp(0.2\textwidth)|p(0.4\textwidth)|p(0.3\textwidth)|lp(0.3\textwidth)|] \NC \NC $\oiint \vec{E} \cdot d \vec{S}$ \NC ${\rm div} \: \vec{E} = etc. $ \NC extra tekst \NC \NR \stoptable \stopitemize \stoptext
On Fri, 31 Aug 2007, WN wrote:
Hi,
After recompiling a 1-year old document I stumbled on the following (which used to work) Some of math symbols in a table environment are ''ignored'' i.e are not shown. They do work outside the table environment though. I think it has to do with some font switching in the table environment, but cannot verify this. I also tried the bTABLE/eTABLE but same result.
Compiles fine here, using the "old" ConTeXt ver: 2007.08.24 14:18 MKII fmt: 2007.8.24 int: english/english So maybe something that changed recently. I cannot test with the current version right now (have a hard deadline, do not want to mess with the system...) Aditya
Compiles fine here, using the "old"
I know it compiles, that is not the problem. But look closely at the output, in the starttable/stoptable the \oiint is ''ignored but in the startformula/stopformula it is shown. So the starttable/stoptable is doing something , what I don't know. That is what I observed Wim
ConTeXt ver: 2007.08.24 14:18 MKII fmt: 2007.8.24 int: english/english
So maybe something that changed recently. I cannot test with the current version right now (have a hard deadline, do not want to mess with the system...)
Aditya ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On Fri, 31 Aug 2007, WN wrote:
Compiles fine here, using the "old"
I know it compiles, that is not the problem. But look closely at the output, in the starttable/stoptable the \oiint is ''ignored but in the startformula/stopformula it is shown. So the starttable/stoptable is doing something , what I don't know.
I see. I do not have the oiint in the the table, so something is wrong. The plain tex alignment works, so must be something that table is changing. \halign{\tabskip 3cm # \cr $\oiint \vec{E}$ & ${\rm div} \: \vec{E}$ \cr} \loggingall suggests that math collection is reset to default inside tables. So, a quick workaround: Change the collection from extra to default. Aditya
participants (2)
-
Aditya Mahajan
-
WN