Commit Graph

648 Commits

Author SHA1 Message Date
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
Julien Rioux
4c904262b5 Fix cache for getInfo() with/without richtext (fixes #8486). 2013-01-08 16:24:37 +01:00
Enrico Forestieri
50d0b13e08 Fix bug #8477
Don't delay the output until the end of the check for the LaTeX packages.
2013-01-01 20:15:57 +01:00
Julien Rioux
4644a0008e Update the lilypond example file.
- Add a note about HTML.
- Add a note about using external files.
- Add a note about using lilypond variables and commands.
- Some corrections and nitpicks.
2013-01-01 10:14:44 +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
Richard Heck
80adc824f6 Respect InsetLayout's PassThru setting in XHTML export.
(cherry picked from commit 2e764c2c66)
2012-12-24 12:14:32 -05:00
Enrico Forestieri
3eb7422bd6 Fix bug #8467: "Corrupted NFSS tables" error when Cyrillic character in an equation
(cherry picked from commit 25e4bf4b27)

Conflicts:

	src/BufferParams.cpp
2012-12-23 13:11:36 +01:00
Juergen Spitzmueller
725764774e Load babel with English-only documents (bug 8423) 2012-12-22 17:11:55 +01:00
Scott Kostyshak
93d0154189 status.20x: fix a typo 2012-12-22 05:29:17 -05:00
Scott Kostyshak
ea28ef20d5 status.20x: add a selection bug fix 2012-12-22 05:21:22 -05:00
Uwe Stöhr
e3e8a66086 status.20x: correct a bug number 2012-12-13 22:45:41 +01:00
Tommaso Cucinotta
64f57912a6 Adding status.20x update after [60c96e3a/lyxgit]. 2012-12-13 09:02:05 +00:00
Scott Kostyshak
cf7b38ee23 Fix a bug when selecting a cell in InsetTabular
Fix the following bug:
When in tabular, enter "ab" in a cell. Place the cursor before "b". Hold
shift and press <right>, then (still holding shift) <right> again. On
the second <right> nothing appears to happen.

Related to #1802.

(cherry picked from commit 4b706051b7)
2012-12-12 15:56:02 -05:00
Tommaso Cucinotta
43f9aff71a Notifying in status.20x fix due to commit 927496e. 2012-12-11 00:06:24 +00:00
Richard Heck
24dea042c2 Fix lyx2lyx bug: We need to check for quoted names before we check
for unquoted ones. Otherwise, a quoted name with no spaces gets
treated as if it were an unquoted name.
(cherry picked from commit 945c0e4127)
2012-12-10 11:12:15 -05:00
Uwe Stöhr
620fbbf3c5 status.20x: remove unnecessary info 2012-12-02 19:37:43 +01:00
Uwe Stöhr
26a6e0747b status.20x: add some info 2012-11-29 00:14:02 +01:00
Georg Baum
cdee2a1652 Document backported fix for bug #4468 2012-11-28 22:17:00 +01:00
Richard Heck
4f65cfbd5f Backport.
Fix bug reported on user list: the path variable here was undefined,
causing a failure when running outside the user tree. This was my
fault: when I refactored this routine, I failed to note that this
variable was now undefined.

(cherry picked from commit 72c2a72afd)
2012-11-27 20:53:46 -05:00
Uwe Stöhr
025943868a jasatex.layout: add missing short title
-also resolve a potential package clash with natbib
2012-11-26 06:14:04 +01:00
Uwe Stöhr
56da307e19 achemso: complete revision of layout and example 2012-11-26 06:05:23 +01:00
Uwe Stöhr
79a8c0d2a9 fix bug #8223 also for branch 2012-11-25 02:21:13 +01:00
Jean-Marc Lasgouttes
41e648837a Show status of branches even when inset is closed 2012-11-23 16:32:43 +01:00
Georg Baum
93d47c825b Implement tex2lyx -m switch (bug #8393)
Backported from b8648dea16.

With this new command line switch a list of modules can be loaded
unconditionally. This seems to be needed for the literate programming formats,
and it is useful to work around bug #5702 as well.
2012-11-23 16:18:04 +01:00
Richard Heck
240d810835 Fix build on FreeBSD
This is a backport of a patch from Raphael Kubo de Costa
  http://marc.info/?l=lyx-devel&m=131586604331711&w=2
further updated in 51cc8269 to use LDFALGS intead of LIBS.

Some additional cleanup.
2012-11-23 15:30:44 +01:00
Juergen Spitzmueller
a834d161d2 Allow arguments in PassThru environments (bug #7646)
(cherry picked from commit 34ef91bb70)
2012-11-21 13:57:20 +01:00
Uwe Stöhr
0493893fdd Font.cpp: fix bug #8424 also for branch
- Font.cpp: fix the bug
- status.20x: fix the formatting/style
2012-11-20 22:22:52 +01:00
Uwe Stöhr
2f99aabf6d thesis template: add check for babel (as discussed in bug #8423) 2012-11-18 16:02:43 +01:00
Uwe Stöhr
ada275e005 ja.po: updates from Koji 2012-11-14 00:14:52 +01:00
Juergen Spitzmueller
975b20d5b7 Do not let the children's buffer params leak into the master (#5941) 2012-11-12 07:49:52 +01:00
Richard Heck
c920318f42 Restore fix for constant resetting of View>Source widget (bug #8411). 2012-11-11 15:41:47 -05:00
Pavel Sanda
759b7154c9 Additional support for Japanese pLaTeX with utf8 encoding (#8408).
Patch from Koji.
2012-11-11 19:31:02 +01:00
Juergen Spitzmueller
abc8c6567f Trigger preview when inserting preview inset on selection
(cherry picked from commit 31c7ccd4b3)
2012-11-11 11:04:19 +01:00
Juergen Spitzmueller
7b155bfdb8 Categorize paragraph styles of the lnguistics module 2012-11-11 10:52:50 +01:00
Richard Heck
f4dd8f2e0f Start 2.0.6 development. 2012-11-10 15:28:51 -05:00
Uwe Stöhr
46588a5a3a status.20x: mention Polish 2012-11-04 00:03:21 +01:00
Georg Baum
e334b01db5 Fix bug 8396: Wrong import of \xymatrix 2012-10-29 20:52:22 +01:00
Juergen Spitzmueller
bd6ac5d48c French Linguistics manual update (by Jean-Pierre) 2012-10-26 10:50:13 +02:00
Uwe Stöhr
7fe5b65c1d sv.po: updates from Jim 2012-10-22 01:44:22 +02:00
Enrico Forestieri
d781daa401 Fix bug #8379: LyX Archive fails to include BibTeX files
(cherry picked from commit f6fde4b553)
2012-10-21 21:54:20 +02:00
Uwe Stöhr
6997cbd176 sigplanconf.layout: correct InTitle tag, fixes bug #8378 2012-10-19 00:57:20 +02:00
Uwe Stöhr
19da6fcc0d status.20x: correct a bug number 2012-10-16 02:31:43 +02:00
Uwe Stöhr
b7d292a278 UserGuide.lyx: Add info how to handle special characters in nomenclatures
Fixes bug 8373.
2012-10-16 02:29:37 +02:00
Uwe Stöhr
e0a7c7d2ac nn.po: updates from Ingar 2012-10-16 00:58:26 +02:00
Juergen Spitzmueller
9b9145432f Beamer provides [x]color (#8103) 2012-10-15 16:02:50 +02:00
Juergen Spitzmueller
c97f75da03 Do not inherit Provides from beamer 2012-10-15 15:56:25 +02:00
Juergen Spitzmueller
e10bfe5857 Do not inherit Provides from beamer 2012-10-15 15:53:28 +02:00
Uwe Stöhr
ba0454fd0c g-brief layouts: remove the dependency on europs.sty as this package is an optional one and add info to the template file 2012-10-15 01:25:51 +02:00
Uwe Stöhr
3dfa3935e9 apa.lyx: fixed weblink 2012-10-15 00:49:07 +02:00
Uwe Stöhr
71b6024a9b uk.po: updates from Yuri 2012-10-14 02:22:05 +02:00
Pavel Sanda
f6f6379322 Forgot status. 2012-10-11 01:36:42 +02:00
Jean-Marc Lasgouttes
cfa0a1181b Revert "Do not kill the undo stack when doing a Save As..."
This reverts commit 824fe17511.

Following discussion on ticket #8342, I am not sure anymore that this is safe for branch. Reverting does not hurt much since the annoying debug messages that were cured by this commit are already (better) fixed by the patch for #8342.
2012-10-07 22:26:28 +02:00
Scott Kostyshak
4d9f620349 More elegant knitr support and bug fix
Implement a more simple and elegant integration of the R package knitr. Now,
lyxknitr.R does not need to move or copy files at all.

This also fixes a bug: when /tmp was on a different file system (e.g.
encrypted home), lyxknitr.R failed to move files to /tmp because it relied on
R's 'file.rename' function, which in turn relied on the rename function in
<stdio.h>, which was failing with the EXDEV errno.

Patch from Yihui Xie.
2012-10-06 19:54:08 -04:00
Juergen Spitzmueller
2f3acae922 Do not let the parent interfere when I child document is exported/view standalone (#8100, #8101)
(cherry picked from commit 02c73cd721)
2012-10-03 17:00:17 +02:00
Juergen Spitzmueller
9d43101254 status update 2012-10-03 16:39:01 +02:00
Stephan Witt
8bc54fd665 Add property list entries for high resolution display on Mac 2012-09-30 11:31:03 +02:00
Juergen Spitzmueller
438caad386 Fix issues with xref dialog in read-only documents (#8177) 2012-09-30 08:31:54 +02:00
Juergen Spitzmueller
1d63d78382 Working attempt at fixing #8357 in branch 2012-09-28 16:04:04 +02:00
Juergen Spitzmueller
c5d56d260b Revert "validate encodable characters in href inset (#8357)"
This reverts commit 1ea66bb65f.

The method latexString does not exits in branch.
2012-09-28 15:44:11 +02:00
Juergen Spitzmueller
1ea66bb65f validate encodable characters in href inset (#8357)
(cherry picked from commit 5801ee2f9a)
2012-09-28 15:40:09 +02:00
Jean-Marc Lasgouttes
4f153b007e status.20x entry for commit [2512e1f085/lyxgit] 2012-09-24 16:31:38 +02:00
Stephan Witt
e35d7a0f9b Implementation of spell check of current selection (bug #2511). 2012-09-21 23:21:41 +02:00
Richard Heck
2004073522 Forgotten status for earlier commit. 2012-09-20 19:17:37 -04:00
Juergen Spitzmueller
b11704d2fb Do not update refs on new label creation (#8147)
This assures that refs to existing labels are not being touched if a new label with a duplicate name is created, and the name then changed by the duplicate checker.

Branch candidate.
(cherry picked from commit 86cccf1077)
2012-09-20 16:01:34 +02:00
Enrico Forestieri
63caef5505 Fix bug #8306: LyX incorrectly imports mhchem commands outside math mode
Those commands can also be used in text mode but tex2lyx tries to
translate their argument causing havoc. So, import the whole commands
as ERT.

(cherry picked from commit ac92f2a79b)
2012-09-20 13:39:38 +02:00
Enrico Forestieri
0e33060337 Fix bug #8305: ^ symbol does not render into upward arrow when using mhchem
The mhchem package treats the caret both as a shorthand for \uparrow or
as a superscript operator according to whether it is surrounded by
spaces or not. The \ce and \cf insets allow inserting spaces but there
is no provision for inserting a space after the caret, which is always
considered by LyX as a superscript operator. The solution here is to
insert a space after the caret if the superscript is empty or an empty
brace inset.

Mathed does not allow empty superscripts, so an empty brace has to be
inserted when working in LyX. On the other hand, when importing latex
code, an empty superscript is retained.

This has no effect whatsoever for normal latex code, as a space after
the caret is ignored. In any case, the output is only changed if an
empty brace inset is used as superscript. Specifically, the output is
changed from "^{{}}" to "^ {}".

(cherry picked from commit f251e01892)
2012-09-20 13:39:37 +02:00