On Sun, May 13, 2018 at 9:37 AM, Uwe Thuemmel <accou...@uwethuemmel.com>
wrote:

> Dear fellow users,
>
> I have figures (as pdf) and tables (as LyX child documents) in
> subdirectories ./figures and ./tables. When I export from LyX 2.3.0 on Mac
> to LaTeX (pdflatex), the relative paths to these figures and tables are
> messed up. In particular, they are replaced by absolute paths where ‘/‘ is
> replaced by ‘_'. For example, a relative path /figures/figure1.pdf is
> replaced by something like 1_users_user_project_project1_figures_figure1.pdf.
> In addition, LyX places pdf files with these names as
> 1_users_user_project_project1_figures_figure1.pdf in the same directory
> as the main LyX file (but does not do so for the tables contained in LyX
> child documents). As a result, the TeX file does not compile correctly and
> I have to edit it by hand to adjust the paths. I’d much rather see LyX keep
> the relative paths when exporting to LaTeX. Sometimes this actually works -
> but I don’t know why. Can anyone help?
>
> Thank you,
> Uwe
>

Uwe,

I experienced something that may be similar on Mac.  Are you able to test
also with LyX 2.2.3?  In my case, LyX 2.2.3 would behave how I expect but
not LyX 2.3.0.

Also, are you able to post a MWE <https://wiki.lyx.org/FAQ/MinimalExample>
that has the problem for others to test with?

Thanks,
Joel

Reply via email to