Commit Graph

535 Commits

Author SHA1 Message Date
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
Juergen Spitzmueller
5fd8bda31a rc.preview and rc.display_graphics are completely unrelated (bug 7562)
(cherry picked from commit 6bf00d9fed)
2012-09-19 17:15:57 +02:00
Juergen Spitzmueller
212af25fb2 Merge branch '2.0.x' of git.lyx.org:lyx into 2.0.x 2012-09-18 08:34:05 +02:00
Jean-Marc Lasgouttes
f8a46c4874 Fix bug #8342: Endless undo group messages
Fix thinko in Undo::endUndoGroup.
Do not reset undo groups in Undo::clean

The underlying problem remains: the various VC functions should not
always reload the buffer or at least should use the parameter
clearUndo=false.
2012-09-17 23:04:42 +02:00
Juergen Spitzmueller
7441db9053 Calibrate log file parser
Filenames embraced in <...> can occur anywhere on the line and multiple times. This fixes for me the case that graphics included via ERT were not tracked. It also fixes #8336.

(cherry picked from commit e8a01d099a)
2012-09-17 10:43:06 +02:00
Uwe Stöhr
ca3cf1f222 status.20x: some minor improvements
- list crash bugfixes first
- clarify that it is a menu
2012-09-12 00:11:55 +02:00
Enrico Forestieri
fbaf3fc84d Protect underlined \ref{} commands by enclosing them in \mbox{}.
This is the same protection used for \cite{}. Although "ulem" commands
don't strictly need this protection with \ref{} and friends, this helps
when one wants to use another package souch as "soul".
Indeed, ulem's \uline{} doesn't hyphenate words, while soul's \ul{} does,
and thus the output is much nicer.

With this patch, replacing ulem with soul is as simple as adding
\usepackage{soul}
\renewcommand{\uline}[1]{\ul{#1}}
to the preamble, without worrying about manually enclosing in \mbox the
\ref commands. In any case, the output from ulem remains unchanged.

Another possibility offered by soul is that of typesetting as
"yellow highlighted" the underlined text. This is achieved by adding
\usepackage{color,soul}
\renewcommand{\uline}[1]{\hl{#1}}
to the preamble.

(cherry picked from commit 91afc2430d)
2012-08-30 15:35:22 +02:00
Juergen Spitzmueller
8475f73366 IPA fixes 2012-08-27 08:50:40 +02:00
Juergen Spitzmueller
3ae6400452 Fix forward search with okular 2012-08-27 08:45:21 +02:00
Stephan Witt
7cc30cdf29 Fix bug #8238: correct the forward argument of replace2string() in on_replacePB_clicked().
(cherry picked from commit 44b3278006)
Fix the wrong cursor move when forward flag is false:
The forward flag is used to place the cursor behind the replaced text if it's true.
But it's not correct to move the cursor if it's false. The cursor is in front of the
replacement already after the replaceSelectionWithString() was done.
(cherry picked from commit 430cf3ee5e)
2012-08-22 18:07:58 +02:00
Jean-Marc Lasgouttes
a4db6d6c14 Fix bug #7741: incorrect locale when starting R from LyX?
The goal here is to get rid of the old code that modified variables
LANGUAGE and LC_ALL, therefore creating the problems mentionned
in the ticket.

In the new system, there is no explicit "GUI" message handler, that
needs to be reset at each language change. Instead, getGuiMessages
calls getMessages with the correct parameter. This allows to simplify
greatly the code and to remove a lot of old cruft.
2012-08-22 12:36:22 +02:00
Jean-Marc Lasgouttes
824fe17511 Do not kill the undo stack when doing a Save As...
The code does a reload on the buffer to avoid loose pointers if the
file changes directory. This commit adds a bool parameter to
Buffer::reload to allow for keeping the undo stack intact. This is of
couse only wanted in this case, not when reloading an earlier version
of the file.
2012-08-21 12:21:42 +02:00
Jean-Marc Lasgouttes
3bf5d562b9 Fix bug #8242: undo fails for longest label width
In the existing code for setting layout of pragraph parameters,
Text::undoSpan is used to "guess" which paragraphs should be saved in Undo.
With this patch the approach is more precise: before every explicit change
to a paragraph, a Cursor::recordUndo call is inserted. This is much more robust than trying to guess.

In particular, we do not look at depth changes at all, since they are now
handled in updateBuffer since #8159 has been fixed.
2012-08-21 12:08:27 +02:00
Jean-Marc Lasgouttes
a53f9aa8cc Make debug messages more readable
Shorten the file names output by LYXERR so that they start right after /src/.
2012-08-21 12:02:20 +02:00