Re: [NTG-context] ntg-context Digest, Vol 34, Issue 18

2007-04-09 Thread Steve MC Han
I wish I could understand one single line of theses!
   
  C:\Han\slidempto -tex 2MS2.mp
\documentclass[12pt]{amsart}
\usepackage{mflogo}
\begin{document}
\newif\ifloadfontfileonce
%
\gdef\mpxshipout{\shipout\hbox\bgroup
  \setbox0=\hbox\bgroup}
\gdef\stopmpxshipout{\egroup  \dimen0=\ht0 \advance\dimen0\dp0
  \dimen1=\ht0 \dimen2=\dp0
  \setbox0=\hbox\bgroup
\box0
\ifnum\dimen00 \vrule width1sp height\dimen1 depth\dimen2
\else \vrule width1sp height1sp depth0sp\relax
\fi\egroup
  \ht0=0pt \dp0=0pt \box0 \egroup}
\mpxshipout% line 151 2MS2.mp
$A$\stopmpxshipout

  etc.

Steve MC Han wrote:
 Still it says command failed as you can see below.
 
 C:\Han\slidempost --tex=latex 2MS2
 This is MetaPost, Version 0.993 (Web2C 7.5.6)
 (2MS2.mp [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]makempx: Command failed: 
 mp
 to -tex 2MS2.mp

So, you should try this command:

mpto -tex 2MS2.mp

tex-based labels in metapost are not simply created by one
program, but a number of programs called in turn. For
simplicity's sake, the relevant commands are normally hidden.

Taco


 
-
Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ntg-context Digest, Vol 34, Issue 17

2007-04-08 Thread Steve MC Han
Still it says command failed as you can see below.
   
  C:\Han\slidempost --tex=latex 2MS2
This is MetaPost, Version 0.993 (Web2C 7.5.6)
(2MS2.mp [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]makempx: Command failed: mp
to -tex 2MS2.mp
   2MS2.mp
 2MS2.mpx
! Unable to make mpx file.
l.151 label.lft(btex
 $A$ etex, z8);
11 output files written: 2MS2.0 .. 2MS2.10
Transcript written on 2MS2.log.
   
  C:\Han\slidemakempx -tex=latex 2MS2.mp 2MS2.mpx
makempx: Command failed: mpto -tex 2MS2.mp

  Thanks,
  Steve

 
-
8:00? 8:25? 8:40?  Find a flick in no time
 with theYahoo! Search movie showtime shortcut.___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ntg-context Digest, Vol 34, Issue 16

2007-04-07 Thread Steve MC Han
 C:\Han\slidempost --tex=latex 2MS6 This is MetaPost, Version 0.993
 (Web2C 7.5.6) (2MS6.mpmakempx: Command failed: mpto -tex 2MS6.mp
 2MS6.mp 2MS6.mpx
 ! Unable to make mpx file. l.34 label.lft(btex Number of students
 etex rotated 90, (-u,u)); Transcript written on 2MS6.log.

Try trunning
makempx -tex=latex 2MS6.mp
directly. Maybe that gives a better error message

Best, Taco
   
  

This is what I got:
   
  C:\Han\slidemakempx -tex=latex 2MS6.mp
makempx: Need exactly two file arguments.
Try `makempx --help' for more information.

  C:\Han\slidemakempx --help
Usage: makempx [-tex[=program]|-troff[=program]] MPFILE MPXFILE.
  If MPXFILE is older than MPFILE, translate the labels from the MetaPost
  input file MPFILE to low-level commands in MPXFILE, by running
mpto -tex, tex, and dvitomp
  by default; or, if -troff is specified,
mpto -troff, gsoelim | geqn -Tps -d$$ | gtroff -Tps, and dmp.
The current directory is used for writing temporary files.  Errors are
  left in mpxerr.{tex,log,dvi}.
If the file named in $MPTEXPRE (mptexpre.tex by default) exists, it is
  prepended to the output in tex mode.
  
 
  There is one file called mpxerr.tex which contains stuffs like
   
  \mpxshipout% line 156 2MS3.mp
$A$\stopmpxshipout
\mpxshipout% line 157 2MS3.mp
$B$\stopmpxshipout
\mpxshipout% line 158 2MS3.mp
$C$\stopmpxshipout
\mpxshipout% line 159 2MS3.mp
   
   
  Does this mean anything?
   
  
Thanks,
  Steve

 
-
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food  Drink QA.___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ntg-context Digest, Vol 34, Issue 14

2007-04-06 Thread Steve MC Han
Hi Tako, thank you for your response.
   
  There is nothing in mpxerr.log. 
   
  When I was trying to use mptopdf to convert mp file to pdf, it didn't produce 
myfile-1.pdf... type files, even though it said it was converted. So, I looked 
up this manual
   
  http://tex.aanhet.net/context/mirror/general/sources/mptopdf.pdf
   
  and typed pdftex --ini mptopdf at command prompt without understanding. 
Magically, it produced pdf files, but now metapost doesn't work. Maybe, the 
process pdftex --ini mptopdf had changed the path of metapost execution. 
   
   
   
  
Steve MC Han wrote:
 Could someone give some help for me? 
 
 If I do metapost I have an error message: this is the exact error message
 
 
 C:\Han\slidempost --tex=latex 2MS6
 This is MetaPost, Version 0.993 (Web2C 7.5.6)
 (2MS6.mpmakempx: Command failed: mpto -tex 2MS6.mp
  2MS6.mp
 2MS6.mpx
 ! Unable to make mpx file.
 l.34 label.lft(btex
 Number of students etex rotated 90, (-u,u));
 Transcript written on 2MS6.log.
 
Can you check what is in mpxerr.log? It looks like the 'normal'
latex command in your path has a problem with something, that
does not happen with the executable in texlive's bin directory.

Best wishes,
Taco


--

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


End of ntg-context Digest, Vol 34, Issue 14
***



 
-
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] mptopdf

2007-04-05 Thread Steve MC Han
Could someone give some help for me? 
   
  If I do metapost I have an error message: this is the exact error message
   
   
  C:\Han\slidempost --tex=latex 2MS6
This is MetaPost, Version 0.993 (Web2C 7.5.6)
(2MS6.mpmakempx: Command failed: mpto -tex 2MS6.mp
   2MS6.mp
 2MS6.mpx
! Unable to make mpx file.
l.34 label.lft(btex
Number of students etex rotated 90, (-u,u));
Transcript written on 2MS6.log.
   
   
   
   
  But if I set the path path c:\TexLive2007\bin\win32 at prompt command and 
then do metapost, then it is O.K. (no error message) as I copied below.
  
C:\Han\slidepath c:\TexLive2007\bin\win32
  C:\Han\slidempost --tex=latex 2MS6
This is MetaPost, Version 0.993 (Web2C 7.5.6)
(2MS6.mp [0] [1] [2] [3] [4] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19]
[30] )
16 output files written: 2MS6.0 .. 2MS6.30
Transcript written on 2MS6.log.
   
   
  I have to set the path again whenever I turn on the PC. This all problem 
started after I did mptopdf.ini
   
  Can anyone give some insight for me?
   
  Thank you in advance.

 
-
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ! Unable to make mpx file.

2007-03-23 Thread Steve MC Han
  I was wondering if you could give me some direction. I'm having this error 
message in doing metapost.
   
   
  ! Unable to make mpx file.
l.78 label.bot(btex
$\hbox{\sf Rectangle}$ etex, (0,-.6u));
   
   
  I looked through internet and found this site,
   
  http://www.ntg.nl/pipermail/ntg-context/2002/000272.html
   
  which describes exactly the same error messages.
   
  Is there any solution for this? I didn't have any problem with exactly the 
same file before installed TexLive 2007.
   
  If you have some solution to give, I would appreciate it very much.
   

-
  Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.


 
-
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context