Commit Graph

1415 Commits

Author SHA1 Message Date
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
Juergen Spitzmueller
1da80d4d8f Add basic support for \DeclareMetadata
File format change
2022-02-12 17:10:34 +01:00
Thibaut Cuvelier
7a1e048f44 Amend 0f782b0d: add the required changes to lyx2lyx. 2021-03-23 21:12:45 +01:00
Juergen Spitzmueller
07396ab244 Meet per-document spelling dictionaries (fixes #86 [sic!])
Now who can beat that? ;-)
2021-03-06 16:53:33 +01:00
Juergen Spitzmueller
b42c5dd7d6 Add frontispiece layout to KOMA classes 2021-01-28 10:24:28 +01:00
Juergen Spitzmueller
ab1d418f36 Consider cell language 2021-01-28 09:25:20 +01:00
Juergen Spitzmueller
364532a724 Improve lyx2lyx roundtrip with cellvarwidth 2021-01-28 08:44:21 +01:00
Juergen Spitzmueller
92f8612ace count_pars_in_inset: check nested insets 2021-01-27 08:24:17 +01:00
Juergen Spitzmueller
9ff51f7149 Fixup revert_vcolumns2 routine 2021-01-25 12:04:45 +01:00
Juergen Spitzmueller
5979a01b1d Allow paragraph and line breaks in multirow (#12083) 2021-01-23 14:24:54 +01:00
Juergen Spitzmueller
0b0757916e Format incremented to 605: Extended variable table cell support
- Multicolumn now supports multiple paragraphs in non-fixed-width context.
- Multicolumn now supports valign in non-fixed-width context.
- varwidth columns now properly align horizontally and vertically.
2021-01-22 19:16:43 +01:00
Juergen Spitzmueller
7b762ee950 Branch: Implement separate static colors in dark mode
Set colors now apply to the active mode only. Matching reversed colors
are produced for the other mode if no color is assigned yet.

File format change.
2021-01-19 17:04:04 +01:00
Juergen Spitzmueller
9a6f7ece97 Add option to revert graphics colors in dark mode (#12076)
This amends [5d47a7ee57506/lyxgit]
2021-01-18 10:46:16 +01:00
Juergen Spitzmueller
057753dc75 Allow semantic colors in branches and use semantic background color by default
Addresses most crucial part of #12075

File format change
2021-01-18 09:56:53 +01:00
Richard Kimberly Heck
cf07d4825f Fix bug #11104. Activate refstyle support for InsetMathRef.
At the moment, there is no support for plurals and capitalization.
A long comment explains why. Support could be added for that without
a format change.
2021-01-05 18:17:53 -05:00
Richard Kimberly Heck
52a0ffc02f Change name and email in some other files 2020-12-05 17:39:46 -05:00
Juergen Spitzmueller
e9cbd69f6e Implement Hungarian quotation marks style (#12040)
File format change
2020-12-02 17:00:40 +01:00
Pavel Sanda
0ea9df7467 Add inset for \nopagebreak.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg213388.html
2020-10-13 19:13:59 +02:00
José Matos
4419f6e059 Simplify reversion code (keeping the same output) 2020-09-21 14:36:52 +01:00
José Matos
5154400b64 Avoid crash when string only has one char 2020-09-18 01:09:36 +01:00
José Matos
d0a27e3afc Whitespace cleanup 2020-09-18 01:07:39 +01:00
Juergen Spitzmueller
40159fd2ab Fixup graphics height conversion when special is non-empty 2020-09-17 08:43:04 +02:00
Juergen Spitzmueller
a99695ce82 Fix conversion and reversion of relative totalheights/heights 2020-08-30 11:44:08 +02:00
Juergen Spitzmueller
483d914642 Correct version number 2020-07-29 10:55:30 +02:00
Thibaut Cuvelier
1706438cba Partial revert of e3027574: don't add \docbook_table_output at lyx2lyx step, let LyX do it when saving the document 2020-07-20 01:56:33 +02:00
Richard Kimberly Heck
ab31598e04 Simplify 2020-07-17 12:16:47 -04:00
Thibaut Cuvelier
e302757476 Add support for CALS tables in DocBook. 2020-07-16 00:40:16 +02:00
Juergen Spitzmueller
667a9ad0ce Add support for Libertinus Math 2020-07-09 18:59:54 +02:00
Juergen Spitzmueller
8cb9a6d3f6 Add support for the libertinus family of fonts (#11899)
File format change.
2020-07-09 11:46:07 +02:00
Juergen Spitzmueller
e121bd04bb Support halfline and fullline also in vspace. 2020-06-28 18:27:59 +02:00
Juergen Spitzmueller
b0c102cfb4 use package parskip to separate paragraphs with vertical space (#4796)
File format change
2020-06-28 17:20:18 +02:00
Juergen Spitzmueller
a68b0389bc Add support for medspace and thickspace (in text) (#11893)
File format change.
2020-06-26 11:12:35 +02:00
Richard Kimberly Heck
6f084c4c30 Some python cleanup from Thibault. 2020-06-21 11:37:23 -04:00
Richard Kimberly Heck
2a2f15ec03 Fix bug noticed by Scott.
Since there may be subfloats, we do not want to move past the end
of a float when modifying it.
2020-06-14 19:01:44 -04:00
Richard Kimberly Heck
8e33b681a8 Minor cleanup. 2020-06-14 19:01:44 -04:00
Richard Kimberly Heck
5588c22e77 Python cleanup from Thibaut. 2020-05-08 13:31:05 -04:00
Richard Kimberly Heck
c37500050d More polishing of counter dialog. Thanks to Jürgen for help.
Also, remove the 'display value' option. We will move this to InsetInfo
at some point.
2020-05-02 20:33:03 -04:00
Richard Kimberly Heck
9a1b26a156 Format and reversion code for new counter inset. 2020-04-30 23:11:59 -04:00
Juergen Spitzmueller
07e8e4352f lyx_2_0.pyx_ add convert_includeall method
It's better to have that param explicitly in the document.
2020-03-15 09:32:02 +01:00
Juergen Spitzmueller
f4af191403 Introduce maintain unincluded children "mostly"
This is a mode for includeonly handling that is effective and still outputs
at least mostly correct counters and references. This is intended for non-
final editing work.

File format change.
2020-03-13 15:46:35 +01:00
Günter Milde
91bdcbbb82 Refactor lyx2lyx code.
Use helper functions for shorter, self-documenting code.

Drop optional arguments that equal the default value.

Remove hard TABs and trailing whitespace.
2020-03-05 00:24:08 +01:00
Juergen Spitzmueller
bbc6ea4a5f Implement change tracking of column/row addition/deletion
Fixes #8469

File format change
2020-01-11 16:17:04 +01:00
Juergen Spitzmueller
c77999a5f3 Add buffer param to opt-out fragile content movement
Fixes #11714

File format change
2020-01-10 10:21:09 +01:00
Juergen Spitzmueller
dc4823e759 Add native changebars
Fixes #10750
2019-12-24 18:12:22 +01:00
José Matos
668aa17ad7 Fix typo (thanks to Salvatore Falco for the fix). 2019-11-04 12:12:23 +00:00
Juergen Spitzmueller
8bfe3d7198 lyx2lyx: Fix revert_new_languages 2019-08-31 11:20:10 +02:00
Juergen Spitzmueller
087b4e39bb Hooked in one year too early 2019-08-30 08:27:34 +02:00
Juergen Spitzmueller
54fd0a70f4 Fix encoding in aa class, which is preset via class options
Hook into nearby file format change.
2019-08-30 08:09:57 +02:00
Juergen Spitzmueller
44bfdbd5b2 Fix totalheight reversion routine if there was no totalheight set 2019-08-28 07:27:28 +02:00
Juergen Spitzmueller
02a31b4c5c Correct index 2019-08-23 22:36:35 +02:00