]>
git.lyx.org Git - features.git/log
Jürgen Spitzmüller [Thu, 3 Feb 2011 14:17:31 +0000 (14:17 +0000)]
* Allow to set language package on a per-document basis (fixes bug 2909).
File format change. Commit approved by Pavel on trac.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37457
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Thu, 3 Feb 2011 13:52:07 +0000 (13:52 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37456
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Thu, 3 Feb 2011 11:35:57 +0000 (11:35 +0000)]
* id.po: update from Waluyo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37455
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Thu, 3 Feb 2011 11:23:22 +0000 (11:23 +0000)]
* de.po: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37454
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Thu, 3 Feb 2011 10:50:14 +0000 (10:50 +0000)]
* FORMAT: document forgotten change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37453
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Thu, 3 Feb 2011 10:35:42 +0000 (10:35 +0000)]
Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37452
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Thu, 3 Feb 2011 10:23:01 +0000 (10:23 +0000)]
Remerge po files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37451
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Thu, 3 Feb 2011 10:22:10 +0000 (10:22 +0000)]
Help avoiding shortcut clashes by discriminating strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37450
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Thu, 3 Feb 2011 09:13:19 +0000 (09:13 +0000)]
Saving a doc is faster and more reliable by Ctrl-s, rather than activating a menu (thx Pavel).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37449
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Thu, 3 Feb 2011 08:05:10 +0000 (08:05 +0000)]
scons_manifest.py: reordering.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37448
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Thu, 3 Feb 2011 08:04:46 +0000 (08:04 +0000)]
* lib/Makefile.am: add missing file (bug 7277).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37447
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Thu, 3 Feb 2011 07:14:00 +0000 (07:14 +0000)]
whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37446
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Thu, 3 Feb 2011 01:52:24 +0000 (01:52 +0000)]
Hmm.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37442
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Thu, 3 Feb 2011 00:01:53 +0000 (00:01 +0000)]
fix findadv-03-in.txt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37441
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 2 Feb 2011 23:27:19 +0000 (23:27 +0000)]
Make achemso more usable by including stuff that goes into the preamble, now that this is possible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37440
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Wed, 2 Feb 2011 23:18:16 +0000 (23:18 +0000)]
Added custom xvkbd for avoiding typing into other windows.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37439
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 2 Feb 2011 23:11:07 +0000 (23:11 +0000)]
Docs for latest layout changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37438
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 2 Feb 2011 23:00:57 +0000 (23:00 +0000)]
We never use numbers here, but others might.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37437
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 2 Feb 2011 22:57:00 +0000 (22:57 +0000)]
Finally, disentangle IsPredefined and UsesFloatPkg. Now achemso gives us
the option to insert a List of Schemes, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37436
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Wed, 2 Feb 2011 22:51:36 +0000 (22:51 +0000)]
* pl.po from Michal Fita
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37435
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 2 Feb 2011 22:39:03 +0000 (22:39 +0000)]
Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37434
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 2 Feb 2011 22:34:23 +0000 (22:34 +0000)]
Forgot this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37433
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 2 Feb 2011 22:31:13 +0000 (22:31 +0000)]
The achemso class provides the float package internally.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37432
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 2 Feb 2011 22:29:32 +0000 (22:29 +0000)]
Update all layouts to format 33.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37431
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 2 Feb 2011 22:28:47 +0000 (22:28 +0000)]
Change NeedsFloatPkg to UsesFloatPkg and introduce a new float tag
IsPredefined.
The point of this is that the current tag is doing both of these jobs,
and they are different. The achemso class shows this, since it uses
float.sty to define three different kinds of floats internally. We have
to set NeedsFloatPkg to false to prevent LyX from trying to redefine
them, but then we complain that there is no list command defined and so
do not enter it in Insert>List/TOC.
The new tag is not yet functional, just there.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37430
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 2 Feb 2011 22:15:52 +0000 (22:15 +0000)]
Just some renaming, preparatory to disentangling two jobs the current
NeedsFloatPkg tag does.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37429
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Wed, 2 Feb 2011 20:36:43 +0000 (20:36 +0000)]
remove duplicate check for current selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37428
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 2 Feb 2011 17:32:59 +0000 (17:32 +0000)]
More related to #7224: It's OK for layouts not to provide a ListCommand
if a float writes to the same auxfile as an existing float. E.g., in the
aguplus classes, we have a plate float that writes to lof and so is just
treated as a figure, for TOC purposes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37427
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Wed, 2 Feb 2011 17:26:40 +0000 (17:26 +0000)]
whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37426
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 2 Feb 2011 17:13:37 +0000 (17:13 +0000)]
Update all layouts to format 32.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37425
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 2 Feb 2011 17:11:56 +0000 (17:11 +0000)]
Fix bug #7224. This allows two different floats to declare the same
ListCommand without our writing it to the menu twice. There's a minor
annoyance, which is that we always take the list name from the first
declaration of the Float, but it's not clear whether this is a real
issue.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37424
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Wed, 2 Feb 2011 16:43:02 +0000 (16:43 +0000)]
Fix #7274.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37423
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Wed, 2 Feb 2011 16:12:35 +0000 (16:12 +0000)]
* configure.py: check also for xindy, which is a reasonable alternative to texindy and makeindex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37422
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 2 Feb 2011 15:10:03 +0000 (15:10 +0000)]
there is no need to install new fonts for LyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37419
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Wed, 2 Feb 2011 14:55:14 +0000 (14:55 +0000)]
typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37418
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Wed, 2 Feb 2011 11:05:56 +0000 (11:05 +0000)]
* InsetFloat.cpp (getCaption):
- Protect content which has a "]" in subfloat captions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37416
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Wed, 2 Feb 2011 10:55:17 +0000 (10:55 +0000)]
apply change of languange to the word under cursor if there is no selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37415
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Wed, 2 Feb 2011 10:40:53 +0000 (10:40 +0000)]
* fr.po from Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37414
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Wed, 2 Feb 2011 08:55:59 +0000 (08:55 +0000)]
Fixed focusing issue when dialog already open on lyx start,
and added selection of entire find/replace WAs when switching
among them on Tab/Alt+Tab.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37413
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Wed, 2 Feb 2011 06:50:13 +0000 (06:50 +0000)]
update tracker link.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37411
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Tue, 1 Feb 2011 22:57:10 +0000 (22:57 +0000)]
More precise identification of the lyx window (by id, instead of the buggy by title).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37410
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 1 Feb 2011 22:45:15 +0000 (22:45 +0000)]
* cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37409
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Tue, 1 Feb 2011 22:08:07 +0000 (22:08 +0000)]
Added the creation of a custom .lyx folder inside `pwd`/home/.lyx at
the beginning of the tests (which reconfigures LyX and takes some time),
followed by all of the tests using it. This way, we get only the default
configuration of LyX as a base, without being affected by individual users
custom configurations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37408
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Tue, 1 Feb 2011 20:03:01 +0000 (20:03 +0000)]
Disable preview converters that need dv2dt if dv2dt is not available.
This gives a better error message on the console (although it is still
impossible to figure out what went wrong from the GUI).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37407
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 1 Feb 2011 17:00:08 +0000 (17:00 +0000)]
* sv.po: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37403
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 1 Feb 2011 14:00:23 +0000 (14:00 +0000)]
* BufferParams.{cpp,h}:
- go back to Maping=tex-text for XeTeX and use Ligatures=TeX only for LuaTeX.
This gets users of older distributions (such as TeXLive 2009) back into the XeTeX game.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37402
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 1 Feb 2011 11:22:09 +0000 (11:22 +0000)]
Remerge strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37400
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Tue, 1 Feb 2011 11:21:48 +0000 (11:21 +0000)]
*id.po from Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37399
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Tue, 1 Feb 2011 09:53:57 +0000 (09:53 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37396
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Tue, 1 Feb 2011 09:53:22 +0000 (09:53 +0000)]
Remerge sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37395
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 1 Feb 2011 09:36:44 +0000 (09:36 +0000)]
* de.po: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37394
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Tue, 1 Feb 2011 09:34:37 +0000 (09:34 +0000)]
* enumitem.module: refer to mirror CTAN address, not to DANTE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37393
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Mon, 31 Jan 2011 20:39:35 +0000 (20:39 +0000)]
Few touches of autotests
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37390
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 31 Jan 2011 19:42:50 +0000 (19:42 +0000)]
Convert converter preferences to use new "latex=flavor" syntax.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37389
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jürgen Spitzmüller [Mon, 31 Jan 2011 14:48:16 +0000 (14:48 +0000)]
InsetParamsDialog: update the dialog settings on context change (on user request).
Fixes bug 7271.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37388
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Mon, 31 Jan 2011 10:19:03 +0000 (10:19 +0000)]
fix --disable-debug in configure; more cleanups to build_type handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37386
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sun, 30 Jan 2011 23:14:01 +0000 (23:14 +0000)]
Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37382
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sun, 30 Jan 2011 22:22:18 +0000 (22:22 +0000)]
Bump layout format for the new Display tag used in Comments and Greyedout notes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37381
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Sun, 30 Jan 2011 19:46:05 +0000 (19:46 +0000)]
Added test cases for format-aware searching of formatted text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37380
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Sun, 30 Jan 2011 19:45:17 +0000 (19:45 +0000)]
keytest.py ignores now also whitespaces only lines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37379
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Sun, 30 Jan 2011 19:44:31 +0000 (19:44 +0000)]
Removed stripping of whitespaces from script commands.
Added the capability to ignore empty lines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37378
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Sun, 30 Jan 2011 16:01:22 +0000 (16:01 +0000)]
Added Lang command to test cases. Added a couplr of regression tests for Advanced F&R.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37377
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Sun, 30 Jan 2011 16:00:01 +0000 (16:00 +0000)]
Refined description of syntax.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37376
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Sun, 30 Jan 2011 15:59:41 +0000 (15:59 +0000)]
Avoid confusing the window name of a LyX instance with the one of
Thunderbird while displaying LyX mails or Firefox while displaying
LyX web pages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37375
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Sun, 30 Jan 2011 15:58:08 +0000 (15:58 +0000)]
Added Sleep and Assert commands in test scripts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37374
a592a061 -630c-0410-9148-
cb99ea01b6c8
Peter Kümmel [Sun, 30 Jan 2011 10:23:29 +0000 (10:23 +0000)]
cmake: add option to download msvc 10 3rd party libraries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37370
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Sun, 30 Jan 2011 07:17:48 +0000 (07:17 +0000)]
isWordSeparator crashes when checking end-of-paragraph
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37369
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 29 Jan 2011 19:44:53 +0000 (19:44 +0000)]
In order to avoid code replication, use a template-based solution for
all types requiring the exact same code, as suggested by Tommaso.
This allows to simply add a single-line instantiation declaration
if there's the need of adding another type requiring the same code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37366
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Sat, 29 Jan 2011 14:48:56 +0000 (14:48 +0000)]
Update id.po from Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37365
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Sat, 29 Jan 2011 14:42:53 +0000 (14:42 +0000)]
Added basic automated testing capability, based on the MonKey Test (keytest.py) by McCabe-Dansted.
As of now, I plan to add a few regression tests for the Advanced Find & Replace using this engine.
It can be used for automated testing of other LyX subsystems as well. Just write your own *-in.txt
scripts and add them into the autotests/ folder.
TODOs:
- perhaps simplify keytest.py
- check how this behaves under various types of failure of the test
(e.g., LyX crashing, hanging, ...) just to be sure it goes on with
the other tests anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37364
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Sat, 29 Jan 2011 12:28:02 +0000 (12:28 +0000)]
restore the correct behavior of suppression of misspelled marker for word at cursor position - the change r37340 broke it
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37363
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Sat, 29 Jan 2011 11:00:28 +0000 (11:00 +0000)]
* sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37362
a592a061 -630c-0410-9148-
cb99ea01b6c8
Kornel Benko [Sat, 29 Jan 2011 10:57:36 +0000 (10:57 +0000)]
remerge sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37361
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sat, 29 Jan 2011 02:41:13 +0000 (02:41 +0000)]
Introduce a wrapper class for odocstream to help ensuring that no
blank lines may be inadvertently output. This is achieved by using two
special iomanip-like variables (breakln and safebreakln) in the lyx::
namespace. When they are inserted in the stream, a newline is output
only if not already at the beginning of a line. The difference between
breakln and safebreakln is that, if needed, the former outputs '\n'
and the latter "%\n".
In future, the new class will also be used for counting the number of
newlines issued. Even if the infractrure for doing that is already in
place, the counting is essentially still done the old way.
There are still places in the code where the functionality of the
class could be used, most probably. ATM, it is used for InsetTabular,
InsetListings, InsetFloat, and InsetText.
The Comment and GreyedOut insets required a special treatment and a
new InsetLayout parameter (Display) has been introduced. The default
for Display is "true", meaning that the corresponding latex
environment is of "display" type, i.e., it stands on its own, whereas
"false" means that the contents appear inline with the text. The
latter is the case for both Comment and GreyedOut insets.
Mostly, the only visible effects on latex exports should be the
disappearing of some redundant % chars and the appearing/disappearing
of null {} latex groups after a comment or lyxgreyedout environments
(they are related to the presence or absence of a space immediately
after those environments), as well as the fact that math environments
are now started on their own lines.
As a last thing, only the latex code between \begin{document} and
\end{document} goes through the new class, the preamble being directly
output through odocstream, as usual.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37360
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 28 Jan 2011 23:45:00 +0000 (23:45 +0000)]
Update from Waluyo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37358
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 28 Jan 2011 23:44:26 +0000 (23:44 +0000)]
Remerge strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37357
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 28 Jan 2011 23:06:05 +0000 (23:06 +0000)]
Add Tommaso to credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37356
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Fri, 28 Jan 2011 21:20:48 +0000 (21:20 +0000)]
Improve roundtrip of Customization.lyx:
The lstlistings environment is no longer be unknown.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37355
a592a061 -630c-0410-9148-
cb99ea01b6c8
Georg Baum [Fri, 28 Jan 2011 20:29:06 +0000 (20:29 +0000)]
Clean up parsing of optional arguments:
If an optional argument can be followed by another one, we need to use
getFullOpt(). Otherwise it would not be possible to parse \foo[][bar].
Remove getOptContent to avoid confusion (it does exactly the same as
getArg('[', ']') which is used in most places.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37354
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Fri, 28 Jan 2011 19:48:03 +0000 (19:48 +0000)]
Fix lyx2lyx problem with sweave files and ParBreakIsNewline.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37353
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 28 Jan 2011 14:53:37 +0000 (14:53 +0000)]
Thanks to Jose.
BTW I see some people like Stephan have quite up-to-date entries :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37352
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 28 Jan 2011 14:45:08 +0000 (14:45 +0000)]
Update info in credits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37351
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Fri, 28 Jan 2011 14:28:11 +0000 (14:28 +0000)]
update totem correctly (and revert r37349)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37350
a592a061 -630c-0410-9148-
cb99ea01b6c8
Edwin Leuven [Fri, 28 Jan 2011 14:02:52 +0000 (14:02 +0000)]
update my totem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37349
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 28 Jan 2011 12:39:50 +0000 (12:39 +0000)]
.lyx as symlinks killed when saving because of #6587 workarounds.
At the end escape for fsync would be the least hackish solution
but it needs somebody with ext4 to test with.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37348
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 28 Jan 2011 10:05:01 +0000 (10:05 +0000)]
Add Patrick to credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37346
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 28 Jan 2011 10:04:59 +0000 (10:04 +0000)]
Another glitch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37345
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 28 Jan 2011 10:04:57 +0000 (10:04 +0000)]
Bug in fixltx2e entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37344
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 28 Jan 2011 10:04:55 +0000 (10:04 +0000)]
Add the rest into LaTeXConfig.lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37343
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Fri, 28 Jan 2011 10:04:52 +0000 (10:04 +0000)]
Bug #7095: Support fix-cm.sty
Patch from Patrick Atamaniuk.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg165122.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37342
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Fri, 28 Jan 2011 09:52:12 +0000 (09:52 +0000)]
Code simplification (thx Vincent).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37341
a592a061 -630c-0410-9148-
cb99ea01b6c8
Stephan Witt [Fri, 28 Jan 2011 07:01:38 +0000 (07:01 +0000)]
save the correct last position of misspelled words in spell checker state (thanks JMarc)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37340
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 27 Jan 2011 16:33:00 +0000 (16:33 +0000)]
Fix default buffer output format for literate documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37339
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 27 Jan 2011 11:53:51 +0000 (11:53 +0000)]
For the default View and Update actions of the View menu, use the lfuns without parameters.
This paves the way for having a shortcut for buffer-view and buffer-update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37338
a592a061 -630c-0410-9148-
cb99ea01b6c8
Jean-Marc Lasgouttes [Thu, 27 Jan 2011 11:14:32 +0000 (11:14 +0000)]
Finish fixing bug #6623 (Sweave cannot read local files)
* in converters, make sure that $$p and $$r are slash-terminated paths (like in viwers, BTW)
* pass the full intput path to lyxsweave.R
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37337
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Thu, 27 Jan 2011 00:43:25 +0000 (00:43 +0000)]
Completing r37335 (apologies).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37336
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Wed, 26 Jan 2011 23:54:12 +0000 (23:54 +0000)]
Fixing regression bug after last commit. Couldn't find anything better, however now it apparently works and doesn't crash
(when replacing text which is longer than the replaced contents in math mode and similar).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37335
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Wed, 26 Jan 2011 23:18:36 +0000 (23:18 +0000)]
Fixes this issue:
with this sequence:
-) C-N (new doc)
-) C-S-f (open advanced find dialog)
-) Alt-Tab (switch to other application)
-) Alt-Tab (switch back to LyX)
the focus now is on the main document WA. I think it should be back on the Find WA where I was before the Alt-Tab.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37334
a592a061 -630c-0410-9148-
cb99ea01b6c8
Tommaso Cucinotta [Wed, 26 Jan 2011 23:06:02 +0000 (23:06 +0000)]
Puts the selection at the correct position after replacing math contents with Advanced Search.
Fixes crashes reported as #7245 and also #7241.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37333
a592a061 -630c-0410-9148-
cb99ea01b6c8
Pavel Sanda [Wed, 26 Jan 2011 18:35:25 +0000 (18:35 +0000)]
* ANNOUNCE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37332
a592a061 -630c-0410-9148-
cb99ea01b6c8