* ConTeXt 2007.01.12 problem @ 2007-01-12 14:43 Alan Bowen 2007-01-12 14:47 ` Hans Hagen ` (2 more replies) 0 siblings, 3 replies; 19+ messages in thread From: Alan Bowen @ 2007-01-12 14:43 UTC (permalink / raw) Processing a file that used to typeset successfully now gets the error message: ! Undefined control sequence. \initializenextposition ...dosetpositionpapersize {\printpaperwidth } {\print... \setposition ...ing \else \initializenextposition \def \currentposition {#1}... \dopositionmarginbox ...argin :\currentmarginpos } \ifcase \marginrepositionm... \dodoinmargin ...ftmarginblock \fi ]\next {#3}{#6} \rawpagereference \s!mar {... \do@@description ... \copy \fi \@@descriptionbox } \@@dodescription \dodogotopar ...ceto \fi }{\footnotereferenceto }} \BeforePar \emptytoks ... Is there a fix for this? Best, Alan ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: ConTeXt 2007.01.12 problem 2007-01-12 14:43 ConTeXt 2007.01.12 problem Alan Bowen @ 2007-01-12 14:47 ` Hans Hagen 2007-01-12 14:52 ` Alan Bowen 2007-01-12 14:52 ` Hans Hagen 2007-01-12 19:47 ` [NTG-context] " Mike Bird 2 siblings, 1 reply; 19+ messages in thread From: Hans Hagen @ 2007-01-12 14:47 UTC (permalink / raw) Alan Bowen wrote: > Processing a file that used to typeset successfully now gets the > error message: > > ! Undefined control sequence. > \initializenextposition ...dosetpositionpapersize > {\printpaperwidth } > {\print... > > \setposition ...ing \else \initializenextposition > \def > \currentposition {#1}... > > \dopositionmarginbox ...argin :\currentmarginpos } > \ifcase > \marginrepositionm... > > \dodoinmargin ...ftmarginblock \fi ]\next {#3}{#6} > \rawpagereference > \s!mar {... > > \do@@description ... \copy \fi \@@descriptionbox } > \@@dodescription > \dodogotopar ...ceto \fi }{\footnotereferenceto }} > \BeforePar \emptytoks > .... > > Is there a fix for this? > what driver is used? 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 ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: ConTeXt 2007.01.12 problem 2007-01-12 14:47 ` Hans Hagen @ 2007-01-12 14:52 ` Alan Bowen 0 siblings, 0 replies; 19+ messages in thread From: Alan Bowen @ 2007-01-12 14:52 UTC (permalink / raw) Hans— If I understand you correctly, I am using pdftex TeXExec | processing document 'c_01-01_McCarty.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file c_01-01_McCarty.top TeXExec | using randomseed 981 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx) entering extended mode (./c_01-01_McCarty.tex ConTeXt ver: 2007.01.12 01:02 MKII fmt: 2007.1.12 int: english/ english Alan On Jan 12, 2007, at 9:47 AM, Hans Hagen wrote: > Alan Bowen wrote: >> Processing a file that used to typeset successfully now gets the >> error message: >> >> ! Undefined control sequence. >> \initializenextposition ...dosetpositionpapersize >> >> {\printpaperwidth } >> {\print... >> >> \setposition ...ing \else \initializenextposition >> \def >> \currentposition {#1}... >> >> \dopositionmarginbox ...argin :\currentmarginpos } >> \ifcase >> \marginrepositionm... >> >> \dodoinmargin ...ftmarginblock \fi ]\next {#3}{#6} >> \rawpagereference >> \s!mar {... >> >> \do@@description ... \copy \fi \@@descriptionbox } >> \@@dodescription >> \dodogotopar ...ceto \fi }{\footnotereferenceto }} >> \BeforePar >> \emptytoks >> .... >> >> Is there a fix for this? >> > what driver is used? > > 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 > ----------------------------------------------------------------- > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: ConTeXt 2007.01.12 problem 2007-01-12 14:43 ConTeXt 2007.01.12 problem Alan Bowen 2007-01-12 14:47 ` Hans Hagen @ 2007-01-12 14:52 ` Hans Hagen 2007-01-12 15:07 ` Alan Bowen 2007-01-12 19:47 ` [NTG-context] " Mike Bird 2 siblings, 1 reply; 19+ messages in thread From: Hans Hagen @ 2007-01-12 14:52 UTC (permalink / raw) Alan Bowen wrote: > Processing a file that used to typeset successfully now gets the > error message: > > ! Undefined control sequence. > \initializenextposition ...dosetpositionpapersize > {\printpaperwidth } > {\print... > > \setposition ...ing \else \initializenextposition > \def > \currentposition {#1}... > > \dopositionmarginbox ...argin :\currentmarginpos } > \ifcase > \marginrepositionm... > > \dodoinmargin ...ftmarginblock \fi ]\next {#3}{#6} > \rawpagereference > \s!mar {... > > \do@@description ... \copy \fi \@@descriptionbox } > \@@dodescription > \dodogotopar ...ceto \fi }{\footnotereferenceto }} > \BeforePar \emptytoks > .... > > Is there a fix for this? > the end of spec-mis.tex should look like this \let\dosetpositionpapersize\gobbletwoarguments \fi \protect \endinput (i will check the upload for it later) 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 ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: ConTeXt 2007.01.12 problem 2007-01-12 14:52 ` Hans Hagen @ 2007-01-12 15:07 ` Alan Bowen 2007-01-12 15:08 ` Hans Hagen 0 siblings, 1 reply; 19+ messages in thread From: Alan Bowen @ 2007-01-12 15:07 UTC (permalink / raw) On Jan 12, 2007, at 9:52 AM, Hans Hagen wrote: > Alan Bowen wrote: >> Processing a file that used to typeset successfully now gets the >> error message: >> >> ! Undefined control sequence. >> \initializenextposition ...dosetpositionpapersize >> >> {\printpaperwidth } >> {\print... >> >> \setposition ...ing \else \initializenextposition >> \def >> \currentposition {#1}... >> >> \dopositionmarginbox ...argin :\currentmarginpos } >> \ifcase >> \marginrepositionm... >> >> \dodoinmargin ...ftmarginblock \fi ]\next {#3}{#6} >> \rawpagereference >> \s!mar {... >> >> \do@@description ... \copy \fi \@@descriptionbox } >> \@@dodescription >> \dodogotopar ...ceto \fi }{\footnotereferenceto }} >> \BeforePar >> \emptytoks >> .... >> >> Is there a fix for this? >> > > the end of spec-mis.tex should look like this > > \let\dosetpositionpapersize\gobbletwoarguments > > \fi > > \protect \endinput > > > (i will check the upload for it later) > > Hans Thanks, Hans— the spec-mis.tex I have ends with \def\dosetpositionplus#1#2#3#4#5% {\pdfsavepos \dolazysavepositionplus {#1}% {\noexpand\realfolio}% {\noexpand\the\dimexpr\pdflastxpos\scaledpoint\relax}% {\noexpand\the\dimexpr\pdflastypos\scaledpoint\relax}% {#2}{#3}{#4}{#5}} \fi \protect \endinput I tried changing the end of spec-mis.tex as you suggest, but processing still fails with the same error message. Alan ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: ConTeXt 2007.01.12 problem 2007-01-12 15:07 ` Alan Bowen @ 2007-01-12 15:08 ` Hans Hagen 2007-01-12 15:23 ` Alan Bowen 0 siblings, 1 reply; 19+ messages in thread From: Hans Hagen @ 2007-01-12 15:08 UTC (permalink / raw) Alan Bowen wrote: > On Jan 12, 2007, at 9:52 AM, Hans Hagen wrote: > > >> Alan Bowen wrote: >> >>> Processing a file that used to typeset successfully now gets the >>> error message: >>> >>> ! Undefined control sequence. >>> \initializenextposition ...dosetpositionpapersize >>> >>> {\printpaperwidth } >>> {\print... >>> >>> \setposition ...ing \else \initializenextposition >>> \def >>> \currentposition {#1}... >>> >>> \dopositionmarginbox ...argin :\currentmarginpos } >>> \ifcase >>> \marginrepositionm... >>> >>> \dodoinmargin ...ftmarginblock \fi ]\next {#3}{#6} >>> \rawpagereference >>> \s!mar {... >>> >>> \do@@description ... \copy \fi \@@descriptionbox } >>> \@@dodescription >>> \dodogotopar ...ceto \fi }{\footnotereferenceto }} >>> \BeforePar >>> \emptytoks >>> .... >>> >>> Is there a fix for this? >>> >>> >> the end of spec-mis.tex should look like this >> >> \let\dosetpositionpapersize\gobbletwoarguments >> >> \fi >> >> \protect \endinput >> >> >> (i will check the upload for it later) >> >> Hans >> > > Thanks, Hans� > > the spec-mis.tex I have ends with > > \def\dosetpositionplus#1#2#3#4#5% > {\pdfsavepos > \dolazysavepositionplus > {#1}% > {\noexpand\realfolio}% > {\noexpand\the\dimexpr\pdflastxpos\scaledpoint\relax}% > {\noexpand\the\dimexpr\pdflastypos\scaledpoint\relax}% > {#2}{#3}{#4}{#5}} > > \fi > > \protect \endinput > > I tried changing the end of spec-mis.tex as you suggest, but > processing still fails with the same error message. > did you remake the format? 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 ----------------------------------------------------------------- _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: ConTeXt 2007.01.12 problem 2007-01-12 15:08 ` Hans Hagen @ 2007-01-12 15:23 ` Alan Bowen 2007-01-12 15:39 ` Hans Hagen 0 siblings, 1 reply; 19+ messages in thread From: Alan Bowen @ 2007-01-12 15:23 UTC (permalink / raw) On Jan 12, 2007, at 10:08 AM, Hans Hagen wrote: > Alan Bowen wrote: >> On Jan 12, 2007, at 9:52 AM, Hans Hagen wrote: >> >> >>> Alan Bowen wrote: >>> >>>> Processing a file that used to typeset successfully now gets the >>>> error message: >>>> >>>> ! Undefined control sequence. >>>> \initializenextposition ...dosetpositionpapersize >>>> >>>> {\printpaperwidth } >>>> {\print... >>>> >>>> \setposition ...ing \else \initializenextposition >>>> \def >>>> \currentposition {#1}... >>>> >>>> \dopositionmarginbox ...argin :\currentmarginpos } >>>> \ifcase >>>> \marginrepositionm... >>>> >>>> \dodoinmargin ...ftmarginblock \fi ]\next {#3}{#6} >>>> >>>> \rawpagereference >>>> \s!mar {... >>>> >>>> \do@@description ... \copy \fi \@@descriptionbox } >>>> \@@dodescription >>>> \dodogotopar ...ceto \fi }{\footnotereferenceto }} >>>> \BeforePar >>>> \emptytoks >>>> .... >>>> >>>> Is there a fix for this? >>>> >>>> >>> the end of spec-mis.tex should look like this >>> >>> \let\dosetpositionpapersize\gobbletwoarguments >>> >>> \fi >>> >>> \protect \endinput >>> >>> >>> (i will check the upload for it later) >>> >>> Hans >>> >> >> Thanks, Hans� >> >> the spec-mis.tex I have ends with >> >> \def\dosetpositionplus#1#2#3#4#5% >> {\pdfsavepos >> \dolazysavepositionplus >> {#1}% >> {\noexpand\realfolio}% >> {\noexpand\the\dimexpr\pdflastxpos\scaledpoint\relax}% >> {\noexpand\the\dimexpr\pdflastypos\scaledpoint\relax}% >> {#2}{#3}{#4}{#5}} >> >> \fi >> >> \protect \endinput >> >> I tried changing the end of spec-mis.tex as you suggest, but >> processing still fails with the same error message. >> > did you remake the format? > > Hans Nope—and that’s why it didn’t work. (Sigh) All is well now that I have. Many thanks for your help! Alan _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: ConTeXt 2007.01.12 problem 2007-01-12 15:23 ` Alan Bowen @ 2007-01-12 15:39 ` Hans Hagen 0 siblings, 0 replies; 19+ messages in thread From: Hans Hagen @ 2007-01-12 15:39 UTC (permalink / raw) Alan Bowen wrote: > > Nope—and that’s why it didn’t work. (Sigh) All is well now that > I have. > i'll fix it in the zip; dunny why it's different 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 ----------------------------------------------------------------- _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [NTG-context] ConTeXt 2007.01.12 problem 2007-01-12 14:43 ConTeXt 2007.01.12 problem Alan Bowen 2007-01-12 14:47 ` Hans Hagen 2007-01-12 14:52 ` Hans Hagen @ 2007-01-12 19:47 ` Mike Bird 2007-01-12 19:51 ` Norbert Preining 2007-01-12 19:54 ` Taco Hoekwater 2 siblings, 2 replies; 19+ messages in thread From: Mike Bird @ 2007-01-12 19:47 UTC (permalink / raw) Cc: ntg-context On Friday 12 January 2007 06:43, Alan Bowen wrote: > Processing a file that used to typeset successfully now gets the > error message: > > ! Undefined control sequence. > \initializenextposition ...dosetpositionpapersize > {\printpaperwidth } > {\print... > > \setposition ...ing \else \initializenextposition > \def Hi Norbert, context_2007.01.12-1 has this problem. You might want to pull it until a new package is available as this problem is a bit of a showstopper. --Mike Bird ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [NTG-context] ConTeXt 2007.01.12 problem 2007-01-12 19:47 ` [NTG-context] " Mike Bird @ 2007-01-12 19:51 ` Norbert Preining 2007-01-12 19:54 ` Taco Hoekwater 1 sibling, 0 replies; 19+ messages in thread From: Norbert Preining @ 2007-01-12 19:51 UTC (permalink / raw) Cc: debian-tex-maint, ntg-context On Fre, 12 Jan 2007, Mike Bird wrote: > context_2007.01.12-1 has this problem. You might want to pull it until > a new package is available as this problem is a bit of a showstopper. Too late. Is this known upstream? Taco, Hans? Best wishes Norbert ------------------------------------------------------------------------------- Dr. Norbert Preining <preining@logic.at> Università di Siena Debian Developer <preining@debian.org> Debian TeX Group gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------------- KURDISTAN (n.) Hard stare given by a husband to his wife when he notices a sharp increase in the number of times he answers the phone to be told, 'Sorry, wrong number.' --- Douglas Adams, The Meaning of Liff -- To UNSUBSCRIBE, email to debian-tex-maint-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: ConTeXt 2007.01.12 problem 2007-01-12 19:47 ` [NTG-context] " Mike Bird 2007-01-12 19:51 ` Norbert Preining @ 2007-01-12 19:54 ` Taco Hoekwater 2007-01-12 20:21 ` [NTG-context] " Mike Bird 2007-01-13 9:03 ` Hans Hagen 1 sibling, 2 replies; 19+ messages in thread From: Taco Hoekwater @ 2007-01-12 19:54 UTC (permalink / raw) Cc: debian-tex-maint Mike Bird wrote: > On Friday 12 January 2007 06:43, Alan Bowen wrote: > >>Processing a file that used to typeset successfully now gets the >>error message: >> >>! Undefined control sequence. >>\initializenextposition ...dosetpositionpapersize >> {\printpaperwidth } >>{\print... >> >>\setposition ...ing \else \initializenextposition >> \def > > > Hi Norbert, > > context_2007.01.12-1 has this problem. You might want to pull it until > a new package is available as this problem is a bit of a showstopper. Is this a side-effect of context 2007.01.12 demanding pdftex 1.40? Taco ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [NTG-context] ConTeXt 2007.01.12 problem 2007-01-12 19:54 ` Taco Hoekwater @ 2007-01-12 20:21 ` Mike Bird 2007-01-13 0:05 ` Norbert Preining 2007-01-13 9:03 ` Hans Hagen 1 sibling, 1 reply; 19+ messages in thread From: Mike Bird @ 2007-01-12 20:21 UTC (permalink / raw) Cc: debian-tex-maint On Friday 12 January 2007 11:54, Taco Hoekwater wrote: > Mike Bird wrote: > > context_2007.01.12-1 has this problem. You might want to pull it until > > a new package is available as this problem is a bit of a showstopper. > > Is this a side-effect of context 2007.01.12 demanding pdftex 1.40? It's the problem Hans diagnosed as material missing from the end of spec-mis.tex . He said he would upload a new zip but I don't know if that has happened yet. --Mike Bird ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [NTG-context] ConTeXt 2007.01.12 problem 2007-01-12 20:21 ` [NTG-context] " Mike Bird @ 2007-01-13 0:05 ` Norbert Preining 2007-01-13 0:23 ` Taco Hoekwater 0 siblings, 1 reply; 19+ messages in thread From: Norbert Preining @ 2007-01-13 0:05 UTC (permalink / raw) Cc: ntg-context, debian-tex-maint On Fre, 12 Jan 2007, Mike Bird wrote: > > > context_2007.01.12-1 has this problem. You might want to pull it until > > > a new package is available as this problem is a bit of a showstopper. > > > > Is this a side-effect of context 2007.01.12 demanding pdftex 1.40? > > It's the problem Hans diagnosed as material missing from the end of > spec-mis.tex . He said he would upload a new zip but I don't know > if that has happened yet. Damned, this is seriously hosed ... one time I couldn't test all the test cases I have on my laptop before uploading the upstream stuff is hosed, that is a pity. Guys, if you manage to get a fixed upstream by tomorrow 7:20am I can do an upload ...., otherwise you have to wait till monday morning, because I am leaving for ice climbing. In the meantime please install http://www.tug.org/texlive/Debian/context/context_2007.01.02-2_all.deb to get a working context ... Sorry ... Best wishes Norbert ------------------------------------------------------------------------------- Dr. Norbert Preining <preining@logic.at> Università di Siena Debian Developer <preining@debian.org> Debian TeX Group gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------------- GLENTIES (pl.n.) Series of small steps by which someone who has made a serious tactical error in a conversion or argument moves from complete disagreement to wholehearted agreement. --- Douglas Adams, The Meaning of Liff -- To UNSUBSCRIBE, email to debian-tex-maint-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: ConTeXt 2007.01.12 problem 2007-01-13 0:05 ` Norbert Preining @ 2007-01-13 0:23 ` Taco Hoekwater 2007-01-13 2:50 ` Sanjoy Mahajan 0 siblings, 1 reply; 19+ messages in thread From: Taco Hoekwater @ 2007-01-13 0:23 UTC (permalink / raw) Cc: debian-tex-maint Norbert Preining wrote: > On Fre, 12 Jan 2007, Mike Bird wrote: > >>>>context_2007.01.12-1 has this problem. You might want to pull it until >>>>a new package is available as this problem is a bit of a showstopper. >>> >>>Is this a side-effect of context 2007.01.12 demanding pdftex 1.40? >> >>It's the problem Hans diagnosed as material missing from the end of >>spec-mis.tex . He said he would upload a new zip but I don't know >>if that has happened yet. > > > Damned, this is seriously hosed ... one time I couldn't test all the > test cases I have on my laptop before uploading the upstream stuff is > hosed, that is a pity. > > Guys, if you manage to get a fixed upstream by tomorrow 7:20am I can do > an upload ...., otherwise you have to wait till monday morning, because > I am leaving for ice climbing. There was a new upload at 6pm, but I have not yet tested if that fixes it. Taco ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: ConTeXt 2007.01.12 problem 2007-01-13 0:23 ` Taco Hoekwater @ 2007-01-13 2:50 ` Sanjoy Mahajan 2007-01-13 8:52 ` Hans Hagen 0 siblings, 1 reply; 19+ messages in thread From: Sanjoy Mahajan @ 2007-01-13 2:50 UTC (permalink / raw) Cc: debian-tex-maint Several>> ! Undefined control sequence. Several>> \initializenextposition ...dosetpositionpapersize Taco> There was a new upload at 6pm, but I have not yet tested if that fixes Taco> it. When I upgraded to 2007.01.12 01:02 via the Debian package, I got the same error that others have reported. I just tested 2007.01.12 15:56 and the problem is fixed, so thanks for the quick work. Here is the test file (same as I've been using for dvipos), and it showed the problem in dvi and pdf modes. I'm using pdftex 1.40.0 (with Taco's patch for the off-by-one-error) in /usr/local/bin. ============================================================ \defineoverlay [foregraphics] [\positionoverlay{foregraphics}] \setupbackgrounds [page] [background={foreground,foregraphics}] \starttext \hpos{r23}{7} \quad \hpos{r24}{8} \startMPpositiongraphic{mypos:line} mpprocset := 0; % context doesn't yet handle the new mpprocsets path pa, pb, pab ; numeric na, nb ; initialize_box(\MPpos{\MPvar{from}}) ; na := nxy ; pa := llxy..lrxy..urxy..ulxy..cycle ; initialize_box(\MPpos{\MPvar{to}}) ; nb := nxy ; pb := llxy..lrxy..urxy..ulxy..cycle ; if na=nb : pab := center pa -- center pb ; pab := pab cutbefore (pab intersectionpoint pa) ; pab := pab cutafter (pab intersectionpoint pb) ; pickup pencircle; draw pab; anchor_box(\MPanchor{\MPvar{from}}) ; fi ; \stopMPpositiongraphic \startpositionoverlay{foregraphics} \setMPpositiongraphic{r23}{mypos:line}{to=r24} \stoppositionoverlay The pattern. \stoptext ============================================================ -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien) ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: ConTeXt 2007.01.12 problem 2007-01-13 2:50 ` Sanjoy Mahajan @ 2007-01-13 8:52 ` Hans Hagen 2007-01-13 14:10 ` Sanjoy Mahajan 0 siblings, 1 reply; 19+ messages in thread From: Hans Hagen @ 2007-01-13 8:52 UTC (permalink / raw) Cc: debian-tex-maint Sanjoy Mahajan wrote: > Several>> ! Undefined control sequence. > Several>> \initializenextposition ...dosetpositionpapersize > > Taco> There was a new upload at 6pm, but I have not yet tested if that fixes > Taco> it. > > When I upgraded to 2007.01.12 01:02 via the Debian package, I got the > same error that others have reported. I just tested 2007.01.12 15:56 > and the problem is fixed, so thanks for the quick work. Here is the > test file (same as I've been using for dvipos), and it showed the > problem in dvi and pdf modes. I'm using pdftex 1.40.0 (with Taco's > patch for the off-by-one-error) in /usr/local/bin. > that test should go into the test repos (which btw we should get running now that it gets filled up); i have to look into that asap Hans > ============================================================ > \defineoverlay [foregraphics] [\positionoverlay{foregraphics}] > \setupbackgrounds > [page] > [background={foreground,foregraphics}] > > \starttext > > \hpos{r23}{7} \quad \hpos{r24}{8} > > \startMPpositiongraphic{mypos:line} > mpprocset := 0; % context doesn't yet handle the new mpprocsets > path pa, pb, pab ; numeric na, nb ; > initialize_box(\MPpos{\MPvar{from}}) ; > na := nxy ; pa := llxy..lrxy..urxy..ulxy..cycle ; > initialize_box(\MPpos{\MPvar{to}}) ; > nb := nxy ; pb := llxy..lrxy..urxy..ulxy..cycle ; > if na=nb : > pab := center pa -- center pb ; > pab := pab cutbefore (pab intersectionpoint pa) ; > pab := pab cutafter (pab intersectionpoint pb) ; > pickup pencircle; > draw pab; > anchor_box(\MPanchor{\MPvar{from}}) ; > fi ; > \stopMPpositiongraphic > > \startpositionoverlay{foregraphics} > \setMPpositiongraphic{r23}{mypos:line}{to=r24} > \stoppositionoverlay > > The pattern. > > \stoptext > ============================================================ > > -Sanjoy > > `Not all those who wander are lost.' (J.R.R. Tolkien) > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > -- ----------------------------------------------------------------- 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 ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: ConTeXt 2007.01.12 problem 2007-01-13 8:52 ` Hans Hagen @ 2007-01-13 14:10 ` Sanjoy Mahajan 2007-01-14 18:56 ` Hans Hagen 0 siblings, 1 reply; 19+ messages in thread From: Sanjoy Mahajan @ 2007-01-13 14:10 UTC (permalink / raw) Cc: debian-tex-maint > that test should go into the test repos I've committed it to the contexttest repo as tex/context/base/supp-mis.tex/test-001.tex By the way, in dvi mode the file fails unless "mpprocset:=0;" is put in the \startMPpositiongraphic. Here's the error msg: $ texexec --dvi --nonstopmode tex/context/base/supp-mis.tex/test-001.tex // on "TeX run 2" ... [MP as EPS ./to-dvi-mpgraph.4000] [MP color conversion ./to-dvi-mpgraph.4000 ! Argument of \dodohandleMPcolor has an extra }. <inserted text> \par <to be read again> } \includeMPasEPS ...\the \!!heightb }\doinsertfile }\wd \scratchbox \!!widt.. Taco had diagnosed this as due to ConTeXt not handling the new mpost procsets (hence the mpprocset := 0;). Not sure why that lack doesn't hurt the run in pdf mode, but perhaps Taco or Hans understand the reson. The test file that I committed does not have the mpprocset:=0, so it can be used to test for mpprocset handling in dvi mode. The test skeleton script (./tex/context/base/enco-pfr.tex/Makefile, which by the way I should move to a more general location) uses only pdf mode. I'll move it to a new home and modify it to test dvi mode as well. > (which btw we should get running now that it gets filled up); > i have to look into that asap The ./tex/context/base/enco-pfr.tex/Makefile is a start. But see a previous email included below. I still don't see where to get the known-good comparison PDF (or ps). -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien) Date: Fri, 06 Oct 2006 13:16:20 BST From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk> To: contexttest-commits@foundry.supelec.fr Reply-to: contexttest-commits@foundry.supelec.fr Subject: [contexttest] automatic testing [I added an actual subject line and started this msg as a new thread -- sorry for breaking the threading and, in the first instance, for lazily replying to the Cron msg rather than starting a new thread.] Hans Hagen wrote: Sanjoy Mahajan wrote: > Just added a file to test \showframe (broken in the last few beta > releases). > > Which reminds me that I'm hoping someday to set up automatic testing > of new releases. The main item in order to do that: 'known good' > outputs for the automatic comparison Makefile to use. Is generating > each PDF with the latest non-beta release a good way? It's probably > easier than looking at each one by hand, though not as reliable. > we can think of several tests : (1) do they pass (2) does the file has the same number of pages (3) does a bitmap of the page roughly looks the same 1/2 would already be great I have 3 [bitmap checking] pretty much working (see the Makefile in the repository). It was a quick hack so is a bit rigid: It tells you how different the old and new bitmaps are, but a shift of one pixel is interpreted as "very different" (it doesn't do any dynamic programming to do the match, just a simple overlay). For 1 [do they pass], do you mean whether the texexec completes? That should be easy as well. #2 [number of pages] should also be easy, and can be added to #3 pretty easily. But I still want to know "same number of pages as which release?" Because all one has in the repository is .tex source files, but not known correct PDF or log output from a correct run to compare against. Another question is what to do about settings like \runMPgraphics or \runMPTEXgraphics (and write18). For example, static MP figures break (I'm pretty sure) if write18 is on but those other two are off. Should the test files themselves turn on those variables if they are needed (i.e. make any changes relative to the default cont-sys.rme)? [I'll soon visit relatives for the upcoming U.S. long weekend so might not reply for a few days, depends on how lazy I feel about email.] -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. _______________________________________________ Contexttest-commits mailing list Contexttest-commits@foundry.supelec.fr https://foundry.supelec.fr/mailman/listinfo/contexttest-commits ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: ConTeXt 2007.01.12 problem 2007-01-13 14:10 ` Sanjoy Mahajan @ 2007-01-14 18:56 ` Hans Hagen 0 siblings, 0 replies; 19+ messages in thread From: Hans Hagen @ 2007-01-14 18:56 UTC (permalink / raw) Cc: debian-tex-maint Sanjoy Mahajan wrote: >> that test should go into the test repos >> > > I've committed it to the contexttest repo as > tex/context/base/supp-mis.tex/test-001.tex > > By the way, in dvi mode the file fails unless "mpprocset:=0;" is put in the > \startMPpositiongraphic. Here's the error msg: > > $ texexec --dvi --nonstopmode tex/context/base/supp-mis.tex/test-001.tex > // on "TeX run 2" > ... > [MP as EPS ./to-dvi-mpgraph.4000] [MP color conversion ./to-dvi-mpgraph.4000 > ! Argument of \dodohandleMPcolor has an extra }. > <inserted text> > \par > <to be read again> > } > \includeMPasEPS ...\the \!!heightb }\doinsertfile > }\wd \scratchbox \!!widt.. > > Taco had diagnosed this as due to ConTeXt not handling the new mpost > procsets (hence the mpprocset := 0;). Not sure why that lack doesn't > hurt the run in pdf mode, but perhaps Taco or Hans understand the > reson. The test file that I committed does not have the mpprocset:=0, > so it can be used to test for mpprocset handling in dvi mode. > supp-,p ssays: \def\dodohandleMPcolor#1 #2 #3setrgbcolor#4setrgbcolor*\\% old and maybe broken so, it seems broken indeed; unless someone else solves it i may look at it on a cold winter night (if we ever get one here this year) 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 ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: ConTeXt 2007.01.12 problem 2007-01-12 19:54 ` Taco Hoekwater 2007-01-12 20:21 ` [NTG-context] " Mike Bird @ 2007-01-13 9:03 ` Hans Hagen 1 sibling, 0 replies; 19+ messages in thread From: Hans Hagen @ 2007-01-13 9:03 UTC (permalink / raw) Cc: debian-tex-maint Taco Hoekwater wrote:. > > Is this a side-effect of context 2007.01.12 demanding pdftex 1.40? > this pos stuff is a bit tricky to support in compatible ways because in a sense it's a backend issue as well as multipass. pdftex and now xetex provide it internally since they kind of are the backends too, which in turn makes it a bit messy to fit into the context special feature driver files, etc etc. We still need the dvipos fallback for aleph. 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 ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2007-01-14 18:56 UTC | newest] Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-01-12 14:43 ConTeXt 2007.01.12 problem Alan Bowen 2007-01-12 14:47 ` Hans Hagen 2007-01-12 14:52 ` Alan Bowen 2007-01-12 14:52 ` Hans Hagen 2007-01-12 15:07 ` Alan Bowen 2007-01-12 15:08 ` Hans Hagen 2007-01-12 15:23 ` Alan Bowen 2007-01-12 15:39 ` Hans Hagen 2007-01-12 19:47 ` [NTG-context] " Mike Bird 2007-01-12 19:51 ` Norbert Preining 2007-01-12 19:54 ` Taco Hoekwater 2007-01-12 20:21 ` [NTG-context] " Mike Bird 2007-01-13 0:05 ` Norbert Preining 2007-01-13 0:23 ` Taco Hoekwater 2007-01-13 2:50 ` Sanjoy Mahajan 2007-01-13 8:52 ` Hans Hagen 2007-01-13 14:10 ` Sanjoy Mahajan 2007-01-14 18:56 ` Hans Hagen 2007-01-13 9:03 ` Hans Hagen
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).