Re: [NTG-context] MetaFUN's \setupMPpage broken? [SOLVED]

2011-12-28 Thread Verhaag, G.C.H.M.

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
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MetaFUN's \setupMPpage broken? [SOLVED]

2011-12-27 Thread Verhaag, G.C.H.M.

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
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MetaFUN's \setupMPpage broken?

2011-12-27 Thread John Kitzmiller
On Tue, Dec 27, 2011 at 6:00 AM, ntg-context-requ...@ntg.nl wrote:


 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


Hello Gerard.

Moving the [offset=*] down to \startMPpage and eliminating the \setup
MPpage worked here. (I also scaled it up so I could see it on my viewer.)

\startuseMPgraphic{test}

fill fullsquare rotated 45 scaled 20;

\stopuseMPgraphic

 \starttext

\startMPpage[offset=5pt]

\includeMPgraphic{test}

\stopMPpage

\stoptext


This may be a feature.


--JohnK
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] MetaFUN's \setupMPpage broken?

2011-12-27 Thread 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!

Regards,
Gerard Verhaag

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] MetaFUN's \setupMPpage broken?

2011-12-27 Thread Wolfgang Schuster

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
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MetaFUN's \setupMPpage broken? [SOLVED]

2011-12-27 Thread Wolfgang Schuster

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
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___