regression testing: 3 tex errors
Here are the three compilation errors (first one from each file with an error). The Unicode and ec-iwona errors were mentioned before, so I'm skipping them here. svn says who contributed the test files. Taco, do you know if these tests are outdated, or whether a behavior has changed but shouldn't have? -Sanjoy ====================================================================== [r2 | taco | 2006-03-31 10:15:34 -0500 (Fri, 31 Mar 2006)] [the remaining unicode tables] ./tex/context/base/unic-031.tex/test-001.tex:21: Undefined control sequence. \@default@greekEpsilonvaria ->\varia \greekEpsilon <argument> ...ode \strut \unicodechar \entrypoint \endgraf }\tt \chardef \ut... \handleTBLcell ...{\bTBLCELL \TBLcharalign {#2}{#4 }\eTBLCELL \inTBLcell {#1}... <inserted text> ...3}\nexttblcol \makeTBL {10}{14} \nexttblcol \makeTBL {10}{... \endTBL ...x {\trialtypesettingtrue \the \tbltoks }\settbldis \maximumcol {\... \eTABLE ...}}\eTBL }\removeunwantedspaces \endTBL \stopTBLprocessing \fi \eg... ... ====================================================================== [r15 | taco | 2006-05-18 02:53:51 -0400 (Thu, 18 May 2006)] [\startalign tests] ./tex/context/base/core-mat.tex/test-001.tex:25: Extra alignment tab has been changed to \cr. <template> $}\endtemplate \doalignNC #1->& #1 l.25 ... + b_1 y \NC = c_1 \NC d_1 u + e_1 v \NC = f_1 \NR ====================================================================== [r2 | taco | 2006-03-31 10:15:34 -0500 (Fri, 31 Mar 2006)] [the remaining unicode tables] ./tex/context/base/unic-002.tex/test-001.tex:21: Missing \endcsname inserted. <to be read again> \numexpr \univ2 ...stroke \or \Lbar \else \ifcase \numexpr #1-83\relax \bhook \or \un... \utf!3! ... \csname \@@univector #1\endcsname {#2} \endcsname <argument> ...ode \strut \unicodechar \entrypoint \endgraf }\tt \chardef \ut... \handleTBLcell ...{\bTBLCELL \TBLcharalign {#2}{#4 }\eTBLCELL \inTBLcell {#1}... <inserted text> ...}{5}\nexttblcol \makeTBL {2}{6} \nexttblcol \makeTBL {2}{7... ... l.21 ...{\scale[factor=max]{\showunicodetable[002] }}
Sanjoy Mahajan wrote:
Here are the three compilation errors (first one from each file with an error). The Unicode and ec-iwona errors were mentioned before, so I'm skipping them here. svn says who contributed the test files.
Taco, do you know if these tests are outdated, or whether a behavior has changed but shouldn't have?
-Sanjoy
====================================================================== [r2 | taco | 2006-03-31 10:15:34 -0500 (Fri, 31 Mar 2006)] [the remaining unicode tables]
./tex/context/base/unic-031.tex/test-001.tex:21: Undefined control sequence. \@default@greekEpsilonvaria ->\varia \greekEpsilon
This is an actual bug, I think. I assume that the characters in enco-agr.tex should use \greekvaria instead of just \varia. Thomas?
====================================================================== [r15 | taco | 2006-05-18 02:53:51 -0400 (Thu, 18 May 2006)] [\startalign tests]
./tex/context/base/core-mat.tex/test-001.tex:25: Extra alignment tab has been changed to \cr. <template> $}\endtemplate
\doalignNC #1->& #1 l.25 ... + b_1 y \NC = c_1 \NC d_1 u + e_1 v \NC = f_1 \NR
That one was diagnosed (and solved) by Aditya already. (test was wrong)
====================================================================== [r2 | taco | 2006-03-31 10:15:34 -0500 (Fri, 31 Mar 2006)] [the remaining unicode tables]
./tex/context/base/unic-002.tex/test-001.tex:21: Missing \endcsname inserted. <to be read again> \numexpr \univ2 ...stroke \or \Lbar \else \ifcase \numexpr #1-83\relax \bhook \or \un...
This is probably a bug in the vector that is triggered by \showunicodetable: \strippedcsname does not like the second \numexpr. It would be better to write the unic-002 as one large \ifcase instead of attempting to be space-efficient by using offsets. Hans? Best, Taco
On Feb 6, 2007, at 9:23 AM, Taco Hoekwater wrote:
Sanjoy Mahajan wrote:
Here are the three compilation errors (first one from each file with an error). The Unicode and ec-iwona errors were mentioned before, so I'm skipping them here. svn says who contributed the test files. Taco, do you know if these tests are outdated, or whether a behavior has changed but shouldn't have? -Sanjoy ===================================================================== = [r2 | taco | 2006-03-31 10:15:34 -0500 (Fri, 31 Mar 2006)] [the remaining unicode tables] ./tex/context/base/unic-031.tex/test-001.tex:21: Undefined control sequence. \@default@greekEpsilonvaria -> \varia \greekEpsilon
This is an actual bug, I think. I assume that the characters in enco-agr.tex should use \greekvaria instead of just \varia. Thomas?
Ah OK, I see. Since the names are unique, we haven't called the accents greek..., but simply varia/dasia etc., but character 92 is called greekvaria by mistake. So this should be called varia. Sanjoy or Taco, could you rename character 92 in enco-agr.tex and see if this makes the error disappear? I am curently working on the module and will soon make a few changes to enco-agr.tex anyway. Best, and thanks Thomas
Sanjoy or Taco, could you rename character 92 in enco-agr.tex and see if this makes the error disappear?
I did this: \definecharacter varia 92 and remade the formats. The error is different now: /tmp/testing123/tex/context/base/unic-031.tex/test-001.tex:21: Undefined contro l sequence. \@default@greekAlphaiotasubdasiavaria ...siavaria \greekAlpha \greekiota Should I make the same change to other lines in enco-agr.tex? By the way, here's the test file: \setuppapersize [S6][S6] \setupbodyfont [10pt] \setuplayout [backspace=12pt, topspace=12pt, width=middle, height=middle, header=0pt, footer=0pt] \setupcolors [state=start] \starttext \centerbox{\scale[factor=max]{\showunicodetable[002]}} \stoptext
Hi Sanjoy, I'm really sorry, there is a typo in line 319 of enco-agr.tex. Correct "greeldasiavaria" to "greekdasiavaria," and you should be in business... I'm afraid your document doesn't compile at all with my version of ConTeXt ConTeXt ver: 2007.01.23 13:32 MKII fmt: 2007.2.6 int: english/english so I can't help you testing. Best, and sorry for the sloppiness... Thomas On Feb 6, 2007, at 2:41 PM, Sanjoy Mahajan wrote:
I did this:
\definecharacter varia 92
and remade the formats. The error is different now:
/tmp/testing123/tex/context/base/unic-031.tex/test-001.tex:21: Undefined contro l sequence. \@default@greekAlphaiotasubdasiavaria ...siavaria \greekAlpha \greekiota
Should I make the same change to other lines in enco-agr.tex?
By the way, here's the test file:
\setuppapersize [S6][S6]
\setupbodyfont [10pt]
\setuplayout [backspace=12pt, topspace=12pt, width=middle, height=middle, header=0pt, footer=0pt]
\setupcolors [state=start]
\starttext
\centerbox{\scale[factor=max]{\showunicodetable[002]}}
\stoptext
there is a typo in line 319 of enco-agr.tex. Correct "greeldasiavaria" to "greekdasiavaria," and you should be in business...
No problem. That change makes it compile fine.
I'm afraid your document doesn't compile at all with my version of ConTeXt ConTeXt ver: 2007.01.23 13:32 MKII fmt: 2007.2.6 int: english/english
That's strange! I'm using the same version: ConTeXt ver: 2007.01.23 13:32 MKII fmt: 2007.2.6 int: english/english Even the dates match for when the format was remade (I just remade them for the greekdasiavaria change)!
so I can't help you testing.
I've attached the PDF in case you see any problems with it. Meanwhile I'm curious why it doesn't compile on your system. I'm using Ubuntu Linux/i386, Debian TeXlive packages, pdftex 1.40.0 (plus Taco's fix for the core dump). -Sanjoy `A nation of slaves is always prepared to applaud the clemency of their master who, in the abuse of absolute power, does not proceed to the last extremes of injustice and oppression.' (Gibbon)
Thomas A. Schmitz wrote:
Hi Sanjoy,
I'm really sorry, there is a typo in line 319 of enco-agr.tex. Correct "greeldasiavaria" to "greekdasiavaria," and you should be in business...
fixed, hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Ah OK, I see. Since the names are unique, we haven't called the accents greek..., but simply varia/dasia etc., but character 92 is called greekvaria by mistake. So this should be called varia. Sanjoy or Taco, could you rename character 92 in enco-agr.tex and see if this makes the error disappear? I am curently working on the module and will soon make a few changes to enco-agr.tex anyway.
But then you should grep for that name in the whole ConTeXt tree. contextnames.txt has greek... everywhere. I don't know where I got these names from (perhaps uc encoding by adam, perhaps manually), but it probably means that it's used in all the "derived works" and in ... Mojca
./tex/context/base/core-mat.tex/test-001.tex:25: Extra alignment tab That one was diagnosed (and solved) by Aditya already. (test was wrong)
Ah, I forgot about 'svn update'. Now I see the fix: $ svn update U tex/context/base/core-mat.tex/test-001.tex Updated to revision 51. $ svn log ./tex/context/base/core-mat.tex/test-001.tex ------------------------------------------------------------------------ r47 | adityam | 2007-02-05 01:18:09 -0500 (Mon, 05 Feb 2007) | 3 lines Added m=2 to one of the formulas -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien)
participants (5)
-
Hans Hagen
-
Mojca Miklavec
-
Sanjoy Mahajan
-
Taco Hoekwater
-
Thomas A. Schmitz