Commit Graph

32514 Commits

Author SHA1 Message Date
Uwe Stöhr
80d0710422 - text.cpp: full tex2lyx support for lstlisting (support for \lstinline will follow soon)
- test/test-insets.tex: add a more advanced examples

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40856 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-05 01:45:14 +00:00
Uwe Stöhr
d43406f035 EmbeddedObjects.lyx: description how to color every second table row
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40854 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-04 23:51:57 +00:00
Uwe Stöhr
b2a03f4e67 tex2lyx/text.cpp: whitespace fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40853 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-04 14:18:33 +00:00
Uwe Stöhr
06d9238f30 test/test-insets.tex: add examples for listings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40852 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-04 14:06:13 +00:00
Uwe Stöhr
df95041141 - text.cpp: - fix tex2lyx parsing of verbatim environments
- Parser.cpp: - new function to parse verbatim environments
- test/test-structure.tex: updated example

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40850 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-04 13:27:53 +00:00
Uwe Stöhr
c9892a3a3e - UserGuide.lyx: add the F5-key feature
- Japanese and German UserGuide.lyx: adapt a section to the other language variants

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40849 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-04 01:23:46 +00:00
Kornel Benko
b4a711615c * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40845 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-03 15:44:01 +00:00
Vincent van Ravesteijn
1991488377 Fix handling of the add branch textfield in GuiBranches
- Enter in the textfield adds the branch,
- Make sure the dialog is not closed when pressing enter, 
- Pressing Ctrl+Enter or the Enter on the numpad closes the dialog.

Patch based on a patch from Scott Kostyshak.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40839 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-03 14:39:32 +00:00
Vincent van Ravesteijn
803e7a9cfa GuiCitation: Do not allow to add entries by pressing Enter when the Add button is disabled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40835 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-03 12:39:19 +00:00
Vincent van Ravesteijn
1c66a43a91 Add Scott Kostyshak to the credits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40834 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-03 11:43:14 +00:00
Uwe Stöhr
353f8effa9 modernCV.lyx: fix #8064
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40832 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-02 23:38:46 +00:00
Jürgen Spitzmüller
a7caeda683 Implement access to hunspell's stemming function and let the Thesaurus use that (part of bug #8060).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40830 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-02 10:20:09 +00:00
Jürgen Spitzmüller
44ed83dd86 Work around qt bug that prevents the glyph LATIN CAPITAL LETTER SHARP S from being pasted (bug #8057).
Candidate for branch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40829 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-02 09:06:09 +00:00
Enrico Forestieri
ae2adc9559 Since version 1.9 SumatraPDF supports forward search without DDE commands.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40828 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-02 02:35:30 +00:00
Georg Baum
c2748157bb Fix parsing of \sindex{stuff} and \sindex[]{stuff}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40826 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-01 20:37:34 +00:00
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