Question regarding registertempfile
Hi Hans, Currently, luat-run.lua defines registertempfile as: function luatex.registertempfile(name) name = name .. ".mkiv-tmp" -- maybe just .tmp if trace_temp_files and not tempfiles[name] then report_tempfiles("registering temporary file: %s",name) end tempfiles[name] = true return name end Can you remove the first line of this function? (That is, do not modify the name at all). This will allow me to use this functionality to remove temporary files created by t-filter and t-vim. These files, do not end in .mkiv-tmp or .tmp. Thanks Aditya
On Wed, Feb 23, 2011 at 10:14 PM, Aditya Mahajan
Hi Hans,
Currently, luat-run.lua defines registertempfile as:
function luatex.registertempfile(name) name = name .. ".mkiv-tmp" -- maybe just .tmp if trace_temp_files and not tempfiles[name] then report_tempfiles("registering temporary file: %s",name) end tempfiles[name] = true return name end
Can you remove the first line of this function? (That is, do not modify the name at all). This will allow me to use this functionality to remove temporary files created by t-filter and t-vim. These files, do not end in .mkiv-tmp or .tmp. why not ? -- luigi
On Thu, 24 Feb 2011, luigi scarso wrote:
Can you remove the first line of this function? (That is, do not modify the name at all). This will allow me to use this functionality to remove temporary files created by t-filter and t-vim. These files, do not end in .mkiv-tmp or .tmp. why not ?
Because mtxrun --ifchanged generates a .md5 file. It is easier to change the behaviour of registertempfile than changing the behaviour of mtxrun --ifchanged. Aditya
participants (2)
-
Aditya Mahajan
-
luigi scarso