[PATCH] lyxpreview_tools.py: fix a regular expression
kornel at lyx.org
Sat Feb 15 20:15:17 UTC 2020
Am Sat, 15 Feb 2020 14:03:43 -0500
schrieb Scott Kostyshak <skostysh at lyx.org>:
> Attached is a patch for lyxpreview_tools.py, but I don't know Python
> well and I don't know how to test whether this code works as intended
> now or not. All I know is it gets rid of the error.
> I originally saw that error on master when opening the User Guide with
> Preview enabled.
> Can someone give the patch a check?
Definitely better as the original. Works here as expected.
Still one element making problems:
Warning: Failed to produce 1 preview snippet(s)
Looking at the lyxpreviewkn4998.log here, looks like it is not related to your patch.
Preview: Snippet 85 338603 0 465893
! Undefined control sequence.
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
Other snippets are OK.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
More information about the lyx-devel