lyx_mirror/lib/lyx2lyx
Scott Kostyshak ae31e16952 lyx2lyx: prefix warning messages with "lyx2lyx"
Both lyx2lyx and LyX write output to the terminal, and it's helpful
to know which messages are coming from lyx2lyx. For example, before
this commit if we opened a document in LyX that has a newer file format than
lyx2lyx can deal with, we see the following output in the terminal:

  Warning: 619: Format not supported.
  Warning: Quitting.
  Error: Document format failure

The first two lines (the warnings) are output from lyx2lyx, and the
third is output by LyX. This output was particularly confusing
because I first thought "LyX tries to quit if the document is too
new?", but in fact LyX still stays open; it just doesn't open the
document. After this change, the output is now the following:

  lyx2lyx warning: 619: Format not supported.
  lyx2lyx warning: Quitting.
  Error: Document format failure
2022-03-08 11:57:04 -05:00
..
.gitignore
CMakeLists.txt
generate_encoding_info.py
lyx2lyx Refactor lyx2lyx code. 2020-03-05 00:24:08 +01:00
lyx2lyx_lang.py
lyx2lyx_tools.py lyx2lyx refactoring and minor fixes. 2019-06-03 16:58:10 +02:00
lyx2lyx_version.py.in
lyx_0_06.py
lyx_0_08.py
lyx_0_10.py Small improvement to pre-historic file format conversion. 2018-04-28 14:57:57 +01:00
lyx_0_12.py
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
lyx_1_3.py
lyx_1_4.py
lyx_1_5.py Add new semantic functions to add an remove document options. 2018-04-28 15:10:09 +01:00
lyx_1_6.py lyx2lyx refactoring. 2018-01-31 21:13:43 +01:00
lyx_2_0.py lyx_2_0.pyx_ add convert_includeall method 2020-03-15 09:32:02 +01:00
lyx_2_1.py Add support for medspace and thickspace (in text) (#11893) 2020-06-26 11:12:35 +02:00
lyx_2_2.py use revert_language in more cases 2019-03-10 13:00:10 +01:00
lyx_2_3.py Refactor lyx2lyx for speed and simplicity. 2019-07-07 19:32:41 +02:00
lyx_2_4.py Add basic support for \DeclareMetadata 2022-02-12 17:10:34 +01:00
LyX.py lyx2lyx: prefix warning messages with "lyx2lyx" 2022-03-08 11:57:04 -05:00
Makefile.am Add literal param to InsetInclude 2018-02-23 08:58:16 +01:00
parser_tools.py count_pars_in_inset: check nested insets 2021-01-27 08:24:17 +01:00
profiling.py Replace /usr/bin/env python -> /usr/bin/python3 2018-08-29 17:26:21 +01:00
test_lyx2lyx_tools.py lyx2lyx refactoring 2019-06-02 00:04:34 +02:00
test_parser_tools.py New lyx2lyx parser tools find_substring() and set_bool_value(). 2018-02-07 18:49:20 +01:00
unicode_symbols.py lyx2lyx refactoring. 2018-01-31 21:13:43 +01:00