Commit Graph

28990 Commits

Author SHA1 Message Date
Pavel Sanda
3b992ba40b * cs.po 2012-10-10 15:32:34 +02:00
Uwe Stöhr
b2ac47f5e7 UserGuide.lyx: fix a typo spotted on the docs list 2012-10-08 01:24:40 +02:00
Enrico Forestieri
9604bf38e5 Update it.po 2012-10-07 23:16:11 +02:00
Jean-Marc Lasgouttes
cd436fb0d9 Fix "make dist". 2012-10-07 22:46:41 +02:00
Jean-Marc Lasgouttes
9bc027d961 Fix make check target
A dummy getGuiMessages function was missing. Instead of adding it everywhere, a new file is created that contains all the dummy functions needed by the tests.
2012-10-07 22:26:28 +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
Kornel Benko
64d18f5cae * sk.po 2012-10-07 16:40:56 +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
fcfa044614 Restore buffer parenthood if we exit already after the preamble 2012-10-06 09:31:56 +02: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
Juergen Spitzmueller
64e68defcc Ronen's patch for lfun language set
This adds an optional 'set' argument to the language lfun and reintroduces toggling.

Additions by me reintroduce the possibility to reset to the document language via 'language reset' or just 'language'
(cherry picked from commit e3e6befc54)
2012-10-03 16:36:05 +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
Kornel Benko
4e6b5c6837 * sk.po 2012-09-28 16:33:31 +02:00
Juergen Spitzmueller
863e0a0bc9 de.po: update 2012-09-28 16:08:58 +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
Enrico Forestieri
ca511f6e43 Update it.po 2012-09-26 23:00:27 +02:00
Juergen Spitzmueller
0889eb79f5 de.po: update 2012-09-24 18:22:30 +02:00
Kornel Benko
5ab9b5736d * sk.po 2012-09-24 18:13:12 +02:00
Jean-Marc Lasgouttes
4f153b007e status.20x entry for commit [2512e1f085/lyxgit] 2012-09-24 16:31:38 +02:00
Stephan Witt
8169347ada Fix bug #8349: Cannot compile 2.0.x: unresolved external symbol
correct Messages class implementation for non-NLS
2012-09-24 16:11:45 +02:00
Jean-Marc Lasgouttes
a602f21dc4 Merge branch '2.0.x' of git.lyx.org:lyx into 2.0.x 2012-09-24 16:01:29 +02:00
Uwe Stöhr
0ea19442c8 UserGuide.lyx: mention new feature "spell check of current selection"
the new feature: re35d7a0f
2012-09-24 01:41:06 +02:00
Stephan Witt
e35d7a0f9b Implementation of spell check of current selection (bug #2511). 2012-09-21 23:21:41 +02:00
Richard Heck
022901d300 Remerge strings. 2012-09-20 19:18:31 -04:00
Richard Heck
2004073522 Forgotten status for earlier commit. 2012-09-20 19:17:37 -04:00
Kornel Benko
d9fb85e9f3 Merge branch '2.0.x' of git.lyx.org:lyx into 2.0.x 2012-09-20 16:47:54 +02:00
Kornel Benko
9cdd4d69f5 * sk.po 2012-09-20 16:42:27 +02:00
Juergen Spitzmueller
0ee3c292b0 Follow Lars' advice
(cherry picked from commit e2173f14ec)
2012-09-20 16:26:31 +02:00
Juergen Spitzmueller
ecf6ff6c87 de.po: update 2012-09-20 16:13:45 +02:00
Juergen Spitzmueller
f309b3531a Merge branch '2.0.x' of git.lyx.org:lyx into 2.0.x 2012-09-20 16:02:44 +02: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
Kornel Benko
b8fc1d5b6c * sk.po 2012-09-20 15:54:06 +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
Pavel Sanda
17177aaf3f Simplify translation string. 2012-09-20 13:34:47 +02:00
Richard Heck
743801ff71 Backport fix for bug #8278.
Cherry picked from
	2375982f7e
	166deba79b
2012-09-19 21:21:33 -04:00
Pavel Sanda
b3efc9a349 * cs.po 2012-09-20 00:49:26 +02:00
Pavel Sanda
c42d9fa9c9 Remerge cs.po 2012-09-20 00:48:43 +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
Juergen Spitzmueller
991af81588 Clarify the logic of fragmental file name checking
No change in functionality.
(cherry picked from commit ba792c4d35)
2012-09-17 10:31:02 +02:00
Jean-Marc Lasgouttes
2512e1f085 Tracking correctly available translations (take 2)
The previous scheme of loading all possible translations and checking
whether the work is a bit too much "brute force" and causes problems
on Mac OS X (documents loaded with the wrong language).

Now there is an helper static method in Messages class that checks
whether a readable .mo file exist for the language. There should be an
API in gettext for doing that, but alas it is not possible.

As a consequence the method Language::translated() has been removed,
along with its cache.
2012-09-12 10:20:05 +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