]>
git.lyx.org Git - features.git/log
Georg Baum [Sun, 2 Jan 2011 15:39:48 +0000 (15:39 +0000)]
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
Vincent van Ravesteijn [Sun, 2 Jan 2011 12:07:33 +0000 (12:07 +0000)]
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
Stephan Witt [Sun, 2 Jan 2011 11:31:28 +0000 (11:31 +0000)]
#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
Enrico Forestieri [Sun, 2 Jan 2011 00:42:52 +0000 (00:42 +0000)]
Solve shortcut clash in it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37061
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 1 Jan 2011 19:24:16 +0000 (19:24 +0000)]
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
Enrico Forestieri [Sat, 1 Jan 2011 19:19:32 +0000 (19:19 +0000)]
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
Tommaso Cucinotta [Fri, 31 Dec 2010 15:07:03 +0000 (15:07 +0000)]
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
Tommaso Cucinotta [Fri, 31 Dec 2010 14:35:16 +0000 (14:35 +0000)]
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
Georg Baum [Fri, 31 Dec 2010 12:07:58 +0000 (12:07 +0000)]
partial fix for bug 6986: Use the right tex2lyx (at least if tex2lyx is installed)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37056
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Fri, 31 Dec 2010 11:59:33 +0000 (11:59 +0000)]
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
Georg Baum [Fri, 31 Dec 2010 11:57:25 +0000 (11:57 +0000)]
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
Uwe Stöhr [Fri, 31 Dec 2010 07:31:59 +0000 (07:31 +0000)]
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
Georg Baum [Thu, 30 Dec 2010 21:56:55 +0000 (21:56 +0000)]
Translate "\LyX{}" and "LyX" correctly in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37052
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 30 Dec 2010 21:03:36 +0000 (21:03 +0000)]
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
Georg Baum [Thu, 30 Dec 2010 20:38:47 +0000 (20:38 +0000)]
fix translation of \nobreakdash in tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37050
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Thu, 30 Dec 2010 20:29:33 +0000 (20:29 +0000)]
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
Tommaso Cucinotta [Thu, 30 Dec 2010 17:59:59 +0000 (17:59 +0000)]
Addressing #6560.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37048
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Thu, 30 Dec 2010 15:34:09 +0000 (15:34 +0000)]
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
Jürgen Spitzmüller [Thu, 30 Dec 2010 08:47:34 +0000 (08:47 +0000)]
* uk.po: update by Yuri.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37046
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Wed, 29 Dec 2010 21:34:33 +0000 (21:34 +0000)]
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
Tommaso Cucinotta [Wed, 29 Dec 2010 19:59:41 +0000 (19:59 +0000)]
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
Kornel Benko [Wed, 29 Dec 2010 18:20:12 +0000 (18:20 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37042
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Wed, 29 Dec 2010 17:06:21 +0000 (17:06 +0000)]
* de.po: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37041
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Wed, 29 Dec 2010 16:57:44 +0000 (16:57 +0000)]
* uk.po: update by Yuri.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37040
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Wed, 29 Dec 2010 16:57:04 +0000 (16:57 +0000)]
fix some typos. Patch by Yuri Chornoivan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37039
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Wed, 29 Dec 2010 16:25:11 +0000 (16:25 +0000)]
es.po: update from Ignacio.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37038
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Wed, 29 Dec 2010 13:50:22 +0000 (13:50 +0000)]
* 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
Jürgen Spitzmüller [Wed, 29 Dec 2010 11:22:48 +0000 (11:22 +0000)]
* id.po: Update from Waluyo.
Pavel, do you receive messages to po-updates?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37034
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Wed, 29 Dec 2010 08:26:39 +0000 (08:26 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37033
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Wed, 29 Dec 2010 06:00:22 +0000 (06:00 +0000)]
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
Vincent van Ravesteijn [Wed, 29 Dec 2010 05:50:50 +0000 (05:50 +0000)]
Add some extra information about bug #3684.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37031
a592a061 -630c-0410-9148-
cb99ea01b6c8
Vincent van Ravesteijn [Wed, 29 Dec 2010 05:35:03 +0000 (05:35 +0000)]
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
Enrico Forestieri [Wed, 29 Dec 2010 02:00:27 +0000 (02:00 +0000)]
When collecting strings from ui-files, transform the html entity '"'
to '"' for the sake of gettext tools, which are html-agnostic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37029
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 28 Dec 2010 23:56:36 +0000 (23:56 +0000)]
Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37028
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 28 Dec 2010 23:34:33 +0000 (23:34 +0000)]
Remerge po-files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37027
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 28 Dec 2010 23:29:51 +0000 (23:29 +0000)]
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
Jürgen Spitzmüller [Tue, 28 Dec 2010 17:01:45 +0000 (17:01 +0000)]
" de.po: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37023
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 28 Dec 2010 16:58:30 +0000 (16:58 +0000)]
* id.po: Update from Waluyo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37022
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Tue, 28 Dec 2010 15:47:05 +0000 (15:47 +0000)]
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
Stephan Witt [Tue, 28 Dec 2010 13:20:20 +0000 (13:20 +0000)]
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
Stephan Witt [Mon, 27 Dec 2010 22:05:37 +0000 (22:05 +0000)]
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
Stephan Witt [Mon, 27 Dec 2010 21:59:17 +0000 (21:59 +0000)]
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
Georg Baum [Mon, 27 Dec 2010 21:12:40 +0000 (21:12 +0000)]
fix parsing of test document
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37017
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Mon, 27 Dec 2010 20:15:24 +0000 (20:15 +0000)]
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
Georg Baum [Mon, 27 Dec 2010 18:19:19 +0000 (18:19 +0000)]
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
Georg Baum [Mon, 27 Dec 2010 18:16:22 +0000 (18:16 +0000)]
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
Georg Baum [Mon, 27 Dec 2010 18:14:55 +0000 (18:14 +0000)]
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
Georg Baum [Mon, 27 Dec 2010 18:10:23 +0000 (18:10 +0000)]
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
Georg Baum [Mon, 27 Dec 2010 18:03:26 +0000 (18:03 +0000)]
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
Georg Baum [Mon, 27 Dec 2010 17:58:36 +0000 (17:58 +0000)]
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
Georg Baum [Mon, 27 Dec 2010 17:56:48 +0000 (17:56 +0000)]
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
Pavel Sanda [Mon, 27 Dec 2010 17:56:09 +0000 (17:56 +0000)]
Remerge everything.
All string has been reviewed, time to ask translators.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37008
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 27 Dec 2010 17:52:44 +0000 (17:52 +0000)]
Finish cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37007
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 27 Dec 2010 17:52:41 +0000 (17:52 +0000)]
Remerge cs.p
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37006
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Mon, 27 Dec 2010 13:54:21 +0000 (13:54 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37005
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 27 Dec 2010 09:04:22 +0000 (09:04 +0000)]
Spotted by Kornel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37004
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 26 Dec 2010 23:42:22 +0000 (23:42 +0000)]
Change message, section number can easily change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37003
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 26 Dec 2010 23:33:30 +0000 (23:33 +0000)]
* cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37002
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 26 Dec 2010 23:33:28 +0000 (23:33 +0000)]
Whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37001
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 26 Dec 2010 23:33:27 +0000 (23:33 +0000)]
Kill unneeded string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37000
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 26 Dec 2010 23:33:23 +0000 (23:33 +0000)]
Resave spellcheck ui in older designer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36999
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 26 Dec 2010 23:28:06 +0000 (23:28 +0000)]
Change 3.1.2.2 section title, so we have more clear pointer in error message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36998
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sun, 26 Dec 2010 23:23:48 +0000 (23:23 +0000)]
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
Kornel Benko [Sun, 26 Dec 2010 15:53:17 +0000 (15:53 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36996
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Sun, 26 Dec 2010 15:52:43 +0000 (15:52 +0000)]
remerge sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36995
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 23 Dec 2010 18:52:22 +0000 (18:52 +0000)]
* cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36994
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 23 Dec 2010 00:48:08 +0000 (00:48 +0000)]
* cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36993
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Wed, 22 Dec 2010 23:20:15 +0000 (23:20 +0000)]
Missing dot.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36992
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Wed, 22 Dec 2010 17:09:51 +0000 (17:09 +0000)]
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
Stephan Witt [Wed, 22 Dec 2010 07:29:16 +0000 (07:29 +0000)]
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
Richard Heck [Wed, 22 Dec 2010 01:29:17 +0000 (01:29 +0000)]
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
Richard Heck [Wed, 22 Dec 2010 01:28:32 +0000 (01:28 +0000)]
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
Enrico Forestieri [Wed, 22 Dec 2010 00:16:51 +0000 (00:16 +0000)]
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
Stephan Witt [Tue, 21 Dec 2010 15:28:55 +0000 (15:28 +0000)]
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
Enrico Forestieri [Tue, 21 Dec 2010 14:52:18 +0000 (14:52 +0000)]
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
Stephan Witt [Tue, 21 Dec 2010 11:55:31 +0000 (11:55 +0000)]
correct a cut-and-paste typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36983
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Tue, 21 Dec 2010 10:23:26 +0000 (10:23 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36982
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Tue, 21 Dec 2010 10:22:24 +0000 (10:22 +0000)]
remerge sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36981
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Tue, 21 Dec 2010 08:45:48 +0000 (08:45 +0000)]
somehow I forgot that in r36772
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36980
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 21 Dec 2010 02:12:41 +0000 (02:12 +0000)]
* ANNOUNCE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36979
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 20 Dec 2010 22:47:09 +0000 (22:47 +0000)]
Simplify InsetRef::forToc().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36978
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 20 Dec 2010 22:46:05 +0000 (22:46 +0000)]
* ANNOUNCE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36977
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 20 Dec 2010 22:33:12 +0000 (22:33 +0000)]
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
Richard Heck [Mon, 20 Dec 2010 22:29:41 +0000 (22:29 +0000)]
Add comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36975
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 20 Dec 2010 21:55:09 +0000 (21:55 +0000)]
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
Stephan Witt [Mon, 20 Dec 2010 21:45:41 +0000 (21:45 +0000)]
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
Georg Baum [Mon, 20 Dec 2010 21:35:08 +0000 (21:35 +0000)]
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
Georg Baum [Mon, 20 Dec 2010 20:45:18 +0000 (20:45 +0000)]
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
Stephan Witt [Mon, 20 Dec 2010 20:40:32 +0000 (20:40 +0000)]
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
Vincent van Ravesteijn [Mon, 20 Dec 2010 19:18:56 +0000 (19:18 +0000)]
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
Enrico Forestieri [Mon, 20 Dec 2010 18:15:39 +0000 (18:15 +0000)]
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
Pavel Sanda [Mon, 20 Dec 2010 14:51:04 +0000 (14:51 +0000)]
* cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36967
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 20 Dec 2010 14:31:38 +0000 (14:31 +0000)]
Unneeded quotes in ui title
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36966
a592a061 -630c-0410-9148-
cb99ea01b6c8
Uwe Stöhr [Mon, 20 Dec 2010 12:41:37 +0000 (12:41 +0000)]
UserGuide.lyx: describe new branches features, thanks Jürgen!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36965
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Mon, 20 Dec 2010 12:01:12 +0000 (12:01 +0000)]
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
Stephan Witt [Mon, 20 Dec 2010 07:10:05 +0000 (07:10 +0000)]
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
Uwe Stöhr [Mon, 20 Dec 2010 03:34:00 +0000 (03:34 +0000)]
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
Uwe Stöhr [Mon, 20 Dec 2010 02:47:58 +0000 (02:47 +0000)]
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
Uwe Stöhr [Mon, 20 Dec 2010 02:08:22 +0000 (02:08 +0000)]
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
Uwe Stöhr [Mon, 20 Dec 2010 01:47:34 +0000 (01:47 +0000)]
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