ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: ntg-context Digest, Vol 34, Issue 18
       [not found] <mailman.1.1176112803.10249.ntg-context@ntg.nl>
@ 2007-04-09 15:49 ` Steve MC Han
  2007-04-09 21:09   ` Taco Hoekwater
  0 siblings, 1 reply; 2+ messages in thread
From: Steve MC Han @ 2007-04-09 15:49 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1271 bytes --]

I wish I could understand one single line of theses!
   
  C:\Han\slide>mpto -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\dimen0>0 \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\slide>mpost --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 Q&A for great tips from Yahoo! Answers users.

[-- Attachment #1.2: Type: text/html, Size: 1946 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

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

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

* Re: ntg-context Digest, Vol 34, Issue 18
  2007-04-09 15:49 ` ntg-context Digest, Vol 34, Issue 18 Steve MC Han
@ 2007-04-09 21:09   ` Taco Hoekwater
  0 siblings, 0 replies; 2+ messages in thread
From: Taco Hoekwater @ 2007-04-09 21:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Steve MC Han wrote:
> I wish I could understand one single line of theses!

I was hoping for an error message, because mpto is supposedly
the failed command. Do you know how to direct its normal output
to a file? I assume there is an error message eventually.

Taco

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

end of thread, other threads:[~2007-04-09 21:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1.1176112803.10249.ntg-context@ntg.nl>
2007-04-09 15:49 ` ntg-context Digest, Vol 34, Issue 18 Steve MC Han
2007-04-09 21:09   ` Taco Hoekwater

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