* Can I compare with someone?
@ 2003-12-11 6:14 David Arnold
2003-12-11 7:32 ` Lutz Haseloff
2003-12-11 21:53 ` Staszek Wawrykiewicz
0 siblings, 2 replies; 4+ messages in thread
From: David Arnold @ 2003-12-11 6:14 UTC (permalink / raw)
Cc: tetex
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
<protectionstate 0>
system : cont-new loaded
(/usr/local/teTeX/share/texmf/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex!
)
system : cont-old loaded
(/usr/local/teTeX/share/texmf/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system : cont-fil loaded
(/usr/local/teTeX/share/texmf/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
bodyfont : 12pt rm is loaded
language : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2
7:2-it-2
8:2-nl-2 loaded
specials : tex,postscript,rokicki loaded
system : tmpgraph.top loaded
(./tmpgraph.top
specials : loading definition file dvi
(/usr/local/teTeX/share/texmf/tex/context/base/spec-dvi.tex <unprotect 3>
<protect 3>)
specials : tex loaded
specials : loading definition file ps
(/usr/local/teTeX/share/texmf/tex/context/base/spec-ps.tex)
specials : tex,postscript loaded
specials : loading definition file tr
(/usr/local/teTeX/share/texmf/tex/context/base/spec-tr.tex)
specials : tex,postscript,rokicki loaded
)
pdftex : needs map file: original-context-symbol.map
pdftex : needs map file: pl0-ams-cmr.map
pdftex : needs map file: original-vogel-symbol.map
[1.1]
systems : end file tmpgraph at line 3
)
Output written on tmpgraph.dvi (1 page, 192 bytes).
Transcript written on tmpgraph.log.
return code : 0
run time : 0 seconds
dvi to metapost : junk
metapost : junk
format : metafun
This is MetaPost, Version 0.641 (Web2C 7.4.5)
(junk.mp [1]
metafun 2003-12-10 14:21
)
1 output file written: junk.1
Transcript written on junk.log.
total run time : 0 seconds
[1] )
1 output file written: junk.1
Transcript written on junk.log.
I now add another line to junk.mp. This is an attempt to get 10pt font size.
beginfig(1);
defaultscale:=10pt/fontsize defaultfont;
path p;
p:=fullcircle scaled 100pt;
draw p;
label(btex $x$ etex, center p);
endfig;
end.
But when I compile, I still get 12pt. And the culprit seems to be:
bodyfont : 12pt rm is loaded
I tried the following workaround by editing junk.mp. But,
mpost junk
produces this error message:
! Undefined control sequence.
l.1 \documentclass
[10pt]{article}
So, I try:
mpost --tex=latex junk
But now my system tries to build cont-en.fmt. Toward the end, one message I
get is:
Sorry, I can't find the format `cont-en.fmt'; will try `context.fmt'.
But this doesn't make sense, as cont-en.efmt is already built.
[darnold@ps-114a-2k darnold]$ ll /usr/local/teTeX/share/texmf/web2c/*.efmt
-rw-r--r-- 1 root root 4713749 Dec 10 14:22
/usr/local/teTeX/share/texmf/web2c/cont-en.efmt
-rw-r--r-- 1 root root 4760442 Dec 9 07:38
/usr/local/teTeX/share/texmf/web2c/cont-nl.efmt
-rw-r--r-- 1 root root 756368 Dec 10 14:21
/usr/local/teTeX/share/texmf/web2c/elatex.efmt
-rw-r--r-- 1 root root 278813 Dec 10 14:21
/usr/local/teTeX/share/texmf/web2c/etex.efmt
-rw-r--r-- 1 root root 226652 Dec 10 14:22
/usr/local/teTeX/share/texmf/web2c/mptopdf.efmt
-rw-r--r-- 1 root root 765252 Dec 10 14:21
/usr/local/teTeX/share/texmf/web2c/pdfelatex.efmt
-rw-r--r-- 1 root root 288178 Dec 10 14:21
/usr/local/teTeX/share/texmf/web2c/pdfetex.efmt
I am at a loss at how to proceed. Is this a bug?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can I compare with someone?
2003-12-11 6:14 Can I compare with someone? David Arnold
@ 2003-12-11 7:32 ` Lutz Haseloff
2003-12-11 21:53 ` Staszek Wawrykiewicz
1 sibling, 0 replies; 4+ messages in thread
From: Lutz Haseloff @ 2003-12-11 7:32 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can I compare with someone?
2003-12-11 6:14 Can I compare with someone? David Arnold
2003-12-11 7:32 ` Lutz Haseloff
@ 2003-12-11 21:53 ` Staszek Wawrykiewicz
2003-12-11 23:57 ` David Arnold
1 sibling, 1 reply; 4+ messages in thread
From: Staszek Wawrykiewicz @ 2003-12-11 21:53 UTC (permalink / raw)
Cc: ntg-context, tetex
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can I compare with someone?
2003-12-11 21:53 ` Staszek Wawrykiewicz
@ 2003-12-11 23:57 ` David Arnold
0 siblings, 0 replies; 4+ messages in thread
From: David Arnold @ 2003-12-11 23:57 UTC (permalink / raw)
Cc: David Arnold, ntg-context, tetex
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-12-11 23:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-11 6:14 Can I compare with someone? David Arnold
2003-12-11 7:32 ` Lutz Haseloff
2003-12-11 21:53 ` Staszek Wawrykiewicz
2003-12-11 23:57 ` David Arnold
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).