From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66328 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: [t-vim] Line numbers Date: Wed, 23 Feb 2011 11:16:32 -0500 (EST) Message-ID: References: <20110219155633.7ec8e87d@glyph> <20110222101550.0c59b9f2@glyph> <20110223111955.217ff55c@glyph> <20110223164302.5fe84500@glyph> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-60737014-1298477793=:18794" X-Trace: dough.gmane.org 1298477839 2086 80.91.229.12 (23 Feb 2011 16:17:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Feb 2011 16:17:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 23 17:17:15 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PsHOs-0006WJ-Cs for gctc-ntg-context-518@m.gmane.org; Wed, 23 Feb 2011 17:17:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A0B33CAA58; Wed, 23 Feb 2011 17:17:13 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id n-+EQIvfzfPv; Wed, 23 Feb 2011 17:17:01 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A2A88CAA62; Wed, 23 Feb 2011 17:17:01 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 77FB7CAA62 for ; Wed, 23 Feb 2011 17:17:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id H+ekYK0JLEO0 for ; Wed, 23 Feb 2011 17:16:40 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 5460FCAA58 for ; Wed, 23 Feb 2011 17:16:40 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p1NGGYm6029057 for ; Wed, 23 Feb 2011 17:16:38 +0100 Original-Received: FROM adi-netbook (bas3-montreal02-1096683238.dsl.bell.ca [65.94.14.230]) By hellskitchen.mr.itd.umich.edu ID 4D6532E1.80A61.16599 ; Authuser adityam; 23 Feb 2011 11:16:33 EST In-Reply-To: <20110223164302.5fe84500@glyph> User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.82; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08Ebsgyxz - 39a88dfe7bfd - 20110223 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:66328 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-60737014-1298477793=:18794 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 23 Feb 2011, Marco wrote: >> So, the easiest solution is to move (or perhaps simlink) the file >> to the temporary directory. Then you can include the file tmp/t.tex and >> the md5 hash will be created in the tmp directory. > > It will probably work, but is not a nice solution in my opinion. It looks > strange that the document includes files from the tmp directory. From a t= mp > directory I expect to be able to delete the content without any effects. I do not make that assumption in t-vim. Currently there is no way to=20 specify the output directory to mtxrun --ifchanged. So, the only way that= =20 I can implement this feature is to either manually copy the input file, or= =20 manually copy the md5 file. I do not think that either of these options is= =20 worth the trouble. >>> Is it possible to convince the context script to remove the temporary >>> stuff when called with the --purgeall option? >> >> I will look into that. I guess that the easiest way out is that, instead >> of using .vimout extension, I use .tmp extension. Then, all the temporar= y >> files will be removed by --purgeall. > > I don't think so. AFAIK --purgeall only deletes .tmp files with the basen= ame > as the document itself. > > I think it would make sense to convince --purgeall to be more grabby and = to > remove all .tmp files in the working dir + all files in the =C2=BBdirecto= ry=C2=AB dir > (here tmp). But I'm not sure about possible displeasing side effects, tho= ugh. I am not sure what you want. Do you want context --purge filename to remove all the temp files that t-vim creates, or do you want context --purgeall to delete all the files created by t-vim that reside in the current=20 directory? Aditya --8323328-60737014-1298477793=:18794 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --8323328-60737014-1298477793=:18794--