Am Samstag, den 12.05.2018, 01:14 -0400 schrieb Richard Kimberly Heck:
> > So LyX can't find the bst file.
> > 
> > Jürgen will know what to do, I am sure.

Well, I see what happens (the ignore_parent bool is reset too early and
thus the included include gets the grandparent's temp dir), but I have
not yet found out where exactly the bug is.

> It seems the code around this has changed a little bit...enough to
> cause a problem. It was always
> a bug to copy this to the master buffer, it seems to me, but for some
> reason there was a totally
> different bug in 2.2.x that caused the copy not to happen. The fact
> that your style file was in a 
> subdirectory caused prepareFileNameForLaTeX and makeAbsPath together
> to return the wrong
> path:
>     /home/.../include/include/IEEEtranN_jak.bst
> There's an extra "include/", so the file isn't found, so the copy
> never happens. The reason is that
> the path to the file is calculated from its own Buffer, not from the
> parent Buffer, and this Buffer
> is in include/ itself. But in 2.3.0, it's calculated from the
> masterBuffer.
> 
> This same bug exists in Buffer::prepareBibFilePaths and in
> InsetBibtex::getBibTeXPath. They
> also return a path with the extra "include/".

The extra include/ is in the BibTeX inset (manually added). This was
probably a workaround but should be removed.

> So now I HOPE Jürgen will know what to do. It seems quite unclear to
> me how to deal with this.
> We need to know which Buffer is really being compiled to know where
> to copy these files. 
> 
> Riki
> 
> PS Not a biblatex issue but a general bibtex issue.

Joel's file does not even use biblatex. I think it's not even a bibtex
issue, but a master/child/grandchild issue.

Jürgen

> 

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

Reply via email to