Commit Graph

19363 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
cc00b9aaca Fix bug #5600: View source panel isn't updating after restart.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37096 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-04 00:00:20 +00:00
Vincent van Ravesteijn
0faafa47bf Fix bug #5082: Outline visibility not remembered.
When a document with a InsetTOC was closed, the outline was closed. But this shouldn't happen because editedInset("toc") does never return something.

The reason that this happened was that if currentBufferView() is 0, we don't even care wehther inset was specified. If inset is specified, it should match the editedInset.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37094 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 23:23:09 +00:00
Vincent van Ravesteijn
dc6b4a332a Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37093 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 21:38:19 +00:00
Vincent van Ravesteijn
a7c135b9e1 Fix bug #7096: Wrong LaTeX export for layouts with intitle=true in branches.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37092 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 21:23:38 +00:00
Vincent van Ravesteijn
996b707a6f Fix bug #7125: Insertion of a math macro cannot be undone.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37088 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 20:39:14 +00:00
Vincent van Ravesteijn
d23120b3ba Fix bug 7137: Main WA disappears on wrap-around dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37085 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 20:04:03 +00:00
Vincent van Ravesteijn
a1f8d221c8 Fix part 3 of bug #7182: LyX truncates file names to about 25 chars.
Now, when hovering the tabs, the longer name is shown as a tooltip.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37084 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 18:50:37 +00:00
Vincent van Ravesteijn
4579492569 Fix part 2 of bug #7182: LyX truncates file names to about 25 chars.
Now, when hovering the lastfiles menu, the full file names are shown in the statusbar.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37083 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 18:44:52 +00:00
Jürgen Spitzmüller
f7334ebfdb Fix UI glitch in the prefs dialog (bug 7190).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37081 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 17:21:22 +00:00
Vincent van Ravesteijn
02fb4a784e Fix bug #7099: Fix bug #7099: Math toolbars don't autoshow.
When applying the preference we need to save the full session information, because when this information is not yet saved, we will lose it forever. We can enter the preferences without a saved state when we start LyX with a modified default.ui.

see also: r37075 and r37076.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37077 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 16:49:15 +00:00
Vincent van Ravesteijn
46d7462ea7 This comment introduced in r37075 was wrong. We should never end up here!
However, it cannot hurt to warn the user and fall back to the defaults in case.

The real cause of bug #7099 is something else (which I will fix soon).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37076 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 15:56:27 +00:00
Vincent van Ravesteijn
94ede89c57 Fix bug #7099: Math toolbars don't autoshow.
In GuiApplication::readUIFile() the settings for views gets removed if the ui file is newer than the saved timestamp in the settings. Later the non existing settings will be used to initialize the visibility. The default value for a non existing setting is 0. The visibility_ variable does never get changed afterwards. And therefore
we will again write 0 to the registry.

We should have read the ui file instead when we can't find the registry value.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37075 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 14:39:41 +00:00
Vincent van Ravesteijn
3ac28c69e8 Fix bug #7050: Assert when using DecimalAlignment in tables.
The problem is/was that when copying an InsetTableCell?, the macrocontext_position_ and the buffer_ were not copied. That's why in InsetTabular?@splitCell@521 and in InsetTabular::TeXRow() and in InsetTabular::metrics we manually copy this into the new object.

However, splitCell() returns the object by-value. So, when we call

InsetTableCell tail = splitCell(head, column_info[c].decimal_point, hassep);

the new object is copied into tail and we lose the buffer_ and macro_contextposition. Later we will crash.

What does *nix in this case ? Apparently they don't make buffer and/or macro_contextposition 0.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37072 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 14:12:53 +00:00
Vincent van Ravesteijn
6e53e4e5d3 Remove unused member variable GuiToolbar::name_.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37070 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 12:39:56 +00:00
Vincent van Ravesteijn
9b1b65665d Fix another instance of "visibility >= MATH". This was forgotten in r37068.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37069 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 12:14:44 +00:00
Vincent van Ravesteijn
e38c604887 Remove GuiToolbar::allowauto_ and define this property in the Toolbars.h::Visibility enum.
Now, there is the bug that autoallow is incorrectly set to true when visibility_ has the Visibility::SAMEROW flag. One shouldn't use >= on an enum (GuiToolbar::setVisibility), as newly added items will exhibit unexpected behaviour.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37068 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-03 11:42:01 +00:00
Georg Baum
8b2ea705df Fix wrong setting of bibinset options if \cite{*} was found.
Improve heuristic for outputting \bibliographystyle: Now it is suppressed
if \bibliography follows immediately, since LyX adds it automatically in that
case.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37066 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-02 18:16:23 +00:00
Georg Baum
5c53dcf88f tex2lyx: Do not swallow a user defined \parindent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37065 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-02 16:54:58 +00:00
Georg Baum
812c27d793 Improve tex2lyx roundtrip of test-insets.tex:
- Replace special verbatim commands by standard LaTeX, since it would be
  extremely difficult to make tex2lyx understand them)
- Comment duplicated \bibliography{xampl}, since LaTeX cannot handle two
  \bibliography calls
- Fix a regression with spaces after commands, introduced in r36943
- Parse \multicolumn with space/comments between two arguments correctly
- Parse optional arguments correctly if there are space or comments between
  the command and the argument
- Remove duplicate "LyX" phrase handling (I overlooked that in r37052)
- Add new commands created with \let to the list of known commands. This is
  needed to parse the arguments correctly


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37064 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-02 15:39:48 +00:00
Vincent van Ravesteijn
a3a7c046be Fix bug #7200: Crash when replacing newline by InsetQuote.
We have to call cap::replaceSelection before determining whether we can insert an InsetQuote or a normal quote.

At least we should have updated the par variable after calling cap::replaceSelection, because the paragraph might have been deleted.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37063 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-02 12:07:33 +00:00
Stephan Witt
8d5acc2235 #7201 return "correct" wrong spelled word when before a dot - exclude the dot from spell checker result
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37062 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-02 11:31:28 +00:00
Enrico Forestieri
9687f9beb6 Correctly show in italic shape the uppercase greek letters inserted in
a \mathit inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37060 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-01 19:24:16 +00:00
Enrico Forestieri
36ee8cdd52 Revert r36465 and r36467. Soon to be replaced by proper code for correctly
show on screen italic uppercase greek letters.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37059 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-01 19:19:32 +00:00
Tommaso Cucinotta
dbb3f12aa5 Also copying the document language to the find/replace WA cursors' current language. This avoids typing in the replace WA results in underscored text while editing non-English documents.
This addresses (and hopefully closes) #6171.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37058 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-31 15:07:03 +00:00
Tommaso Cucinotta
426c5671d5 Copy document params (including language settings) to find and replace WAs buffers on activation of Advanced Search.
This hopefully fixes #6171, i.e., when copying from main document with non-English language to find/replace WAs,
the pasted text is not underlined anymore.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37057 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-31 14:35:16 +00:00
Georg Baum
ef10797f59 Also prevent replacement of LyX => \LyX{} if it is part of a word.
The automatic replacement in LyX is pretty broken (see bug 4752).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37055 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-31 11:59:33 +00:00
Georg Baum
bce18bacfc partial man page update (it is still horribly outdated)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37054 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-31 11:57:25 +00:00
Uwe Stöhr
73cdd2547e tex2lyx/preamble.cpp: support for
- polytonic Greek
- Mongolian
- Mexican Spanish

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37053 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-31 07:31:59 +00:00
Georg Baum
3403727940 Translate "\LyX{}" and "LyX" correctly in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37052 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-30 21:56:55 +00:00
Georg Baum
05bd78904a Fix translation of \pagebreak and \linebreak with optional arguments.
Please don't add new features to tex2lyx without testing.
In this case, the test case was even provided in test-insets.tex.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37051 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-30 21:03:36 +00:00
Georg Baum
d6ccb86f15 fix translation of \nobreakdash in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37050 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-30 20:38:47 +00:00
Georg Baum
90f795a29e Add -roundtrip argument to tex2lyx for tex->lyx->tex roundtrip testing.
The reasons for doing this in tex2lyx instead of an external script are:
- Correct choice of latex/pdflatex export
- Using the correct LyX executable regardless of running inplace or from an
  installation, or with or without version suffix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37049 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-30 20:29:33 +00:00
Tommaso Cucinotta
22d245312a Addressing #6560.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37048 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-30 17:59:59 +00:00
Tommaso Cucinotta
fa0e638b95 Fix of #4388 also for non advanced find.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37047 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-30 15:34:09 +00:00
Stephan Witt
fca5a8ce2a fix typo: double semicolon at line end of code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37044 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 21:34:33 +00:00
Tommaso Cucinotta
fab8c264aa Applying (variation of) fix by stwitt to solve #7172.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37043 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 19:59:41 +00:00
Jürgen Spitzmüller
0a34b1e047 fix some typos. Patch by Yuri Chornoivan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37039 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 16:57:04 +00:00
Jürgen Spitzmüller
a2b087e75f * GuiPrefs.{cpp,h}:
- update screen font sizes in dialog after prefs change, since the localization of float values might have changed.
	  (fixes bug 6771).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37035 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 13:50:22 +00:00
Vincent van Ravesteijn
693bdf8447 Fix bug #7198: Assertion when calling inset-modify for a InsetSpace with a different argument than "space"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37032 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 06:00:22 +00:00
Vincent van Ravesteijn
fbd84bc185 Add some extra information about bug #3684.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37031 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 05:50:50 +00:00
Vincent van Ravesteijn
1f5c77ec65 Fix bug #7187: Font painting problems with emulated scaling.
When creating the QFontMetrics object, we should specify a QPaintDevice. 0 is a paint device which is screen-compatible or pixmap-compatible. This makes sure that the correct DPI is used in font metrics calculations.

see also:
http://bugreports.qt.nokia.com/browse/QTBUG-16331.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37030 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-29 05:35:03 +00:00
Enrico Forestieri
432e32cd3a lyx_pot.py cannot deal with raw newlines in ui files. So, use the
html entity "
" and then transform it to "\n".


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37026 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-28 23:29:51 +00:00
Enrico Forestieri
c203112890 Fix bug #7194 (Crash closing master while child documents are opened)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37021 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-28 15:47:05 +00:00
Stephan Witt
29d849f251 more careful check for mathed to normal text change and vice versa for correct display of misspelled markers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37020 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-28 13:20:20 +00:00
Stephan Witt
ef1561665c revert change 37018 for PersonalWordList.cpp, commiting it was a mistake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37019 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-27 22:05:37 +00:00
Stephan Witt
6be43c24f4 fix a crash when moving cursor from text to a math inset with spellcheck_continuously on
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37018 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-27 21:59:17 +00:00
Georg Baum
3cdb7d3062 fix parsing of test document
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37017 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-27 21:12:40 +00:00
Georg Baum
84be0a0db4 fix parsing of \let: tex2lyx must not enclose the arguments with {}.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37016 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-27 20:15:24 +00:00
Georg Baum
8f037c8e91 Increase tex2lyx output format to 345 (LyX 1.6.x).
344: Remove pdf_pagebackref header flag
345: Nothing to do (this is a docbook-only change)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37015 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-27 18:19:19 +00:00
Georg Baum
32d435e150 Increase tex2lyx output format to 343.
343: Write the use_default_options header flag


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37014 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-27 18:16:22 +00:00
Georg Baum
4a54c581a2 Increase tex2lyx output format to 342.
335:     Create space inset in new syntax
336:     Nothing to do (empty lyx2lyx conversion)
337:     Nothing to do (tex2lyx does use the display flag)
338-339: Nothing to do (empty lyx2lyx conversion)
340:     Nothing to do (tex2lyx does not output empty layout names)
341-342: Nothing to do (empty lyx2lyx conversion)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37013 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-27 18:14:55 +00:00
Georg Baum
5247a0ed1c Increase tex2lyx output format to 334.
331:     Set the caption flag for longtable caption rows
332:     Nothing to do (empty lyx2lyx conversion)
333:     Nothing to do (tex2lyx did already use the new style names because it
         uses the current layout files)
334:     Nothing to do (tex2lyx did already produce the new format, since it
         used the LaTeX paper names also in the output and did not suffer from
	 bug 4868)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37012 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-27 18:10:23 +00:00
Georg Baum
6da25359f0 Increase tex2lyx output format to 330.
324:     Create newline inset in new syntax
325:     Nothing to do (tex2lyx does not support the japanese language)
326-327: Nothing to do (empty lyx2lyx conversion)
328:     Nothing to do (tex2lyx did never support embedding of files)
329-330: Nothing to do (empty lyx2lyx conversion)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37011 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-27 18:03:26 +00:00
Georg Baum
6639d78601 Increase tex2lyx output format to 323.
323: Create newpage inset in new syntax


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37010 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-27 17:58:36 +00:00
Georg Baum
e4efa00f8c Increase tex2lyx output format to 322.
321: Move leftlines/rightlines from column headers to cells
322: Nothing to do (tex2lyx does not produce plain layouts)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37009 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-27 17:56:48 +00:00
Pavel Sanda
eeeb14915a Change message, section number can easily change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37003 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-26 23:42:22 +00:00
Pavel Sanda
285a41066b Whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37001 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-26 23:33:28 +00:00
Pavel Sanda
d4c52f54e1 Kill unneeded string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37000 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-26 23:33:27 +00:00
Pavel Sanda
80570c5b8e Resave spellcheck ui in older designer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36999 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-26 23:33:23 +00:00
Pavel Sanda
705ba90d7b Make outliner delays again more invisible in some cases.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36997 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-26 23:23:48 +00:00
Stephan Witt
a5b960cdd2 cheaper empty range for getRange result on mismatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36991 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-22 17:09:51 +00:00
Stephan Witt
fab1507221 fix for #7081: the painting of misspelled marker is suppressed for the word at cursor position
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36990 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-22 07:29:16 +00:00
Richard Heck
1f44b8a5c0 Mini-optimization: We do not need really long tooltips for the TOC.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36989 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-22 01:29:17 +00:00
Richard Heck
4aead1ffde Improve the wrapParas routine. Previously, we had "..." as the last
line, if we were too big. Now, we put "..." at the end of the last line.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36988 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-22 01:28:32 +00:00
Enrico Forestieri
4e8cc18554 Fix bug #7193 (Math macro template painting problem)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36987 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-22 00:16:51 +00:00
Stephan Witt
ab9de435b4 fix typo: double semicolon at line end of code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36985 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-21 15:28:55 +00:00
Enrico Forestieri
89c1d25250 Avoid const casts by making mutable the usermacros member.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36984 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-21 14:52:18 +00:00
Stephan Witt
12cc8a301d correct a cut-and-paste typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36983 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-21 11:55:31 +00:00
Jean-Marc Lasgouttes
12cd531f66 somehow I forgot that in r36772
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36980 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-21 08:45:48 +00:00
Richard Heck
a2111a1c50 Simplify InsetRef::forToc().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36978 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 22:47:09 +00:00
Richard Heck
2b39534042 Greyed out notes do produce output, which means that their counters need
to be treated as part of the document. For example, the footnote numbers
in LyX are wrong prior to this patch.

This will also affect word and character count, but should not affect
anything else. If that seems wrong, we can either (a) explicitly exclude
notes from the word count or else (b) introduce 
  bool countWordsInInset() const;
and call that, instead.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36976 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 22:33:12 +00:00
Richard Heck
68aa0b5b91 Add comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36975 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 22:29:41 +00:00
Richard Heck
9e9c96035c Finish disentangling tocString(). We introduce a new method, forToc(),
that also makes sure it doesn't do more work than it needs to do, by
limiting the size to 40 characters. Previously, InsetBranch::addToToc()
would have added a string representing the entire contents of the
branch! It's hard to imagine that having to recalculate that sort of
thing doesn't cause some problems with speed, especially in documents
with lots of notes and branches and such.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36974 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 21:55:09 +00:00
Stephan Witt
ac86039473 non-system languages from cocoAspell are enumerated with long names - therefore a mapping from lang code to name is needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36973 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 21:45:41 +00:00
Georg Baum
94160f97c0 adjust xfig conversion to newer xfig as suggested by Jean-Pierre at
http://www.lyx.org/trac/ticket/3016#comment:6


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36972 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 21:35:08 +00:00
Georg Baum
77a8eb9288 fix bug #7189 (this worked originally, but after fixing protected \hfill I
forgot to recheck \hspace)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36971 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 20:45:18 +00:00
Stephan Witt
c95d441818 non-system languages from cocoAspell are enumerated with long names - therefore a mapping from lang code to name is needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36970 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 20:40:32 +00:00
Vincent van Ravesteijn
8adcffff0c Fix bug #7166: Insets that shouldn't appear in the TOC were included. From now on use AS_STR_INTOC as an option for Paragraph::asString() for insets that should not be included in the strings for the TOC, like IndexInset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36969 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 19:18:56 +00:00
Enrico Forestieri
8b88c3edde Refine fix for bug #7183.
Using updateMacros() entails a performance hit when loading a document
with really a lot of macros. So, revert to the original strategy of
tracking macros at creation time. In order to also account for macros
defined in a child document, the child is now loaded by the include inset
at construction time instead of after the master has finished loading.
This strategy mimics what updateMacros() was accomplishing without
incurring in its drawbacks, such that loading time is practically
unchanged even with a thousand macros.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36968 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 18:15:39 +00:00
Pavel Sanda
01677a6577 Unneeded quotes in ui title
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36966 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 14:31:38 +00:00
Stephan Witt
c12ab2f090 fix typo: duplicate semicolon at line end of code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36964 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 12:01:12 +00:00
Stephan Witt
3bb4d6559d little optimization: avoid a duplicate cursor get from buffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36963 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 07:10:05 +00:00
Uwe Stöhr
bea8c9ef8d tex2lyx/preamble.cpp: prerequisites for further language support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36962 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 03:34:00 +00:00
Uwe Stöhr
79f5a4a396 tex2lyx/text.cpp: support \nocite{*} (since format 310)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36961 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 02:47:58 +00:00
Uwe Stöhr
54cee82fb6 tex2lyx:
- support for \nocite (since format 309)
- add \nocite{*} option to testfile

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36960 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 02:08:22 +00:00
Uwe Stöhr
a0ff0a15cf tex2lyx/preamble.cpp: support Vietnamese (since format 291)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36959 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 01:47:34 +00:00
Uwe Stöhr
fd3bd1a06a tex2lyx/preamble.cpp: add some further missing things from r36947: support for Latin and North Sami
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36958 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 01:36:27 +00:00
Uwe Stöhr
3d75bdc035 tex2lyx/text.cpp: add some further missing things from r36947
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36957 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 01:29:48 +00:00
Uwe Stöhr
cc1710e943 tex2lyx/preamble.cpp: whitespace only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36956 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 01:14:18 +00:00
Uwe Stöhr
2385086972 tex2lyx/text.cpp: fix other missing issues from r36947
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36955 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 01:12:35 +00:00
Uwe Stöhr
3fa2875355 tex2lyx/preamble.cpp: add missing things from r36947
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36954 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 01:11:02 +00:00
Richard Heck
e328ed52c2 Squash warnings. The latter might matter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36953 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 00:57:16 +00:00
Pavel Sanda
121fdba366 Attempt to workaround movement and editation slowness.
If it turns out to be too annoying for other we can disable it again.
Hopefully fix #7138.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg164385.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36951 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-19 22:27:21 +00:00
Pavel Sanda
5007ee4dad Let filenames to be longer in window title.
Fixes first part of #7182


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36950 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-19 22:05:48 +00:00
Georg Baum
300cd0dedd Increase tex2lyx output format to 320.
320: Support protected hfill
Detect other horizontal spaces that are already part of format 319
Add forgotton use_parbox tag to boxes (confuses lyx2lyx, but no lyx)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36949 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-19 21:24:24 +00:00
Georg Baum
58fde18a9f Increase tex2lyx output format to 319.
311:     Nothing to do (tex2lyx produced already the new format, because it
         uses the current layout files. This is also a reason why it should
	 not lag behind too much with the format.)
312:     Nothing to do (empty lyx2lyx conversion)
313:     Nothing to do (tex2lyx does not know about modules)
314-315: Nothing to do (empty lyx2lyx conversion)
316:     Nothing to do (tex2lyx does not know subfigures)
317-318: Nothing to do (empty lyx2lyx conversion)
319:     Convert horizontal spaces to new format (and convert some newly
         supported spaces)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36948 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-19 20:23:55 +00:00
Georg Baum
d1be0d2af7 Increase tex2lyx output format to 310.
299-302: Nothing to do (empty lyx2lyx conversion)
303:     Nothing to do (tex2lyx did not use the serbocroation language)
304:     Convert framed and greyed out notes to box insets
305-310: Nothing to do (empty lyx2lyx conversion)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36947 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-19 19:29:07 +00:00
Georg Baum
2d5e1123d1 Increase tex2lyx output format to 298.
298: All math macros are exported with \\global to LaTeX now, so a \\global
     in front of a math macro has to be recognized. Since the math macros do
     no longer use the same syntax in .lyx and .tex (which is a mistake IMHO)
     an exact match is no longer possible except for \global\long\def.
Bugfix this time: \\providecommand was errornously recognized as math macro


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36946 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-19 19:21:53 +00:00
Georg Baum
ec22820cbf Increase tex2lyx output format to 297.
297: new name for upper sorbian language, new languages albanian and lower
sorbian (actually lower sorbias was (incorrectly) already recognized)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36945 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-19 15:21:01 +00:00
Georg Baum
ac85b252cb Increase tex2lyx output format to 296.
296: new syntax of include inset


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36944 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-19 15:08:35 +00:00
Georg Baum
93232c3ad6 Improve roundtrip of tex2lyx test documents:
- Make test-insets.tex and test-structure.tex compilable
- Avoid duplicate definition of \lyxarrow in test-insets.lyx
- Prevent subscript package from being ignored in test-insets.lyx
- Prevent commands listed with optional arg in syntax.default from being
  concatenated with the next word if no optional arg is given
- Handle spaces and comments inbetween a command an "{}" consistently


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36943 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-19 14:54:23 +00:00
Georg Baum
e5fd128200 Increase tex2lyx output format to 295.
294: Nothing needed, but add some placeholders to the preamble for documentation
295: Convert URL command inset to Flex inset


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36941 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-18 20:41:41 +00:00
Abdelrazak Younes
065483dae3 Small Timer helper class useful for performance investigation in src/.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36940 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-18 18:40:21 +00:00
Abdelrazak Younes
2ab1601311 Coding style/de-indent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36939 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-18 16:32:29 +00:00
Abdelrazak Younes
41aa051d22 Coding style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36938 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-18 16:19:05 +00:00
Abdelrazak Younes
3626b46109 Coding style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36937 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-18 16:11:38 +00:00
Abdelrazak Younes
1614a64e15 TeXOnePar() simplification: use pit_type instead of iterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36936 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-18 15:57:27 +00:00
Abdelrazak Younes
fd73107054 TeXOnePar() Be on the safe side and reinitialize runparam.par_begin and par_end
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36935 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-18 14:04:02 +00:00
Abdelrazak Younes
8e092e6ca6 greatly simplify and comment TeXEnvironment():
* only one for loop
* uses runparams.par_end

InsetInclude and InsetIext: initialize runparams.par_begin and runparams.par_end

Except for a few additonal empty lines the LateX exports are identical for all help files. The reason for the additional empty lines is the more consistent TeXEnvironment() call.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36934 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-18 13:49:39 +00:00
Abdelrazak Younes
ffea94c5e6 latexParagraphs(): code polish.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36933 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-18 08:31:34 +00:00
Abdelrazak Younes
f48f0ad0bf latexParagraphs(): cleanup a bit and switch to a 'for' loop. Hopefully this should fix the performance problem when exporting very big document to latex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36932 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-18 08:23:14 +00:00
Abdelrazak Younes
ca91d508b2 LaTeX export small speedup: Introduce RandomAccessList::position() and use it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36931 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-18 07:37:12 +00:00
Enrico Forestieri
280f7a7ced Fix bug #7183 (User math macros defined in child documents are shadowed on loading)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36930 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-18 02:27:25 +00:00
Georg Baum
1d03cfa8c0 Increase tex2lyx output format to 293.
289:     Use new syntax for index inset
290-291: Nothing to do (empty lyx2lyx conversion)
292:     Nothing to do, tex2lyx does not know japanese yet
293:     Nothing to do (empty lyx2lyx conversion)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36929 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 21:41:15 +00:00
Georg Baum
86f320f6e0 fix halfway converted bibtex inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36928 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 21:35:27 +00:00
Georg Baum
7610b9add5 Increase tex2lyx output format to 288.
278:     Nothing to do, tex2lyx writes already an \end_deeper for each \begin_deeper
279-280: Nothing to do, tex2lyx does not produce character styles yet
281-282: Nothing to do (empty lyx2lyx conversion)
283:     Nothing to do, tex2lyx does not produce character styles yet
284-286: Nothing to do (empty lyx2lyx conversion)
287:     Nothing to do, tex2lyx does not produce wrapped figures yet
288:     Use new syntax for command inset
This time, the (not format related) bug fix is to parse the starred jurabib
and natbib citation commands correctly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36927 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 21:02:39 +00:00
Stephan Witt
d2c3a5c727 fix compiler warnings in pedantic mode: remove trailing comma after last enum member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36925 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 20:51:44 +00:00
Stephan Witt
22c88a38c4 fix compiler warnings in pedantic mode: remove trailing comma after last enum member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36924 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 19:57:55 +00:00
Stephan Witt
c7e6a677c4 fix compiler warnings in pedantic mode: remove trailing comma after last enum member
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36923 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 19:56:51 +00:00
Vincent van Ravesteijn
b90de3dc5c Fix bug #7176: Clicking TOC doesn't bring up outline
Previously LFUN_INSET_SETTINGS was misused to show the outliner. As a TOC doesn't have settings, it was no longer showed after a refactorization of LFUN_INSET_SETTINGS/LFUN_MOUSE_RELEASE because InsetToc::hasSettings() returns false.

As this is a special case, we should handle this special case in InsetTOC itself.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36907 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 13:12:43 +00:00
Jean-Marc Lasgouttes
bbea06a0c6 fix comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36905 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-16 17:51:30 +00:00
Enrico Forestieri
cf85f9ce69 Fix bugs #7165 (Auto-complete does not disappear after using it)
and      #7174 (Math selection broken)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36902 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-16 08:14:27 +00:00
Stephan Witt
5179e2f4d8 remove superfluous semicolons at the end of namespaces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36901 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-16 08:06:00 +00:00
Stephan Witt
7a537da7c0 correct use of NSNumber constructor for NSTimeInterval;remove superfluous semicolons;fix data type conversion related compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36900 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-16 08:03:24 +00:00
Stephan Witt
e7da6a6bc9 fix data type conversion related compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36899 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-16 07:58:38 +00:00
Abdelrazak Younes
b730b1c8f8 Cleanup: TeXEnvironment doesn't need data.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36897 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-15 23:46:02 +00:00
Abdelrazak Younes
67e782190a Split TeXEnvironment() in three functions. The real optimisation is yet to come.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36896 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-15 23:39:38 +00:00
Abdelrazak Younes
1ff5754a1b get rid of TeXDeeper: this was hiding the recursiveness of TeXEnvironment without any real benefits. This will allow further simplification of the code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36895 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-15 21:48:00 +00:00
Abdelrazak Younes
811335b50c a microptimisation and a FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36894 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-15 21:11:12 +00:00
Abdelrazak Younes
fbcbeb5130 latex export optimisation step 1: There is no need for TeXOnePar to return a par iterator and to depend on that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36893 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-15 20:51:25 +00:00
Stephan Witt
ad76c66e33 #7120 the painter expects a float as line_thickness_, simplify initial computation of line_thickness_ and line_offset_
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36890 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-15 07:12:42 +00:00
Richard Heck
832d6cd7e1 Begin undoing the tocString() mess by renaming that routine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36889 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-15 01:34:04 +00:00
Richard Heck
de1655f92b Use the layout defined label for the TOC, too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36888 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 23:50:50 +00:00
Richard Heck
7bc133b0a2 Abdel thinks we should just get rid of this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36887 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 23:43:45 +00:00
Richard Heck
807fc94597 Trivial cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36885 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 23:18:48 +00:00
Richard Heck
d1e0a0e4ed Allow customization of label string for note insets. We actually had
strings in the layout file, but they were not used.

Question: Should we just remove InsetNote::setButtonLabel() now? The
only purpose it is serving is to provide a backup in case no label is
defined.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36884 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 23:16:19 +00:00
Pavel Sanda
e1636b9f24 Report disabled BREAK_PARAGRAPH in MathHull getStatus so we can use command-alternatives.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36882 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 17:33:38 +00:00
Enrico Forestieri
116c20a203 Trying to be too smart by reducing the number of regenerated previews, may
cause to miss some regeneration. So, better too much than less.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36872 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 22:20:29 +00:00
Stephan Witt
48b071d983 #7120 adjust the line thickness to mark changes, foreign language and misspelled text to zoom factor in user preferences
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36869 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 16:18:37 +00:00
Jürgen Spitzmüller
0f2cfd957e Load the package breakurl with hyperref in DVI output (fix bug 7033).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36860 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 07:58:07 +00:00
Enrico Forestieri
f3e3655091 Really fix bug #7090.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36857 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 04:46:39 +00:00
Pavel Sanda
3998065582 Follow Vincent's advice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36855 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 00:51:30 +00:00
Pavel Sanda
3451601447 Fix #7057
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36853 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 23:57:21 +00:00
Vincent van Ravesteijn
1f76d67c66 Fix bug #7164: Text in tables not painted immediately.
Fixes the regression introduces in r36630. I already fixed this, but forgot to commit apparently.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36848 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 20:56:01 +00:00
Georg Baum
5e5a078503 Increase tex2lyx output format to 277.
Nothing to do, since tex2lyx does not produce the invalid tables.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36847 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 20:01:53 +00:00
Georg Baum
6f951a9821 Fix bug #6051 by applying the patch from Pelle.
I could reproduce the warnings, and comparing the man output with and without
patch verified that the quotes were completely missing in the old version
while they are OK in the new one.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36846 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 19:39:21 +00:00
Georg Baum
5aedfc6b9f Increase tex2lyx output format to 276 (LyX 1.5.x).
Add support for arabic (arabi package), and two languages that are already
avaiilable in previous formats, but have been forgotten: latvian and lithuanian.
Again, the previous format was not handled correctly:
arabic (arabi) was parsed as arabic (arabtex).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36845 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 18:47:02 +00:00
Georg Baum
04233bf5eb Increase tex2lyx output format to 275.
Nothing to do for 274: tex2lyx did not implement the special whitespace
handling that would have been needed for the old format.
Use the scaleBeforeRotation keyword for graphics (275).
This fixes actually a bug with the old version, that implicitly converted
all graphics to scale before rotation.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36843 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 17:47:36 +00:00
Georg Baum
19c27cba66 Increase tex2lyx output format to 273.
Nothing to do, since lyx2lyx conversions are empty except for version 271,
and tex2lyx already outputs the new format for 271.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36842 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 14:55:14 +00:00
Georg Baum
c0b20c1c92 increase tex2lyx output format to 265
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36841 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 14:33:34 +00:00
Georg Baum
1b04aa7301 Do not use math commands from unicodesymbols in tex2lyx text mode,
since they are usually invalid in text mode (partial fix of bug 6797).
Also, prepare proper translation of \\slash{} and \nobreakdash.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36840 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 13:23:05 +00:00
Georg Baum
a4a7502769 textsubscript and textsuperscript for tex2lyx
(deactivated until format is recent enough)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36839 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 12:16:18 +00:00
Georg Baum
e693a60c34 Fix bug #5716.
Since separators are not allowed by the current .lyx version written by
tex2lyx, an empty note is used instead.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36838 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 11:45:09 +00:00
Jürgen Spitzmüller
aec686905b * Buffer.cpp (doExport): rebuild the Graph to fix a crash due to an invalid pointer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36837 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 10:56:55 +00:00
Jürgen Spitzmüller
04bfd58a3a * BufferParams.cpp (loadFonts):
- replace the fontspec option "mapping=text-tex" with "Ligatures=TeX" as recommended in the fontspec manual.
	  The two options are equivalent, but only the latter is recognized by LuaTeX.
	- do not use TeX ligatures with typewriter fonts (this is the same in standard LaTeX).
	- add a bit of documentation.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36836 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-12 10:15:44 +00:00
Enrico Forestieri
573694da5f Fix bug #6538 (Figure: relative path changed to absolute on copy/paste)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36835 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 23:04:24 +00:00
Stephan Witt
937984898a #7084 provide spelling suggestions only when replacement is possible - if there is no selection or the misspelled word is selected; use the replace2string to construct the LFUN arguments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36834 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 19:10:44 +00:00
Georg Baum
cb1fc51b9c Fix bug #3016: tex2lyx fails to convert xfig figures to Xfig insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36833 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 18:22:47 +00:00
Enrico Forestieri
14cbb6cb3d Fix bug #7090 (Segfault in refreshing instant preview when math macro changes)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36832 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 18:15:34 +00:00
Jürgen Spitzmüller
10a4b5f872 * BufferParams.cpp: fix cut'n'paste error.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36830 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 17:17:47 +00:00
Enrico Forestieri
f5cd2ebe71 No tabs in ui files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36829 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 15:44:54 +00:00
Jürgen Spitzmüller
53250a1269 * GuiDocument.cpp (paramsToDialog):
- stupid thinko! (bug 7076).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36828 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 15:28:02 +00:00
Enrico Forestieri
51aa20b3ed Disable the "Single instance" check box if the lyxpipe has not been set up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36827 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 15:21:23 +00:00
Stephan Witt
5d531c0a9e rename selectionAsString parameter in header to match the implementation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36822 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-11 11:45:19 +00:00
Pavel Sanda
d0ba83d814 Fix #7057
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36817 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 17:22:12 +00:00
Pavel Sanda
5ce8c4d36b Simplify tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36808 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 15:43:00 +00:00
Jürgen Spitzmüller
1e98a4f240 Add the option to select the output format in Source View.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36806 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 10:34:24 +00:00
Uwe Stöhr
ab883f647f GuiTabular.cpp: typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36805 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 06:25:52 +00:00
Georg Baum
f2cc066c49 improve fix for #6303 as suggested by Richard
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36799 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 22:35:44 +00:00
Richard Heck
a7de5bc8b3 This routine does not need to take a pointer to a WorkArea. Also, remove
some dead code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36798 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 22:29:12 +00:00
Georg Baum
d0933f4bd9 fix another crash like bug #6303
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36796 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 21:35:39 +00:00
Pavel Sanda
a03d15bbdd Default decimal point mask is not translatable string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36795 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 20:31:56 +00:00
Pavel Sanda
34c26f89bb Resave in older designer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36794 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 20:31:54 +00:00
Pavel Sanda
17196a24f4 Kill another "
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36792 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 20:05:30 +00:00
Richard Heck
18da8d44c1 Add some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36791 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 18:10:44 +00:00
Richard Heck
c0bb9707cb Remove support for viewing URLs from hyperlinks. This is a security
risk, due to our lack of control over the links and the program used to
view them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36789 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 17:55:11 +00:00
Jürgen Spitzmüller
b88a8d1427 * LaTeXFeatures.cpp: do not use polyglossia if the texclass provides babel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36787 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 10:00:10 +00:00
Pavel Sanda
a978795215 After more attempts add gnumeric support.
Patch from Helge Hafting.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg164180.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36786 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 01:19:13 +00:00
Pavel Sanda
0fcab2dece Fix &quot
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36784 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 00:44:12 +00:00
Pavel Sanda
b442ca019d No more wavy lines
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36783 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-09 00:33:33 +00:00
Richard Heck
ea23ded591 Georg's fix for my crash moved too much inside the inTexted() crash: We
never update the buffer if we're not in text!!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36782 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 21:46:57 +00:00
Richard Heck
51de359770 Committed wrong thing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36781 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 21:02:28 +00:00
Richard Heck
3f40bb1432 At least prevent the crash in #7152. Patch by John McCabe-Dansted, more
or less.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36780 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 20:55:24 +00:00
Jürgen Spitzmüller
3518419a33 * resolve conflicts of XeTeX with AMS by loading all AMS packages before fontspec. See
http://www.macfreek.nl/mindmaster/LaTeX_package_conflicts#Amssymb_with_Xunicode

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36777 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 18:42:10 +00:00
Jürgen Spitzmüller
1e8bd43a70 * output_latex.cpp: fix language nesting (with polyglossia).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36775 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 18:25:21 +00:00
Jürgen Spitzmüller
089927dd6f make i18npreamble work with polyglossia.
We might want to rename the babelpreamble tokens to something more general.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36773 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 12:10:22 +00:00
Jean-Marc Lasgouttes
3370b1d2fa Fix the last part of #3733:
- In GuiApplication::dispatch, do not call markDirty() for lfuns that are not ReadOnly
- In Undo::Private::recordUndo, call markDirty(). The indicator of dirtyness is now the existence of an undo element.
- In lyxfind, remove several markDirty calls that are not needed anymore.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36772 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 10:30:45 +00:00
Jean-Marc Lasgouttes
2661b9b22e Some Undo cleanup. Functionality should be unchanged
- whitespace and typos in comments
- make sure that the Undo::recordUndoXXX functions all go through
  Undo::Private::recordUndo


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36771 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 10:04:07 +00:00
Jean-Marc Lasgouttes
838af80834 Try to finally fix #6930. All the paths that did not come from context
menus were (intentionally) missing, and it turns out they were needed.

Normally all invocations of INSET_MODIFY should trigger a recordUndo now.
Of course all cases have not been tested, but it should be working.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36770 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-08 09:24:04 +00:00
Enrico Forestieri
4457cd44e8 Compile fix for those platforms using the locale facets implemented
in docstring.cpp (this was an oversight in r36748).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36767 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 22:53:07 +00:00
Georg Baum
c24f8ae84e Fix bug #6603.
The problem was that the child buffers were closed,
and therefore the TOC contained dangling pointers.
The fix is simple: Reopen all child docs and create a new TOC.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36766 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 21:31:31 +00:00
Jürgen Spitzmüller
f255f93b9e * Follow Vincent's advice to keep constness. Thanks Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36759 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 09:00:50 +00:00
Jürgen Spitzmüller
2653011613 * Use default output flavor for View Source.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36758 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 08:36:42 +00:00
Pavel Sanda
c420c81ec2 Replay r36748
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36757 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:13:19 +00:00
Pavel Sanda
571663dcf8 Replay r36747
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36756 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:13:18 +00:00
Pavel Sanda
72f91cb394 Replay r36745
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36754 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:13:14 +00:00
Pavel Sanda
c68d754a74 Revert commits from 36745
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36749 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-07 00:05:40 +00:00
Stephan Witt
430d03811e #7026 substitute isDigit() by isDigitASCII() and ditch isDigit(); introduce isNumber() and use it in spell checker; change isdigit() to isDigitASCII() otherwise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36748 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-06 22:35:15 +00:00
Peter Kümmel
256b236675 use tabs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36747 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-06 20:57:48 +00:00
Peter Kümmel
099059758d don't show errors when auto saving, #7132
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36745 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-06 20:54:03 +00:00
Vincent van Ravesteijn
07534d147d Remove leftover of r36485.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36740 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-06 00:25:45 +00:00
Stephan Witt
627c118d5e avoid recursive check calls triggered by updateView(); show summary and close window when forward move not possible anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36736 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-05 06:51:32 +00:00
Abdelrazak Younes
9cf9f86b8f Move buffer dispatching code from GuiView::dispatchToBufferView() to BufferView::dispatch().
The execution order bv -> doc_bv -> buffer -> doc_buffer was artificial and not important AFAIU.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36734 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-05 01:18:32 +00:00
Abdelrazak Younes
ae7bcd3312 GuiView::dispatchToBufferView(): simplify code and move some to Cursor::dispatch().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36733 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-05 00:57:04 +00:00
Abdelrazak Younes
2a11b8347c Correct grammar in comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36732 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 23:29:51 +00:00
Abdelrazak Younes
25fb104d74 Fix bug #7071 in cutSelection:
After a cut operation, we need to make sure that the Buffer is updated
because some further operation will need updated label information for
example. So we cannot just use "cur.forceBufferUpdate()" here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36731 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 23:21:47 +00:00
Abdelrazak Younes
9fa93b2ea8 revert r36721, this was not needed after all... chasing a wrong track.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36729 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 23:19:42 +00:00
Vincent van Ravesteijn
9cce351940 No need for a deque here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36728 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 23:18:52 +00:00
Pavel Sanda
82b712c1fc Revert r36654.
I'm not going to wait more, since we want to freeze trunk.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg163934.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36727 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 23:01:59 +00:00
Abdelrazak Younes
6a500079e5 Move code from GuiApplication::dispatch() to GuiView::dispatch().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36726 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 22:48:08 +00:00
Pavel Sanda
723160f7c0 String correction
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg164054.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36725 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 22:43:37 +00:00
Pavel Sanda
5f08562026 Removal of this color was forgotten.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg163890.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36724 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 22:41:50 +00:00
Abdelrazak Younes
28896d1bdd revert previous commit, it did not compile of course...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36723 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 22:19:53 +00:00
Abdelrazak Younes
7916b0dc68 GuiApplication::dispatch(): decrease indentation at the end.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36722 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 22:15:51 +00:00
Abdelrazak Younes
1376c39ae6 Make sure the current view is set to busy in order to avoid a crash due to a screen redraw in the middle of a dispatch operation just because a warning or an error was displayed and the focus came back.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36721 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 22:07:39 +00:00
Stephan Witt
fefb5e7f71 without NLS dummy available() should return false
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36720 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 17:42:38 +00:00
Georg Baum
4736356bf9 fix remaining bits of bug #6709
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36718 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 16:43:41 +00:00
Abdelrazak Younes
ecc492a3ce Fix #7021: the problem was that activating the border combo was triggering dialogToParams() and thus disallowed because of the empty value.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36712 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 10:55:03 +00:00
Stephan Witt
58f1126355 attempt to make LyX linkable without NLS, assuming dummy available() should return true without NLS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36711 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 08:28:10 +00:00
Richard Heck
3fffe51506 Revert r36696: We can't collect BibTeX information during the
updateBuffer() traversal. The reason is simple: InsetCitation needs
access to the BibTeX info to calculate its label. But we won't have it
until we get to the bibliography.
I don't think there is any way around that.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36710 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-04 03:15:53 +00:00
Richard Heck
7e33edc3c3 Apparently deques aren't so cool.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36709 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 22:42:22 +00:00
Richard Heck
5ef35803e4 Rearrange headers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36708 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 22:39:18 +00:00
Richard Heck
0114564eff Mark the cache valid once we have been through updateBuffer().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36702 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 21:22:18 +00:00
Abdelrazak Younes
dc5ade6436 typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36701 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 21:03:36 +00:00
Abdelrazak Younes
92bfa2b82d Work around bugs #6814 and #6949:
The issue is that RenderGraphics calls updateFrontend() even if within a CutAndPaste stask.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36699 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 21:00:15 +00:00
Richard Heck
840f2baf91 Simplify some of the bibliography update code. There is really no reason
to be passing the BiblioInfo structure around this way. (That's an old
holdover.) That lets us get rid of the non-const masterBibInfo() again.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36697 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 20:08:04 +00:00
Richard Heck
66be58b074 Proper fix now for bug #6846. The idea, due to JMarc, is to collect
bibliography information in updateBuffer(), rather than doing a wholly
separate traversal. We still do a separate traversal in two cases, as a
full updateBuffer() call just isn't needed there.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36696 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 19:29:46 +00:00
Richard Heck
ab47822680 Towards a proper fix for bug #6846, this just disentangles a couple
things we will ultimately want to do separately.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36694 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 19:00:55 +00:00
Richard Heck
7f5c037df3 Slight re-organization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36688 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 18:01:37 +00:00
Georg Baum
53a72a4526 fix bug #6584
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36687 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 17:48:06 +00:00
Vincent van Ravesteijn
bbbd0d6597 *rowpainter.cpp: Squeeze some warnings and reduce linelength.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36683 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 15:40:23 +00:00
Pavel Sanda
840fa81104 Abdel wants to transliterate
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36682 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 15:14:00 +00:00
Vincent van Ravesteijn
328e8b2627 Fix bug #2100: No display equations allowed in a non-fixed width tabular cell.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36673 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 02:44:16 +00:00
Vincent van Ravesteijn
5846e0eb7b Compile fix for r36670.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36672 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 02:42:25 +00:00
Richard Heck
ec1a541a6c No need for two different containers here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36670 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 22:11:52 +00:00
Richard Heck
31fcb5c97e Save a header: We don't really need a vector here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36667 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 21:11:08 +00:00
Richard Heck
59760159e2 Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36666 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 21:05:45 +00:00
Richard Heck
445cb9970c Stupid implicit conversion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36665 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 21:04:01 +00:00
Richard Heck
09466ad2db Some cleanup of the counters code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36663 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 20:22:10 +00:00
Pavel Sanda
0464d83ce0 Nothing to translate here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36662 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 20:13:50 +00:00
Stephan Witt
a2287675d2 #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36661 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 18:52:31 +00:00
Vincent van Ravesteijn
663029f55a Fix bug #7130: Painting problem with closed Phantom Inset. The label is now updated when the type is changed, and the arrows are correctly painted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36660 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 18:00:33 +00:00
Stephan Witt
7f9d85e285 detect end of paragraph and use it as word separator to correct the word count in tables - thanks, JMarc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36659 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 16:50:12 +00:00
Stephan Witt
1ed5b98873 add missing debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36658 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 16:33:57 +00:00
Richard Heck
65192d6cf8 Fix crash reported by keytest.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36657 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 15:14:44 +00:00
Uwe Stöhr
0838992dcd ExternalSupport.cpp: fix #4398 (omit the newline in the LaTeX output behind the ExternalInset inset if the inset type is a date)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36654 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 04:05:35 +00:00
Pavel Sanda
8677d02527 Doxy convertor knows nothing about multiple Sample fields
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36652 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 02:46:24 +00:00
Pavel Sanda
e8d0eaa180 Doxy whitespacing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36651 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 02:36:18 +00:00
Pavel Sanda
0a34788bba Update doc about forward search.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36650 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 01:56:45 +00:00
Pavel Sanda
f01e1e202f Better doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36649 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 00:58:32 +00:00
Pavel Sanda
b83e477ca2 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36648 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-02 00:22:50 +00:00
Pavel Sanda
a831d1bf36 Another shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36646 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-01 17:10:37 +00:00
Pavel Sanda
8539c4a197 Missing shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36645 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-01 17:10:34 +00:00
Stephan Witt
0c89ebd62a remove not needed class name for enums, whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36642 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-01 08:25:17 +00:00
Vincent van Ravesteijn
75cb1ebdc1 Fix crash when apply Preferences. This was introduced in r36625. Just one check too few.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36641 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-01 00:51:10 +00:00
Vincent van Ravesteijn
08cad4b087 Hmm.. I don't think people do like this red color I introduced accidentally in r36639.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36640 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-01 00:35:35 +00:00
Vincent van Ravesteijn
e7ef325db5 Fix the painting of the labels of InsetCaption insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36639 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-01 00:32:30 +00:00
Pavel Sanda
0bce203b5c Kill translations for this string.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg163897.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36637 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 18:52:53 +00:00
Pavel Sanda
8d31d48bdd Default decimal point mask is not translatable string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36635 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 18:38:32 +00:00
Pavel Sanda
5a5c4321e1 Resave with another designer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36634 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 18:38:30 +00:00
Stephan Witt
31c546bdff #6920 correct the ugly workaround - now it is ugly as well but works
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36633 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 15:48:43 +00:00
Vincent van Ravesteijn
de7964e501 Fix bug #4889: Painting problem with some insets. RowPainter::paintOnlyInsets is only meant to paint nested Insets, so I guess only the InsetText based insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36630 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 15:10:31 +00:00
Jean-Marc Lasgouttes
14d57ba19e experiment in spell checker mark appearance (see bug #7112)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36629 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 14:36:51 +00:00
Vincent van Ravesteijn
1f8b9bf9b0 Fix bug #6263: Order of Tabs in Menu and used in Ctrl+PgUp/PgDwn is not the same as in the workarea.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36625 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 13:03:46 +00:00
Jürgen Spitzmüller
2be72ce058 * configure.py:
* Conerter.{cpp,h}:
	- use a backend=flavor flag format for latex instead of hardcoding format names

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36623 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 09:49:28 +00:00
Vincent van Ravesteijn
36986009d1 Fix bug #4849: Split cell always enabled in (context) menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36622 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 09:32:30 +00:00
Jürgen Spitzmüller
bea55b35a0 * mark string (due to gender)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36620 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 08:11:36 +00:00
Vincent van Ravesteijn
c145665832 Really fix bug #6908.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36618 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 05:02:12 +00:00
Enrico Forestieri
eb2600483a Fix bug #7068 (Crash when pressing down arrow in an equation when there is a suggestion)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36617 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 03:54:29 +00:00
Pavel Sanda
aef9d84e83 Disentangle various "in"s
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36613 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 00:55:34 +00:00
Vincent van Ravesteijn
51c5b13db1 Make the color of the misspelled marking customizable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36612 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 00:37:09 +00:00
Pavel Sanda
d4fb2ac2ac Stephan, I changed this string since the previous version was strange.
If you have better version, improve it ;)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36611 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 00:23:34 +00:00
Vincent van Ravesteijn
bd47057c20 Fix 'inset-toggle assign' for InsetBranch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36610 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 00:21:08 +00:00
Vincent van Ravesteijn
5cc077c571 Automatically append the InsetCollapsable context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36609 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-30 00:05:06 +00:00
Vincent van Ravesteijn
80c1e18bda Compile fix: solve the merge conflicts in the correct way ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36607 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 23:47:55 +00:00
Vincent van Ravesteijn
c42a61c5ac Fix bug #6642: Concatenate the context menus for: InsetCollapsables without a button, InsetTexts which have a custom context menu and InsetTabulars. Override the default behaviour for InsetInfo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36606 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 23:21:52 +00:00
Vincent van Ravesteijn
c9da62fb08 Implement the possibility of concatenating (context) menus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36605 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 23:15:31 +00:00
Vincent van Ravesteijn
e7f2bbe1ee Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36604 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 21:27:25 +00:00
Vincent van Ravesteijn
5eb7add409 Fix bug #6315: counters in insets that don't produce output have ghost values.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36603 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 19:11:38 +00:00
Vincent van Ravesteijn
b81550b459 Remove unused #include.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36602 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 18:49:04 +00:00
Vincent van Ravesteijn
f814bb14bb Properly check for the value of an enum. Unexpected things will happen whenever the enum itself changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36599 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 17:14:38 +00:00
Vincent van Ravesteijn
dc9d39dafe Add missing cur.forceBufferUpdate() to LFUN_BRANCH_(DE)ACTIVATE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36598 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 16:50:22 +00:00
Jean-Marc Lasgouttes
940ab1261b Fix part of bug #7072 by opening undo groups as needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36597 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 16:38:13 +00:00
Jean-Marc Lasgouttes
87a0c25bc4 Fix missing undo group when doing the following:
* create math inset
* enter macro name \ww
* press left arrow to re-enter the macro name inset, add a third 'w'.
* when leaving the inset is is updated through notifyCursorLeaves, but no undo group is active



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36596 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 16:06:43 +00:00
Jean-Marc Lasgouttes
4439f6144f Fix bug #6768: inset-toggle points cursor after inset
Strangely enough, the code to go after the inset is here explicitely (so somebody thought at some time that it was a good idea. However, it is not active in 1.6.x...



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36595 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 15:19:20 +00:00
Jean-Marc Lasgouttes
f75569d08c fix #6930: ERT inset should not act on INSET_MODIFY requests directed to someone else
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36592 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 13:30:17 +00:00
Pavel Sanda
fdc3b1efd5 ui glitches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36583 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 11:26:10 +00:00
Pavel Sanda
182100d376 UI for #4581.
Patch from Ale.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36582 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 11:26:08 +00:00
Jean-Marc Lasgouttes
3753804463 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36581 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 10:48:40 +00:00
Jean-Marc Lasgouttes
574931dcdb Fix bug #6930: no undo for inset type changing
THis is a consequence of the new AtPoint mechanism. In the old
world, recordUndoInset was called before INSET_MODIFY. I reintroduced
manual recordUndoInset calls in all places that matter. I suspect
that this issue should be revisited later.

Note that recordUndoInset can now take an optional parameter that tells
what inset is concerned. This is useful because the cursor can be
either just inside the inset or in front of it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36580 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 09:47:46 +00:00
Jürgen Spitzmüller
baaceb10c2 * PDFOptions.cpp:
- omit \inputencoding changes with XeTeX/LuaTeX.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36579 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 09:03:55 +00:00
Jürgen Spitzmüller
5c02ca57d4 * BufferParams.cpp: use polyglossia only with nonTeXFonts.
Now the UG compiles with XeTeX and tex fonts.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36578 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 07:52:58 +00:00
Uwe Stöhr
5524485856 InsetMathSubstack.cpp: fix #2498
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36567 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 03:18:02 +00:00
Uwe Stöhr
d80053cda8 GuiTabular.cpp: fix #3517
- disable column alignment and width if there is a LaTeX argument
- use also for the LaTeX argument the editingFinished method (as for all other edit fields in the dialog)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36566 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 02:38:29 +00:00
Uwe Stöhr
aa69852341 TabularUi.ui: fix spacing of column width unitCB
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36565 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-29 02:36:25 +00:00
Richard Heck
a61899ffe7 Allow InPreamble to be used with Paragraph-type environments. There is
no reason not to permit this, and using it with PassThru 1 allows for a
very simple Preamble layout-type that acts as ERT for the premable. Of
course, we do have the preamble in Document>Settings, but that allows
the embedding of preamble code in branches.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36562 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 22:08:11 +00:00
Jürgen Spitzmüller
3d1226b4f2 * Use the package luainputenc if LuaTeX is used as output format _with_ tex fonts. With this, the UG compiles with LuaTeX if "Unse non-TeX fonts" is not selected.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36559 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 17:51:21 +00:00
Jürgen Spitzmüller
7538a23c15 * Buffer.cpp (makeLaTeXFile):
- With XeTeX/LuaTeX and tex fonts, we need to force the encoding to utf8-plain manually.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36558 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 17:43:22 +00:00
Georg Baum
c8ec2c0a03 Fix bug #7088
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36557 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 17:16:11 +00:00
Georg Baum
c5799b7019 Fix bug #7091 and bug #7094
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36556 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 17:02:10 +00:00