Roland Clobus wrote: > > Pavel Sanda wrote: > > you are right, that there is a bug that $$p is not used. however this > > patch > > looks suspicious from the first sight, as $$i is stuffed from infile2 > > while > > your $$p is stuffed from orig_from. according to the doc $$p should > > originate > > from the path of $$i. > > A small test: > from_file contains: lyxtempdir()/filename.lyx > to_file contains: lyxtempdir()/filename.converted_extension > orig_from contains: savedlocation()/filename.lyx > (lyxtempdir is somewhere in $TMP)
while you are at the debug mode, whats inside infile2 and from_base? > These are the only Filenames that are passed to the function > Converters::convert. > So orig_from is the only parameter that contains the information I need. possibly we can use another $$ variable pavel