Commit Graph

29287 Commits

Author SHA1 Message Date
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
Scott Kostyshak
a27900e3ff LyXRC: escape existing quote characters in 'cmd'
(cherry picked from commit a4a836916b)
2013-02-12 01:21:33 -05:00
Scott Kostyshak
72b86d895c LyXRC: allow space in {editor,viewer}_alternatives
(cherry picked from commit 010f64735f)
2013-02-12 01:21:32 -05:00
Scott Kostyshak
247b7f3569 Fix editor and viewer combo boxes in prefs (#8237)
(cherry picked from commit 47e9848783)
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 1b7d812e51)
2013-02-07 09:33:41 -05:00
Uwe Stöhr
0b6a9cc876 IEEEtran.lyx: fix typos
- IEEEtran.layout: fix a whitespace
2013-02-07 02:15:01 +01:00
Uwe Stöhr
febf69a0e2 IEEEtran.lyx: typos and a clarification 2013-02-07 01:08:56 +01: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
421053c60c German and Japanese Intro.lyx: fix a link 2013-02-06 01:48:15 +01:00
Uwe Stöhr
65be4017fa Intro.lyx: style fixes by John Hudson 2013-02-06 01:35:06 +01:00
Uwe Stöhr
859b2cbb0b German Math.lyx: some missing translations 2013-02-06 01:31:55 +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
cd20635e81 Math.lyx, Tutorial.lyx: fix some typos spotted by a user 2013-02-05 01:55:56 +01:00
Uwe Stöhr
9b697fa447 French Intro.lyx: a typo, spotted by a user 2013-02-03 16:57:30 +01: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
Kornel Benko
4f320ea2f6 * sk.po 2013-01-27 13:46:29 +01:00
Juergen Spitzmueller
c5f077c70f de.po: update 2013-01-27 13:07:57 +01:00
Uwe Stöhr
261f494dcf modernCV.lyx: correct sign of a vspace 2013-01-27 05:28:45 +01:00
Uwe Stöhr
171445fe53 moderncv.layout: section some styles 2013-01-27 05:22:36 +01:00
Uwe Stöhr
f9e06bdfe3 europecv.layout: whitespace and categorization
- additionally fix 2 formatting issues

No new styles or compatibility changes!
2013-01-26 17:31:21 +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
cfaa029722 EmbeddedObjects.lyx: cleanup
- use standard bullets
- formatting fixes and reduction of ERT
2013-01-26 03:45:09 +01:00
Uwe Stöhr
873d5ebc27 chkconfig.ltx: remove check for cbgreek
- we would need to check for a font but this doesn't work in branch. To Thus the current check is senseless because it will always fail, see #8522. Therefore I revert its addition to keep branch clean.

Note the check for wasy in branch shows the same problematic but it is there for ages.
2013-01-23 23:24:53 +01:00
Uwe Stöhr
6b0e79a6ac chkconfig.ltx: correct check for cbgreek
fixes #8522
2013-01-23 21:52:47 +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
Uwe Stöhr
2b67157260 Revert "achemso: complete revision of layout and example"
This reverts commit 56da307e19.

Revert the achemso.layout changes because they were not that pressing  (preamble stuff was supported via styles).

For modernCV I don't see another way than to let it in because it is not working as it was, neither with TeXLive 2012 nor with MiKTeX and therefore in most cases unusable
2013-01-22 00:20:51 +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
Enrico Forestieri
60a7434063 Small correction to it.po 2013-01-20 16:52:19 +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
Enrico Forestieri
d43a6dfcbb Update it.po 2013-01-20 14:03:35 +01:00
Juergen Spitzmueller
20b0a3bc67 de.po: update 2013-01-19 09:08:24 +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
Kornel Benko
e86821352c sk.po: Shortcuts, unified phrases 2013-01-18 16:19:15 +01:00
Pavel Sanda
e33088216c Few updates in LFUNs.lyx 2013-01-15 21:59:21 -08:00
Uwe Stöhr
9702aa3d3f German splash.lyx: fix a typo 2013-01-14 21:53:51 +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
Uwe Stöhr
d4eabeae19 French and Japanese Additional.lyx: fix some cross-references 2013-01-13 01:39:09 +01:00
Uwe Stöhr
86098d557e Additional.lyx: cleanups
- avoid that text parts protrude over the page margins
- preamble uniformication
2013-01-12 20:32:57 +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
Juergen Spitzmueller
e5a40e9616 de.po: update 2013-01-12 16:54:11 +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
Uwe Stöhr
101104bf5e chkconfig.ltx: check for packages needed by doc file
- also change the checking order to get an at least partially working LyX if the Internet connection breaks during the installation of missing packages
2013-01-12 15:27:50 +01:00