lyx_mirror/lib
Scott Kostyshak 562917dc1c lyxpreview_tools.py: fix a regular expression
Three backslashes are needed before a LaTeX command, not one. Before
this commit, the code gave the following error with Python >= 3.6:

  re.error: bad escape \g at position 29

This error was introduced with Python 3.6, as documented [1] by the
following line of documentation:

  Changed in version 3.6: Unknown escapes in pattern consisting of
  '\' and an ASCII letter now are errors.

Although previous Python versions did not give an error, the regular
expression was not working as intended: for example, the "\\n" in
"\\newcommandx" would be interpreted as a new line.

[1] https://docs.python.org/3.6/library/re.html#re.sub
2020-02-15 21:57:30 -05:00
..
attic Use utf8 as inputenc for documentation, examples, and templates. 2019-05-08 21:29:01 +02:00
bind Tab binding: outline-in before depth-increment 2019-05-16 13:58:24 -04:00
citeengines Amend 400706ad05 2020-01-27 11:15:49 +01:00
commands
doc Add pref to keep ct markup on copy/paste 2020-01-13 15:20:48 +01:00
examples fr/Modules/Braille: make this work with polyglossia 2019-12-13 11:58:12 +01:00
fonts Use utf8 as inputenc for documentation, examples, and templates. 2019-05-08 21:29:01 +02:00
images Add mechanism to change icons in RTL mode 2019-07-22 15:20:38 +02:00
kbd
layouts Add native changebars 2019-12-24 18:12:22 +01:00
lyx2lyx Implement change tracking of column/row addition/deletion 2020-01-11 16:17:04 +01:00
scripts lyxpreview_tools.py: fix a regular expression 2020-02-15 21:57:30 -05:00
tabletemplates Use utf8 as inputenc for documentation, examples, and templates. 2019-05-08 21:29:01 +02:00
templates Obs. APA: fix missing citations 2019-09-02 22:22:20 -04:00
tex
ui This should not have been reverted 2020-01-12 21:47:54 +01:00
xtemplates Add resize facility to inkscape template. 2017-11-04 10:38:37 +01:00
.gitignore ctest update. 2019-03-29 11:55:20 +01:00
appdata.xml Fix license string according to http://spdx.org/licenses/. 2014-06-17 09:50:28 -07:00
autocorrect Math autocorret: cycle through dots 2019-06-03 16:55:55 +02:00
build-listerrors
chkconfig.ltx Rest in peace, dvipost! 2020-01-13 08:59:26 +01:00
configure.py Handle encoding error in layout file parsing more gracefully 2020-02-13 08:13:22 +01:00
CREDITS Add Eugene (Yu Jin) to the credits 2020-01-06 17:20:55 +01:00
encodings Improve encoding GUI string 2019-06-26 08:57:05 +02:00
generate_contributions.py Fix ordering 2020-01-06 17:26:38 +01:00
languages Enhance support for Xindy 2019-12-15 12:01:59 +01:00
latexfonts More latexfonts fixes 2019-07-18 18:53:27 +02:00
layouttranslations layouttranslation: this part slipped in without intention 2019-07-15 00:36:02 +02:00
layouttranslations.review Localize endnotes header (with endnotes.sty) 2019-08-13 10:13:32 +02:00
lyx.desktop.in Use suffixed name for desktop entry. 2017-10-20 12:17:55 +02:00
Makefile.am Add native changebars 2019-12-24 18:12:22 +01:00
RELEASE-NOTES * lib/RELEASE-NOTES 2020-01-14 22:12:35 +01:00
symbols wasy10 font: fix glyphs codepoints 9,10,12,13. 2018-03-26 21:54:46 +02:00
syntax.default syntax.default: some additions. 2018-03-09 15:17:23 +01:00
unicodesymbols unicodesymbols: force "latin capital letter Schwa" also for utf8x. 2019-08-21 09:00:10 +02:00