Commit Graph

24799 Commits

Author SHA1 Message Date
Richard Heck
2a61cdbf39 Reference prefixes for theorem environments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34855 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 13:45:21 +00:00
Richard Heck
c2a4932ce0 Small improvement to RefPrefix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34854 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 13:36:19 +00:00
Peter Kümmel
dbe3c9a05f cmake: don't install to /usr/local/2.0 by default
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34847 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-10 20:20:54 +00:00
Kornel Benko
bac078bfc1 Remove now unneeded comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34843 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-10 19:45:19 +00:00
Kornel Benko
b5ec78f6e5 Removed _one_ perl-dependency in creating po-files.
'cat.py' created by Richard Heck

This script resembles the unix command 'cat', valid now on every
platform.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34828 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 19:02:04 +00:00
Kornel Benko
9fc93b0190 Check for python before updating po-files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34827 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 16:11:44 +00:00
Richard Heck
5577e877bb Try to move all updateBuffer() calls to a central location. We now use
DispatchResult to store a flag that tells us whether we need a buffer
update or not. 

So: If you find a missing one, go to an appropriate place in the
dispatch and call cur.forceBufferUpdate() or, if you don't have a cursor
but do have a DispatchResult, call dr.forceBufferUpdate().

There is one remaining call I could not move, in
TextMetrics::redoParagraph. But this looks like an emergency call when
the macro context has not been set. There are also a couple calls that
are connected with buffer creation that I commented out, since the same
call is done again almost immediately. But I'm not positive about those.

Now the nice thing would be to do the same for updateMacros().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34826 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 14:37:00 +00:00
Jürgen Spitzmüller
be70a8eb11 * LaTeX.cpp: understand Biblatex's polite rerun request.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34822 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 08:40:03 +00:00
Peter Kümmel
f8620690b6 cmake: no version suffix for binaries on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34821 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 08:39:25 +00:00
Peter Kümmel
8ed3c9ce25 cmake: also use external libintl on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34819 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 08:16:06 +00:00
Peter Kümmel
4694059150 cmake: also use external libintl on windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34818 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 08:15:31 +00:00
Kornel Benko
9ddaad1da8 Sort input files for xgettext the same way as with automake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34817 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 06:07:46 +00:00
Richard Heck
0e14f379f3 Rename a couple routines. This will avoid confusion with a forthcoming
patch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34816 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-08 20:04:35 +00:00
Richard Heck
c0cc803e55 Warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34815 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-08 20:01:17 +00:00
Kornel Benko
e2f01217a8 Sort entries in created POTFILES.in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34814 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-08 11:23:30 +00:00
Stephan Witt
f4aedbe672 correct ifdef+defined construct
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34813 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-08 10:39:24 +00:00
Stephan Witt
7276f04fa1 provide native spell checker for Mac OS X
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34812 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-08 07:56:29 +00:00
Stephan Witt
b12da1968a add APPLESPELL orthogonal to ASPELL
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34811 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-08 07:54:42 +00:00
Jean-Marc Lasgouttes
4f735babe2 fix compilation of applespell with autotools
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34810 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-08 07:44:34 +00:00
Uwe Stöhr
07e8f2e1bc InsetBox.cpp: only shaded boxes can have a non-plain layout when there is no inner box
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34809 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-08 03:01:50 +00:00
Uwe Stöhr
142caff833 InsetBox.cpp: only shaded boxes can have multiple paragraphs when there is no inner box
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34808 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-08 02:42:36 +00:00
Uwe Stöhr
af6de17818 lyx_2_0.py: fix reversion routine for \makebox support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34807 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-08 02:24:13 +00:00
Uwe Stöhr
8082dfd825 scons_manifest.py: correct r34805
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34806 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-08 01:34:06 +00:00
Uwe Stöhr
5902b7c1f7 scons_manifest.py: add AppleSpellChecker
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34805 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-08 01:20:18 +00:00
Peter Kümmel
07eef68a90 cmake: only set and show compiler relevant options
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34803 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-07 22:26:36 +00:00
Kornel Benko
ef6de90bb5 Remove AppleSpellChecker.* from non-apple platform
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34802 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-07 21:13:39 +00:00
Stephan Witt
0a326e90f7 provide native spell checker for Mac OS X
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34801 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-07 17:40:50 +00:00
Pavel Sanda
4da0c94afa Support for AEA.cls (American Economic Association journals)
Patch from Koji (#6807).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34800 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-07 17:17:09 +00:00
Enrico Forestieri
63511e17f8 Improve the lyx2latex function.
- Avoid processing lines of a note inset, as we are going to discard them
- Translate the horizontal space inset
- Correct translation of \backslash
- Correct translation of ^ (\^ is an accent in latex)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34799 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-07 10:16:53 +00:00
Uwe Stöhr
98a12f1698 - po files: remerge
- el.po: portings from branch
- de.po: some translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34797 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-07 00:44:51 +00:00
Uwe Stöhr
76ad72221c ColorUi.ui: remove unnecessary window title
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34796 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-07 00:43:47 +00:00
Uwe Stöhr
bcd8b9a1f1 lyx_2_0.py: coding style fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34794 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 23:56:47 +00:00
Uwe Stöhr
fea2f32b6c also for trunk: new translated Greek splash.lyx and Intro.lyx from Ulysses
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34793 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 23:47:28 +00:00
Pavel Sanda
f70d8db243 Recognize 'jbibtex' in pLaTeX . Patch from Koji, #6808.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34792 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 20:57:45 +00:00
Peter Kümmel
b9a447febf cmake: typos, option grouping
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34791 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 20:10:28 +00:00
Peter Kümmel
2b99cacec9 cmake: more option cleanup, use LYX_OPTION macro for consistent messages and variable naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34790 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 19:47:16 +00:00
Enrico Forestieri
7fd69c63a7 Fix reversion of IEEEtran layout documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34789 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 19:20:19 +00:00
Kornel Benko
20b7726ab3 Keep options together
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34788 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 18:19:53 +00:00
Richard Heck
1a3629d720 Don't rely upon there being a certain number of argumnets to the box inset.
Some later LyX version might omit defaults without lyx2lyx to replace them.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34787 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 14:50:59 +00:00
Richard Heck
673e65cc15 Off by one here. Left an extra \begin_layout line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34786 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 14:38:10 +00:00
Richard Heck
87a93a35e6 Fix up the put_cmd_in_ert routine so that it accepts either a list
or a string as input, and does the right thing either way. Previously,
when it saw a string "test" it would convert it to "t\ne\ns\nt", since
it was quite happy to call join() on the string.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34785 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 14:24:17 +00:00
Richard Heck
8d18af0309 More elses after returns.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34784 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 14:00:30 +00:00
Richard Heck
2909e6450b Return here unless the doc class is correct.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34783 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 13:50:23 +00:00
Richard Heck
9defda7c32 Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34782 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 13:38:27 +00:00
Richard Heck
ec6ae81572 No else after return.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34781 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 13:36:33 +00:00
Vincent van Ravesteijn
1541a7f756 GuiBox.cpp: Remove some unnecessary negated logic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34780 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 12:01:09 +00:00
Kornel Benko
c803547a97 Set group LYX for used options
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34779 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 05:42:45 +00:00
Uwe Stöhr
27f9f5b0c3 lyx_2_0.py: revert unwanted changes from r34773
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34776 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 03:30:35 +00:00
Uwe Stöhr
887343ca05 lyx2lyx/lyx_2_0.py:
- add routine to revert command environments specified in layout files
- finish routine for the new IEEEtran layout file (part 2/2)
  (very nasty but the only working solution)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34774 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 03:22:36 +00:00
Uwe Stöhr
6fd3bfd092 lyx_2_0.py:
- fix a bug
 - some coding style fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34773 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-06 03:16:49 +00:00