Commit Graph

28960 Commits

Author SHA1 Message Date
Georg Baum
67af5a5388 make it thread safe
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40493 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-13 19:56:00 +00:00
Richard Heck
4663e5ec88 Repairs to case environment, from Paul Rubin. Modified by me to use
enumitem, since we already have a module for that, and I am a bit
worried about conflicts between enumerate.sty and enumitem.sty.

A side effect of this, however, is that we will load enumitem.sty
whenver we use case environments.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40492 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-13 19:50:36 +00:00
Georg Baum
9b8773826c do not hardcode packages loaded by external insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40491 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-13 19:40:05 +00:00
Richard Heck
d2e8a5b8eb Fix issue noted by Julien: With new files especially, we will find
the name we are trying to write in the BufferList, since the file
gets a name when it is created.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40489 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-13 19:18:09 +00:00
Julien Rioux
1cdd5fcb6f Initialize biblioChanged_ when we update the document settings dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40488 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-13 12:50:16 +00:00
Julien Rioux
35fa802830 Move some code to applyView().
Previous commit did not distinguish whether the changes were applied or cancelled.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40487 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-12 16:38:04 +00:00
Julien Rioux
59e0cb8f85 Remove the .aux and .bbl files and update the citation labels
iff bibliography settings are changed in the document settings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40486 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-12 16:04:00 +00:00
Julien Rioux
667ecbdd1d User frontend for the new document-wide bibliography style feature.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40485 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-12 14:45:30 +00:00
Julien Rioux
0f30a858f8 Add a document-wide default bibliography style \biblio_style.
This holds the name of a BibTeX style file for now. Any BibTeX inset
can set the style to "default" to use the document-wide style.

LyX format incremented to 420.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40484 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-12 14:40:34 +00:00
Uwe Stöhr
6682ae0d90 tex2lyx/text.cpp: remove development residue
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40481 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-11 23:20:23 +00:00
Uwe Stöhr
2cc4d6ae25 tex2lyx/text.cpp: add a missing ',' and use LyX's method to remove the file extension (thanks Georg)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40480 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-11 23:17:02 +00:00
Uwe Stöhr
37de920228 lib/Makefile.am: add missing entries for r40414
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40479 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-11 22:40:40 +00:00
Uwe Stöhr
d3727233e4 German Intro.lyx: remove obsolete sentence
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40478 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-11 22:24:19 +00:00
Uwe Stöhr
774c62a590 jasatex.layout, JASA.lyx; correct the SVN EOL style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40476 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 23:09:50 +00:00
Uwe Stöhr
d528fc8286 new layout for articles in the journal JASA (http://wiki.lyx.org/Layouts/JASATeX)
OK for branch too?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40475 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 23:07:24 +00:00
Uwe Stöhr
8368101b1a layout file: remove some further unused strings and some whitespace adjustments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40473 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 21:35:02 +00:00
Uwe Stöhr
6aacde638c iopart.layout: only whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40472 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 01:53:11 +00:00
Uwe Stöhr
72bf7ee3bb Customization.lyx: a formatting fix and resetting fileformat to the one of LyX 2.0.x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40471 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 01:15:11 +00:00
Uwe Stöhr
2bc2f96a10 addendum to previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40469 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 01:13:19 +00:00
Uwe Stöhr
1c729ad816 template files: rename some to make it clear that the names refer abbreviations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40468 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 01:08:09 +00:00
Uwe Stöhr
c32ae63b6c - simplecv.layout: remove unused string definitions and use the itemize definition from stdlists.inc
- stdlists.inc: remove unused string definitions

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40467 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 00:57:46 +00:00
Uwe Stöhr
9ca7586d1c de.po and nl.po: some header fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40466 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-09 21:40:06 +00:00
Uwe Stöhr
5786738163 LINGUAS, nl.po: backport nl.po because it is now in our official language list and therefore needs to be remerged from time to time also in trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40463 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-09 21:25:21 +00:00
Richard Heck
5c99bdfea8 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40460 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-09 20:29:51 +00:00
Richard Heck
98c54908c2 Add dviluatex format, so that the appropriate form of LaTeX can be
exported.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40459 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-09 20:23:10 +00:00
Richard Heck
264cc1139c The View->Source pane resets the format every time you click into
a new paragraph, which is very annoying. This commit fixes this bug.

If anyone has a better idea, please let me know. I posted to devel
about it but got no response.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40456 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-09 19:48:50 +00:00
Richard Heck
2d8d85f47e Fix bug #7256. Reduce space around inset buttons by a pixel on each side.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40454 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-09 15:36:53 +00:00
Uwe Stöhr
fe8c185a6e support for Australian and Newzealand as document language; fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40452 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-08 23:58:30 +00:00
Uwe Stöhr
14bcaa5f9d lyx2lyx/lyx_1_6.py: fix a typo (port from branch)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40451 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-08 23:16:34 +00:00
Richard Heck
8a226ec47a Comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40449 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-08 23:07:40 +00:00
Julien Rioux
72cface90f Update links to the bug tracker.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40445 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-08 20:19:10 +00:00
Julien Rioux
55a3dd7b34 listerrors.lyx : Update a link.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40444 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-08 20:19:08 +00:00
Julien Rioux
5aa019f5d9 MultilingualCaptions.lyx : Correct a typo and a bad link.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40443 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-08 20:19:04 +00:00
Georg Baum
bb0432d74a Beautify output of \usepckage statements (each statement is on its own line
now) and move more packages to the new exclude mechanism.
The remaining ones are not so easy.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40442 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-08 20:05:51 +00:00
Pavel Sanda
b37abaf655 Add Timo to credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40441 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-08 15:16:34 +00:00
Kornel Benko
9164cdcee4 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40438 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-08 11:25:48 +00:00
Kornel Benko
8d3fb82716 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40436 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-08 10:00:05 +00:00
Richard Heck
205d125807 Format for previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40435 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 23:47:14 +00:00
Uwe Stöhr
b947a8eea1 tex2lyx/text.cpp: a method to fix #7897
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40431 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 22:48:44 +00:00
Richard Heck
cad2ffea44 Update tex2lyx to format 418. Nothing really to do other than write
what we expect to see.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40430 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 22:46:15 +00:00
Richard Heck
5d2d5e8ad5 Revert unintentional commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40429 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 22:44:21 +00:00
Richard Heck
8ba08a53b2 Update all layouts to format 36.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40428 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 22:41:38 +00:00
Richard Heck
5a7672adec Fix bug #5805 and similar requests. Adds a document setting that
tells LyX not to show BLOCK text as justified, but still keeps
the usual paragraph indentation.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40427 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 22:33:25 +00:00
Richard Heck
70ad54bec9 Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40426 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 22:33:19 +00:00
Uwe Stöhr
75cbb27e5c tex2lyx Preamble.cpp, text.cpp: fix #7845 also for spreadsheet template
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40424 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 21:21:22 +00:00
Richard Heck
fa19ec6ff9 Fix bug #6293 as suggested there: We change the title of the PDF
options pane if hyperref is already provided.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40422 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 21:14:41 +00:00
Richard Heck
4c1f1357c1 Fix bug #7921. We should not allow the user to save a file thereby
over-writing a file that is already open. So we issue a warning and
ask if they'd like to try a different name.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40420 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 20:35:29 +00:00
Pavel Sanda
a58cae2ada Forgot the icon itself.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40419 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 16:49:43 +00:00
Pavel Sanda
2b36e0a860 - Add scalable icon into tarball
- let icons install into proper locations
- use theme routines to load proper icon
  (using this for loading toolbar icons would be another
  step how to synchronize LyX with its environment.)

Patch from Timo Kluck.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40418 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 16:47:43 +00:00
Peter Kümmel
f41057cae6 clang: std::string is used here, fwd is not enough
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40417 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 16:03:37 +00:00