ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* MetaFUN's \setupMPpage broken?
@ 2011-12-27 10:35 Verhaag, G.C.H.M.
  2011-12-27 11:24 ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Verhaag, G.C.H.M. @ 2011-12-27 10:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 673 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 1349 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: MetaFUN's \setupMPpage broken?
  2011-12-27 10:35 MetaFUN's \setupMPpage broken? Verhaag, G.C.H.M.
@ 2011-12-27 11:24 ` Wolfgang Schuster
  2011-12-27 13:26   ` MetaFUN's \setupMPpage broken? [SOLVED] Verhaag, G.C.H.M.
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2011-12-27 11:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: MetaFUN's \setupMPpage broken? [SOLVED]
  2011-12-27 11:24 ` Wolfgang Schuster
@ 2011-12-27 13:26   ` Verhaag, G.C.H.M.
  2011-12-27 15:07     ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Verhaag, G.C.H.M. @ 2011-12-27 13:26 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: MetaFUN's \setupMPpage broken? [SOLVED]
  2011-12-27 13:26   ` MetaFUN's \setupMPpage broken? [SOLVED] Verhaag, G.C.H.M.
@ 2011-12-27 15:07     ` Wolfgang Schuster
  2011-12-28 10:09       ` Verhaag, G.C.H.M.
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2011-12-27 15:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: MetaFUN's \setupMPpage broken? [SOLVED]
  2011-12-27 15:07     ` Wolfgang Schuster
@ 2011-12-28 10:09       ` Verhaag, G.C.H.M.
  0 siblings, 0 replies; 6+ messages in thread
From: Verhaag, G.C.H.M. @ 2011-12-28 10:09 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: MetaFUN's \setupMPpage broken?
@ 2011-12-27 12:31 John Kitzmiller
  0 siblings, 0 replies; 6+ messages in thread
From: John Kitzmiller @ 2011-12-27 12:31 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1148 bytes --]

On Tue, Dec 27, 2011 at 6:00 AM, <ntg-context-request@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

[-- Attachment #1.2: Type: text/html, Size: 2793 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-12-28 10:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-27 10:35 MetaFUN's \setupMPpage broken? Verhaag, G.C.H.M.
2011-12-27 11:24 ` Wolfgang Schuster
2011-12-27 13:26   ` MetaFUN's \setupMPpage broken? [SOLVED] Verhaag, G.C.H.M.
2011-12-27 15:07     ` Wolfgang Schuster
2011-12-28 10:09       ` Verhaag, G.C.H.M.
2011-12-27 12:31 MetaFUN's \setupMPpage broken? John Kitzmiller

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).