All,
I've recently installed tetex 2.0.2. I am having difficulty with Metapost
and I am wondering if I have a good installation. If someone else out there
is running tetex 2.0.2, could you try the following on your system and tell
me if you get similar results. Also, if I'm making some sort of silly
mistake, please let me know.
I have a little file named junk.mp.
beginfig(1);
path p;
p:=fullcircle scaled 100pt;
draw p;
endfig;
end.
It compiles much as I expect.
[darnold@ps-114a-2k darnold]$ mpost junk
This is MetaPost, Version 0.641 (Web2C 7.4.5)
(junk.mp [1] )
1 output file written: junk.1
Transcript written on junk.log.
No problems. Now I add a line to junk.mp.
beginfig(1);
path p;
p:=fullcircle scaled 100pt;
draw p;
label(btex $x$ etex, center p);
endfig;
end.
Now, when I compile, texexec seems to be invoked. Is this what happens on
your systems? Is this correct behavior?
[darnold@ps-114a-2k darnold]$ mpost junk
This is MetaPost, Version 0.641 (Web2C 7.4.5)
(junk.mp
TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003
metapost to tex : junk
executable : pdfetex
format : cont-en
inputfile : tmpgraph
output : dvips
interface : en
options : once nomp
current mode : none
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
\write18 enabled.
entering extended mode
(./tmpgraph.tex{/usr/local/teTeX/share/texmf/pdftex/config/pdftex.cfg}
ConTeXt ver: 2003.9.25 fmt: 2003.12.10 int: english mes: english
language : language en is active
Hi David, David Arnold schrieb:
All,
I've recently installed tetex 2.0.2. I am having difficulty with Metapost and I am wondering if I have a good installation. If someone else out there is running tetex 2.0.2, could you try the following on your system and tell me if you get similar results. Also, if I'm making some sort of silly mistake, please let me know.
I have a little file named junk.mp.
beginfig(1); path p; p:=fullcircle scaled 100pt; draw p; endfig; end.
It compiles much as I expect.
[darnold@ps-114a-2k darnold]$ mpost junk This is MetaPost, Version 0.641 (Web2C 7.4.5) (junk.mp [1] ) 1 output file written: junk.1 Transcript written on junk.log.
No problems. Now I add a line to junk.mp.
beginfig(1); path p; p:=fullcircle scaled 100pt; draw p; label(btex $x$ etex, center p); endfig; end.
Now, when I compile, texexec seems to be invoked. Is this what happens on your systems? Is this correct behavior?
yes
[darnold@ps-114a-2k darnold]$ mpost junk This is MetaPost, Version 0.641 (Web2C 7.4.5) ....
I now add another line to junk.mp. This is an attempt to get 10pt font size.
beginfig(1); defaultscale:=10pt/fontsize defaultfont;
defaultfont/defaultscale only affect labels set by metapost i.e. label("text",(0,0)); for the labels typeset by tex (btex ... etex) you can add to your mp-file: verbatimtex \setupbodyfont[10pt] etex;
path p; p:=fullcircle scaled 100pt; draw p; label(btex $x$ etex, center p); endfig; end.
I am at a loss at how to proceed. Is this a bug?
Greetings Lutz
On Wed, 10 Dec 2003, David Arnold wrote:
I've recently installed tetex 2.0.2. I am having difficulty with Metapost [...] Now, when I compile, texexec seems to be invoked. Is this what happens on your systems? Is this correct behavior?
[darnold@ps-114a-2k darnold]$ mpost junk This is MetaPost, Version 0.641 (Web2C 7.4.5) (junk.mp TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003
It seems that somebody changed texmf.cnf, e.g. declaring here something like: TEX = context or, worse, changed makempx script. Anyway, tetex 2.0.2, as it is distributed is OK. I've observed that some Linux distributions provide changed tetex config files, not always in a happy way... I don't know how such situation could be cured, as packages are often not signed. The notable example is still not updated tetex in the _current_ RedHat9.0. It is still tetex 1.0.7, but broken in many parts. -- Staszek Wawrykiewicz StaW@gust.org.pl
Staszek,
I've recently installed tetex 2.0.2. I am having difficulty with Metapost [...] Now, when I compile, texexec seems to be invoked. Is this what happens on your systems? Is this correct behavior?
[darnold@ps-114a-2k darnold]$ mpost junk This is MetaPost, Version 0.641 (Web2C 7.4.5) (junk.mp TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003
It seems that somebody changed texmf.cnf, e.g. declaring here something like: TEX = context
Aha! I found this in my texmf.cnf. % What MetaPost runs to make MPX files. This is passed an option -troff % if MP is in troff mode. Set to `0' to disable this feature. MPXCOMMAND = texexec --mptex
or, worse, changed makempx script. Anyway, tetex 2.0.2, as it is distributed is OK.
I've observed that some Linux distributions provide changed tetex config files, not always in a happy way... I don't know how such situation could be cured, as packages are often not signed. The notable example is still not updated tetex in the _current_ RedHat9.0. It is still tetex 1.0.7, but broken in many parts.
-- David Arnold College of the Redwoods. Mathematics Department 7351 Tompkins Hill Road Eureka, CA 95501 Office phone: 707-476-4222 Fax: 707-476-4424 Home page: http://online.redwoods.edu/instruct/darnold/
participants (4)
-
David Arnold
-
David Arnold
-
Lutz Haseloff
-
Staszek Wawrykiewicz