Hi,
I tried an example for generating linear text placement.
% File text.mp
input mp-tool ; % some initializations and auxiliary macros
input mp-spec ; % macros that support special features
prologues := 2;
beginfig(1)
draw hlintext.lft(0, 20, 5, 20cm, "@3e") ;
draw vlogtext.bot(0, 10, 9, 10cm, "@3e") ;
endfig;
end;
%-----------------------------
and compile it using
$texexec -mptex text.mp
(Output given at bottom)
I get the error
unknown file type: texmfscripts
and the eps file text.1 has "unknown" written all over the place.
There is something misconfigured in my system (Windows XP Miktex,
updated tonight). Can someone help me to debug the problem.
Thanks
Aditya
=======================================================
Generated eps
========================================================
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: -58 -7 309 571
%%Creator: MetaPost
%%CreationDate: 2004.11.24:0218
%%Pages: 1
%%DocumentFonts: CMR10
/cmr10 /CMR10 def
/fshow {exch findfont exch scalefont setfont show}bind def
%%EndProlog
%%Page: 1 1
%%HiResBoundingBox: -57.2854 -6.9185 308.23283 570.38826
-49.53665 -3.45926 moveto
(0) cmr10 9.96265 fshow
-44.55531 -3.45926 moveto
(unknown) cmr10 9.96265 fshow
-4.98134 -3.45926 moveto
(0) cmr10 9.96265 fshow
-49.53665 138.273 moveto
(5) cmr10 9.96265 fshow
-44.55531 138.273 moveto
(unknown) cmr10 9.96265 fshow
-4.98134 138.273 moveto
(0) cmr10 9.96265 fshow
-49.53665 280.00525 moveto
(1) cmr10 9.96265 fshow
-44.55531 280.00525 moveto
(unknown) cmr10 9.96265 fshow
-4.98134 280.00525 moveto
(1) cmr10 9.96265 fshow
-57.2854 421.7375 moveto
(1.5) cmr10 9.96265 fshow
-44.55531 421.7375 moveto
(unknown) cmr10 9.96265 fshow
-4.98134 421.7375 moveto
(1) cmr10 9.96265 fshow
-49.53665 563.46976 moveto
(2) cmr10 9.96265 fshow
-44.55531 563.46976 moveto
(unknown) cmr10 9.96265 fshow
-4.98134 563.46976 moveto
(1) cmr10 9.96265 fshow
-24.76833 -6.9185 moveto
(1) cmr10 9.96265 fshow
-19.78699 -6.9185 moveto
(unknown) cmr10 9.96265 fshow
19.78699 -6.9185 moveto
(0) cmr10 9.96265 fshow
258.69618 -6.9185 moveto
(1) cmr10 9.96265 fshow
263.67752 -6.9185 moveto
(unknown) cmr10 9.96265 fshow
303.2515 -6.9185 moveto
(1) cmr10 9.96265 fshow
showpage
%%EOF
===========================================
texexec output
============================================
TeXExec 5.0 - ConTeXt / PRAGMA ADE 1997-2004
unknown file type: texmfscripts
metapost : text
format : metafun
(text.mp (C:\texmf\metapost\context\base\mp-tool.mp)
(C:\texmf\metapost\context\base\mp-spec.mp) [1]
metafun 2004-5-21 18:40
)
1 output file written: text.1
Transcript written on text.log.
second MP run needed : 40 tex labels found
metapost to tex : text
executable : pdfetex
format : cont-en
inputfile : tmpgraph
output : dvips
interface : en
options : once
current mode : none
This is pdfeTeX, Version 3.141592-1.20a-2.2 (MiKTeX 2.4)
output format initialized to DVI
entering extended mode
(tmpgraph.tex
ConTeXt ver: 2004.10.28 fmt: 2004.11.24 int: english mes: english
language : language en is active