Commit Graph

29299 Commits

Author SHA1 Message Date
Julien Rioux
1e947e3a18 Move the citation engine machinery to layouts.
Add a new layout syntax CiteEngine to define the citation commands
available for a given citation engine.

Also extend the CiteFormat syntax to allow more customization. This
mechanism, previously used to produce bibliography entries in the
citation GUI based on the BibTeX entrytype, is now also used to
produce the textual labels for citation insets in the buffer view.

Thus citation styles are almost completely customizable by modules.
Modules for the basic, jurabib and natbib engines are implemented.

Layout format incremented to 37.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40820 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-01 00:41:30 +00:00
Uwe Stöhr
69b2843d46 installer:
- fix an uninstallation bug that user settings were not remove if requested
- whitespace fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40814 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-29 22:40:03 +00:00
Uwe Stöhr
0d165bf5d6 tex2lyx/text.cpp: a fix and a clarification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40813 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-29 22:39:21 +00:00
Pavel Sanda
914491df96 * Additional.lyx - RCS tweaks for Win
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40811 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-29 18:39:45 +00:00
Vincent van Ravesteijn
c64efd6361 Update boost to version 1.49.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40809 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-29 16:31:24 +00:00
Georg Baum
190ab4774d Import \sindex correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40804 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-28 20:34:50 +00:00
Kornel Benko
3929a71cd0 Avoid crash in call to magic_file() if the checked file does not exist
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40803 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-28 15:21:46 +00:00
Uwe Stöhr
d2f1b1a3df French UserGuide.lyx: fix file ending
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40802 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-28 00:03:29 +00:00
Uwe Stöhr
146529a3f8 installer: this is LyX 2.0.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40801 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-27 01:52:22 +00:00
Uwe Stöhr
33a2a2eb7a installer: fix an uninstaller issue
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40800 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-27 01:50:43 +00:00
Uwe Stöhr
c352917f31 French UserGuide.lyx: updates from Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40799 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-27 01:00:47 +00:00
Uwe Stöhr
8bca3e510f - text.cpp: escape backslashes in verbatim, fix a thinko
- test-structure.tex: add verbatim testcase

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40798 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-27 00:55:57 +00:00
Pavel Sanda
c73d9adeb7 Simplify & fix InsetGraphics tooltip, DocFileName inherits from FileName.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40797 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-26 23:09:25 +00:00
Pavel Sanda
f27d015fa4 Add tooltip for graphics insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40796 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-25 23:05:28 +00:00
Kornel Benko
77a31ee0f2 Check for needed magic functions before using libmagic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40795 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-25 13:07:17 +00:00
Kornel Benko
c53fb6fed9 Duplicate definitions :(
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40794 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-23 09:34:25 +00:00
Kornel Benko
135ff6a5d8 * sk.po, without remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40793 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-23 08:53:54 +00:00
Pavel Sanda
78508399bc Greetings to Lars from Scott Kostyshak, cf r40585.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40792 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-22 12:11:21 +00:00
Kornel Benko
f5daafc02b Added libmagic to cmake build. Should to be also adapted to windows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40791 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-22 10:07:04 +00:00
Georg Baum
de6e4a2937 Make guessFormatFromContents() a bit more private, since it is not supposed
to be used in new code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40790 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-21 20:46:37 +00:00
Georg Baum
26e5f1a8ec Use libmagic for file format detection if available.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40789 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-21 20:29:44 +00:00
Georg Baum
9f58d50944 merge triplicated image format lists
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40788 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-21 20:20:53 +00:00
Kornel Benko
992b1d021e * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40787 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-21 15:35:59 +00:00
Pavel Sanda
15e42e93ee Fix #7787
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40786 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-21 13:54:55 +00:00
Uwe Stöhr
05446b232f support for verbatim: step 2: tex2lyx support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40785 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-20 23:38:13 +00:00
Uwe Stöhr
6869d5205f support for verbatim: step 1: the layout and the lyx2lyx code,;fileformat change (next step is the beamer issue and last step tex2lyx support)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40784 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-20 02:10:33 +00:00
Enrico Forestieri
3018614da1 On *nix, a proper forward definition of docstring is necessary for
overriding a pure virtual method (part of bug #8032).
I wonder why it was working on Windows and why it works for QString.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40783 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-19 21:44:47 +00:00
Georg Baum
360b94ee35 Remove outdated, unmaintained build system. Still one to go ;-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40780 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-19 13:13:05 +00:00
Uwe Stöhr
1585015805 documentation files: port recent changes from branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40779 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-19 04:41:01 +00:00
Uwe Stöhr
19efc2d2e7 ja.po: make it compilable (this file was accidentally truncated in r40749, fixes #8048)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40776 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-19 02:39:47 +00:00
Enrico Forestieri
1eb41a88f2 Fix bug #8032 (timeout when using the Sweave module)
After the timeout elapses, the user is notified that a command is taking
a long time to complete and is given the choice to stop it. If the user
decides to let the command run, the timeout is increased, otherwise the
command is killed. One is prompted a first time after 3 mins, a second
time after 9 mins, a third time after 27 mins, and so on, i.e., the n-th
prompt occurs after 3^n minutes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40775 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-18 14:16:25 +00:00
Enrico Forestieri
dd2185a4a6 Call lyxpak.py using the original (not mangled) document file name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40773 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-18 13:49:33 +00:00
Richard Heck
a26b53885e Minor clarification. See bug #8044.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40769 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-16 17:52:01 +00:00
Richard Heck
6f821fe14d Change i.g. to i.e. throughout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40768 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-16 15:47:42 +00:00
Richard Heck
cc4734f317 Typos and the like in the Additional Features manual, fixed thanks
to Scott Kostyshak.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40767 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-16 15:39:53 +00:00
Kornel Benko
ceefd398fe * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40766 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-16 14:50:27 +00:00
Jean-Marc Lasgouttes
586e0e6b8a Set use_non_tex_fonts buffer parameter and default encoding correctly when we detect that xetex or luatex is used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40765 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-16 10:40:02 +00:00
Uwe Stöhr
220cbe0fd8 cmake/build.bat: disable merged build be default, can be re-enabled for a final build (as suggested by Peter)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40764 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-15 23:17:34 +00:00
Uwe Stöhr
93ec58a66c fr.po: port recent fixes from branch by using the file from branch (fr.po has not yet been changed in trunk for LyX 2.1)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40763 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-15 23:04:36 +00:00
Uwe Stöhr
064834e468 port changes from branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40762 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-15 22:46:48 +00:00
Georg Baum
481acc66e7 Forgot that in r40694: There is no {} needed after \nobreakdash-
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40758 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-15 20:56:40 +00:00
Georg Baum
9fe72c3501 Move readBB_from_PSFile() out of support (no code change),
since it soon will need to use the Formats class.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40757 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-15 20:50:52 +00:00
Georg Baum
433b919457 Revert r40742, since it broke the tooltips of the changed commands.
Apart from that it implies a tab width of 4, which is not used by everybody.
The other commands should probably be fixed as well, but I do not touch foreign code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40756 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-15 20:18:21 +00:00
Jean-Marc Lasgouttes
5d3461b10f Sort out usage of INset::has Settings and Inset::clickable
* now hasSettings only means... that the inset has a settings dialog
 * and clickable means that something should happen with left-clicking on the inset

Some inset behaviours are changed:
 * (V)Space insets are not clickable anymore (the settings dialog is still accessible via context menu and Edit menu)
 * TOC inset is now shown as active
 * FloatList inset is shown as active and clicking on it opens the relevant part of the TOC dialog

This could be a candidate for branch (2.0.4)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40755 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-15 09:42:13 +00:00
Uwe Stöhr
fcca6c2d11 - German UserGuide.lyx: some translations
- UserGuide.lyx: mention LibreOffice and some small glitches

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40754 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-15 00:49:19 +00:00
Uwe Stöhr
4f913c3e72 UserGuide.lyx: port changes from branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40752 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-14 21:50:18 +00:00
Uwe Stöhr
b6a70a84a8 ja.po: big update for trunk from Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40749 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-14 21:06:51 +00:00
Uwe Stöhr
827e82b05a de.po: 3 translations and 2 shortcut clashes fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40746 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-13 01:26:16 +00:00
Uwe Stöhr
e0436370b6 sweave.lyx: completely revised example file by Yihui Xie
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40744 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-13 00:36:57 +00:00
Uwe Stöhr
dfee6bc359 stdtoolbars.inc: correct layout to fit with the other entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40742 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 22:44:23 +00:00