lyx_mirror/lib/lyx2lyx
Scott Kostyshak 677dc3b7a6 Python fixes from José Matos
See here:

  https://www.mail-archive.com/search?l=mid&q=a7960223ee91696e916b281d1d9fc55df10a9480.camel%40gmail.com

Description from José pasted below:

  Functions `length_in_bp` and `revert_flex_inset` have an error in a
  (almost) never used path. The reason why this was never triggered is
  because this is part of the code where we try all the best efforts
  to recover from an ill-formed LyX file.

  The problem is that the functions call the `document` variable to
  issue an warning if the file does not follow the usual structure.
  The simple fix is to add that variable (as the first for the
  functions) and to add them at all the places where the functions are
  called.

  For reference this code was introduced by Georg (Baum) more than 8
  years ago and it was never reported. So the issue is not urgent in
  any meaningful way. :-)

  In `lyx2lyx/lyx_2_0.py`, in the function `revert_nameref`, there is
  a call to the document variable. The same as all the above.

  In `lyx2lyx/lyx_2_4.py`, in the `class fontmapping`. Similar to the
  above but now for error.
2023-08-19 22:08:08 -04:00
..
.gitignore
CMakeLists.txt
generate_encoding_info.py
lyx2lyx
lyx2lyx_lang.py
lyx2lyx_tools.py Sync with master 2022-10-26 10:52:21 +02:00
lyx2lyx_version.py.in
lyx_0_06.py
lyx_0_08.py
lyx_0_10.py
lyx_0_12.py Sync with master 2022-10-26 10:52:21 +02:00
lyx_1_0.py
lyx_1_1_5.py
lyx_1_1_6_0.py
lyx_1_1_6_3.py
lyx_1_1.py
lyx_1_2.py Python fixes from José Matos 2023-08-19 22:08:08 -04:00
lyx_1_3.py Sync with master 2022-10-26 10:52:21 +02:00
lyx_1_4.py Sync with master 2022-10-26 10:52:21 +02:00
lyx_1_5.py Sync with master 2022-10-26 10:52:21 +02:00
lyx_1_6.py Sync with master 2022-10-26 10:52:21 +02:00
lyx_2_0.py Python fixes from José Matos 2023-08-19 22:08:08 -04:00
lyx_2_1.py Sync with master 2022-10-26 10:52:21 +02:00
lyx_2_2.py Sync with master 2022-10-26 10:52:21 +02:00
lyx_2_3.py Python fixes from José Matos 2023-08-19 22:08:08 -04:00
lyx_2_4.py Adding hebrew quotation marks (bug #12849). 2023-08-06 16:50:07 +02:00
LyX.py Correct typos of "occurred" in warnings/errors 2022-11-06 10:06:50 -05:00
Makefile.am
parser_tools.py Sync with master 2022-10-26 10:52:21 +02:00
profiling.py
test_lyx2lyx_tools.py
test_parser_tools.py
unicode_symbols.py