Re: [NTG-context] [t-vim] Line numbers

2011-02-27 Thread Marco
On 2011-02-26 Aditya Mahajan adit...@umich.edu wrote: So after the project is done one can run context --purgeall filename to get a clean directory structure without having to archive 30 temporary files. I don't know how to implement this functionality and still provide a working pdf.

Re: [NTG-context] [t-vim] Line numbers

2011-02-27 Thread Aditya Mahajan
On Sun, 27 Feb 2011, Marco wrote: To save time, t-vim (actually t-filter with continue=yes) runs the external filter only in the first run; in the subsequent runs the cached file is used. So, if I want to delete the temporary files, they must be deleted in the last run. Right now, there is no

Re: [NTG-context] [t-vim] Line numbers

2011-02-26 Thread Aditya Mahajan
On Wed, 23 Feb 2011, Marco wrote: context --purgeall filename should remove all temporary files belonging to the document like filename-externalfilter-CON-0.tmp % not removed filename-externalfilter-CON-0.tmp.md5 % not removed filename-externalfilter-CON-0.vimout % not removed So after

Re: [NTG-context] [t-vim] Line numbers

2011-02-25 Thread Hans Hagen
On 23-2-2011 5:54, Marco wrote: On 2011-02-23 Aditya Mahajanadit...@umich.edu wrote: [...] I do not think that either of these options is worth the trouble. No, definitely not. I am not sure what you want. Do you want [...] context --purgeall This will probably be difficult to

Re: [NTG-context] [t-vim] Line numbers

2011-02-23 Thread Marco
On 2011-02-22 Aditya Mahajan adit...@umich.edu wrote: Check the latest dev version of t-vim. https://github.com/adityam/filter/blob/dev/t-vim.tex Brilliant. Works like a charm. I stumbled over one thing: When set directory=tmp the temporary files are sent to the tmp directory except the md5

Re: [NTG-context] [t-vim] Line numbers

2011-02-23 Thread Aditya Mahajan
On Wed, 23 Feb 2011, Marco wrote: I stumbled over one thing: When set directory=tmp the temporary files are sent to the tmp directory except the md5 hashes of external file code, these are put in the working dir. The md5 hashes are in the same directory as the file. So, in case you are

Re: [NTG-context] [t-vim] Line numbers

2011-02-23 Thread Marco
On 2011-02-23 Aditya Mahajan adit...@umich.edu wrote: The md5 hashes are in the same directory as the file. So, in case you are including a file from the current directory, the md5 hash will also be there. So it's on purpose. I wasn't sure about that. So, the easiest solution is to move

Re: [NTG-context] [t-vim] Line numbers

2011-02-23 Thread Aditya Mahajan
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

Re: [NTG-context] [t-vim] Line numbers

2011-02-23 Thread Marco
On 2011-02-23 Aditya Mahajan adit...@umich.edu wrote: [...] I do not think that either of these options is worth the trouble. No, definitely not. I am not sure what you want. Do you want [...] context --purgeall This will probably be difficult to implement, since the complete

Re: [NTG-context] [t-vim] Line numbers

2011-02-23 Thread Aditya Mahajan
On Wed, 23 Feb 2011, Marco wrote: Do you want [...] context --purgeall This will probably be difficult to implement, since the complete directory tree has to be scanned to find xyz-externalfilter-abc-X.___ remains. Actually, `context --purgeall` deteles all the files with .tmp and .md5

Re: [NTG-context] [t-vim] Line numbers

2011-02-23 Thread Marco
On 2011-02-23 Aditya Mahajan adit...@umich.edu wrote: Actually, `context --purgeall` deteles all the files with .tmp and .md5 extension in the current directory. Only the .vimout files remain. Does it on your system? Not on mine. If I compile the example posted earlier in the thread and

Re: [NTG-context] [t-vim] Line numbers

2011-02-23 Thread Aditya Mahajan
On Wed, 23 Feb 2011, Marco wrote: On 2011-02-23 Aditya Mahajan adit...@umich.edu wrote: Actually, `context --purgeall` deteles all the files with .tmp and .md5 extension in the current directory. Only the .vimout files remain. Does it on your system? Not on mine. If I compile the example

Re: [NTG-context] [t-vim] Line numbers

2011-02-22 Thread Marco
On 2011-02-21 Aditya Mahajan adit...@umich.edu wrote: 1) You have »Add line numbers« on your TODO list. What's the progress? No. I will look into them. I think that I should just be able to plug in ConTeXt's line numbering mechanism. I like the »just« in your sentence :) That would be

Re: [NTG-context] [t-vim] Line numbers

2011-02-22 Thread Aditya Mahajan
On Tue, 22 Feb 2011, Marco wrote: On 2011-02-21 Aditya Mahajan adit...@umich.edu wrote: 1) You have »Add line numbers« on your TODO list. What's the progress? No. I will look into them. I think that I should just be able to plug in ConTeXt's line numbering mechanism. I like the »just« in

Re: [NTG-context] [t-vim] Line numbers

2011-02-21 Thread Aditya Mahajan
On Sat, 19 Feb 2011, Marco wrote: I like your t-vim module. I think it's a nice concept not te reinvent the wheel and to take advantage of the hundreds of syntax files of the vim contributors. 1) You have »Add line numbers« on your TODO list. What's the progress? No. I will look into them. I

[NTG-context] [t-vim] Line numbers

2011-02-19 Thread Marco
Hi everybodyoy Hi Aditya I like your t-vim module. I think it's a nice concept not te reinvent the wheel and to take advantage of the hundreds of syntax files of the vim contributors. 1) You have »Add line numbers« on your TODO list. What's the progress? 2) To set the font size I do the