ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Mptopdf batch
@ 2005-12-31  4:59 David Arnold
  2005-12-31  8:44 ` Taco Hoekwater
  0 siblings, 1 reply; 5+ messages in thread
From: David Arnold @ 2005-12-31  4:59 UTC (permalink / raw)


All,

I am wondering why this only compiles one file. How can I compile  
section3figs-mpgraph.# of #=1-7 in one command?

figures $ ls
figlibSection1.xml              section3figs-mpgraph.log
figlibSection2.xml              section3figs-mpgraph.mp
figlibSection3.xml              section3figs-mpgraph.mpo
junk5.tex                       section3figs-mpgraph.mpt
mpgraph.mp                      section3figs-mpgraph.mpx
mptrace.tmp                     section3figs.log
section1figs.tex                section3figs.pdf
section2figs.tex                section3figs.tex
section3figs-mpgraph-1.pdf      section3figs.tmp
section3figs-mpgraph.1          section3figs.tui
section3figs-mpgraph.2          section3figs.tuo
section3figs-mpgraph.3          tmpgraph-mpgraph.mp
section3figs-mpgraph.4          tmpgraph.bck
section3figs-mpgraph.5          tmpgraph.log
section3figs-mpgraph.6          tmpgraph.tmp
section3figs-mpgraph.7          tmpgraph.tui


figures $ mptopdf section3figs-mpgraph.*
This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
[MP to PDF] (./section3figs-mpgraph.1{/Users/darnold/Library/texmf/ 
fonts/map/pd
ftex/updmap/pdftex.map}) [1]</usr/local/teTeX/share/texmf.tetex/fonts/ 
type1/blu
esky/cm/cmsy10.pfb></usr/local/teTeX/share/texmf.tetex/fonts/type1/ 
bluesky/cm/c
mr12.pfb>{/usr/local/teTeX/share/texmf.tetex/fonts/enc/dvips/lm/lm- 
ec.enc}</usr
/local/teTeX/share/texmf.tetex/fonts/type1/public/lm/lmr12.pfb></usr/ 
local/teTe
X/share/texmf.tetex/fonts/type1/bluesky/cm/cmmi12.pfb>
Output written on section3figs-mpgraph.pdf (1 page, 24994 bytes).
Transcript written on section3figs-mpgraph.log.

MPtoPDF 1.3 : section3figs-mpgraph.1 is converted to section3figs- 
mpgraph-1.pdf
figures $


I also tried:

figures $ mptopdf section3figs-mpgraph.[1-7]This is pdfeTeX, Version  
3.141592-1.30.4-2.2 (Web2C 7.5.5)
[MP to PDF] (./section3figs-mpgraph.1{/Users/darnold/Library/texmf/ 
fonts/map/pd
ftex/updmap/pdftex.map}) [1]</usr/local/teTeX/share/texmf.tetex/fonts/ 
type1/blu
esky/cm/cmsy10.pfb></usr/local/teTeX/share/texmf.tetex/fonts/type1/ 
bluesky/cm/c
mr12.pfb>{/usr/local/teTeX/share/texmf.tetex/fonts/enc/dvips/lm/lm- 
ec.enc}</usr
/local/teTeX/share/texmf.tetex/fonts/type1/public/lm/lmr12.pfb></usr/ 
local/teTe
X/share/texmf.tetex/fonts/type1/bluesky/cm/cmmi12.pfb>
Output written on section3figs-mpgraph.pdf (1 page, 24992 bytes).
Transcript written on section3figs-mpgraph.log.

MPtoPDF 1.3 : section3figs-mpgraph.1 is converted to section3figs- 
mpgraph-1.pdf
figures $

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

* Re: Mptopdf batch
  2005-12-31  4:59 Mptopdf batch David Arnold
@ 2005-12-31  8:44 ` Taco Hoekwater
  2005-12-31  8:47   ` David Arnold
  0 siblings, 1 reply; 5+ messages in thread
From: Taco Hoekwater @ 2005-12-31  8:44 UTC (permalink / raw)


David Arnold wrote:
> All,
> 
> I am wondering why this only compiles one file. How can I compile  
> section3figs-mpgraph.# of #=1-7 in one command?

Good question. I would do:

  $ for a in section3figs-mpgraph.[0-9]+; do mptopdf $a; done

but that only works on unixy systems. A multi-file option for mptopdf
would be nice.

Taco

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

* Re: Mptopdf batch
  2005-12-31  8:44 ` Taco Hoekwater
@ 2005-12-31  8:47   ` David Arnold
  2005-12-31  9:04     ` Taco Hoekwater
  0 siblings, 1 reply; 5+ messages in thread
From: David Arnold @ 2005-12-31  8:47 UTC (permalink / raw)


I am pretty sure it used to work that way. I can remember compiling  
with something like:

mptopdf filename.*

On Dec 31, 2005, at 12:44 AM, Taco Hoekwater wrote:

> David Arnold wrote:
>> All,
>> I am wondering why this only compiles one file. How can I compile   
>> section3figs-mpgraph.# of #=1-7 in one command?
>
> Good question. I would do:
>
>  $ for a in section3figs-mpgraph.[0-9]+; do mptopdf $a; done
>
> but that only works on unixy systems. A multi-file option for mptopdf
> would be nice.
>
> Taco
>
>
> _______________________________________________
> 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: Mptopdf batch
  2005-12-31  8:47   ` David Arnold
@ 2005-12-31  9:04     ` Taco Hoekwater
  2006-01-02  9:22       ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Taco Hoekwater @ 2005-12-31  9:04 UTC (permalink / raw)


David Arnold wrote:
> I am pretty sure it used to work that way. I can remember compiling  
> with something like:
> 
> mptopdf filename.*

I double-checked. This works:

   $ mptopdf 'filename.*'

because mptopdf expands the pattern itself.

I've make a one-line change so the quotes are no longer needed:

   40c40
   < my $pattern = $ARGV[0] ;
   ---
   > my $pattern = "@ARGV" ;

Should be a harmless change.

Chees, Taco

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

* Re: Mptopdf batch
  2005-12-31  9:04     ` Taco Hoekwater
@ 2006-01-02  9:22       ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2006-01-02  9:22 UTC (permalink / raw)


Taco Hoekwater wrote:

> David Arnold wrote:
>
>> I am pretty sure it used to work that way. I can remember compiling  
>> with something like:
>>
>> mptopdf filename.*
>
>
> I double-checked. This works:
>
>   $ mptopdf 'filename.*'
>
> because mptopdf expands the pattern itself.
>
> I've make a one-line change so the quotes are no longer needed:
>
>   40c40
>   < my $pattern = $ARGV[0] ;
>   ---
>   > my $pattern = "@ARGV" ;
>
> Should be a harmless change.

ok

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

end of thread, other threads:[~2006-01-02  9:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-31  4:59 Mptopdf batch David Arnold
2005-12-31  8:44 ` Taco Hoekwater
2005-12-31  8:47   ` David Arnold
2005-12-31  9:04     ` Taco Hoekwater
2006-01-02  9:22       ` 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).