ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* pdflatex and mpost -tex=latex
@ 2005-08-22  5:29 David Arnold
  2005-08-22  7:11 ` Taco Hoekwater
  2005-08-22 16:12 ` Hans Hagen Outside
  0 siblings, 2 replies; 5+ messages in thread
From: David Arnold @ 2005-08-22  5:29 UTC (permalink / raw)


All,

Does anyone know if

pdflatex -shell-escape filename

automatically forces metapost to run with -tex=latex? 

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

* Re: pdflatex and mpost -tex=latex
  2005-08-22  5:29 pdflatex and mpost -tex=latex David Arnold
@ 2005-08-22  7:11 ` Taco Hoekwater
  2005-08-22 16:12 ` Hans Hagen Outside
  1 sibling, 0 replies; 5+ messages in thread
From: Taco Hoekwater @ 2005-08-22  7:11 UTC (permalink / raw)


David Arnold wrote:
> All,
> 
> Does anyone know if
> 
> pdflatex -shell-escape filename
> 
> automatically forces metapost to run with -tex=latex?

I didn't even know that pdflatex *could* execute metapost
on the fly (some package I presume?). You would have better
luck asking this question on c.t.t., I think.

Cheers, Taco

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

* Re: pdflatex and mpost -tex=latex
  2005-08-22  5:29 pdflatex and mpost -tex=latex David Arnold
  2005-08-22  7:11 ` Taco Hoekwater
@ 2005-08-22 16:12 ` Hans Hagen Outside
  2005-08-22 16:42   ` David Arnold
  1 sibling, 1 reply; 5+ messages in thread
From: Hans Hagen Outside @ 2005-08-22 16:12 UTC (permalink / raw)


David Arnold wrote:

> All,
>
> Does anyone know if
>
> pdflatex -shell-escape filename
>
> automatically forces metapost to run with -tex=latex?

dunno, but you can so 

mptopdf --latex yourfile.mp 

Hans 


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: pdflatex and mpost -tex=latex
  2005-08-22 16:12 ` Hans Hagen Outside
@ 2005-08-22 16:42   ` David Arnold
  2005-08-22 21:35     ` Vit Zyka
  0 siblings, 1 reply; 5+ messages in thread
From: David Arnold @ 2005-08-22 16:42 UTC (permalink / raw)
  Cc: Taco Hoekwater

Hans, Taco,

Thanks for your replies. Not really a Context question, but we're using 
emp.sty with pdflatex to compile some work we're doing and our Linux 
server at school doesn't have the -tex=latex option for Metapost (an 
older version of Web2c). The package defaults to running metapost with 
-tex=latex, so that's a problem. We'll probably circumvent the problem 
by upgrading our tex distribution, but the package contains an \empTeX 
command that writes a verbatimtex ... tex. So far, I've had no success 
making this blank so I tried erasing the verbatim ... tex manually 
(it's got a documentclass and a begin{document} in it) and compiling 
the tex document with pdflatex and no -shell-escape, but the log file 
still contains metapost has no option -tex=latex in it.

So that's why I was asking about the pdflatex. Don't worry about this, 
as our workaround will probably be to upgrade our version of tex and it 
will cease to be a problem.

Just wanted to let you know what we are doing. If you want to see, try:

http://scinux.redwoods.edu/cgi-bin/testing.cgi

Use:

username: hhagen123
password: password

It's really amazing. We have this young student who taught himself perl 
this summer, and my colleague Bruce Wagner is no slouch either, and the 
result is we have these perl scripts that generate random test banks. 
Quizzes are self scored and results are sent to a mysql database.

Good stuff for three hacks like us.

On Aug 22, 2005, at 9:12 AM, Hans Hagen Outside wrote:

> David Arnold wrote:
>
>> All,
>>
>> Does anyone know if
>>
>> pdflatex -shell-escape filename
>>
>> automatically forces metapost to run with -tex=latex?
>
> dunno, but you can so
> mptopdf --latex yourfile.mp
> Hans
>
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                             | www.pragma-pod.nl
> -----------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

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

* Re: pdflatex and mpost -tex=latex
  2005-08-22 16:42   ` David Arnold
@ 2005-08-22 21:35     ` Vit Zyka
  0 siblings, 0 replies; 5+ messages in thread
From: Vit Zyka @ 2005-08-22 21:35 UTC (permalink / raw)


David Arnold wrote:
> Hans, Taco,
> 
> Thanks for your replies. Not really a Context question, but we're using 
> emp.sty with pdflatex to compile some work we're doing and our Linux 
> server at school doesn't have the -tex=latex option for Metapost (an 

For me works seting environment variable TEX=latex.

vit

> older version of Web2c). The package defaults to running metapost with 
> -tex=latex, so that's a problem. We'll probably circumvent the problem 
> by upgrading our tex distribution, but the package contains an \empTeX 
> command that writes a verbatimtex ... tex. So far, I've had no success 
> making this blank so I tried erasing the verbatim ... tex manually (it's 
> got a documentclass and a begin{document} in it) and compiling the tex 
> document with pdflatex and no -shell-escape, but the log file still 
> contains metapost has no option -tex=latex in it.
> 
> So that's why I was asking about the pdflatex. Don't worry about this, 
> as our workaround will probably be to upgrade our version of tex and it 
> will cease to be a problem.
> 
> Just wanted to let you know what we are doing. If you want to see, try:
> 
> http://scinux.redwoods.edu/cgi-bin/testing.cgi
> 
> Use:
> 
> username: hhagen123
> password: password
> 
> It's really amazing. We have this young student who taught himself perl 
> this summer, and my colleague Bruce Wagner is no slouch either, and the 
> result is we have these perl scripts that generate random test banks. 
> Quizzes are self scored and results are sent to a mysql database.
> 
> Good stuff for three hacks like us.
> 
> On Aug 22, 2005, at 9:12 AM, Hans Hagen Outside wrote:
> 
>> David Arnold wrote:
>>
>>> All,
>>>
>>> Does anyone know if
>>>
>>> pdflatex -shell-escape filename
>>>
>>> automatically forces metapost to run with -tex=latex?
>>
>>
>> dunno, but you can so
>> mptopdf --latex yourfile.mp
>> Hans
>>
>> -----------------------------------------------------------------
>>                                          Hans Hagen | PRAGMA ADE
>>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>>     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>>                                             | www.pragma-pod.nl
>> -----------------------------------------------------------------
>>
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 

-- 
=======================================================
Ing. Vít Zýka, Ph.D.                         TYPOkvítek

database publishing              databazove publikovani
data maintaining and typesetting in typographic quality
priprava dat a jejich sazba v typograficke kvalite

tel.: (+420) 777 198 189     www: http://typokvitek.com
=======================================================

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

end of thread, other threads:[~2005-08-22 21:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-22  5:29 pdflatex and mpost -tex=latex David Arnold
2005-08-22  7:11 ` Taco Hoekwater
2005-08-22 16:12 ` Hans Hagen Outside
2005-08-22 16:42   ` David Arnold
2005-08-22 21:35     ` Vit Zyka

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