Re: [NTG-context] externalfigure error in current mkiv beta
On Tue, 17 May 2011, Hans Hagen wrote: In fact, '\externalfigure' in ConTeXt and 'externalfigure' in metafun (without 'draw') can be a bit confusing, as in \starttext \externalfigure "hacker" scaled 5cm ; \stoptext Of course, no-one would ever admit to such foolishness. maybe another name externalimage or so (as images in mp need to be drawn) I usually prefer the more verbose: draw textext("\externalfigure[...]") ... which makes things conceptually clearler. Aditya ___ 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] externalfigure error in current mkiv beta
On 17-5-2011 11:21, Alan Braslau wrote: On Tuesday 17 May 2011 23:09:51 Hans Hagen wrote: On 17-5-2011 10:41, Alan Braslau wrote: "draw externalfigure" I'm still not sure about that one ... compatibility vs clean I rather like the new syntax - indeed much cleaner. (However, for compatibility issues, it might be nice to somehow program a better error message, if possible, so that 'externalfigure "hacker.jpg";' more elegantly fails.) pretty hard in metapost In fact, '\externalfigure' in ConTeXt and 'externalfigure' in metafun (without 'draw') can be a bit confusing, as in \starttext \externalfigure "hacker" scaled 5cm ; \stoptext Of course, no-one would ever admit to such foolishness. maybe another name externalimage or so (as images in mp need to be drawn) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] externalfigure error in current mkiv beta
On Tuesday 17 May 2011 23:09:51 Hans Hagen wrote: > On 17-5-2011 10:41, Alan Braslau wrote: > > "draw externalfigure" > > I'm still not sure about that one ... compatibility vs clean > I rather like the new syntax - indeed much cleaner. (However, for compatibility issues, it might be nice to somehow program a better error message, if possible, so that 'externalfigure "hacker.jpg";' more elegantly fails.) In fact, '\externalfigure' in ConTeXt and 'externalfigure' in metafun (without 'draw') can be a bit confusing, as in \starttext \externalfigure "hacker" scaled 5cm ; \stoptext Of course, no-one would ever admit to such foolishness. Alan ___ 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] externalfigure error in current mkiv beta
On 17-5-2011 10:41, Alan Braslau wrote: But it already needs to be updated with "draw externalfigure" :) I'm still not sure about that one ... compatibility vs clean Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] externalfigure error in current mkiv beta
But it already needs to be updated with "draw externalfigure" :) Alan P.S. The printed manual on paper is really nice! On Wednesday 20 April 2011 07:09:16 Pontus Lurcock wrote: > On Wed 20 Apr 2011, Lutz Haseloff wrote: > > Is there a recent Metafun manual? > > http://www.pragma-ade.com/general/manuals/metafun-p.pdf (2010-10-08) > > > I would even buy it (like the "Fonts in ConTeXt"). > > http://www.boekplan.nl/node/9 (€49) > > Pont ___ 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] externalfigure error in current mkiv beta
Thanks again. Lutz 2011/4/20 Pontus Lurcock : > On Wed 20 Apr 2011, Lutz Haseloff wrote: > >> Is there a recent Metafun manual? > > http://www.pragma-ade.com/general/manuals/metafun-p.pdf (2010-10-08) > >> I would even buy it (like the "Fonts in ConTeXt"). > > http://www.boekplan.nl/node/9 (€49) > > Pont ___ 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] externalfigure error in current mkiv beta
On Wed 20 Apr 2011, Lutz Haseloff wrote: > Is there a recent Metafun manual? http://www.pragma-ade.com/general/manuals/metafun-p.pdf (2010-10-08) > I would even buy it (like the "Fonts in ConTeXt"). http://www.boekplan.nl/node/9 (€49) Pont ___ 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] externalfigure error in current mkiv beta
Thanks Is there a recent Metafun manual? I would even buy it (like the "Fonts in ConTeXt"). Greetings Lutz 2011/4/19 Hans Hagen : > in mkiv the functionality has changed: > > draw externalfigure "somefile" scaled 10cm ; > > so, beter scaling etc > > Hans ___ 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] externalfigure error in current mkiv beta
On Tue, Apr 19, 2011 at 4:36 PM, Hans Hagen wrote: > On 19-4-2011 2:26, luigi scarso wrote: > >>> \starttext >>> \startMPcode >>> externalfigure "hacker.png" ; >>> \stopMPcode >>> \stoptext >> >> confirmed > > in mkiv the functionality has changed: > > draw externalfigure "somefile" scaled 10cm ; > > so, beter scaling etc right: this works ok now. \starttext \startMPcode draw externalfigure "hacker.jpg" scaled 10cm ; \stopMPcode \stoptext -- luigi ___ 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] externalfigure error in current mkiv beta
On 19-4-2011 2:26, luigi scarso wrote: \starttext \startMPcode externalfigure "hacker.png" ; \stopMPcode \stoptext confirmed in mkiv the functionality has changed: draw externalfigure "somefile" scaled 10cm ; so, beter scaling etc Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] externalfigure error in current mkiv beta
On Tue, Apr 19, 2011 at 2:06 PM, Lutz Haseloff wrote: > Hi all, > > with the current Context beta > ConTeXt ver: 2011.04.13 09:23 MKIV fmt: 2011.4.19 int: english/english > and a recent luatex > LuaTeX, Version beta-0.66.0-2011041617 (rev 4160) (Win 7 64bit) > > the externalfigure macro breaks with following message: > > metapost > loading 'metafun.mp' (experimental metapost version two) > metapost > terminal: >> picture > ! Isolated expression. > > ; > <*> externalfigure "hacker.png" ; > ; > > > metapost > error: unknown, no error, terminal or log messages > metapost > terminal: [1] > > metapost > error: unknown, no error, terminal or log messages > metapost > terminal: > > metapost > error: unknown, no error, terminal or log messages > metapost > terminal: > > metapost > error: unknown, no error, terminal or log messages > metapost > terminal: (Please type a command or say `end') > > metapost > error: unknown, no error, terminal or log messages > metapost > terminal: > > metapost > error: unknown, no error, terminal or log messages > metapost > terminal: > > metapost > error: unknown, no error, terminal or log messages > metapost > terminal: >> picture > ! Isolated expression. > > ; > <*> externalfigure "hacker.png" ; > ; > > My code: > > \starttext > \startMPcode > externalfigure "hacker.png" ; > \stopMPcode > \stoptext confirmed -- luigi ___ 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] externalfigure error in current mkiv beta
Hi all, with the current Context beta ConTeXt ver: 2011.04.13 09:23 MKIV fmt: 2011.4.19 int: english/english and a recent luatex LuaTeX, Version beta-0.66.0-2011041617 (rev 4160) (Win 7 64bit) the externalfigure macro breaks with following message: metapost> loading 'metafun.mp' (experimental metapost version two) metapost> terminal: >> picture ! Isolated expression. ; <*> externalfigure "hacker.png" ; ; metapost> error: unknown, no error, terminal or log messages metapost> terminal: [1] metapost> error: unknown, no error, terminal or log messages metapost> terminal: metapost> error: unknown, no error, terminal or log messages metapost> terminal: metapost> error: unknown, no error, terminal or log messages metapost> terminal: (Please type a command or say `end') metapost> error: unknown, no error, terminal or log messages metapost> terminal: metapost> error: unknown, no error, terminal or log messages metapost> terminal: metapost> error: unknown, no error, terminal or log messages metapost> terminal: >> picture ! Isolated expression. ; <*> externalfigure "hacker.png" ; ; My code: \starttext \startMPcode externalfigure "hacker.png" ; \stopMPcode \stoptext The current "current" from http://www.pragma-ade.com/context/current/cont-tmf.zip works ok. Greetings Lutz ___ 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 ___