Richard Heck
594dcd885a
Default font for an InsetLayout should be to inherit everything.
...
Fixes bug #8610 .
(cherry picked from commit 6e25ae327284ac52b8337ea969322d6fb304f1b5)
2013-05-07 11:49:56 -04:00
Richard Heck
e3875398c7
Don't try to show the status message if we are busy.
...
Intended to fix #8523 .
(cherry picked from commit 6dac777dbc67d8be9ffff098d40560ab638a8923)
2013-05-07 11:32:04 -04:00
Jean-Marc Lasgouttes
36e4d210d1
Fix bug #8633 : change tracking: paragraph break is restored by undo
...
A recordUndo call was missing in this case.
2013-04-28 20:57:18 +02:00
Tommaso Cucinotta
1129eb0342
Fixed issue #8543 also for advanced search (cursor moved at proper end of selection before starting Find Advanced operation).
2013-04-21 22:39:28 +01:00
Jean-Marc Lasgouttes
d4b960c5f4
Fix bug #8370 : crash when searching for next change
...
Cursor::backwardPos() may enter in a nested inset, while CursorSlice::backwardPos() will not.
2013-04-08 09:44:16 +02:00
Juergen Spitzmueller
f7d5fb78aa
Remove redundand widget
2013-03-29 10:18:44 +01:00
Juergen Spitzmueller
ab5306803e
Split the overcrowded and chaotic UI pref pane into two ( #7524 )
2013-03-29 10:08:25 +01:00
Jean-Marc Lasgouttes
9670fabe97
Putenv requires a char *, for some reason.
2013-03-28 14:07:06 +01:00
Richard Heck
36bec04a13
Create a new DocumentClass for any cloned Buffer.
...
Uwe says that this fixes #8425 .
This has been in trunk for two weeks without problems. Hopefully,
that means it is safe.
(cherry picked from commit e2155d3d580d2849f7861040d71be8b24a582839)
Conflicts:
src/Buffer.cpp
2013-03-27 16:21:50 -04:00
Juergen Spitzmueller
340529920e
Make \lyxadded and \lyxdeleted robust ( #8435 ).
...
(cherry picked from commit 39ec866f682d3997dc7c70450eeedbf7d13cb9b5)
2013-03-27 16:14:52 -04:00
Richard Heck
00e3711c05
Clean id attributes for citations before outputting them.
...
For some reason, this was done in trunk but never got to
branch.
2013-03-27 16:05:09 -04:00
Richard Heck
40da79fe73
Use master buffer's setting for math output type.
...
(cherry picked from commit c56d524cd6af5d0ed0d50fef51ab434ce418d1e0)
2013-03-27 14:55:52 -04:00
Richard Heck
912382e2be
Disable extractFunctions() for MathML and HTML output.
...
Fixes bug #8609 .
(cherry picked from commit dd7d76cc6c6bfba2272185ecd468bd1502c414c7)
2013-03-27 12:11:31 -04:00
Richard Heck
5d792ae0fd
Fix bug #8604 : Forgot not to escape the caption string in listings.
...
(cherry picked from commit 7dac3a2715e9e8e5a9566d3816362a421d58d4a7)
2013-03-23 10:08:10 -04:00
Jean-Marc Lasgouttes
2093b90fb7
Implement inset-select-all in mathed
2013-03-22 15:57:11 +01:00
Juergen Spitzmueller
13d6d2e2c7
Revert "Fix the zombie toolbar problem (bug #8520 )"
...
This reverts commit c72c6f8732f984084b64e320152a1e3147a053a0.
2013-03-21 09:42:32 +01:00
Juergen Spitzmueller
c72c6f8732
Fix the zombie toolbar problem (bug #8520 )
2013-03-20 16:19:53 +01:00
Richard Heck
7c5caaff24
Fix bug #8587 properly, by using local language for translation.
...
(cherry picked from commit 3057bce3f210584118211746d8e38bec9d76a080)
2013-03-19 11:36:58 -04:00
Richard Heck
4be96ee78a
Make things a little better with respect to bug #8587 .
...
(cherry picked from commit fbe9e96b5eac2d2c3748272d63731437e820e782)
2013-03-18 19:49:18 -04:00
Richard Heck
dd10053a6e
Fix bug #8598 . We need to use the masterBuffer's counters in the
...
XHTML output routines.
(cherry picked from commit b3ceb89efc3df54274eddce6ebea05ad9b94330c)
2013-03-18 18:47:27 -04:00
Richard Heck
7833f02b88
Fix bug #8597 : Output only (ref) for \eqref, not: equation (ref).
...
(cherry picked from commit 5f0e82b72d25e1f3af9e102bff3b87e43621df8f)
2013-03-18 18:11:08 -04:00
Uwe Stöhr
70ebf64c3f
tex2lyx/Parser.cpp: backport [fb64fe613/lyxgit] to fix the regression introduced after the release of LyX 2.0.5 (bug #8525 )
2013-03-10 16:19:05 +01:00
Richard Heck
6662d6c71d
Fix stupid mistake that led to bug #8574 .
...
(cherry picked from commit e9879526642085d0a2fc4da3c52642959e9da988)
Conflicts:
src/insets/InsetInclude.cpp
2013-03-04 18:13:04 -05:00
Jean-Marc Lasgouttes
46aa8f32ec
Fix confusing behavior in search when changing directions (bug 8543)
2013-02-22 18:16:04 +01:00
Richard Heck
0735ac84e2
Don't convert --- and -- to entities in XHTML listings output.
...
Fixes bug #8561 .
(cherry picked from commit c4bed8dbe802303c9249114d025119ca80b42936)
2013-02-21 18:14:06 -05:00
Richard Heck
f6f4a8ddf8
Do not try to load or copy included files when we are in a comment
...
or doing a dryrun. We skipped some of this before, but not all of it,
which led to bug #8557 .
2013-02-21 11:54:59 -05:00
Uwe Stöhr
e996c65319
tex2lyx/TODO.txt: update for branch
...
- there is nothing to do for \xymatrix and feyn.sty. - our example files containing these features work correctly in a roundtrip
2013-02-16 22:42:36 +01:00
Uwe Stöhr
cae6397b69
GuiTabular.cpp: fix bug #8285 for branch
...
fixes:
- LyX uses for a decimal alignment a multicolumn and having for a cell a multicolumn _and_ a multirow is invalid LaTeX. Therefore do not allow to set table cells to this in the dialog.
- It was impossible to unset a decimal alignment via the context menu or toolbar button.
2013-02-16 01:44:02 +01:00
Jean-Marc Lasgouttes
d2ea4aaebb
Fix bug #8537 : LyX creates the environment variable LC_ALL
...
The current code is not able to unset an environment variable, only to set it to an empty value. This patch refactors a bit the Message class and uses a new EnvChanger helper class that allows to change temporarily an environment variable and that is able to unset variables if needed.
The patch also adds new functions hasEnv and unsetEnv in environment.cpp.
Open issues:
* there may be systems where unsetenv is not available and putenv("name=") does not do the right thing;
* unsetenv may lead to leaks on some platforms.
* when using unsetenv, we may need to remove strings from the internal map that setEnv uses.
2013-02-15 18:23:48 +01:00
Scott Kostyshak
a27900e3ff
LyXRC: escape existing quote characters in 'cmd'
...
(cherry picked from commit a4a836916b1257b215546b2b7886e009df5876a9)
2013-02-12 01:21:33 -05:00
Scott Kostyshak
72b86d895c
LyXRC: allow space in {editor,viewer}_alternatives
...
(cherry picked from commit 010f64735f86d018db5295293d174b9584a32566)
2013-02-12 01:21:32 -05:00
Scott Kostyshak
247b7f3569
Fix editor and viewer combo boxes in prefs ( #8237 )
...
(cherry picked from commit 47e98487838b6c99b2631f0b203abf89e2d739bd)
2013-02-12 01:21:29 -05:00
Uwe Stöhr
d36965c55c
tex2lyx/TODO.txt: update todo list
...
listings support was added for branch by [09e2b217/lyxgit]
2013-02-11 12:16:57 +01:00
Richard Heck
5e9ea6f315
Fix really silly logic error. This should make prettyref-based
...
files work better when converted to refstyle.
(cherry picked from commit 1b7d812e5116a39d3319cda234c652f64bec9dd3)
2013-02-07 09:33:41 -05:00
Jean-Marc Lasgouttes
720784b811
Make sure that inset-forall does not skip insets
...
This could happen with
inset-forall Note:Note char-delete-forward
when there where consecutive note insets.
2013-02-06 10:35:41 +01:00
Jean-Marc Lasgouttes
0bcef7f874
Consider deleted text when inserting quote inset.
...
This bug was reported against the ubuntu build:
https://bugs.launchpad.net/bugs/1100046
Additionally, some extra code for avoiding double undo entries has
been removed, since this is handled by grouped undo now.
2013-02-06 10:24:09 +01:00
Uwe Stöhr
09e2b217db
tex2lyx: support for listings with options (bug 8066)
2013-01-22 01:07:52 +01:00
Vincent van Ravesteijn
12a575cc39
Fix bug #8296 : Crash when clicking on completion in math
...
When the user clicks on the completion, the completion disappears. This
means that we have to fix the cursor before setting it.
2013-01-20 14:31:23 +01:00
Julien Rioux
fa4b2b1ed1
LyXHTML linking from citation to bib entry for LyX 2.0 ( fixes #8490 ).
2013-01-18 23:31:37 +01:00
Julien Rioux
5bb18ffea7
Better fix for #7732 : Use buffer.B_().
...
Also handle "and others" which is translated by BibTeX to "et al.".
2013-01-18 23:30:56 +01:00
Julien Rioux
ab66c18a9d
Remove the .aux and .bbl files when we switch the citation engine or style.
2013-01-12 17:17:16 +01:00
Julien Rioux
54cbc7f7bb
Force BibTeX rerun upon add/remove/change citation ( fixes #6955 ).
...
Reordering citations is one case where catching "Citation undefined
on page ..." doesn't catch the need for a bibtex rerun. This patch
ensures the proper ordering is obtained in pdf output without having
to resort to closing and reopening the LyX document.
2013-01-12 16:35:45 +01:00
Scott Kostyshak
ba8a4d8014
Typo in LFUN doc
2013-01-11 04:39:28 -05:00
Juergen Spitzmueller
6642547384
Do not crop wide characters in Symbols dialog (bug #5707 ).
2013-01-10 15:10:10 +01:00
Julien Rioux
60ec70a6f5
InsetLayout: Output [latexparam] on same line as \begin{inset}.
2013-01-10 12:36:34 +01:00
Julien Rioux
62b1319752
Use document language when exporting citations to LyXHTML ( fixes #7732 ).
2013-01-10 12:34:06 +01:00
Julien Rioux
832acf8f58
Preserve BibTeX metadata in LyXHTML output ( fixes #8451 ).
2013-01-10 12:31:16 +01:00
Julien Rioux
4c904262b5
Fix cache for getInfo() with/without richtext ( fixes #8486 ).
2013-01-08 16:24:37 +01:00
Juergen Spitzmueller
9e021dca6e
Do not translate lyx font names
2012-12-29 17:52:26 +01:00
Vincent van Ravesteijn
9e18104def
Fix typos
2012-12-27 11:40:09 +01:00