ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: METAPOST problem
@ 2003-09-22 19:59 Emil Hedevang Lohse
  0 siblings, 0 replies; 14+ messages in thread
From: Emil Hedevang Lohse @ 2003-09-22 19:59 UTC (permalink / raw)



Apparently it takes some time for my suggestion to get through to the
mailing list, so I send you a direct answer:

Isn't it easier to use arctime and the specify A and B as lengths
instead of points? For example:

  A := 1cm;
  B := 1cm;
  draw subpath (arctime A of c, arctime (arclength c) - B of c) of c;

The code is not tested.
 
Regards,

-- 
Emil Hedevang Lohse <http://home.imf.au.dk/emil/> 

Alle spørgsmål er lige dumme. 
Og spørgsmålet "Kan ænder flyve?" er ikke dumt.

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

* Metapost Problem
@ 2005-10-03  9:55 Wolfgang Zillig
  0 siblings, 0 replies; 14+ messages in thread
From: Wolfgang Zillig @ 2005-10-03  9:55 UTC (permalink / raw)


Hello,

wat to convert a metapost file to pdf by mptopdf:

my command: mptopdf.pl grid.mp

then grid.1 is created but no pdf. The output on the command line is:

        C:\Documents and Settings\s0167070\Desktop\grid>mptopdf.pl grid.mp

         TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

        unknown file type: texmfscripts
                      metapost : grid
                      format : metafun
        (grid.mp [1]
        metafun 2005-6-13 14:28
         )
        1 output file written: grid.1
        Transcript written on grid.log.

        total run time : 0 seconds
        -fmt=mptopdf: unknown option

        MPtoPDF 1.3 : grid is converted to grid-1.pdf

Any suggestions what goes wrong?

Thanks Wolfgang

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

* Re: MetaPost problem
  2003-03-15  4:19   ` Guo Yang
@ 2003-03-17  8:41     ` Hans Hagen
  0 siblings, 0 replies; 14+ messages in thread
From: Hans Hagen @ 2003-03-17  8:41 UTC (permalink / raw)


At 11:19 PM 3/14/2003 -0500, you wrote:
>Maybe I made a mistake and deleted the real error messages. I am really 
>sorry for that. Now I attach the whole log file here. Thank you for your 
>patience.

You can patch:

SUPP-MPS.TEX:\newcount\MPobjectcounter
SUPP-MPS.TEX:  {\global\advance\MPobjectcounter\plusone
SUPP-MPS.TEX:   \setobject{MP}{\number\MPobjectcounter}\vbox
SUPP-MPS.TEX: 
\setxvalue{#1}{\noexpand\getobject{MP}{\number\MPobjectcounter}}}

(\count's instead of \counters)
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

* Re: MetaPost problem
  2003-03-15  4:06 ` MetaPost problem Guo Yang
@ 2003-03-15  4:19   ` Guo Yang
  2003-03-17  8:41     ` Hans Hagen
  0 siblings, 1 reply; 14+ messages in thread
From: Guo Yang @ 2003-03-15  4:19 UTC (permalink / raw)


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

Maybe I made a mistake and deleted the real error messages. I am really 
sorry for that. Now I attach the whole log file here. Thank you for your 
patience.

Guo

Guo Yang wrote:

> Hell,
>
> When I was trying to use m-metapo.sty in LaTeX or pdfLaTeX I got the 
> error messages below:
>
> This is pdfTeX, Version 3.141592-1.10b (MiKTeX 2.2) (preloaded 
> format=latex 2000.11.28)  14 MAR 2003 23:00
> **mpchi.tex
> (mpchi.tex{pdftex.cfg}
> LaTeX2e <2001/06/01>
> Babel <v3.7h> and hyphenation patterns for english, french, german, 
> ngerman, du
> mylang, nohyphenation, loaded.
> (C:\texmf\tex\latex\base\article.cls
> Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
> (C:\texmf\tex\latex\base\size10.clo
> File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
> loading : Context Support Macros / MetaPost Inclusion
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context



[-- Attachment #2: mpchi.log --]
[-- Type: text/plain, Size: 31294 bytes --]

This is pdfTeX, Version 3.141592-1.10b (MiKTeX 2.2) (preloaded format=latex 2000.11.28)  14 MAR 2003 23:00
**mpchi.tex
(mpchi.tex{pdftex.cfg}
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for english, french, german, ngerman, du
mylang, nohyphenation, loaded.
(C:\texmf\tex\latex\base\article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(C:\texmf\tex\latex\base\size10.clo
File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (C:\texmf\tex\latex\graphics\graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
(C:\texmf\tex\latex\graphics\keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
(C:\texmf\tex\latex\graphics\graphics.sty
Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)
 (C:\texmf\tex\latex\graphics\trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
) (C:\texmf\tex\latex\00miktex\graphics.cfg
File: graphics.cfg 2003/03/12 v1.1 MiKTeX 'graphics' configuration
)
Package graphics Info: Driver file: pdftex.def on input line 80.

(C:\texmf\tex\latex\graphics\pdftex.def
File: pdftex.def 2002/06/19 v0.03k graphics/color for pdftex
\Gread@gobject=\count87
))
\Gin@req@height=\dimen103
\Gin@req@width=\dimen104
)
(C:\texmf\tex\latex\context\m-metapo.sty
(C:\texmf\tex\generic\context\m-metapo.tex
(C:\texmf\tex\context\base\supp-mps.tex (C:\texmf\tex\context\base\supp-mis.tex
loading : Context Support Macros / Missing
\protectiondepth=\count88
\scratchcounter=\count89
\scratchtoks=\toks15
\scratchdimen=\dimen105
\scratchskip=\skip43
\scratchmuskip=\muskip10
\scratchbox=\box26
\scratchread=\read1
\scratchwrite=\write3
\zeropoint=\dimen106
\minusone=\count90
\thousandpoint=\dimen107
\emptytoks=\toks16
\nextbox=\box27
\nextdepth=\dimen108
\everyline=\toks17
\!!counta=\count91
\!!countb=\count92
\recursecounter=\count93
)
loading : Context Support Macros / MetaPost Inclusion
\nofMPgraphics=\count94
\currentMPgraphic=\count95
\MPinitializations=\toks18
\MPwrite=\write4
\everyMPTEXgraphic=\toks19
\MPTEXgrapicchecks=\toks20
\everyMPgraphic=\toks21
\MPgraphicbox=\box28
! Undefined control sequence.
<argument> \MPobjectcounter 
                            
l.702 \newcounter\MPobjectcounter
                                 
? 
! Undefined control sequence.
<argument> \MPobjectcounter 
                            
l.702 \newcounter\MPobjectcounter
                                 
? 
\c@=\count96
! Undefined control sequence.
<argument> c@\MPobjectcounter 
                              
l.702 \newcounter\MPobjectcounter
                                 
? 
! Undefined control sequence.
<argument> \global \csname c@\MPobjectcounter 
                                              \endcsname \z@ \relax 
l.702 \newcounter\MPobjectcounter
                                 
? 
! Undefined control sequence.
<argument> \MPobjectcounter 
                            
l.702 \newcounter\MPobjectcounter
                                 
? 
! Undefined control sequence.
<argument> {\MPobjectcounter 
                             }
l.702 \newcounter\MPobjectcounter
                                 
? 
! Undefined control sequence.
<argument> \MPobjectcounter 
                            
l.702 \newcounter\MPobjectcounter
                                 
? 
! Undefined control sequence.
<argument> \MPobjectcounter 
                            
l.702 \newcounter\MPobjectcounter
                                 
? 
! Undefined control sequence.
<argument> \MPobjectcounter 
                            
l.702 \newcounter\MPobjectcounter
                                 
? 
\maxnofMPgraphics=\count0\allocationnumber 
\minnofMPgraphics=\count0\allocationnumber 
\MPtoks=\toks0\allocationnumber 
\MPbox=\box0\allocationnumber 
))) (mpchi.aux)
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 0\inputlin
eno .
LaTeX Font Info:    ... okay on input line 0\inputlineno .
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 0\inputlinen
o .
LaTeX Font Info:    ... okay on input line 0\inputlineno .
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 0\inputline
no .
LaTeX Font Info:    ... okay on input line 0\inputlineno .
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 0\inputlin
eno .
LaTeX Font Info:    ... okay on input line 0\inputlineno .
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 0\inputlin
eno .
LaTeX Font Info:    ... okay on input line 0\inputlineno .
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 0\inputlineno
 .
LaTeX Font Info:    ... okay on input line 0\inputlineno .

! Argument of \rem@pt has an extra }.
<inserted text> 
                \par 
l.4   \begin{document}
                      
? 
Runaway argument?
\@arabic \c@ \@tempdimb 
! Paragraph ended before \rem@pt was complete.
<to be read again> 
                   \par 
l.4   \begin{document}
                      
? 
! Missing \endcsname inserted.
<to be read again> 
                   \par 
l.4   \begin{document}
                      
? 
! Extra \endcsname.
\font@name ->\OT1/cmr/m/n/ \par \endcsname 
                                           
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   p
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   m
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   p
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   p
l.4   \begin{document}
                      
? 

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   p
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   m
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   \let 
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   \let 
l.4   \begin{document}
                      
? 
! Undefined control sequence.
\@begindocumenthook ...oexpand \?\the \catcode `\?
                                                   }\InputIfFileExists {supp...
l.4   \begin{document}
                      
? 
(C:\texmf\tex\context\base\supp-pdf.tex
loading : Context Support Macros / PDF
\nofMPsegments=\count0\allocationnumber 
\nofMParguments=\count0\allocationnumber 
\everyMPtoPDFconversion=\toks0\allocationnumber 
! Missing number, treated as zero.
<to be read again> 
                   \par 
l.1934 
       
? 
! Missing number, treated as zero.
<to be read again> 
                   \relax 
l.1935 \protect
                \endinput
? 
! Missing number, treated as zero.
<to be read again> 
                   \relax 
l.1935 \protect
                \endinput
? 
! Missing number, treated as zero.
<to be read again> 
                   \relax 
l.1935 \protect
                \endinput
? 
)
! Improper alphabetic constant.
<to be read again> 
                   \mskip 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   \mskip 
l.4   \begin{document}
                      
? 
! Missing $ inserted.
<inserted text> 
                $
l.4   \begin{document}
                      
? 
! Missing \endcsname inserted.
<to be read again> 
                   \par 
l.4   \begin{document}
                      
? 
! Missing \endcsname inserted.
<to be read again> 
                   \par 
l.4   \begin{document}
                      
? 
! Missing $ inserted.
<inserted text> 
                $
l.4   \begin{document}
                      
? 
! Math formula deleted: Insufficient symbol fonts.
<inserted text> $
                 
l.4   \begin{document}
                      
? 
! Extra \endcsname.
\glb@settings ...\fi \csname S@\f@size \endcsname 
                                                  \ifmath@fonts \begingroup ...
l.4   \begin{document}
                      
? 
! Undefined control sequence.
getanddefine@fonts ...e {csname string #2/tf@size 
                                                  endcsname }pickup@font let...
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   <
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   <
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 

! LaTeX Error: Font OT1/cmr/m/n/ not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   edef 
l.4   \begin{document}
                      
? 
! Improper `at' size (0.0pt), replaced by 10pt.
<recently read> @tempdimb 
                          
l.4   \begin{document}
                      
? 
! Undefined control sequence.
getanddefine@fonts ...e {csname string #2/sf@size 
                                                  endcsname }pickup@font let...
l.4   \begin{document}
                      
? 
! Undefined control sequence.
getanddefine@fonts ... {csname string #2/ssf@size 
                                                  endcsname }pickup@font ede...
l.4   \begin{document}
                      
? 
! Undefined control sequence.
getanddefine@fonts ...e {csname string #2/tf@size 
                                                  endcsname }pickup@font let...
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   <
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   <
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 

! LaTeX Error: Font OML/cmm/m/it/ not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   edef 
l.4   \begin{document}
                      
? 
! Improper `at' size (0.0pt), replaced by 10pt.
<recently read> @tempdimb 
                          
l.4   \begin{document}
                      
? 
! Undefined control sequence.
getanddefine@fonts ...e {csname string #2/sf@size 
                                                  endcsname }pickup@font let...
l.4   \begin{document}
                      
? 
! Undefined control sequence.
getanddefine@fonts ... {csname string #2/ssf@size 
                                                  endcsname }pickup@font ede...
l.4   \begin{document}
                      
? 
! Undefined control sequence.
getanddefine@fonts ...e {csname string #2/tf@size 
                                                  endcsname }pickup@font let...
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Missing number, treated as zero.
<to be read again> 
                   <
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   <
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 

! LaTeX Error: Font OMS/cmsy/m/n/ not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   let 
l.4   \begin{document}
                      
? 
! Illegal unit of measure (pt inserted).
<to be read again> 
                   =
l.4   \begin{document}
                      
? X
 
Here is how much of TeX's memory you used:
 1150 strings out of 95634
 13582 string characters out of 1191402
 59537 words of memory out of 1063738
 4180 multiletter control sequences out of 35000
 3640 words of font info for 14 fonts, out of 500000 for 1000
 14 hyphenation exceptions out of 607
 25i,1n,21p,300b,51s stack positions out of 1500i,500n,5000p,200000b,32768s
 0 PDF objects out of 65536
 0 named destinations out of 20000
 0 words of extra memory for PDF output out of 65536
No pages of output.

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

* MetaPost problem
  2003-03-15  3:44 (no subject) Coydell Rivers
@ 2003-03-15  4:06 ` Guo Yang
  2003-03-15  4:19   ` Guo Yang
  0 siblings, 1 reply; 14+ messages in thread
From: Guo Yang @ 2003-03-15  4:06 UTC (permalink / raw)


Hell,

When I was trying to use m-metapo.sty in LaTeX or pdfLaTeX I got the 
error messages below:

This is pdfTeX, Version 3.141592-1.10b (MiKTeX 2.2) (preloaded 
format=latex 2000.11.28)  14 MAR 2003 23:00
**mpchi.tex
(mpchi.tex{pdftex.cfg}
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for english, french, german, 
ngerman, du
mylang, nohyphenation, loaded.
(C:\texmf\tex\latex\base\article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(C:\texmf\tex\latex\base\size10.clo
File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
loading : Context Support Macros / MetaPost Inclusion

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

* Re: metapost problem
  2001-02-26 21:46 metapost problem Hraban
@ 2001-02-27 10:11 ` Hans Hagen
  0 siblings, 0 replies; 14+ messages in thread
From: Hans Hagen @ 2001-02-27 10:11 UTC (permalink / raw)
  Cc: ntg-context

At 10:46 PM 2/26/01 +0100, Hraban wrote:
>Hello!
>
>Whilst preparing some slides for DANTE I got the same
>or a similar problem like Patrick...
>
>- texexec tries to run mpost (no error, but apparently no effect)
>- a myjob-mpgraph.mp is created
>- if I run 'mpost -progname=mpost -mem=metafun myjob-mpgraph',
>  as it texexec does, a myjob-mpgraph.1 is created.

Can you send me a minimal non working file? 

I send you the latest texexec

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


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

* metapost problem
@ 2001-02-26 21:46 Hraban
  2001-02-27 10:11 ` Hans Hagen
  0 siblings, 1 reply; 14+ messages in thread
From: Hraban @ 2001-02-26 21:46 UTC (permalink / raw)


Hello!

Whilst preparing some slides for DANTE I got the same
or a similar problem like Patrick...

- texexec tries to run mpost (no error, but apparently no effect)
- a myjob-mpgraph.mp is created
- if I run 'mpost -progname=mpost -mem=metafun myjob-mpgraph',
  as it texexec does, a myjob-mpgraph.1 is created.

  But this way I only get the last metapost graphic of the job,
and that's a bit few for several flowcharts and the presentation styles.

- cont-sys.tex seems to be ok (the '\let\initializeMPgraphics\empty' 
  hack has no effect) 
- surely no PATH problem 
- I rebuilt the formats and didn't forget texhash (mktexlsr) 
- my pdfTeX is V.14g, ConTeXt the last week's beta

a part of the log:

---
layout         : calculating backgrounds
\openout2 = `mpgraph.mp'.

Randomizer initialized to 1575252551.
figures        : figure mpgraph can not be found
interaction    : pdftex code inserted
...
layout         : calculating backgrounds
figures        : figure mpgraph can not be found
---

-- 
Grüßlis vom Hraban!
---
http://angerweit.tikon.ch/    http://www.drucktechniker2001.de/
http://www.planet-interkom.de/fiee.visuelle/formelsammlung.html


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

* Re: metapost problem
  2001-01-07 17:33 ` Denis B. Roegel
@ 2001-01-07 17:37   ` Marc van Dongen
  0 siblings, 0 replies; 14+ messages in thread
From: Marc van Dongen @ 2001-01-07 17:37 UTC (permalink / raw)
  Cc: Mailing List

Denis B. Roegel (Denis.Roegel@loria.fr) wrote:

: Yes, you made the mistake to write xl.s  := (1cm,0);
: instead of xl.s = (1cm,0). By using :=, you are messing
: up internal equations in the boxes package and the result
: you get is normal. I've had this problem a few weeks ago,
: and it took me a while to find out! Never use := in these
: contexts!

I've had problems like this many times before and was
never able to put my finger on the reasons. From now
on I'll be a good declarative lad: no more assignments
for me (unless really needed).

: (Disclaimer: I haven't compiled your file, so this is a guess.)

That's okay. I have. It works.

Thanks a mille.

Regards,

: 
: Denis
: 

-- 
     Marc van Dongen, CS Dept | phone:  +353 21 4903578
University College Cork, NUIC | Fax:    +353 21 4903113
  College Road, Cork, Ireland | Email: dongen@cs.ucc.ie
Marc


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

* Re: metapost problem
  2001-01-07 14:44 Marc van Dongen
@ 2001-01-07 17:33 ` Denis B. Roegel
  2001-01-07 17:37   ` Marc van Dongen
  0 siblings, 1 reply; 14+ messages in thread
From: Denis B. Roegel @ 2001-01-07 17:33 UTC (permalink / raw)
  Cc: Mailing List

`Marc van Dongen' wrote
>   
>   I am having a problem I cannot understand.
>   Perhaps there's something wrong with my
>   installation. When I run mpost on attached
>   tmp.mp I get attached tmp.0.
>   
>   I would have expected the letter $x$ to be
>   positioned at (1cm,0) but instead it is
>   positioned at (0,0). I've use boxes many
>   times but thins I cannot understand. Am I
>   doing something terribly wrong? Am I
>   overlooking something?  Any other suggestions?

Yes, you made the mistake to write xl.s  := (1cm,0);
instead of xl.s = (1cm,0). By using :=, you are messing
up internal equations in the boxes package and the result
you get is normal. I've had this problem a few weeks ago,
and it took me a while to find out! Never use := in these
contexts!

(Disclaimer: I haven't compiled your file, so this is a guess.)

Denis


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

* metapost problem
@ 2001-01-07 14:44 Marc van Dongen
  2001-01-07 17:33 ` Denis B. Roegel
  0 siblings, 1 reply; 14+ messages in thread
From: Marc van Dongen @ 2001-01-07 14:44 UTC (permalink / raw)


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

Hello mpost fans,

[appologies for this second submission. I
 just realised I forgot to add the attachments.]

I am having a problem I cannot understand.
Perhaps there's something wrong with my
installation. When I run mpost on attached
tmp.mp I get attached tmp.0.

I would have expected the letter $x$ to be
positioned at (1cm,0) but instead it is
positioned at (0,0). I've use boxes many
times but thins I cannot understand. Am I
doing something terribly wrong? Am I
overlooking something?  Any other suggestions?

Regards,

Marc van Dongen
-- 
     Marc van Dongen, CS Dept | phone:  +353 21 4903578
University College Cork, NUIC | Fax:    +353 21 4903113
  College Road, Cork, Ireland | Email: dongen@cs.ucc.ie

[-- Attachment #2: tmp.mp --]
[-- Type: text/plain, Size: 303 bytes --]

verbatimtex
\documentclass{article}
\begin{document}
etex;

defaultfont := "cmr12";
defaultscale := 12pt /fontsize defaultfont;
input mp-tool;
prologues := 2;
input boxes;

beginfig(0)
  boxit.xl( btex $x$ etex );
  xl.s  := (1cm,0);
  drawarrow xl.s - (0,1cm) -- xl.s;
  drawboxed( xl );
endfig;

end.

[-- Attachment #3: tmp.0 --]
[-- Type: text/plain, Size: 798 bytes --]

%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: -4 -29 30 8 
%%Creator: MetaPost
%%CreationDate: 2000.09.26:1853
%%Pages: 1
%%DocumentFonts: cmmi10
 /cmmi10 /cmmi10 def
/fshow {exch findfont exch scalefont setfont show}bind def
%%EndProlog
%%Page: 1 1
%%HiResBoundingBox: -3.25 -28.59645 29.87724 7.53952
 0.5 0 dtransform exch truncate exch idtransform pop setlinewidth [] 0 setdash
 1 setlinecap 1 setlinejoin 10 setmiterlimit
newpath 28.34645 -28.34645 moveto
28.34645 0 lineto stroke
 0 0.5 dtransform truncate idtransform setlinewidth pop
newpath 29.87724 -3.69557 moveto
28.34645 0 lineto
26.81566 -3.69557 lineto
 closepath
gsave fill grestore stroke
0 0 moveto
(x) cmmi10 9.96265 fshow
newpath -3 -3 moveto
8.69391 -3 lineto
8.69391 7.28952 lineto
-3 7.28952 lineto
 closepath stroke
showpage
%%EOF

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

* metapost problem
@ 2001-01-07 14:43 Marc van Dongen
  0 siblings, 0 replies; 14+ messages in thread
From: Marc van Dongen @ 2001-01-07 14:43 UTC (permalink / raw)


Hello mpost fans,

I am having a problem I cannot understand.
Perhaps there's something wrong with my
installation. When I run mpost on attached
tmp.mp I get attached tmp.0.

I would have expected the letter $x$ to be
positioned at (1cm,0) but instead it is
positioned at (0,0). I've use boxes many
times but thins I cannot understand. Am I
doing something terribly wrong? Am I
overlooking something?  Any other suggestions?

Regards,

Marc van Dongen
-- 
     Marc van Dongen, CS Dept | phone:  +353 21 4903578
University College Cork, NUIC | Fax:    +353 21 4903113
  College Road, Cork, Ireland | Email: dongen@cs.ucc.ie


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

* Re: metapost problem
  2000-10-16 10:23 ` Hans Hagen
@ 2000-10-16 12:04   ` Marc van Dongen
  0 siblings, 0 replies; 14+ messages in thread
From: Marc van Dongen @ 2000-10-16 12:04 UTC (permalink / raw)
  Cc: Mailing List

Hans Hagen (pragma@wxs.nl) wrote:

: This has to do with the fact that glyps may stick out of their bounding
: boxes. 

Of course.

: If you use btex ... etex, you may want to add a \strut, otherwise: 
: 
: picture p ; p := nullpicture ; 
: addto p also "abc" infont "somefont" ; 
: setbounds p to boundingbox p enlarged 1pt ; 
: draw p ; 

That's nice. Thanks.

Regards,

Marc


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

* Re: metapost problem
  2000-10-16  9:48 Marc van Dongen
@ 2000-10-16 10:23 ` Hans Hagen
  2000-10-16 12:04   ` Marc van Dongen
  0 siblings, 1 reply; 14+ messages in thread
From: Hans Hagen @ 2000-10-16 10:23 UTC (permalink / raw)
  Cc: Mailing List

At 10:48 AM 10/16/00 +0100, Marc van Dongen wrote:

>For a long time I have noticed that certain parts
>of text are not treated by metapost as being part
>of the picture. I have attached an example, where a
>part of the letter ``y'' of the word ``pointsGalway''
>at the right of the picture falls outside the picture.
>If I decrease the width of the boxes ate the right
>the results gets even worse. BTW: The picture was
>created using plain metapost. No ConTeXt was involved.

This has to do with the fact that glyps may stick out of their bounding
boxes. 

If you use btex ... etex, you may want to add a \strut, otherwise: 

picture p ; p := nullpicture ; 
addto p also "abc" infont "somefont" ; 
setbounds p to boundingbox p enlarged 1pt ; 
draw p ; 

Hans
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


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

* metapost problem
@ 2000-10-16  9:48 Marc van Dongen
  2000-10-16 10:23 ` Hans Hagen
  0 siblings, 1 reply; 14+ messages in thread
From: Marc van Dongen @ 2000-10-16  9:48 UTC (permalink / raw)


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

Hi again,

For a long time I have noticed that certain parts
of text are not treated by metapost as being part
of the picture. I have attached an example, where a
part of the letter ``y'' of the word ``pointsGalway''
at the right of the picture falls outside the picture.
If I decrease the width of the boxes ate the right
the results gets even worse. BTW: The picture was
created using plain metapost. No ConTeXt was involved.

I used to put boxes around pictures to make metapost
aware of the fact that the actual size of the picture
is bigger. Is there a better way to do this?

As usual, any help will be greatly appreciated.

Regards,

Marc van Dongen
-- 
     Marc van Dongen, CS Dept | phone:  +353 21 4903578
University College Cork, NUIC | Fax:    +353 21 4903113
  College Road, Cork, Ireland | Email: dongen@cs.ucc.ie

[-- Attachment #2: memory10.pdf --]
[-- Type: application/pdf, Size: 1558 bytes --]

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

end of thread, other threads:[~2005-10-03  9:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-22 19:59 METAPOST problem Emil Hedevang Lohse
  -- strict thread matches above, loose matches on Subject: below --
2005-10-03  9:55 Metapost Problem Wolfgang Zillig
2003-03-15  3:44 (no subject) Coydell Rivers
2003-03-15  4:06 ` MetaPost problem Guo Yang
2003-03-15  4:19   ` Guo Yang
2003-03-17  8:41     ` Hans Hagen
2001-02-26 21:46 metapost problem Hraban
2001-02-27 10:11 ` Hans Hagen
2001-01-07 14:44 Marc van Dongen
2001-01-07 17:33 ` Denis B. Roegel
2001-01-07 17:37   ` Marc van Dongen
2001-01-07 14:43 Marc van Dongen
2000-10-16  9:48 Marc van Dongen
2000-10-16 10:23 ` Hans Hagen
2000-10-16 12:04   ` Marc van Dongen

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