Author: Tassilo HornTassilo Horn Date: Sep 16, 2008 02:53
David Hansen gmx.net> writes:
Hi David,
>> I don't think that you really want to do that. Doc-view recompiles
>> the whole document after it has changed. And since its MD5 changed,
>> too, you'll get an additional cache folder in /tmp/doc-view/ for
>> any latex run.
>
> That's a doc-view deficiency, it could a dir named !path!to!file or
> similar. Worth a bug report?
But how would doc-view know if the document has to be converted anew?
We could use such a dirname you suggested and add the md5 sum in a file.
The current implementation has the benefit that there will be no new
conversion if you have the document multiple times (or moved it to a new
location).
So both variants have benefits and drawbacks...
> I just noted that ~/tmp/doc-view/ is 500M. Some access statistic that
> can be used to rm the long time not used directories would be nice
> too.
|