Work around AMS book unicode issue?
Scott Kostyshak
skostysh at lyx.org
Tue Jan 10 02:42:43 UTC 2023
The attached patch works around an AMS book unicode issue, as discussed here:
https://tex.stackexchange.com/questions/671116/how-to-find-and-fix-the-origin-of-invalid-unicode-character-generated-by-lyx
Disadvantage of the workaround is the added dependency, textcase.sty, which is not needed for AMS book documents without unicode. If this is a problem, I suppose we could add a new layout flag that, if activated, loads textcase if there is unicode.
Attached is an example .lyx file that does not compile without the patch and does compile with the patch.
Thoughts?
By the way, should the "amsbook" dependency in \DeclareLaTeXClass be there regardless of this patch?
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amsbook-unicode-issue.lyx
Type: application/x-lyx
Size: 2000 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230109/42e45391/attachment-0001.lyx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-AMS-book-with-unicode.patch
Type: text/x-diff
Size: 1403 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230109/42e45391/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230109/42e45391/attachment-0001.asc>
More information about the lyx-devel
mailing list