Roland Clobus wrote:
> Hello,
> 
> I was looking for a method to modify my LyX file and let LyX parse the
> modified file (LyX file -> LyX file with modifications -> PDF). I
> noticed that the images would cause problems, because the directory
> structure of the images is not copied to the temporary directory. In the
> code (Converter.cpp) I found "$$p" which was declared but not in use.
> This patch places the path to the current LyX file in $$p, which can be
> used by the converter to reach the images.
> 
> In the history of Converter.cpp I could not find more information about
> the introduction of $$p and why it currently is not in use.

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.

pavel

Reply via email to