]>
git.lyx.org Git - features.git/log
Jean-Marc Lasgouttes [Wed, 4 Apr 2018 16:24:14 +0000 (18:24 +0200)]
When inserting math inset, put cursor selection in the correct cell
The original use case for this bug is entering an overset inset when
there is a selection. The expected result was to have the selection
pasted in main text, but the result was to have it in the cell.
Insets already have idxFirst() that is able to set cursor to the
"entry" cell of an inset. This patch introduces firstIdx(), which is
the index of this cell and uses it in idxFirst() (idem for
lastIdx/idxLast).
As a consequence, several instances of idxFirst/idxLast can be removed.
Now for the real fix: the two places where the cell in which selection
is inserted seem to be:
* Cursor::macroModeClose
* Cursor::handleNest
These two methods are changed to insert material in the entry cell
instead of cell 0.
idxFirst/Last methods are added to InsetMathRoot and InsetMathStackrel
so that the natural entry point is the nucleus of those insets.
Finallly, a typo is fixed in InsetMathNest::edit() where enter_front
computation was incorrect.
Jean-Marc Lasgouttes [Tue, 20 Mar 2018 15:41:59 +0000 (16:41 +0100)]
Makes caret height adapt to context in mathed.
Set current cursor font in MathData::metrics()
Also make sure that caret dimension in mathed is not larger than inset
height.
Juergen Spitzmueller [Wed, 4 Apr 2018 08:53:40 +0000 (10:53 +0200)]
Do not use \tablefootnote in minipages
Minipages provide their own working \footnote's
Should also go to 2.3.x.
Richard Heck [Tue, 3 Apr 2018 22:38:46 +0000 (18:38 -0400)]
Fix bug #11102.
Ignore deleted material when generating a proposed label.
Pavel Sanda [Mon, 2 Apr 2018 13:39:56 +0000 (15:39 +0200)]
Upstreaming compilation patch needed for Gentoo.
Kornel Benko [Mon, 2 Apr 2018 09:03:18 +0000 (11:03 +0200)]
Update sk.po
Richard Heck [Mon, 2 Apr 2018 02:07:21 +0000 (22:07 -0400)]
8-char tab stops are too big in the preamble editor.
Richard Heck [Mon, 2 Apr 2018 02:00:41 +0000 (22:00 -0400)]
Fix bug 11099.
Adds simple search/find functionality to preamble.
Scott Kostyshak [Sat, 31 Mar 2018 04:58:10 +0000 (00:58 -0400)]
Give full pref path in doc for date-insert
Give intermediate steps to get to "Date format" in preferences.
This change is the result of the following discussion:
https://latex.org/forum/viewtopic.php?f=19&t=31333
Kornel Benko [Fri, 30 Mar 2018 17:40:08 +0000 (19:40 +0200)]
Cmake build: Check for correct hunspell only if used
Kornel Benko [Fri, 30 Mar 2018 12:10:45 +0000 (14:10 +0200)]
Amend
8774ad5 , Adapt to new hunspell C++ ABI for cmake
Replace CHECK_CXX_SOURCE_COMPILES() with TRY_COMPILE()
Discarding the link-stage mimics the behaviour used by automake.
Now the testsource is compiled regardless if hunspell
is external or not.
Kornel Benko [Thu, 29 Mar 2018 20:53:59 +0000 (22:53 +0200)]
Adapt to new hunspell C++ ABI for cmake
The compile test for 3rdparty hunspell is omitted,
because the macro check_cxx_source_compiles() tries also to link.
But at the time of the check, the required library is not there.
Juergen Spitzmueller [Thu, 29 Mar 2018 16:43:11 +0000 (18:43 +0200)]
Adapt to new hunspell C++ ABI
Fixes: #10547
CMake support still missing.
Jean-Marc Lasgouttes [Thu, 29 Mar 2018 10:05:50 +0000 (12:05 +0200)]
Compile 3rdparty/hunspell in stdlib-debug mode when needed
A function that returns a vector<string> will lead to a crash if the
main code and the library have not been compiled with the same
stdlib-debug state. See for example:
https://stackoverflow.com/questions/
4764048 /stl-and-release-debug-library-mess
This is fixed by introducing a new variable STDLIB_DEBUG that contains
the flags that trigger the debug mode (autoconf only for now).
This will allow to go forward with bug #10547.
jpc [Wed, 28 Mar 2018 09:10:01 +0000 (11:10 +0200)]
Force babel as language package to avoid errors with non-TeX fonts
Juergen Spitzmueller [Tue, 27 Mar 2018 12:29:25 +0000 (14:29 +0200)]
Prevent that a full source preview of a child clears the master's bibfiles cache.
See #9158
Pavel Sanda [Mon, 26 Mar 2018 19:54:46 +0000 (21:54 +0200)]
wasy10 font: fix glyphs codepoints 9,10,12,13.
92680495b follow-up.
pointer: 9 -> 170
bell: 10 -> 171
quarternote: 12 -> 172
halfnote: 13 -> 174
This should be the final one.
Richard Kimberly Heck [Mon, 26 Mar 2018 14:41:11 +0000 (10:41 -0400)]
Update version number in lyx2lyx.
Juergen Spitzmueller [Mon, 26 Mar 2018 13:50:35 +0000 (15:50 +0200)]
Fix use of default biblio_style
Fixes: #11088
Pavel Sanda [Fri, 23 Mar 2018 10:11:21 +0000 (11:11 +0100)]
* stmary10.lyx
Pavel Sanda [Fri, 23 Mar 2018 09:18:02 +0000 (10:18 +0100)]
stmary10 font: fix glyphs codepoints 10,12,13.
92680495b follow-up.
minuso: 10 -> 171
sslash: 12 -> 172
bbslash:13 -> 174
varcurlywedge: 9 -> 254 -> 170 (first move by Georg)
Juergen Spitzmueller [Thu, 22 Mar 2018 22:37:19 +0000 (23:37 +0100)]
Juergen Spitzmueller [Thu, 22 Mar 2018 14:52:23 +0000 (15:52 +0100)]
Use separate BibInfo for child
This is used when the file is compiled standalone
Fixes: #11083
Richard Kimberly Heck [Thu, 22 Mar 2018 03:08:12 +0000 (23:08 -0400)]
Fix bug #11084.
Allow unicode-insert to accept a sequence of codepoints.
Pavel Sanda [Thu, 22 Mar 2018 01:26:46 +0000 (02:26 +0100)]
esint10: attempt on to fix empty symbol glyphs.
With advent of qt5 glyphs on codepoints 10, 12, 13 can't be shown anymore.
In this patch we copy the glyph pairs to new codepoints:
dotsint: 19->41 (this one was already moved by Goerg, now moving to the same block)
oint: 11->43
oiint:13->45
I couldn't find fix where both qt4 & qt5 would show correct results,
so this patch fixes qt5 situation, but breaks qt4, which hopefully
won't be needed for master.
Testing and debuging is somewhat tricky, becuse qt sometimes prefer to
load global fonts in /usr/share while ignoring the local git tree.
To be continued in other fonts.
Related reports:
https://www.lyx.org/trac/ticket/8493
https://bugreports.qt.io/browse/QTBUG-66266
Kornel Benko [Tue, 20 Mar 2018 12:41:29 +0000 (13:41 +0100)]
Add Reame to lib/fonts/test
Uwe Stöhr [Tue, 20 Mar 2018 02:32:13 +0000 (03:32 +0100)]
Arabic UserGuide.lyx: update from Hatim
Richard Kimberly Heck [Mon, 19 Mar 2018 22:42:46 +0000 (18:42 -0400)]
Fix problem with conversion of stmary10.lyx.
Jean-Marc Lasgouttes [Mon, 19 Mar 2018 13:59:43 +0000 (14:59 +0100)]
Fix initialzation order in FuncRequest
Fixes bug #11080.
Jean-Marc Lasgouttes [Mon, 19 Mar 2018 13:07:03 +0000 (14:07 +0100)]
Fix default spellchecker when only Enchant is available
This has been annoying me for ages.
Jean-Marc Lasgouttes [Tue, 30 Jan 2018 13:32:53 +0000 (14:32 +0100)]
Make it possible to select (not)native file dialogs at run time
Add a new LyXRC variable use_native_filedialog (true by default) that
allows to select the kind of FileDialog we want at runtime.
Joel A. Kulesza [Sun, 18 Mar 2018 23:43:25 +0000 (17:43 -0600)]
Update to accept automake 1.16
Juergen Spitzmueller [Mon, 19 Mar 2018 08:56:53 +0000 (09:56 +0100)]
Change lookup order for enchant-2 vs. enchant (prefer the former)
Juergen Spitzmueller [Mon, 19 Mar 2018 08:03:35 +0000 (09:03 +0100)]
check for enchant-2
Fixes rest of #10986
Juergen Spitzmueller [Sun, 18 Mar 2018 17:42:50 +0000 (18:42 +0100)]
ru.po: update from Yuriy.
Juergen Spitzmueller [Sun, 18 Mar 2018 17:30:48 +0000 (18:30 +0100)]
Open ExternalInset dialog on first tab for new insets
Fixes: #11081
Richard Heck [Sun, 18 Mar 2018 15:34:38 +0000 (11:34 -0400)]
Update contributor.
Juergen Spitzmueller [Sun, 18 Mar 2018 11:11:26 +0000 (12:11 +0100)]
Properly fix math packages table in Document Settings
Fixes: #10777
Juergen Spitzmueller [Sun, 18 Mar 2018 09:16:52 +0000 (10:16 +0100)]
fi.po: correct authorship
Juergen Spitzmueller [Sun, 18 Mar 2018 08:55:14 +0000 (09:55 +0100)]
de.po
Richard Heck [Sat, 17 Mar 2018 20:04:03 +0000 (16:04 -0400)]
Remerge strings.
Juergen Spitzmueller [Sat, 17 Mar 2018 17:28:54 +0000 (18:28 +0100)]
strip braces from minted caption
Juergen Spitzmueller [Sat, 17 Mar 2018 17:26:47 +0000 (18:26 +0100)]
small fixup in tex2lyx lstlistings/inputminted support.
Juergen Spitzmueller [Sat, 17 Mar 2018 15:44:09 +0000 (16:44 +0100)]
tex2lyx: complete minted support (inputminted)
Also fix some whitespace issues in minted inset import.
Kornel Benko [Sat, 17 Mar 2018 15:43:45 +0000 (16:43 +0100)]
Update sk.po
Juergen Spitzmueller [Sat, 17 Mar 2018 12:20:48 +0000 (13:20 +0100)]
tex2lyx: add beamer test file
Juergen Spitzmueller [Sat, 17 Mar 2018 11:39:13 +0000 (12:39 +0100)]
tex2lyx: handle makebeamertitle
Juergen Spitzmueller [Sat, 17 Mar 2018 11:38:53 +0000 (12:38 +0100)]
tex2lyx: clear latexparam after use.
Juergen Spitzmueller [Sat, 17 Mar 2018 11:19:50 +0000 (12:19 +0100)]
tex2lyx: do not eat empty paragraphs if keepempty is true
Fixes: #11078
Juergen Spitzmueller [Fri, 16 Mar 2018 11:56:17 +0000 (12:56 +0100)]
tex2lyx: add support for LaTeXParam
Part of #11068
Juergen Spitzmueller [Fri, 16 Mar 2018 08:02:29 +0000 (09:02 +0100)]
lyx2lyx fixes for the recent font additions.
Kornel Benko [Thu, 15 Mar 2018 21:34:26 +0000 (22:34 +0100)]
Cmake export lyx* tests: Omit compilation of lyx16x, lyx20x and lyx21x exported files
These file don't contain the \\origin tag. So the possibly included
files with relative path would not be found. The compilation to
the default pdf would then anyway fail.
Kornel Benko [Thu, 15 Mar 2018 21:31:48 +0000 (22:31 +0100)]
Cmake export lyx* tests: Ignore new lyx2lyx warning
Don't know why this warning is unconditionlly emitted
Juergen Spitzmueller [Thu, 15 Mar 2018 14:44:49 +0000 (15:44 +0100)]
Add support for xcharter font.
File format change.
Patch by Yuriy Skalko.
Juergen Spitzmueller [Wed, 14 Mar 2018 13:38:18 +0000 (14:38 +0100)]
tex2lyx: support for beamer text styles with overlays
E.g. things like \textbf<article>{foo} have to be imported as insets.
Part of #11068
Juergen Spitzmueller [Wed, 14 Mar 2018 07:40:47 +0000 (08:40 +0100)]
tex2lyx: More work on beamer support
* Implement list item overlay support (\item<arg>)
* Implement itemcommand support (e.g., \overprint<arg>)
* Fix general list argument placement
Part of: #11068
Kornel Benko [Tue, 13 Mar 2018 16:01:51 +0000 (17:01 +0100)]
Update sk.po
Juergen Spitzmueller [Tue, 13 Mar 2018 15:01:13 +0000 (16:01 +0100)]
Juergen Spitzmueller [Tue, 13 Mar 2018 12:00:58 +0000 (13:00 +0100)]
Fix known_escaped_chars
Juergen Spitzmueller [Mon, 12 Mar 2018 13:50:19 +0000 (14:50 +0100)]
tex2lyx: towards beamer overlay argument support.
Implemented: Overlay and standard overlay arguments for commands
and environments.
Still missing:
* List item overlay
* itemcommand overlay (\overprint)
* overlay via LatexParam (e.g., Flex:ArticleMode)
Needs fixing:
* General list argument (\begin{itemize}[arg])
* nested content in a frame with no title (empty par)
Pavel Sanda [Mon, 12 Mar 2018 13:34:24 +0000 (14:34 +0100)]
Fix Undocked Outliner & multiple window crashes (#11004).
There are more independent crashes occuring in this scenario and this
fix targets only one of them, in particular the one in which different
window's outliner sends outliner command to a wrong window. The fix
itself gives an option for lfun to know which window it belongs to.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg203619.html
Pavel Sanda [Mon, 12 Mar 2018 12:40:52 +0000 (13:40 +0100)]
Paint \dot & \ddot more like a dot
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg204183.html
Juergen Spitzmueller [Sun, 11 Mar 2018 18:50:22 +0000 (19:50 +0100)]
update test
Juergen Spitzmueller [Sun, 11 Mar 2018 18:49:28 +0000 (19:49 +0100)]
Juergen Spitzmueller [Sun, 11 Mar 2018 17:04:23 +0000 (18:04 +0100)]
tex2lyx: update quote handling
* Consider new quote styles
* Consider changed quote styles
* Try to be a bit smarter with ambiguous quotation marks
Juergen Spitzmueller [Sun, 11 Mar 2018 17:04:02 +0000 (18:04 +0100)]
Update tex2lyx tests after
cc6f2dae82
Uwe Stöhr [Sun, 11 Mar 2018 13:37:48 +0000 (14:37 +0100)]
Win installer: fix a typo
Juergen Spitzmueller [Sun, 11 Mar 2018 10:46:37 +0000 (11:46 +0100)]
tex2lyx: support tipa \t*{} macro.
Juergen Spitzmueller [Sun, 11 Mar 2018 10:12:42 +0000 (11:12 +0100)]
tex2lyx: support for URW Classico, MinionPro and the new Libertine fonts.
Uwe Stöhr [Sun, 11 Mar 2018 01:59:08 +0000 (02:59 +0100)]
Win installer: respect also 64bit MiKTeX
Uwe Stöhr [Sat, 10 Mar 2018 18:59:48 +0000 (19:59 +0100)]
add support for the PT fonts
- fileformat change
- I also started https://wiki.lyx.org/LyX/NewInLyX24 for new features
Juergen Spitzmueller [Sat, 10 Mar 2018 15:15:29 +0000 (16:15 +0100)]
Update tex2lyx tests.
Juergen Spitzmueller [Sat, 10 Mar 2018 14:48:49 +0000 (15:48 +0100)]
tex2lyx/TODO: update
Juergen Spitzmueller [Sat, 10 Mar 2018 14:40:51 +0000 (15:40 +0100)]
tex2lyx: add support for lstinputlisting
Juergen Spitzmueller [Sat, 10 Mar 2018 14:00:30 +0000 (15:00 +0100)]
tex2lyx: get rid of another large if-else if chain.
Juergen Spitzmueller [Sat, 10 Mar 2018 13:58:55 +0000 (14:58 +0100)]
tex2lyx: make nested CJK parsing slightly less dumb.
Fixes: #9562
Juergen Spitzmueller [Sat, 10 Mar 2018 13:22:51 +0000 (14:22 +0100)]
Juergen Spitzmueller [Fri, 9 Mar 2018 16:27:55 +0000 (17:27 +0100)]
tex2lyx: support for \includeonly
Juergen Spitzmueller [Fri, 9 Mar 2018 14:17:23 +0000 (15:17 +0100)]
syntax.default: some additions.
Juergen Spitzmueller [Fri, 9 Mar 2018 13:47:04 +0000 (14:47 +0100)]
syntax.default: add missing *
Fixes: #10501
Juergen Spitzmueller [Fri, 9 Mar 2018 13:18:03 +0000 (14:18 +0100)]
tex2lyx: handle whitespace in table column declaration.
Fixes: #10804
Juergen Spitzmueller [Fri, 9 Mar 2018 12:57:29 +0000 (13:57 +0100)]
tex2lyx/TODO: small tweak.
Juergen Spitzmueller [Fri, 9 Mar 2018 12:43:12 +0000 (13:43 +0100)]
This works already.
Juergen Spitzmueller [Fri, 9 Mar 2018 12:30:52 +0000 (13:30 +0100)]
tex2lyx: chapterbib support
Juergen Spitzmueller [Fri, 9 Mar 2018 12:14:13 +0000 (13:14 +0100)]
tex2lyx: honor grouping in optional arguments.
E.g., \cite[{a literal ] character}]{key}
Juergen Spitzmueller [Fri, 9 Mar 2018 11:29:07 +0000 (12:29 +0100)]
Fix copy and paste error in
6659304f7f8b
Juergen Spitzmueller [Fri, 9 Mar 2018 11:18:49 +0000 (12:18 +0100)]
Revert "Revert "tex2lyx: towards proper support of "literal"/"latexified" inset commands""
I did not intend to revert this. Sorry for the noise.
This reverts commit
74d92779090ed9a79808e4c775a9d7fefcfdd679 .
Juergen Spitzmueller [Fri, 9 Mar 2018 11:15:19 +0000 (12:15 +0100)]
Reset buffer language only if we have something to reset.
Fixes: #11063
Juergen Spitzmueller [Fri, 9 Mar 2018 10:32:09 +0000 (11:32 +0100)]
Revert "tex2lyx: towards proper support of "literal"/"latexified" inset commands"
This reverts commit
6659304f7f8b57f12a1bf453a11ea359c83a7d14 .
Uwe Stöhr [Fri, 9 Mar 2018 04:53:39 +0000 (05:53 +0100)]
Arabic UserGuide.lyx
- new file
- it is just a start and put into git to assure that we keep a compilable version
- Hatim will bit by bit translate it
- can be removed if it should not be ready before the next major release
Uwe Stöhr [Fri, 9 Mar 2018 04:48:56 +0000 (05:48 +0100)]
ar.po: some updates from Hatim
Uwe Stöhr [Fri, 9 Mar 2018 03:53:33 +0000 (04:53 +0100)]
tex2lyx: parse \xymatrix
LyX's \xymatrix support relies on math therefore put it into math and parse its content
fixes bug #10638
Uwe Stöhr [Thu, 8 Mar 2018 21:35:38 +0000 (22:35 +0100)]
Win installer: adapt update process to work with recent MiKTeX
- finally the installer should result in a fully functional LyX, no matter when users installed MiKTeX or updated it the last time (or never)
Juergen Spitzmueller [Thu, 8 Mar 2018 14:00:33 +0000 (15:00 +0100)]
tex2lyx: towards proper support of "literal"/"latexified" inset commands
We now report whether the attempt to recode the macros to glyphs
succeeded. If yes, we set "literate" to false, if not to true.
Also, do not attempt to recode for non-latexifying fields.
Fixes: #9563
Jean-Marc Lasgouttes [Wed, 7 Mar 2018 10:46:47 +0000 (11:46 +0100)]
Add cell number to current state in devel mode
This value is added when inside a texted inset with several cells
(aka a tabular inset).
Jean-Marc Lasgouttes [Mon, 5 Mar 2018 09:28:27 +0000 (10:28 +0100)]
Make pmprof use the correct unit in report
Juergen Spitzmueller [Tue, 6 Mar 2018 18:54:24 +0000 (19:54 +0100)]
Amend
4ec133e1aeea8
Didn't see this test is already there.
(cherry picked from commit
83c7e818f8d8b669b33b58847e90997b6edec8b5 )
Juergen Spitzmueller [Tue, 6 Mar 2018 17:17:01 +0000 (18:17 +0100)]
Braces need to be escaped as well on LATEXIFY
part of #9563
Juergen Spitzmueller [Tue, 6 Mar 2018 16:54:32 +0000 (17:54 +0100)]
tex2lyx: support alignment pseudo-environments.
Fixes: #7857
Juergen Spitzmueller [Tue, 6 Mar 2018 14:31:43 +0000 (15:31 +0100)]
Fix local polyglossia switch for Arabic
We need to lowercase the language again (it's \begin{Arabic},
but \textarabic)
Fixes: #11057.