Am Sonntag, 24. März 2019, 16:09:54 CET schrieb Jürgen Spitzmüller:
> Am Sonntag, den 24.03.2019, 12:07 +0100 schrieb Kornel Benko:
> > > I think this works also if using lyx directly from the build
> > > directory,
> > > because the system dir is then the same as the lyx-source-dir/lib.
> > > At least here ...
> 
> According to the sources, it is not supposed to work. But we can (and
> should) add a buildlyxdir placeholder that is replaced with
> package().build_support()
> 
> > >   Kornel
> > 
> > Apropos, this directory changing causes many problems in export
> > tests,
> > because the different paths are not updated in
> > development/autotests/*Tests
> > files.
> > ATM we had more than 400 tests failing because of this. Now, after
> > some
> > rework, the hussle starts again :(
> 
> I am sorry about that, but I don't do that in order to hassle you, but
> in order to fix some long standing bugs.

Sure, this was only frustration occurence.
I am haunting another issue, connected with the reorganisation.

1.) Using es/Curricula_Vitae/Modern_CV.lyx for test.
In the layout 'Photo' we use a path to CV-image. To use this in tests (whch 
are made outside of the source dir) we have to convert the path to absolute 
value. This does not work anymore, because the path (according to latex 
output) seems to be truncated and thus not found.
Trying to copy the CV-image.png to some safe name and position near the tested 
document. The resulting file name is for instance  xx_CV-image_ds2PMqki.png.
Now the compilation fails, because the name contains underlines (it is 
transfered to latex as 'xx\_CV-image\_ds2PMqki')
        
        ! LaTeX Error: File `tmp\_pdf5\_es\_Modern\_CV/xx\_CV-image\_ZjVwbfuH' 
not 
        foun
        LaTeX.cpp (920): line: 88
        Desc: LaTeX Error: File 
`tmp\_pdf5\_es\_Modern\_CV/xx\_CV-image\_ZjVwbfuH' 
        not foun

The relevant exported latex snippet is:
        \photo[64pt][0.4pt]{tmp\_pdf5\_es\_Modern\_CV/xx\_CV-image\_ZjVwbfuH}

(We don't have problems with \includegraphics{}'

> Jürgen

Can we do something to enamble underlines in this paths?

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to