Hi ConTeXt user's, A few weeks ago I upgraded to the 11-11-29 version (MkIV) and today installed the 11-12-23 version (MkIV). The \setupMPpage command in the basic example below: \setupMPpage[offset=1pt] \startuseMPgraphic{test} fill fullsquare rotated 45 ; \stopuseMPgraphic \starttext \startMPpage \includeMPgraphic{test} \stopMPpage \stoptext yields the following error in both versions mentioned above: ! Undefined control sequence. system > tex > error on line 1 in file test.tex: Undefined control sequence ... All this worked just fine in the version of last August! Regards, Gerard Verhaag
Am 27.12.2011 um 11:35 schrieb Verhaag, G.C.H.M.:
Hi ConTeXt user's,
A few weeks ago I upgraded to the 11-11-29 version (MkIV) and today installed the 11-12-23 version (MkIV). The \setupMPpage command in the basic example below:
\setupMPpage[offset=1pt]
\startuseMPgraphic{test} fill fullsquare rotated 45 ; \stopuseMPgraphic
\starttext \startMPpage \includeMPgraphic{test} \stopMPpage \stoptext
yields the following error in both versions mentioned above:
! Undefined control sequence. system > tex > error on line 1 in file test.tex: Undefined control sequence ...
All this worked just fine in the version of last August!
Use \setupfittingpage[MPpage][…=…]. Wolfgang
On 12/27/2011 12:24 PM, Wolfgang Schuster wrote:
Am 27.12.2011 um 11:35 schrieb Verhaag, G.C.H.M.:
Hi ConTeXt user's,
A few weeks ago I upgraded to the 11-11-29 version (MkIV) and today installed the 11-12-23 version (MkIV). The \setupMPpage command in the basic example below:
\setupMPpage[offset=1pt]
\startuseMPgraphic{test} fill fullsquare rotated 45 ; \stopuseMPgraphic
\starttext \startMPpage \includeMPgraphic{test} \stopMPpage \stoptext
yields the following error in both versions mentioned above:
! Undefined control sequence. system> tex> error on line 1 in file test.tex: Undefined control sequence ...
All this worked just fine in the version of last August!
Use \setupfittingpage[MPpage][…=…].
Wolfgang
..
Hi Wolfgang and John, Both ways work well, thanks a lot! Does this mean that the setupMPpage command will become obsolete in near future? Are both suggestions documented somewhere or is this mailing list the only way to find out? Regards, Gerard Verhaag
Am 27.12.2011 um 14:26 schrieb Verhaag, G.C.H.M.:
Hi Wolfgang and John,
Both ways work well, thanks a lot! Does this mean that the setupMPpage command will become obsolete in near future?
Are both suggestions documented somewhere or is this mailing list the only way to find out?
It’s already obsolete as you noticed by the “undefined control sequence” warning. The reason for this is that \startMPpage and \startTEXpage are now defined in a different way than they had been in MkII. In MkII both commands are defined with \def\startMPpage{…} and \def\startTEXpage{…} but in MkIV both are a instance of fittingpage and the definition for them is \definefittingpage[MPpage] and \definefittingpage[TEXpage]. As a consequence the old \setupMPpage command is also gone and you have to set global settings with \setupfittingpage[<environment>][<settings>]. Such a changes do happen with many commands in MkIV and the setup-commands for them are moved to the underlying mechanism (e.g. fittingpage). Wolfgang
On 12/27/2011 04:07 PM, Wolfgang Schuster wrote:
Am 27.12.2011 um 14:26 schrieb Verhaag, G.C.H.M.:
Hi Wolfgang and John,
Both ways work well, thanks a lot! Does this mean that the setupMPpage command will become obsolete in near future?
Are both suggestions documented somewhere or is this mailing list the only way to find out?
It’s already obsolete as you noticed by the “undefined control sequence” warning.
The reason for this is that \startMPpage and \startTEXpage are now defined in a different way than they had been in MkII. In MkII both commands are defined with \def\startMPpage{…} and \def\startTEXpage{…} but in MkIV both are a instance of fittingpage and the definition for them is \definefittingpage[MPpage] and \definefittingpage[TEXpage]. As a consequence the old \setupMPpage command is also gone and you have to set global settings with \setupfittingpage[<environment>][<settings>].
Such a changes do happen with many commands in MkIV and the setup-commands for them are moved to the underlying mechanism (e.g. fittingpage).
Wolfgang ...
Hi Wolfgang, Thank you very much for your prompt explanation! Regards, Gerard Verhaag
participants (2)
-
Verhaag, G.C.H.M.
-
Wolfgang Schuster