* Re: What's the easy way again?
[not found] ` <3.0.5.32.20000518232901.0087ac60@mail.northcoast.com>
@ 2000-05-19 7:21 ` Hans Hagen
0 siblings, 0 replies; only message in thread
From: Hans Hagen @ 2000-05-19 7:21 UTC (permalink / raw)
Cc: ntg-context
I cc this to the list since more people can be interested.
>>- upload the latest context
>>- pdftex --ini mptopdf
>>- move the format to the right location
>>- pdftex &mptopdf \relax yourfile.1
>
>Worked perfectly, though I have no idea why \relax is there (other
It's a way of telling tex to shut up and start working. Then some everypar
trick picks up the name.
Here is a perl script that handles multiple files
# usage: mptopdf whatever.*
@files = glob "$ARGV[0].*" ;
$done = 0 ;
$report = "MPtoPDF: $ARGV[0].* is converted to" ;
foreach (@files)
{ if (/\.(\d+)/)
{ system ("pdftex \&mptopdf \\relax $_") ;
rename ("$_.pdf", "$_-$1.pdf") ;
if ($done) { $report .= " +" }
$report .= " $_-$1.pdf" ;
++$done } }
print "\n$report\n\n" if $done ;
Some day I will move it into texutil. Remind me.
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.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-05-19 7:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <3.0.6.32.20000518100657.018529f0@pop.wxs.nl>
[not found] ` <3.0.5.32.20000518000343.0086cab0@mail.northcoast.com>
[not found] ` <3.0.5.32.20000518232901.0087ac60@mail.northcoast.com>
2000-05-19 7:21 ` What's the easy way again? Hans Hagen
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).