Discussion:
Possibly Bug #7633?
Wil
2014-04-30 17:14:51 UTC
Permalink
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
--
An apple every 20 minutes keeps 72 doctors away.
Jürgen Spitzmüller
2014-04-30 17:37:35 UTC
Permalink
Post by Wil
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,
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.
For me, the document fails to compile with forthcoming 2.0.8, but compiles
with LyX 2.1.0.

JÃŒrgen
Post by Wil
Wil Langford
--
An apple every 20 minutes keeps 72 doctors away.
Wil
2014-04-30 17:54:03 UTC
Permalink
Thanks! I'll look into rolling my own debian-friendly packaged 2.1.0.
Post by Wil
I still seem to be experiencing Bug #7633 in the current Debian testing
Post by Wil
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,
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.
For me, the document fails to compile with forthcoming 2.0.8, but compiles
with LyX 2.1.0.
JÃŒrgen
Post by Wil
Wil Langford
--
An apple every 20 minutes keeps 72 doctors away.
--
An apple every 20 minutes keeps 72 doctors away.
Continue reading on narkive:
Loading...