ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [Fwd: metafun not working]
@ 2005-06-27 11:00 Hans Hagen
  2005-06-27 14:08 ` Taco Hoekwater
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2005-06-27 11:00 UTC (permalink / raw)




-------- Original Message --------
Subject: metafun not working
Date: Sat, 25 Jun 2005 05:39:06 -0700 (PDT)
From: piskala upendran <pr_upendran@yahoo.com>
To: pragma@wxs.nl

hi Mr. Hans,

I was trying to run the metafun example as given
below. It gave one blank pdf page.

I moved the metafun.mem file to localtexmf/miktex/mem
and write18 enable in miktex.ini.

I did try it live context. the result is same can you
tell me the error. is it my system is not configured
properly. If so why is it live context gives same
result.

Thanks a lot.

upendran

%----mp.tex-------------
\setupoutput[pdftex]
  \starttext
  \startMPcode
  graphictext "MP" scaled 8 outlinefill
withdrawcolor .7blue withfillcolor .7white dashed
evenly withpen
pencircle scaled 2pt ;
\stopMPcode

\stoptext
%-----------------------------------------

%------------log file----------------



Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

H:\Documents and Settings\Upendran\Desktop>texexec
mp.tex

  TeXExec 5.4.1 - ConTeXt / PRAGMA ADE 1997-2005

unknown file type: texmfscripts
kpsewhich: unrecognized option `--engine=pdfetex'
  fixing texformat path : Usage: kpsewhich [OPTION...]
[FILENAME]

This program tries to locate a TeXMF related file.

Options:
-alias=APP                Pretend to be APP.
-help                     Print this help screen and
exit.
-file-type=FILETYPE       Use the search path for
FILETYPE.
-must-exist               Make sure the file exists;
run the package
                           installer if necessary.
-show-path=FILETYPE       Show the search path for
FILETYPE.
-start                    Start associated program if
file was found.
-version                  Print the version number and
exit.
0
fixing engine variable : pdfetex
             executable : pdfetex
                 format : cont-en
              inputfile : mp
                 output : standard
              interface : en
           current mode : none
                TeX run : 1

This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX
2.4)
entering extended mode
(mp.tex

ConTeXt  ver: 2005.05.30  fmt: 2005.6.25  int: english
  mes: english

language        : language en is active
<protectionstate 0>
system          : cont-new loaded
(f:\texmf\tex\context\base\cont-new.tex
systems         : beware: some patches loaded from
cont-new.tex
color           : palette rollover is available
)
system          : cont-old loaded
(f:\texmf\tex\context\base\cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil loaded
(f:\texmf\tex\context\base\cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys.rme loaded
(f:\texmf\tex\context\user\cont-sys.rme
(f:\texmf\tex\context\base\./type-exa.tex)
(f:\texmf\tex\context\base\./type-syn.tex)
(f:\texmf\tex\context\base\./type-enc.tex)
(f:\texmf\tex\context\base\./type-dis.tex)
(f:\texmf\tex\context\base\./type-siz.tex)
(f:\texmf\tex\context\base\./type-map.tex)
(f:\texmf\tex\context\base\./type-spe.tex)
(f:\texmf\tex\context\base\./type-akb.tex))
bodyfont        : 12pt rm is loaded
language        : patterns en->ec:ec->1->2:2
uk->ec:ec->2->2:2 de->texnansi:tex
nansi->3->2:2 de->ec:ec->4->2:2
fr->texnansi:texnansi->5->2:2 fr->ec:ec->6->2:2
  es->ec:ec->7->2:2 pt->texnansi:texnansi->8->2:2
pt->ec:ec->9->2:2 it->texnansi
:texnansi->10->2:2 it->ec:ec->11->2:2
nl->texnansi:texnansi->12->2:2 nl->ec:ec-
>13->2:2 cz->il2:il2->14->2:2 cz->ec:ec->15->2:2
sk->il2:il2->16->2:2 sk->ec:ec
->17->2:2 pl->pl0:pl0->18->2:2 pl->ec:ec->19->2:2
loaded
specials        : tex,postscript,rokicki loaded
system          : mp.top loaded
(./mp.top)
specials        : loading definition file tpd
(f:\texmf\tex\context\base\spec-tpd.tex
specials        : loading definition file fdf
(f:\texmf\tex\context\base\spec-fdf.tex)
specials        : fdf loaded
)
specials        : fdf,tpd loaded
(./mp.tuo) (./mp.tuo) (./mp.tuo) (./mp.tuo) (./mp.tuo)
(./mp.tuo) (./mp.tuo)
(./mp.tuo) (./mp.tuo) (./mp.tuo) (./mp.tuo) (./mp.tuo)
(./mp.tuo)
fonts           : using map file: original-base
fonts           : using map file: ec-public-lm
fonts           : using map file: ec-base
fonts           : using map file: original-ams-base
fonts           : using map file: original-public-lm
systems         : begin file mp at line 2
systems         : randomizer starts with 1267251462
[MP to PDF] (./mp-mpgraph.1)
[1.1{original-empty.map}{original-base.map}{ec-pub
lic-lm.map}{ec-base.map}{original-ams-base.map}{original-public-lm.map}]
systems         : end file mp at line 9
[flush and process mp-mpgraph.mp afterwards]
){ec-lm.enc}<f:\texmf\fonts\type1\
public\lm\lmr12.pfb>
Output written on mp.pdf (1 page, 5655 bytes).
Transcript written on mp.log.

            return code : 0
               run time : 1 seconds
    generating graphics : metaposting mp-mpgraph.mp

  TeXExec 5.4.1 - ConTeXt / PRAGMA ADE 1997-2005

unknown file type: texmfscripts
               metapost : mp-mpgraph
                 format : metafun
(mp-mpgraph.mp (mp-mpgraph.mpy) [1]
metafun 2005-6-25 10:12
  )
1 output file written: mp-mpgraph.1
Transcript written on mp-mpgraph.log.

         total run time : 0 seconds
   sorting and checking : running texutil

  TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004

                 action : processing commands, lists
and registers
                 option : sorting IJ under Y
                 option : converting high ASCII values
             input file : mp.tui
            output file : mp.tuo
        passed commands : 15
          remapped keys : 0
       register entries : 0 -> 0 entries 0 references
        synonym entries : 0 -> 0 entries
         embedded files : 1

         total run time : 3 seconds



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com




-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: [Fwd: metafun not working]
  2005-06-27 11:00 [Fwd: metafun not working] Hans Hagen
@ 2005-06-27 14:08 ` Taco Hoekwater
  2005-06-28 19:49   ` Mojca Miklavec
  0 siblings, 1 reply; 5+ messages in thread
From: Taco Hoekwater @ 2005-06-27 14:08 UTC (permalink / raw)



On my linux system, I was missing the 'pstoedit' command.
I got a blank page (well, only a page number) just like
you, then I installed pstoedit, and now it looks fine.

Taco

Hans Hagen wrote:
> 
> 
> -------- Original Message --------
> Subject: metafun not working
> Date: Sat, 25 Jun 2005 05:39:06 -0700 (PDT)
> From: piskala upendran <pr_upendran@yahoo.com>
> To: pragma@wxs.nl
> 
> hi Mr. Hans,
> 
> I was trying to run the metafun example as given
> below. It gave one blank pdf page.
> 
> I moved the metafun.mem file to localtexmf/miktex/mem
> and write18 enable in miktex.ini.
> 
> I did try it live context. the result is same can you
> tell me the error. is it my system is not configured
> properly. If so why is it live context gives same
> result.

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

* Re: [Fwd: metafun not working]
  2005-06-27 14:08 ` Taco Hoekwater
@ 2005-06-28 19:49   ` Mojca Miklavec
  2005-06-28 20:52     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2005-06-28 19:49 UTC (permalink / raw)


Taco Hoekwater wrote:
> 
> On my linux system, I was missing the 'pstoedit' command.
> I got a blank page (well, only a page number) just like
> you, then I installed pstoedit, and now it looks fine.
> 
> Taco

Thanks for the hint. I never thought about installing pstoedit. I just
noticed long time ago that I was unable to make such fancy things, but
I thought I was simply to stupid to understand the manual :(.

However: after I somehow managed to download pstoedit (it is difficult
to get it because too much bandwidth is used), it crashes every time I
run texexec (just after the message "generating: metapost file"), but
somehow it produces the result.

Time to switch to linux ...

Mojca

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

* Re: [Fwd: metafun not working]
  2005-06-28 19:49   ` Mojca Miklavec
@ 2005-06-28 20:52     ` Hans Hagen
       [not found]       ` <6faad9f00506281432696c63f0@mail.gmail.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2005-06-28 20:52 UTC (permalink / raw)


Mojca Miklavec wrote:

> Thanks for the hint. I never thought about installing pstoedit. I just
> noticed long time ago that I was unable to make such fancy things, but
> I thought I was simply to stupid to understand the manual :(.

thanks for not blaming the stupid manual -)

> However: after I somehow managed to download pstoedit (it is difficult
> to get it because too much bandwidth is used), it crashes every time I
> run texexec (just after the message "generating: metapost file"), but
> somehow it produces the result.

strange; are you sure that you have the right version? normally it's in the 
gsview distribution and ends up in some ghostgum path

  Directory of d:\ghostgum

10/24/2004  08:48 PM    <DIR>          .
10/24/2004  08:48 PM    <DIR>          ..
10/24/2004  11:16 PM    <DIR>          gsview
10/24/2004  08:57 PM    <DIR>          pstoedit
09/18/2004  09:40 PM    <DIR>          pstotext

here i have the following versions:

 >pstoedit
pstoedit: version 3.33 / DLL interface 108 (build Jan  6 2003 - release build) :
  Copyright (C) 1993 - 2003 Wolfgang Glunz

 >gswin32c  --help
AFPL Ghostscript 8.51 (2005-04-18)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
  -dNOPAUSE           no pause after page   | -q       `quiet', fewer messages
  -g<width>x<height>  page size in pixels   | -r<res>  pixels/inch resolution
  -sDEVICE=<devname>  select device         | -dBATCH  exit after last file
  -sOutputFile=<file> select output file: - for stdout, |command for pipe,
                                          embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PostScriptLevel3 PDF

Default output device: display
Available devices:
    bbox bit bitcmyk bitrgb bj10e bj200 bjc600 bjc800 bmp16 bmp16m bmp256
    bmp32b bmpgray bmpmono bmpsep1 bmpsep8 cdeskjet cdj550 cdjcolor cdjmono
    declj250 deskjet devicen display djet500 djet500c eps9high eps9mid epson
    epsonc epswrite ibmpro ijs jetp3852 jpeg jpeggray laserjet lbp8 lj250
    ljet2p ljet3 ljet3d ljet4 ljet4d ljetplus m8510 mswindll mswinpr2 necp6
    nullpage pbm pbmraw pcx16 pcx24b pcx256 pcxcmyk pcxgray pcxmono pdfwrite
    pgm pgmraw pgnm pgnmraw pj pjxl pjxl300 pkmraw png16 png16m png256
    pngalpha pnggray pngmono pnm pnmraw ppm ppmraw psdcmyk psdrgb psmono
    pswrite pxlcolor pxlmono r4081 spotcmyk st800 stcolor t4693d2 t4693d4
    t4693d8 tek4696 tiff12nc tiff24nc tiff32nc tiffcrle tiffg3 tiffg32d
    tiffg4 tiffgray tifflzw tiffpack tiffsep uniprint
Search path:
    . ; d:\gs\gs8.51\lib ; d:\gs\fonts ; c:/gs/gs8.51/lib ;
    c:/gs/gs8.51/Resource ; c:/gs/fonts
For more information, see c:/gs/gs8.51/doc/Use.htm.
Report bugs to bug-gs@ghostscript.com, using the form in Bug-form.htm.

> Time to switch to linux ...

(i run windows for ages now, so it should work okay)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: metafun not working
       [not found]       ` <6faad9f00506281432696c63f0@mail.gmail.com>
@ 2005-06-28 21:37         ` Mojca Miklavec
  0 siblings, 0 replies; 5+ messages in thread
From: Mojca Miklavec @ 2005-06-28 21:37 UTC (permalink / raw)


> > Thanks for the hint. I never thought about installing pstoedit. I just
> > noticed long time ago that I was unable to make such fancy things, but
> > I thought I was simply to stupid to understand the manual :(.
>
> thanks for not blaming the stupid manual -)

:)

..................................

pstoedit.exe - Fehler in Anwendung

Die Anweisung in "0x00aee797" verweist auf Speicher in "0x00000000".
Der Vorgang "read" konnte nicht auf dem Speicher durchgeführt werden.

..................................

Seems like someone had problems using pointers in C, but I don't know.

> here i have the following versions:
>
>  >pstoedit
> pstoedit: version 3.33 / DLL interface 108 (build Jan  6 2003 - release build) :
>   Copyright (C) 1993 - 2003 Wolfgang Glunz

pstoedit: version 3.40 / DLL interface 108 (build Jan 6 2005 - release build)

Probably this is the problem? Maybe I can try with an older version,
but I don't have it.
I tried with 3.31 which resides in CTAN, but this is not compliant any
more with the new version of gs.

I tried a conversion ps -> mpost with some random file and with
filename-mpgraph.1 and it worked OK. I can't reproduce crash except by
running texexec on the posted document.

>  >gswin32c  --help
> AFPL Ghostscript 8.51 (2005-04-18)

I had 8.11 and replaced it with 8.51, but no difference. It crashes
only in the first run. The second run goes OK. Once I run texutil
--purgeall, it crashes again.

> For more information, see c:/gs/gs8.51/doc/Use.htm.
> Report bugs to bug-gs@ghostscript.com, using the form in Bug-form.htm.

I doubt that the problem lies in GS, but everything is possible..
If anyone would like to test the version 3.40 on the posted document and
if there are downloading problems, please mail me. I can get no older version
to test.

Although it crashes, the resulting PDF file after 2 runs seems to be OK.

Mojca

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

end of thread, other threads:[~2005-06-28 21:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-27 11:00 [Fwd: metafun not working] Hans Hagen
2005-06-27 14:08 ` Taco Hoekwater
2005-06-28 19:49   ` Mojca Miklavec
2005-06-28 20:52     ` Hans Hagen
     [not found]       ` <6faad9f00506281432696c63f0@mail.gmail.com>
2005-06-28 21:37         ` metafun not working Mojca Miklavec

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