[NTG-context] texexec ignores file order

Hans Hagen pragma at wxs.nl
Tue Dec 9 11:44:12 CET 2008


Aditya Mahajan wrote:
> On Mon, 8 Dec 2008, Ben Barrowes wrote:
> 
>> exexec --pdfarrange --result=yujo_insurance.pdf yujo_insurance1.pdf 
>> yujo_insurance2.pdf yujo_insurance3.pdf yujo_insurance4.pdf 
>> yujo_insurance5.pdf yujo_insurance6.pdf yujo_insurance7.pdf 
>> yujo_insurance8.pdf yujo_insurance9.pdf yujo_insurance10.pdf 
>> yujo_insurance11.pdf yujo_insurance12.pdf
>>
>>
>> After upgrading recently, I found that texexec no longer preserves the 
>> order of files passed to it. When I concatenate files with texexec, I 
>> often have more than 10 files I want to pass to texexec names 
>> filename1.pdf, filename2.pdf, ... filename12.pdf, etc. In the past, 
>> the following has worked to concatenate these in the correct order:
>>
>> texexec --pdfarrange --result=filename.pdf `ls -a -v filename*.pdf`
>>
>> Now, even if I pass filename10.pdf after filename2.pdf on the command 
>> line, texexec ingores this and puts filename10.pdf before 
>> filename2.pdf in the resulting concatenated file.
>>
>> Is there a fix for this, or is there a better way to concatenate pdf 
>> files?

the latest version should preserve unless --sort if given


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


More information about the ntg-context mailing list