Commit Graph

358 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
f98bb89227 Better support for (Lua|Xe)TeX files in tex2lyx
When one of the packages specific to these engines are used in the TeX file:
* set default encoding to utf-8
* set \use_non_tex_fonts to true

This is a hand-made backport of svn commit r40765.
2012-03-26 16:10:31 +02:00
Juergen Spitzmueller
0ee5c1919a Beamer supports \subsubsection. Add to layout. 2012-03-26 12:33:37 +02:00
Enrico Forestieri
ae06825513 status.20x for last commit.
I first used cherry-pick, then tried to modify status.20x but there
was no way I found to proceed from there. So, to be able to come
out form this situation I reverted the changes to status.20x,
pushed the cherry-picked revision and then committed the changes
to status.20x.

Let me say that git is way too much complicated to be really useful.
2012-03-25 15:49:10 +02:00
Vincent van Ravesteijn
87d97322ef Fix more possible crashes due to asInsetRef()
InsetMathHull has no method asInsetRef() and returns therefore 0.

See also 5bd68605.
2012-03-24 11:12:42 +01:00
Richard Heck
5bd68605df Backport fix for bug #8095.
The crash was due to the otherwise innocent looking 07924ac300. The cast
Vincent replaced was already wrong---it seems to have been a thinko in
7bbd67eb2679---but it worked kind of by accident before. Now it crashes.
2012-03-23 14:43:41 -04:00
Uwe Stöhr
6f5ea2ae47 GuiTabular.cpp: fix bug #8092 also for branch 2012-03-21 21:50:34 +01:00
Vincent van Ravesteijn
3c78445234 Remove duplicated entry from status.20x 2012-03-19 19:29:38 +01:00
Vincent van Ravesteijn
cddd90dfdf Fix bug #8083: Fix the selection of cells below multirows
Multirows were introduced in 8bb69f24 (Uwe Stoehr, 11 Feb 2010). In the
computation of the nearest cell, it was forgotten to account for the
vertical offset. tabular.cellHeight is the full height of the cell, while
the point that comes from the coordCache is offsetted by VOffset.
Therefore, we have to subtract the VOffset from o.y_.
2012-03-19 19:29:37 +01:00
Vincent van Ravesteijn
b754fb0253 Clear the error list from previous errors
We only copied the error list to the cloned buffer when makeLatexfile
failed. This means that a second try will never clear the error list and
the user will be presented the same list again.

Therefore, we unconditionally copy the error list such that we also clear
the list on success.
2012-03-19 19:29:36 +01:00
Juergen Spitzmueller
f50edc8673 Fix bug #8069: View/Update other formats button disabled with non-TeX fonts 2012-03-16 15:53:45 +01:00
Uwe Stöhr
7d200f302d GuiTabular.cpp: fix bug #8084 2012-03-15 02:29:47 +01:00
uwestoehr
0bfe15d969 status.20x: some cosmetics as test commit 2012-03-15 00:26:59 +01:00
Richard Heck
26868fc04e Minor updates to status.20x. 2012-03-13 17:13:36 -04:00
Enrico Forestieri
b067c04309 Fix bug #8032 (timeout when using the Sweave module)
After the timeout elapses, the user is notified that a command is taking
a long time to complete and is given the choice to stop it. If the user
decides to let the command run, the timeout is increased, otherwise the
command is killed. One is prompted a first time after 3 mins, a second
time after 9 mins, a third time after 27 mins, and so on, i.e., the n-th
prompt occurs after 3^n minutes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40881 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-07 00:26:17 +00:00
Enrico Forestieri
b7cc97e2d0 Since version 1.9 SumatraPDF supports forward search without DDE commands.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40879 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-06 23:30:23 +00:00
Richard Heck
dc7fd33b84 Backport JMarc's fix for bug #6367.
* Undo.cpp:
 - rename cur member of UndoElement to cur_before
 - add new member cur_after, which is set by Undo::endUndoGroup
 - create a new Undo::endUndoGroup variant that takes a Cursor as parameter. We cannot get rid of the old one because it is used for LFUN_COMMAND_SEQUENCE.
* Cursor.cpp:
 - use endUndoGroup(Dociterator const &) for dispatch
 - update Cursor::endUndoGroup to pass cursor.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40876 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-06 23:12:36 +00:00
Enrico Forestieri
8c24088b79 On Windows, properly account for the encoding of the temporary directory.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40875 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-06 21:24:04 +00:00
Richard Heck
8d3e242755 Backport fix for #7997.
The View->Source pane resets the format every time you click into
a new paragraph, which is very annoying. This commit fixes this bug.

If anyone has a better idea, please let me know. I posted to devel
about it but got no response.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40864 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-05 22:51:53 +00:00
Richard Heck
922726faae Backport fix for #7916.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40863 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-05 22:38:21 +00:00
Richard Heck
1b74e82b9c Add option to view only preamble when viewing source.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40862 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-05 22:36:27 +00:00
Richard Heck
ec5a0965d3 Backport fix for #7787.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40861 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-05 22:30:19 +00:00
Uwe Stöhr
e377fa3168 EmbeddedObjects.lyx: description how to color every second table row
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40855 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-04 23:54:31 +00:00
Vincent van Ravesteijn
436ab3a2c2 branch: Fix handling of the add branch textfield in GuiBranches
- Enter in the textfield adds the branch,
- Make sure the dialog is not closed when pressing enter, 
- Pressing Ctrl+Enter or the Enter on the numpad closes the dialog.

Patch based on a patch from Scott Kostyshak.

see r40839.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40847 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-03 15:55:00 +00:00
Vincent van Ravesteijn
9a5c01acb8 branch: GuiCitation: Do not allow to add entries by pressing Enter when the Add button is disabled.
see r40835.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40846 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-03 15:52:21 +00:00
Uwe Stöhr
433539cdac ia.po: updates by Giovanni
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40838 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-03 13:13:58 +00:00
Uwe Stöhr
91e11aff96 iop-article.lyx: add some important info to avoid compilation errors and improve the template a bit (thanks to MaX Funk for the hints)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40836 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-03 12:39:57 +00:00
Uwe Stöhr
db3152a3e0 modernCV.lyx: fix #8064 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40833 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-02 23:43:58 +00:00
Jürgen Spitzmüller
d2b87f4706 Work around qt bug that prevents the glyph LATIN CAPITAL LETTER SHARP S from being pasted (bug #8057).
Backport of r40829.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40831 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-02 14:59:53 +00:00
Uwe Stöhr
d5aa03bfd0 status.20x: entry for the knitr fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40819 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-29 23:44:05 +00:00
Pavel Sanda
435dce17c0 Backport graphics tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40812 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-29 18:54:26 +00:00
Georg Baum
4b77821d96 backport r40804
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40806 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-28 20:46:20 +00:00
Georg Baum
fbe35a1178 back to svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40805 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-28 20:43:35 +00:00
Enrico Forestieri
6a9c9f620b Call lyxpak.py using the original (not mangled) document file name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40774 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-18 14:00:41 +00:00
Uwe Stöhr
93bc78ca47 ja.po: updates from Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40748 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-14 21:04:25 +00:00
Uwe Stöhr
638545859c es.po: translations by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40747 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-13 23:18:58 +00:00
Uwe Stöhr
fedac425c2 sweave.lyx: completely revised example file by Yihui Xie
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40743 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 23:54:02 +00:00
Uwe Stöhr
defe1e1b94 thesis files: translate some German strings to English and fix some typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40736 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 14:57:29 +00:00
Uwe Stöhr
5ce0c1330b thesis files: Fixed preamble code for automatic reference naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40735 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 14:46:23 +00:00
Uwe Stöhr
026b02e212 - EmbeddedObjects.lyx: correct the description of Automatic Reference Naming
- Math.lyx: correct the preamble accordingly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40730 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 01:50:21 +00:00
Uwe Stöhr
3e8160059d nn.po: updates by Ingar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40727 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-11 18:15:36 +00:00
Uwe Stöhr
c0a51ef18d - status.20x: add missing updated languages
- fr.po: updates from Jean-Pierre

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40724 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-11 15:48:50 +00:00
Jean-Marc Lasgouttes
8e753e006d addendum to backport r40703 (fix #8019)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40707 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-03 17:32:13 +00:00
Jean-Marc Lasgouttes
24cd11aa70 backport r40703 (fix #8019)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40706 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-03 17:30:21 +00:00
Jürgen Spitzmüller
10e3be13fc status.20x: Fix glitches introduced with r40704.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40705 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-03 06:10:14 +00:00
Jean-Marc Lasgouttes
b0721c5c2f backport 40700
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40704 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-02 22:39:26 +00:00
Georg Baum
4e0c2910e1 Backport the safe part of r40694 to fix bug #7998.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40698 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-01 21:03:04 +00:00
Jürgen Spitzmüller
29f9a3094b Fix bug #8013: updateDefaultFormat() checks the osFontsCB state, so the fonts UI needs to be set in advance of the output UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40696 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-01 06:33:51 +00:00
Richard Heck
8adc4095f1 Updates from Yuri for Ukrainian localization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40692 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-31 18:10:53 +00:00
Jean-Marc Lasgouttes
881d6bc268 backport support for knitr
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40684 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-28 10:50:12 +00:00
Vincent van Ravesteijn
8016aebdf1 branch: Fix bug #7644: Crash when copying table column or row
see r40656.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40683 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-27 21:44:30 +00:00