Richard Kimberly Heck
33f9cfb796
Capitalize labels of floats, etc. Fixes #11993 .
...
Patch from Daniel.
2021-01-03 14:38:52 -05:00
Yuriy Skalko
3971b1b35e
Fix C++20 warning on implicit capture of this via [=]
2020-12-28 23:26:14 +02:00
Juergen Spitzmueller
18f7dce3d9
Implement inset-split (only for text insets for now) ( #10260 )
2020-12-24 10:48:52 +01:00
Yuriy Skalko
4f0981e7bb
Merge namespace signals2 into namespace lyx
2020-12-19 22:52:51 +02:00
Jean-Marc Lasgouttes
3950f05497
Take label width into account for SubLabel insets
...
The drawing of the label should not go further than inset width.
Fixes bug #12046 .
2020-12-15 15:25:07 +01:00
Richard Kimberly Heck
5e6c5f407a
Fix thinko
2020-12-14 23:40:28 -05:00
Juergen Spitzmueller
148748b0c2
Make InsetInfo math/IPA icons visible in dark mode
...
This does not show the real colors, but the icons are at least readable.
2020-12-13 09:51:32 +01:00
Juergen Spitzmueller
e6e30caca5
Do not forceLTR in InsetHyperlink ( #12044 )
...
This can also be RTL text
2020-12-13 05:54:48 +01:00
Juergen Spitzmueller
39a28b4b27
Whitespace
2020-12-13 05:08:11 +01:00
Kornel Benko
2d2e2f1c6d
Adv-Search: Use some free unicodes as replacement for searched spaces
...
Without this, it is difficult to find backslashed macros if in regexp-mode.
2020-12-10 11:36:09 +01:00
Yuriy Skalko
e292dd70bf
More enums & includes refactoring
2020-12-06 18:26:41 +02:00
Richard Kimberly Heck
842fd8a74d
Use LOCK in all cases
2020-12-06 10:57:20 -05:00
Richard Kimberly Heck
c978137f99
Disable Edit Externally for read-only Buffers.
2020-12-06 00:14:23 -05:00
Richard Kimberly Heck
16834a32ad
Use LOCK symbol with Minimalistic decoration, too.
...
In that case, we force a button with just the lock.
2020-12-05 21:25:05 -05:00
Richard Kimberly Heck
877a46f7b0
Use a lock symbol to indicate when an inset is being edited externally.
...
Good idea from Scott.
2020-12-05 21:16:17 -05:00
Richard Kimberly Heck
41216228c0
Change name in source files
2020-12-05 17:17:02 -05:00
Richard Kimberly Heck
d31891c6bf
Use LaTeXName of counter in LaTeX output.
...
Fixes an oversight noticed by Scott.
2020-12-05 16:46:33 -05:00
Juergen Spitzmueller
de2be5bdaa
Recent LaTeX includes all math and text spaces
...
amsmath no longer required here.
2020-12-03 10:49:18 +01:00
Yuriy Skalko
9cb98136ce
Cleanup headers
2020-12-03 00:38:27 +02:00
Juergen Spitzmueller
e9cbd69f6e
Implement Hungarian quotation marks style ( #12040 )
...
File format change
2020-12-02 17:00:40 +01:00
Juergen Spitzmueller
fedd9bf4d0
Do not reset font in preview inset
2020-12-02 15:03:21 +01:00
Yuriy Skalko
c0a5987181
Better naming for enums
2020-12-01 00:46:21 +02:00
Yuriy Skalko
6354ad60b4
Refactor InsetQuotes.h enums
2020-12-01 00:46:09 +02:00
Yuriy Skalko
66403b4449
Remove useless breaks
2020-12-01 00:46:02 +02:00
Yuriy Skalko
ecf62a8f21
Refactor OutputParams
...
Now all Inset hierarchy uses OutputParams.h included in Inset.h.
Forward declare some enums to reduce header dependencies.
2020-11-30 13:05:03 +02:00
Yuriy Skalko
99b1488f0e
Cleanup included headers
2020-11-30 13:04:54 +02:00
Thibaut Cuvelier
877806f208
DocBook: implement SciPoster.
2020-11-29 22:54:03 +01:00
Thibaut Cuvelier
59acb375d1
DocBook: add layout parameters to control the special case and argument positioning.
...
Only for flex insets.
Also add similar checks in InsetText to avoid bibliographies in paragraphs.
2020-11-29 22:54:03 +01:00
Yuriy Skalko
7779316e6c
Include standard <regex>
2020-11-29 15:27:28 +02:00
Yuriy Skalko
ad7c5568cd
Make InsetIterator compatible with range-based loops
2020-11-29 00:25:19 +02:00
Yuriy Skalko
813eb0f9f7
Cleanup included headers
2020-11-29 00:25:14 +02:00
Thibaut Cuvelier
a6cc62f6ee
DocBook: ignore fonts in ERT.
...
Also, mark a Slides test as passing, because it is valid DocBook (but not really useful).
2020-11-28 05:15:34 +01:00
Thibaut Cuvelier
7437a6ce3c
DocBook: fix regression in floats.
...
Also implement a valid filler for tables.
2020-11-27 23:44:48 +01:00
Yuriy Skalko
8793c2eed9
Replace ;;
2020-11-27 12:16:54 +02:00
Yuriy Skalko
6a21ec854b
Move several common types to support/types.h
2020-11-27 12:16:22 +02:00
Thibaut Cuvelier
3f07ae9083
DocBook: for empty figures, output a message.
...
This ensures that this part of the DocBook file is valid.
2020-11-27 05:19:27 +01:00
Thibaut Cuvelier
eaf9460909
DocBook: make empty bibliographies empty.
...
Even though this means that there is no output tag.
2020-11-26 06:55:49 +01:00
Thibaut Cuvelier
dae0640436
DocBook: implement REVTeX.
...
Improvements to abstract detection: it can now contain lists or anything with a higher depth.
Implement video floats.
2020-11-26 06:22:27 +01:00
Yuriy Skalko
11434df35d
Fix warnings regarding switches on enum values
2020-11-25 23:16:56 +02:00
Scott Kostyshak
c81bb47e49
Catch exception if LaTeX fails for child preview
...
The exception is raised when an included file fails to export
because e.g. it is from a newer version of LyX or because an
intermediate command such as knitr fails.
The exception was introduced at 1a374a93
so that the export of a
document exits with error if an included document exports with
error.
This commit catches the exception when the LaTeX is asked for in
order to generate a preview of the included file.
2020-11-25 15:34:58 -05:00
Yuriy Skalko
8e60182f58
Simplify InsetQuotes constructors
2020-11-25 02:43:43 +02:00
Yuriy Skalko
fe0ea7bff7
Add default TransformID enum value
2020-11-25 02:43:35 +02:00
Yuriy Skalko
43b16548b4
Cleanup headers
2020-11-25 02:43:16 +02:00
Yuriy Skalko
8dfe07b5b5
Use std::any
when compiler supports C++17 or later
2020-11-21 20:32:51 +02:00
Yuriy Skalko
7ca2f2b58d
Use range-based loops
2020-11-21 20:32:16 +02:00
Thibaut Cuvelier
1176fab1d4
DocBook: make InsetText respect tag types.
2020-11-20 18:41:03 +01:00
Thibaut Cuvelier
f426e458c4
DocBook: InsetText supports items and wrappers.
2020-11-20 18:41:02 +01:00
Thibaut Cuvelier
2c6537ff66
DocBook: ensure that <info>-related insets in the abstract are not generated in the abstract.
...
This helps generate more conformant DocBook files.
Also implement wrapper tags for InsetText.
2020-11-20 18:41:02 +01:00
Thibaut Cuvelier
0ed820fa0b
DocBook: fix for nomenclature xml:id and glossary paragraphs.
...
Previously, the xml:id's were not consistent among <glossterm> in the text and <glossentry> in the glossary.
2020-11-15 18:43:58 +01:00
Thibaut Cuvelier
46cbd6d234
DocBook: refactor code about retrieving captions and labels.
...
There was already an existing method in InsetCaptionable for captions, but not yet for labels. It was at least already useful at two places, that's why I moved it to InsetCaptionable.
2020-11-15 04:03:04 +01:00