Commit Graph

614 Commits

Author SHA1 Message Date
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
ab5306803e Split the overcrowded and chaotic UI pref pane into two (#7524) 2013-03-29 10:08:25 +01:00
Uwe Stöhr
3266415217 status.20x: add a bug number 2013-03-29 01:10:50 +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 e2155d3d58)

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 39ec866f68)
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 c56d524cd6)
2013-03-27 14:55:52 -04:00
Richard Heck
a3c0431b43 Add CSS styling for memoir epigraphs. 2013-03-27 14:05:55 -04:00
Richard Heck
912382e2be Disable extractFunctions() for MathML and HTML output.
Fixes bug #8609.
(cherry picked from commit dd7d76cc6c)
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 7dac3a2715)
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 c72c6f8732.
2013-03-21 09:42:32 +01:00
Uwe Stöhr
25b8ddf407 status.20x: typos 2013-03-21 02:10:35 +01:00
Uwe Stöhr
b2670c995e status.20x: entry for previous commit 2013-03-21 02:05:15 +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 3057bce3f2)
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 fbe9e96b5e)
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 b3ceb89efc)
2013-03-18 18:47:27 -04:00
Uwe Stöhr
4aeeeb6b33 languages: fix compilation of Belarusian (bug #8593) 2013-03-16 21:16:18 +01:00
Jean-Marc Lasgouttes
1570604063 Work around annoying boost-related compiler warning 2013-02-28 15:41:56 +01:00
Georg Baum
2a7971eb6e status for last commit 2013-02-23 14:56:53 +01:00
Jean-Marc Lasgouttes
46aa8f32ec Fix confusing behavior in search when changing directions (bug 8543) 2013-02-22 18:16:04 +01:00
Uwe Stöhr
1b9150e673 status.20x: mention a fixed bug 2013-02-22 01:51:39 +01:00
Richard Heck
0735ac84e2 Don't convert --- and -- to entities in XHTML listings output.
Fixes bug #8561.
(cherry picked from commit c4bed8dbe8)
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
a67cd78556 xypic.lyx: update description of spacings
- also update all web links and squash all LaTeX warnings
2013-02-16 21:48:12 +01:00
Uwe Stöhr
186d955e86 status.20x: add missing entry for fix of bug #8391
(fixedinbranch: http://www.lyx.org/trac/changeset/fcb49729/lyxgit)
- also some formatting fixes
2013-02-16 02:05:04 +01:00
Uwe Stöhr
5619574000 status.20x: add missing entry for fix of bug #6389
(fixedinbranch: http://www.lyx.org/trac/changeset/51cc0a9b8/lyxgit)
2013-02-16 02:00:18 +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
688d280da6 status.20x: add fix for editor combo boxes (#8237) 2013-02-12 03:42:22 -05: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 1b7d812e51)
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
Richard Heck
4eb2d71110 Fix TeX crash involving URLs. Patch from Martin Vermeer.
(cherry picked from commit c9b9501f7d)
2013-02-05 10:02:55 -05:00
Uwe Stöhr
caa1387dce modernCV.lyx: add important compilation notes
- thanks to Jürgen, I could now resolve the bug why the compilation of modernCV failed for certain themes

- moderncv.layout: a whitespace fix
2013-01-29 00:17:35 +01:00
Juergen Spitzmueller
a2021f117e fr.po: update from Jean-Pierre 2013-01-28 11:56:20 +01:00
Uwe Stöhr
fb180204ba Revert "modernCV: complete revision of layout and example"
This reverts commit 58f6767e2c.

- additionally add the new requirement "suffix.sty"
2013-01-26 17:27:42 +01:00
Uwe Stöhr
09e2b217db tex2lyx: support for listings with options (bug 8066) 2013-01-22 01:07:52 +01:00
Uwe Stöhr
313c2b6416 status.20x: adaption for achemso reversion 2013-01-22 01:05:18 +01:00
Jean-Marc Lasgouttes
ff9d937253 Handle encoding correctly with knitr>=1.0 (#8504)
Knitr now has a parameter to indicate the encoding of the file. With this patch,it is used when possible (from Yihui Xie).
2013-01-21 15:57:18 +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
Richard Heck
f30c548ab8 Revert "Additional support for Japanese pLaTeX with utf8 encoding (#8408)."
This was a format change.

This reverts commit 759b7154c9.
2013-01-13 09:51:45 -05:00
Uwe Stöhr
46db6873cb ia.po: translations from Giovanni 2013-01-13 04:46:43 +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
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