Juergen Spitzmueller
37404df686
Do not use \tablefootnote in minipages
...
Minipages provide their own working \footnote's
Should also go to 2.3.x.
2018-04-04 10:53:40 +02:00
Juergen Spitzmueller
6415d986ba
amend 1c623ffe8f2e34e
2018-03-22 23:37:19 +01:00
Juergen Spitzmueller
1c623ffe8f
Use separate BibInfo for child
...
This is used when the file is compiled standalone
Fixes : #11083
2018-03-22 15:52:23 +01:00
Juergen Spitzmueller
3366c49f80
strip braces from minted caption
2018-03-17 18:28:54 +01:00
Juergen Spitzmueller
e43ba7cf46
Braces need to be escaped as well on LATEXIFY
...
part of #9563
2018-03-06 18:17:01 +01:00
Juergen Spitzmueller
cbf2a329c9
Do not force singlebyte encoding for listings with XeTeX/LuaTeX.
...
Fixes : #11056
2018-03-05 15:39:27 +01:00
Juergen Spitzmueller
21b347a2f8
Fix RTL tabular output with bidi package (i.e., polyglossia)
...
Fixes : #9686
2018-02-27 19:03:42 +01:00
Juergen Spitzmueller
5ddd377a0a
Take actual font height (ascent, descent) into account when drawing placeholder box for graphics
...
Fixes : #11048
2018-02-25 17:21:01 +01:00
Richard Heck
59e6610d8a
Fix bug #10904 .
2018-02-23 23:29:52 -05:00
Richard Heck
55462786d0
Fix bug #10903 .
2018-02-23 23:28:31 -05:00
Richard Heck
9762ba5d38
Fix bug #10901 .
2018-02-23 23:17:57 -05:00
Juergen Spitzmueller
e0a5babde7
Add literal param to InsetInclude
...
This is used by lstinput
File format change.
Fixes : #10544 .
2018-02-23 08:58:16 +01:00
Richard Heck
224e56c935
Fix bug #10817 .
...
Respect 'literal' setting when calculating longest bibitem.
2018-02-22 15:40:05 -05:00
Richard Heck
f8e8877f83
Respect "literal" setting when entering citation via LyX server.
...
This requires moving the bool that tracks this somewhere that it
is visible from BufferView. It seemed to make sense to put it as
a static member of InsetCitation.
2018-02-22 15:28:01 -05:00
Richard Heck
2afd21bd21
Make InsetCitation's params work like other classes.
2018-02-22 01:02:02 -05:00
Richard Heck
61fa57ad4c
Fix bug #10897 .
2018-02-22 00:55:10 -05:00
Richard Heck
a2bd2e2dcc
Fix bug #10896 .
2018-02-22 00:49:35 -05:00
Richard Heck
a50d4710b3
Fix bug #10895 .
2018-02-22 00:44:39 -05:00
Juergen Spitzmueller
0bf8865122
escape label in included listings
...
Also use docstring rather than string.
Fixes part of #10544
2018-02-19 17:15:31 +01:00
Juergen Spitzmueller
47e85b37eb
Disable unsupported ref types in mathed.
...
Also repair prettyref in InsetMathRef.
Part of #9798
2018-02-14 17:18:24 +01:00
Juergen Spitzmueller
6e4e086900
Reset cur.pit() when pasting into tables.
...
The number of paragraphs can change here, so pit() can become invalid.
Fixes : #9983
2018-02-08 19:06:35 +01:00
Richard Heck
d24a1c8fa4
Whitespace.
2018-01-28 23:37:20 -05:00
Juergen Spitzmueller
f924ef2966
Properly communicate forced encodings
...
This is currently only relevant fo InsetListings, which falls back to
a fixed-width encoding under specific conditions. It is now possible
to query the inset about that and report the correct encoding in
DocIterator::getEncoding.
Addresses the second part of #10995
2018-01-26 08:38:52 +01:00
Juergen Spitzmueller
5fce313ffc
Fix output of quote ligatures with TeX font LuaTeX
...
Fixes : #10988
2018-01-21 12:24:02 +01:00
Richard Heck
f8ca747109
Introduce Inset::asInsetGraphics.
...
Then use it to avoid explicit LyXCode checks in the graphic group
code.
2018-01-20 23:00:15 -05:00
Jean-Marc Lasgouttes
d77b05db80
Move the inPixels(MetricsBase) help from Length to MetricsBase.
...
A basic class like Length should not depend on something from
frontend.
This change allows to remove several dummy implementations of
theFontMetrics().
2018-01-05 20:14:04 +01:00
Juergen Spitzmueller
5c704b5dd1
Revert "Fix environment-split when at pos 0 of a frame title."
...
This reverts commit 1ff34a973d2748c407e4b7a6ea2284dac895b8ee.
2017-12-30 16:26:20 +01:00
Juergen Spitzmueller
1ff34a973d
Fix environment-split when at pos 0 of a frame title.
...
This introduces a force argument to argument-insert that inserts
arguments even if they are already there. We need this here in order
to prevent DEPM.
2017-12-30 12:50:48 +01:00
Richard Heck
d188a36fc2
Fix bug #10835 .
...
VCS InsetInfos were broken by the switch at 2e934fc5f8 to using
updateBuffer to handle them. But we do not really want to go through
that routine in a clone, not for those insets, whose contents we
want to be the same as in the original Buffer.
Also fixes some issues noted in discussion of this bug: Failure to
update after context menu switch; failure to re-calculate shortcuts,
which can change.
2017-12-29 16:09:15 -05:00
Juergen Spitzmueller
3a4b233dbd
Properly implement IsTocCaption for Arguments in standard TOC
...
Fixes : #10631
Candidate for 2.3.x.
2017-12-29 11:51:24 +01:00
Juergen Spitzmueller
dfaa4e9466
Fix footnotes in table with RevTeX4
...
These classes come with their own working implementation of table
footnotes, so we are not supposed to use the tablefootnote or
footnote package.
Also add missing outliner name.
2017-12-27 15:43:40 +01:00
Jean-Marc Lasgouttes
68614e9783
Do not draw inactive math corners when they have mathbg color
...
By default, inactive math corners are invisible. In practice they are
annoying because they are visible when selecting text, and they can
also overwrite some parts of the equation.
The code in Inset::drawMarkers2, which is only used for maths, is
moved to InsetMathHull. Moreover, the inactive corners are not drawn
when they have the same color as the math background. A better way to
achieve this would be to set the color to transparent, but we do not
support this yet.
2017-12-19 23:32:47 +01:00
Juergen Spitzmueller
3add3e2eae
Thinko.
...
Thanks, Kornel!
2017-12-17 12:53:40 +01:00
Juergen Spitzmueller
64b94f81be
Do not rely on babel quotation macros for encodings other than [O]T1
...
Babel falls back to OT1 in these cases, which gives wrong output got the
guillemots
Fixes : #10947
2017-12-17 12:17:45 +01:00
Richard Heck
fab87917ea
Properly fix #10863 compiler warnings.
...
Also change a few variable names, so as not to use "it" with
range-based for loops.
2017-12-16 09:30:12 -05:00
Richard Heck
71005d6c10
Fix #10894 compiler warnings.
2017-12-16 00:59:07 -05:00
Jean-Marc Lasgouttes
6936c1b4fa
Fix MSVC warning
...
Take this occasion to simplify the code.
Fixes bug #10402 .
2017-12-14 13:39:37 +01:00
Jean-Marc Lasgouttes
b9b6e4c083
Kill MSVC warning
...
Fixes bug #10900 .
2017-12-14 13:04:52 +01:00
Jean-Marc Lasgouttes
4cfa5a9d2a
Avoid assignment in if() clause
...
The optimization they provide is not worth it IMO.
Fixes bugs #10898 , #10899 , #10940 .
2017-12-14 12:56:02 +01:00
Jean-Marc Lasgouttes
cd9e42dc35
Improve UndoGroupHelper and use it more
...
Now the helper class contains logic that checks whether buffer are
known before closing them. This avoids potential crashes.
Use it in different places to siplify code. It is not clear at this
point whether it should be used everywhere.
Followup to bug #10847 .
2017-12-13 11:10:49 +01:00
Uwe Stöhr
bb14e6434b
InsetBranch.cpp: remove an unused include
2017-12-06 19:55:14 +01:00
Uwe Stöhr
c19c21034b
InsetXXX.cpp: remove unused and duplicated includes
2017-12-06 19:35:53 +01:00
Juergen Spitzmueller
7e34e65943
Recreate citation label after paste
...
Fixes : #10829
2017-12-06 09:11:18 +01:00
Juergen Spitzmueller
83f214d636
Do not escape makeindex chars in bibitemWidest.
2017-12-03 12:04:39 +01:00
Juergen Spitzmueller
1a78e9787e
nomenclWidest(): take (proper) formatting into account.
2017-12-03 11:57:11 +01:00
Juergen Spitzmueller
938c44590c
Fix thinko from b68701c4da93a6f0f
2017-12-03 11:36:09 +01:00
Scott Kostyshak
b3f7eb6af3
Set array length from int const
2017-12-02 13:07:14 -05:00
Juergen Spitzmueller
b68701c4da
Escape (makeindex) special chars in nomencl if !literate
...
Fixes : #10825
2017-12-01 13:39:38 +01:00
Juergen Spitzmueller
718a353b49
Implement l7n for nomenclature.
2017-12-01 10:10:06 +01:00
Jean-Marc Lasgouttes
da79317ce2
Use range-based for loop.
2017-11-29 14:52:50 +01:00