Le 20/12/2015 11:28, Jürgen Spitzmüller a écrit :
Am Samstag 19 Dezember 2015, 23:35:15 schrieb Guillaume Munch:
I tested the patch and it does not solve the reported problem. As I
understand it, it only loads the user preamble from the parent document.
In my test document, \upharpoonright is still not defined because the
macros are still not validated, and \texorpdfstring is still not defined
because the hyperref is still not loaded, so the situation is the same
as before the patch.
OK, so further (similar) additions are needed.
But I did not see an example document here or on trac, so it is hard to help.
Let me ask naively, what is the expected difference with unchecking
"Select master document"?
You mean in Document Settings? It assures the document inherits settings from
the master, even if the master buffer is not opened.
Jürgen
Some discussion occurred at http://www.lyx.org/trac/ticket/9868 during
the ML shortage. From what I understand so far there is a combination of
several issues:
1. math macros are not properly validated recursively (nothing to do
with parent/child relationship).
2. one should output either the child's LyX-generated preamble or the
master's in the preview latex files, but at least one of them (this
currently fails for hyperref, mathtools and probably other settings).
3. one should have an option to automatically copy the master's settings
and preamble (or something).
See the bugtracker for more details.
Guillaume