From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51945 Path: news.gmane.org!not-for-mail From: Ben Barrowes Newsgroups: gmane.comp.tex.context Subject: Re: texexec ignores file order Date: Tue, 21 Jul 2009 07:16:48 -0400 Organization: CRREL Message-ID: <200907210716.49077.benjamin.e.barrowes@usace.army.mil> References: <341472.4069.qm@web52203.mail.re2.yahoo.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1248186620 9212 80.91.229.12 (21 Jul 2009 14:30:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jul 2009 14:30:20 +0000 (UTC) To: luigi scarso , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 21 16:30:13 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MTGM8-0001Uq-Uk for gctc-ntg-context-518@m.gmane.org; Tue, 21 Jul 2009 16:30:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 86E1F1FB64; Tue, 21 Jul 2009 16:30:08 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22546-05; Tue, 21 Jul 2009 16:29:19 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 539031FB1F; Tue, 21 Jul 2009 16:29:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CC7841FADF for ; Tue, 21 Jul 2009 13:17:34 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17415-01 for ; Tue, 21 Jul 2009 13:17:19 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by ronja.ntg.nl (Postfix) with ESMTP id E73ED1FA4C for ; Tue, 21 Jul 2009 13:17:18 +0200 (CEST) Original-Received: from crrel41.crrel.usace.army.mil (crrel41.crrel.usace.army.mil [144.3.2.41]) by filter3-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n6LBH9Ws029689 for ; Tue, 21 Jul 2009 13:17:11 +0200 Original-Received: from barrowes.crrel.usace.army.mil (barrowes [144.3.101.1]) by crrel41.crrel.usace.army.mil (8.13.8+Sun/8.13.6) with ESMTP id n6LBGobm017715; Tue, 21 Jul 2009 07:16:50 -0400 (EDT) User-Agent: KMail/1.10.3 (Linux/2.6.27.24-server-1mnb; KDE/4.1.3; i686; ; ) In-Reply-To: Content-Disposition: inline X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=144.3.2.41; country=US; region=AZ; city=Fort Huachuca; postalcode=85613; latitude=31.5273; longitude=-110.3607; metrocode=789; areacode=520; http://maps.google.com/maps?q=31.5273,-110.3607&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 263864380 - 05f387ff31a2 - 20090721 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-Virus-Scanned: amavisd-new at ntg.nl X-Mailman-Approved-At: Tue, 21 Jul 2009 16:29:16 +0200 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:51945 Archived-At: > On Tuesday 21 July 2009 03:55:48 luigi scarso wrote: > On Mon, Jul 20, 2009 at 7:36 PM, Ben Barrowes wrote: > > This bug has just resurfaced. It was working, for a while, but is now > > back. > > > > I a, on a fully updated mandriva 2009 system using texlive. > > > > Thanks, > > bb > > > > Just for curiosity: > > can you try with these filenames : > yujo_insurance000.pdf > yujo_insurance001.pdf > yujo_insurance002.pdf > yujo_insurance003.pdf > > > yujo_insurance012.pdf > and so on ? > It seems texexec is rearranging things for us. If I have three files: pabscan001.pdf pabscan002.pdf pabscan010.pdf Both of these statements produce the same output: texexec --pdfarrange --result=pabscana.pdf pabscan001.pdf pabscan010.pdf pabscan002.pdf texexec --pdfarrange --result=pabscana.pdf pabscan001.pdf pabscan002.pdf pabscan010.pdf Namely, the order is interpreted as: TeXExec | arranging file pabscan001.pdf TeXExec | arranging file pabscan002.pdf TeXExec | arranging file pabscan010.pdf Here is the full output of texexec --pdfarrange --result=pabscana.pdf pabscan001.pdf pabscan010.pdf pabscan002.pdf TeXExec | arranging file pabscan001.pdf TeXExec | arranging file pabscan002.pdf TeXExec | arranging file pabscan010.pdf TeXExec | processing document 'texexec' TeXExec | no ctx file found TeXExec | outputfile pabscana TeXExec | tex processing method: context TeXExec | writing option file texexec.top TeXExec | using randomseed 489 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeXk, Version 3.141592-1.40.5 (Web2C 7.5.6) %&-line parsing enabled. (/usr/share/texmf/web2c/natural.tcx) entering extended mode (./texexec.tex ConTeXt ver: 2007.01.12 15:56 MKII fmt: 2008.12.9 int: english/english language : language en is active system : cont-new loaded (/usr/share/texmf-texlive/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/share/texmf-texlive/tex/context/base/cont-new.mkii)) system : cont-old loaded (/usr/share/texmf-texlive/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/share/texmf-texlive/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (/usr/share/texmf-texlive/tex/context/user/cont-sys.rme (/usr/share/texmf-texlive/tex/context/base/type-exa.tex) (/usr/share/texmf-texlive/tex/context/base/type-syn.tex) (/usr/share/texmf-texlive/tex/context/base/type-enc.tex) (/usr/share/texmf-texlive/tex/context/base/type-siz.tex) (/usr/share/texmf-texlive/tex/context/base/type-map.tex) (/usr/share/texmf-texlive/tex/context/base/type-spe.tex) (/usr/share/texmf-texlive/tex/context/base/type-akb.tex)) bodyfont : 12pt rm is loaded language : patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3 es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi :texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec- >13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec ->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded specials : tex,postscript,rokicki loaded system : texexec.top loaded (./texexec.top specials : loading definition file tpd (/usr/share/texmf-texlive/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/usr/share/texmf-texlive/tex/context/base/spec-fdf.tex (/usr/share/texmf-texlive/tex/context/base/spec-fdf.mkii)) specials : fdf loaded ) specials : fdf,tpd loaded ) systems : system commands are disabled (/usr/share/texmf-texlive/tex/context/base/sort-def.tex) (/usr/share/texmf-texlive/tex/context/base/sort-lan.tex) (/usr/share/texmf-texlive/tex/context/base/pdfr-def.tex) systems : begin file texexec at line 13 {/usr/share/texmf-texlive/fonts/map/pdftex/context/original-empty.map}{/usr/sha re/texmf-texlive/fonts/map/pdftex/context/texnansi-public-lm.map}{/usr/share/te xmf-texlive/fonts/map/pdftex/context/original-base.map}{/usr/share/texmf-texliv e/fonts/map/pdftex/context/ec-public-lm.map}{/usr/share/texmf-texlive/fonts/map /pdftex/context/ec-base.map}{/usr/share/texmf-texlive/fonts/map/dvips/lm/lm-ec. map}{/usr/share/texmf-texlive/fonts/map/pdftex/context/8r-base.map}{/usr/share/ texmf-texlive/fonts/map/pdftex/context/t5-base.map}{/usr/share/texmf-texlive/fo nts/map/pdftex/context/original-ams-base.map}{/usr/share/texmf-texlive/fonts/ma p/pdftex/context/original-ams-euler.map}{/usr/share/texmf-texlive/fonts/map/pdf tex/context/original-public-lm.map} figures : dimensions of pabscan001.pdf are determined externally [1.1 <./pabscan001.pdf>] figures : dimensions of pabscan002.pdf are determined externally [2.2 <./pabscan002.pdf>] figures : dimensions of pabscan010.pdf are determined externally [3.3 <./pabscan010.pdf>] [4.4] systems : end file texexec at line 23 system : cont-err loaded (/usr/share/texmf-texlive/tex/context/base/cont-err.tex systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead ) ) Output written on texexec.pdf (4 pages, 1380897 bytes). Transcript written on texexec.log. TeXExec | renaming texexec to pabscana TeXExec | restoring texexec TeXExec | runtime: 0.296402 > > ----- Original Message ---- > > > > > From: Ben Barrowes > > > To: ntg-context@ntg.nl > > > Sent: Monday, December 8, 2008 4:41:10 PM > > > Subject: texexec ignores file order > > > > > > 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? > > > > > bb > > > > _________________________________________________________________________ > >__________ If your question is of interest to others as well, please add > > an entry to the Wiki! > > > > maillist : ntg-context@ntg.nl / > > http://www.ntg.nl/mailman/listinfo/ntg-context > > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > > archive : https://foundry.supelec.fr/projects/contextrev/ > > wiki : http://contextgarden.net > > > > _________________________________________________________________________ > >__________ --- Ben Barrowes ------ benjamin.e.barrowes@usace.army.mil --- Cold Regions Research & Engineering Lab Phone:(603)646-4822 72 Lyme Road, Hanover, NH 03755-1290 FAX:(978)702-0448 -------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________