Jürgen Spitzmüller wrote:
Pavel Sanda wrote:
1. The images are not copied to the temp dir (this operation happens in
InsetGraphics::latex, which is of course never called for eLyXer
we have this hardcoded? what was the point of copiers then?

As far as I understand it, the copiers are for the opposite direction: copy things from the temp dir to the working dir when doing an export.

Yes, that is what they are for.

The reason this isn't an issue with htlatex, e.g., is that we first export LaTeX to the tempdir, which forces the copying of all the images and such, and we mangle the paths so that htlatex will then find them unproblematically. A real hack would be to set the latex flag for elyxer, which ought to force the same copying, though elyxer itself will still need to figure out which images in the tempdir go with which images in the original file, so that may not work.

What would work would be for elyxer itself, as it goes through the file, to copy the images into the tempdir, and then the copier would take care of transferring them. Perhaps elyxer could get a flag telling it whether to do this.

Richard

Jürgen

Reply via email to