Commit Graph

19788 Commits

Author SHA1 Message Date
Uwe Stöhr
fd2ff50b69 tex2lyx: support for pdfpages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40370 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-05 01:12:41 +00:00
Georg Baum
159875f201 Mass backport tex2lyx bug fixes.
tex2lyx is no identical with the version in trunk (except for cosmetic changes
and file formats > 413).
The output of the test cases is either unchanged or improved.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40364 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-04 16:16:32 +00:00
Richard Heck
0b945c43ed Simple fix for #7673. We need to update the Buffer before we emit
the changed() signal.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40353 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-03 22:43:12 +00:00
Richard Heck
9f61659c00 Backport fix for #7872.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40335 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-02 21:30:40 +00:00
Richard Heck
fdd31a75a5 Fix crash when outputting XHTML. Not resetting the paragraphs
was an oversight here. (This was r40068 in trunk, but never got
to branch for some reason.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40330 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-02 19:19:16 +00:00
Jean-Marc Lasgouttes
d45fdbc3c6 Fix linking on Mac OS X when using autotools without the fancy mac build script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40322 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-30 11:19:57 +00:00
Richard Heck
6a2083cedf Backport fix for bug #7906.
Check the widgets after creating the dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40312 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-29 20:00:28 +00:00
Richard Heck
936cee5b9f Fix bug #7709. Seems we need to reset the source model here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40310 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-29 19:54:48 +00:00
Richard Heck
5d8a291767 Kill warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40308 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-29 19:45:32 +00:00
Richard Heck
d7799bb5cc Fix bug #7499. The problem here is that there was no way for the
inset to know that the BibTeX data had changed. So we introduce a
Buffer-wide variable that we can query for that information.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40307 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-29 19:45:27 +00:00
Richard Heck
b367640290 Backport fix for bug #7905. We don't want to move out of the inset unless
we've put something into it. (We also don't need to copy an empty string
into it.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40242 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-22 18:49:59 +00:00
Richard Heck
bd826dae67 New attempt to fix Pavel's crash, this modifies r40206.
The global list of cloned buffers was a bad idea. We don't have multiple
export threads, but we can have multiple autosave threads. So now we keep
more than one of these lists at the same time, and each cloned buffer has
a pointer to the relevant list. Note that this would make multiple export
possible, if we wanted to do that at some time.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40229 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-20 18:56:36 +00:00
Richard Heck
2e21676cb2 Backport fix for bug #7873.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40213 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-18 21:37:03 +00:00
Richard Heck
f01103ec22 Backport fix for crash reported by Pavel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40206 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-17 18:06:06 +00:00
Georg Baum
b6eb513d94 Fix bug #7895: Do not output lines with only a single space.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40194 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-14 21:04:00 +00:00
Georg Baum
044565f535 Fix bug #7663: Misparsing of description \item with spaces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40183 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 10:43:30 +00:00
Georg Baum
b79cde1dfd Fix "stray '}' in text" warnings: When parsing with FLAG_ITEM the braces need
to occur in pairs.
If you change something in tex2lyx please don't commit without running the
tests and ensuring that no warnings or errors are written on stderr.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40178 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-12 18:43:13 +00:00
Uwe Stöhr
ec3b686f8e backporting tex2lyx:
- support for \makebox
- fix import of boxes without an inner box (the on-screen display was broken because of wrong default width setting)
- fix parsing of \framebox{content}, which LyX does not support yet - we have to use ERT

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40157 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-07 21:57:49 +00:00
Georg Baum
f3a833ca7e Import optional argument of tabular (vertical alignment)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40148 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-06 18:56:26 +00:00
Georg Baum
191b561026 Must not output anything between p.pushPosition() and p.popPosition().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40142 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-06 17:34:42 +00:00
Uwe Stöhr
14ee3de872 backporting tex2lyx: fix remaining part of bug #7846 (no status entry necessary)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40138 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-06 15:22:00 +00:00
Uwe Stöhr
2c0c8fc41f backporting tex2lyx: fix bug #7843
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40137 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-06 15:15:13 +00:00
Richard Heck
f78ada8345 Fix bug reported on user list: <title> not escaped.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40132 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-02 18:57:14 +00:00
Uwe Stöhr
120d030a89 backporting tex2lyx: fix bug #7863
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40109 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-31 01:58:58 +00:00
Enrico Forestieri
3f691d1f55 Fix bug #7800 (Lyx cannot create dvi with Russian)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40107 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-30 22:40:03 +00:00
Richard Heck
61e539a488 Backport fix for #7764: Sort the file lists under
Document>Settings>Output.

It turns out that we always want this list to be sorted when we get it,
so we can sort it in BufferParams rather than in three different places.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40102 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-30 20:07:46 +00:00
Richard Heck
8416cc3307 Backport fix for #7764.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40098 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-30 19:48:17 +00:00
Uwe Stöhr
75ade33280 backporting tex2lyx: fix bug #7862
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40072 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-29 20:34:31 +00:00
Uwe Stöhr
38a6341d1c backporting tex2lyx: the support for subfloats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40070 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-29 20:26:50 +00:00
Uwe Stöhr
25ea525d9b backporting tex2lyx: the support for wrap floats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40055 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-28 18:28:28 +00:00
Uwe Stöhr
57a0b232fd backporting tex2lyx: the support for \date{} in the preamble
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40054 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-28 18:00:56 +00:00
Uwe Stöhr
62486d95e3 tex2lyx/preamble.cpp: prevent bug #7858 (that I accidentally introduced in r39988) and this way fix bug #7861 as side-effect
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40051 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-28 12:46:53 +00:00
Jürgen Spitzmüller
65ce2748eb Fix #7816: Edit->Table incorrectly activated inside index entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40046 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-28 06:33:39 +00:00
Vincent van Ravesteijn
3c8f3c934d branch: Fix a crash in adv F&R when a manual could not be loaded
see r40027.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40039 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-27 13:58:53 +00:00
Uwe Stöhr
11e727b977 backporting tex2lyx: forgot this in r40036
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40038 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-27 13:17:40 +00:00
Uwe Stöhr
0041e6e301 backporting tex2lyx: updates testfile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40037 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-27 13:14:32 +00:00
Uwe Stöhr
5fc564c469 backporting tex2lyx: the support for rotated floats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40036 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-27 13:13:43 +00:00
Uwe Stöhr
04eb1d59a2 backporting tex2lyx: the support for \href
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40033 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-27 12:49:29 +00:00
Uwe Stöhr
8472702349 backporting tex2lyx: some simplifications
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40032 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-27 12:43:07 +00:00
Stephan Witt
7de601b63e #7778 backport of fix in trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40026 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-27 09:05:55 +00:00
Uwe Stöhr
7439464374 backporting tex2lyx: the support for strike out and underlined (by Georg)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40022 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 21:47:27 +00:00
Uwe Stöhr
0c684343a7 backporting tex2lyx: the example files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40021 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 21:43:08 +00:00
Vincent van Ravesteijn
84e3817673 branch: Fix bug #7793: LyX leaves behind autosave files
The LyX buffer is cloned before autosaving, but the unnamed_ member was not
copied. This causes the autosave files to end up in the wrong location and
consequently they were never removed afterwards.

see r40008.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40018 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 19:50:33 +00:00
Uwe Stöhr
af227ddd8b backport fix for bug #7851
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40017 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 19:32:33 +00:00
Richard Heck
a2705e1474 Backporting fix for #3821.
Allow insertStringAs* to reset the cursor.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40015 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 16:02:30 +00:00
Uwe Stöhr
9ed2296196 tex2lyx/text.cpp: fix 2 typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40011 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 13:37:11 +00:00
Vincent van Ravesteijn
93ba21cd5a branch: Make the scrolling for large insets more naturally (bug #7662)
The patch fixes a case that I had forgotten. Namely, the case that when the height of a row was larger than the height of the screen and that the cursor is already visible. That's why I added a new if case to catch all situations in which the row height is larger than the height of the screen. If we then need scrolling we scroll to height/4 and 3*height/4. In the end, the height_/4 and 3*height_/4 should be replaced by the rowheights in the inset, but we need some extra infrastructure for that.

see r39697.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40010 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 13:35:49 +00:00
Vincent van Ravesteijn
269e688857 branch: Fix bug #7662: Incorrect scrolling for rows with larger ascent.
- After introducing the displayed vertical alignment for tables, we met for the first time situations in which row.ascent is very large. To make sure the scrolling still works, we have to do the same as we did for rows with a large descent.
- change row.ascent into defaultRowHeight. Before the above mentioned change, row.ascent usually was approximately the same as defaultRowHeight (by chance). However, it is now clear we don't really want row.ascent here.

see r39486.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40009 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 13:35:47 +00:00
Uwe Stöhr
535867bb5f backporting tex2lyx: update the TODO file to what is already supported in branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40001 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 02:18:06 +00:00
Uwe Stöhr
dd87ea4a99 backport bug #7853
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40000 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-26 02:03:33 +00:00