* externalfigure error in current mkiv beta
@ 2011-04-19 12:06 Lutz Haseloff
2011-04-19 12:26 ` luigi scarso
0 siblings, 1 reply; 12+ messages in thread
From: Lutz Haseloff @ 2011-04-19 12:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
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.
<to be read again>
;
<*> 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.
<to be read again>
;
<*> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: externalfigure error in current mkiv beta
2011-04-19 12:06 externalfigure error in current mkiv beta Lutz Haseloff
@ 2011-04-19 12:26 ` luigi scarso
2011-04-19 14:36 ` Hans Hagen
0 siblings, 1 reply; 12+ messages in thread
From: luigi scarso @ 2011-04-19 12:26 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, Apr 19, 2011 at 2:06 PM, Lutz Haseloff
<lutz.haseloff@googlemail.com> 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.
> <to be read again>
> ;
> <*> 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.
> <to be read again>
> ;
> <*> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: externalfigure error in current mkiv beta
2011-04-19 12:26 ` luigi scarso
@ 2011-04-19 14:36 ` Hans Hagen
2011-04-19 14:41 ` luigi scarso
2011-04-20 4:53 ` Lutz Haseloff
0 siblings, 2 replies; 12+ messages in thread
From: Hans Hagen @ 2011-04-19 14:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: externalfigure error in current mkiv beta
2011-04-19 14:36 ` Hans Hagen
@ 2011-04-19 14:41 ` luigi scarso
2011-04-20 4:53 ` Lutz Haseloff
1 sibling, 0 replies; 12+ messages in thread
From: luigi scarso @ 2011-04-19 14:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, Apr 19, 2011 at 4:36 PM, Hans Hagen <pragma@wxs.nl> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: externalfigure error in current mkiv beta
2011-04-19 14:36 ` Hans Hagen
2011-04-19 14:41 ` luigi scarso
@ 2011-04-20 4:53 ` Lutz Haseloff
2011-04-20 5:09 ` Pontus Lurcock
1 sibling, 1 reply; 12+ messages in thread
From: Lutz Haseloff @ 2011-04-20 4:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
Thanks
Is there a recent Metafun manual?
I would even buy it (like the "Fonts in ConTeXt").
Greetings Lutz
2011/4/19 Hans Hagen <pragma@wxs.nl>:
> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: externalfigure error in current mkiv beta
2011-04-20 4:53 ` Lutz Haseloff
@ 2011-04-20 5:09 ` Pontus Lurcock
2011-04-20 6:02 ` Lutz Haseloff
2011-05-17 20:41 ` Alan Braslau
0 siblings, 2 replies; 12+ messages in thread
From: Pontus Lurcock @ 2011-04-20 5:09 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: externalfigure error in current mkiv beta
2011-04-20 5:09 ` Pontus Lurcock
@ 2011-04-20 6:02 ` Lutz Haseloff
2011-05-17 20:41 ` Alan Braslau
1 sibling, 0 replies; 12+ messages in thread
From: Lutz Haseloff @ 2011-04-20 6:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
Thanks again.
Lutz
2011/4/20 Pontus Lurcock <pont@talvi.net>:
> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: externalfigure error in current mkiv beta
2011-04-20 5:09 ` Pontus Lurcock
2011-04-20 6:02 ` Lutz Haseloff
@ 2011-05-17 20:41 ` Alan Braslau
2011-05-17 21:09 ` Hans Hagen
1 sibling, 1 reply; 12+ messages in thread
From: Alan Braslau @ 2011-05-17 20:41 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: externalfigure error in current mkiv beta
2011-05-17 20:41 ` Alan Braslau
@ 2011-05-17 21:09 ` Hans Hagen
2011-05-17 21:21 ` Alan Braslau
0 siblings, 1 reply; 12+ messages in thread
From: Hans Hagen @ 2011-05-17 21:09 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: externalfigure error in current mkiv beta
2011-05-17 21:09 ` Hans Hagen
@ 2011-05-17 21:21 ` Alan Braslau
2011-05-17 21:37 ` Hans Hagen
0 siblings, 1 reply; 12+ messages in thread
From: Alan Braslau @ 2011-05-17 21:21 UTC (permalink / raw)
To: Hans Hagen; +Cc: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: externalfigure error in current mkiv beta
2011-05-17 21:21 ` Alan Braslau
@ 2011-05-17 21:37 ` Hans Hagen
2011-05-18 0:04 ` Aditya Mahajan
0 siblings, 1 reply; 12+ messages in thread
From: Hans Hagen @ 2011-05-17 21:37 UTC (permalink / raw)
To: Alan Braslau; +Cc: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2011-05-18 0:04 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-19 12:06 externalfigure error in current mkiv beta Lutz Haseloff
2011-04-19 12:26 ` luigi scarso
2011-04-19 14:36 ` Hans Hagen
2011-04-19 14:41 ` luigi scarso
2011-04-20 4:53 ` Lutz Haseloff
2011-04-20 5:09 ` Pontus Lurcock
2011-04-20 6:02 ` Lutz Haseloff
2011-05-17 20:41 ` Alan Braslau
2011-05-17 21:09 ` Hans Hagen
2011-05-17 21:21 ` Alan Braslau
2011-05-17 21:37 ` Hans Hagen
2011-05-18 0:04 ` Aditya Mahajan
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).