ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Makempy ...
@ 2012-01-07 12:33 Willi Egger
  2012-01-07 13:06 ` Makempy luigi scarso
  2012-01-07 13:24 ` Makempy Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Willi Egger @ 2012-01-07 12:33 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

Hi Metafun gurus!

I should produce a glyph large as 300 by 150mm.
So I thought to use metafun/makempy facilities. However I get no output with ConTeXt MKIV ver: 2012.01.02 21:59 

When processing the file with MKII there is a fatal error, which is after stoptext in the attached test-file.

Kind regards

Willi


[-- Attachment #2: test-makempy.tex --]
[-- Type: application/octet-stream, Size: 896 bytes --]

% Context file
% Filename: test-makempy.tex
% 
% 07-01-2012
% Copyright (c) 2012 BOEDE. All rights reserved.
%
% \nopdfcompression
% \enabletrackers[context.trace]
% \enabletrackers[system.jobfiles]

\setuppagenumbering[location=]

% \showframe
\startuseMPgraphic{Glyph}
   picture A;
    A := image (graphictext 
         "C"
         scaled 10;);
   currentpicture := A;
\stopuseMPgraphic


\starttext
   \useMPgraphic{Glyph}
\stoptext

Error MKII:

! Missing `)' has been inserted.
<to be read again> 
                   ;
dofinishgraphictext->...ure;readfile(data_mpy_file
                                                  );scratchpicture:=(scratch...
<to be read again> 
                   ;
test-makempy-mpgraph->...ture:=nullpicture;(TEXT2)
                                                  ;currentpicture.endgroup
l.144 scaled 10;)
                 ;
                 
                 

[-- Attachment #3: 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] 4+ messages in thread

* Re: Makempy ...
  2012-01-07 12:33 Makempy Willi Egger
@ 2012-01-07 13:06 ` luigi scarso
  2012-01-07 13:24 ` Makempy Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: luigi scarso @ 2012-01-07 13:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Sat, Jan 7, 2012 at 1:33 PM, Willi Egger <context@boede.nl> wrote:

> Hi Metafun gurus!
>
> I should produce a glyph large as 300 by 150mm.
> So I thought to use metafun/makempy facilities. However I get no output
> with ConTeXt MKIV ver: 2012.01.02 21:59
>
> When processing the file with MKII there is a fatal error, which is after
> stoptext in the attached test-file.
>
> Kind regards
>
> Willi
>
It's ok with tl2010 and mkii


-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 881 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] 4+ messages in thread

* Re: Makempy ...
  2012-01-07 12:33 Makempy Willi Egger
  2012-01-07 13:06 ` Makempy luigi scarso
@ 2012-01-07 13:24 ` Hans Hagen
  2012-01-07 15:55   ` Makempy Willi Egger
  1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2012-01-07 13:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Willi Egger

On 7-1-2012 13:33, Willi Egger wrote:
> Hi Metafun gurus!
>
> I should produce a glyph large as 300 by 150mm.
> So I thought to use metafun/makempy facilities. However I get no output with ConTeXt MKIV ver: 2012.01.02 21:59
>
> When processing the file with MKII there is a fatal error, which is after stoptext in the attached test-file.

patch:

\startMPinclusions
     def graphictext primary t =
         hide (
             if mfun_trial_run :
                 let mfun_graphic_text = mfun_no_graphic_text ;
             else :
                 let mfun_graphic_text = mfun_do_graphic_text ;
             fi
         )
         mfun_graphic_text(t)
     enddef ;
\stopMPinclusions

works with:

\startMPpage
     graphictext
         "C"
         scaled 10 ;
\stopMPpage

no new upload as I'm working on the font system which needs checking by 
WS (for simplefonts etc) but you might try the beta from the ftp server 
if you're in the mood for testing (generating beta now)

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] 4+ messages in thread

* Re: Makempy ...
  2012-01-07 13:24 ` Makempy Hans Hagen
@ 2012-01-07 15:55   ` Willi Egger
  0 siblings, 0 replies; 4+ messages in thread
From: Willi Egger @ 2012-01-07 15:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

thank you for your immediate reply.

Unfortunately I do not get it working. - No problem so far, thanks to the  reply by Luigi I was able to produce the letter by using an older version of ConTeXt and MKII.

Thanks!

Willi
On 7 Jan 2012, at 14:24, Hans Hagen wrote:

> On 7-1-2012 13:33, Willi Egger wrote:
>> Hi Metafun gurus!
>> 
>> I should produce a glyph large as 300 by 150mm.
>> So I thought to use metafun/makempy facilities. However I get no output with ConTeXt MKIV ver: 2012.01.02 21:59
>> 
>> When processing the file with MKII there is a fatal error, which is after stoptext in the attached test-file.
> 
> patch:
> 
> \startMPinclusions
>    def graphictext primary t =
>        hide (
>            if mfun_trial_run :
>                let mfun_graphic_text = mfun_no_graphic_text ;
>            else :
>                let mfun_graphic_text = mfun_do_graphic_text ;
>            fi
>        )
>        mfun_graphic_text(t)
>    enddef ;
> \stopMPinclusions
> 
> works with:
> 
> \startMPpage
>    graphictext
>        "C"
>        scaled 10 ;
> \stopMPpage
> 
> no new upload as I'm working on the font system which needs checking by WS (for simplefonts etc) but you might try the beta from the ftp server if you're in the mood for testing (generating beta now)
> 
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2012-01-07 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-07 12:33 Makempy Willi Egger
2012-01-07 13:06 ` Makempy luigi scarso
2012-01-07 13:24 ` Makempy Hans Hagen
2012-01-07 15:55   ` Makempy Willi Egger

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