Wil
2014-04-30 17:14:51 UTC
I still seem to be experiencing Bug #7633 in the current Debian testing
version of LyX (LyX Version 2.0.6, Apr 29, 2013). This version is from
well after the bug was marked closed. I'm not quite knowledgeable enough
to determine if this is exactly the same bug, and #7633 doesn't seem to
have any attached example files for me to test with, so I don't want to try
to do anything directly with the bug tracker.
Specifically, usage of "\mathbb" in a macro inside of a child document
seems to be failing to trip the automatic usage of AMS math in my master
document. I'm getting "undefined control sequence" errors when I compile,
and these disappear if I either:
1. Explicitly enable AMS math package usage in the Document Settings
(i.e. disable the autodetection).
2. Use "\mathbb" explicitly in my master document, which seems to
trigger the autodetection.
Regardless of whether I use the workarounds, LyX itself displays the macro
properly while editing the master document. It only fails when I compile,
which was very confusing until I did a bit of poking around the LyX-users
mailing list. Especially confusing was that the error message didn't say
anything about "\mathbb" being the problem; it just pointed me to my "\Z"
macro, which was displaying properly in LyX.
I've attached a pair of documents exhibiting the problem.
Wil Langford
version of LyX (LyX Version 2.0.6, Apr 29, 2013). This version is from
well after the bug was marked closed. I'm not quite knowledgeable enough
to determine if this is exactly the same bug, and #7633 doesn't seem to
have any attached example files for me to test with, so I don't want to try
to do anything directly with the bug tracker.
Specifically, usage of "\mathbb" in a macro inside of a child document
seems to be failing to trip the automatic usage of AMS math in my master
document. I'm getting "undefined control sequence" errors when I compile,
and these disappear if I either:
1. Explicitly enable AMS math package usage in the Document Settings
(i.e. disable the autodetection).
2. Use "\mathbb" explicitly in my master document, which seems to
trigger the autodetection.
Regardless of whether I use the workarounds, LyX itself displays the macro
properly while editing the master document. It only fails when I compile,
which was very confusing until I did a bit of poking around the LyX-users
mailing list. Especially confusing was that the error message didn't say
anything about "\mathbb" being the problem; it just pointed me to my "\Z"
macro, which was displaying properly in LyX.
I've attached a pair of documents exhibiting the problem.
Wil Langford
--
An apple every 20 minutes keeps 72 doctors away.
An apple every 20 minutes keeps 72 doctors away.