Commit Graph

28823 Commits

Author SHA1 Message Date
Georg Baum
d267511d42 Fix bug #7468 (at least for standard environments).
List environments (as the one in the bug report) can't
be handled correctly in tex2lyx as long as LyX does not allow contents
after the environment start but before the first \item.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39871 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-16 19:57:10 +00:00
Abdelrazak Younes
27f3327fa1 tex2lyx: disambiguate duplicate trim() function by reusing trim() from src/support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39870 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-16 08:22:20 +00:00
Uwe Stöhr
fc8ba5776e Math.lyx: correct name of a term as discussed on the list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39867 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-15 20:47:49 +00:00
Tommaso Cucinotta
f134fcd153 Make trunk compile again after recent switch to QString * for selectedFilter param in FileDialog::save().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39866 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-15 13:41:15 +00:00
Tommaso Cucinotta
79716cbcd0 Clean up word lists on exit. Not really a concrete issue, but just
get less "noise" when debugging for memory leaks.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39865 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-15 13:38:52 +00:00
Tommaso Cucinotta
f4400845af Cleanup private part of Layout Box on destructor (probably not really an
issue, but brings less noise about memory leaks when using valgrind).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39864 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-15 13:34:14 +00:00
Tommaso Cucinotta
cb9e09f29e Take Vincent's advice: using a pointer for selectedFilter
avoids a useless object creation, as Qt tolerates the
pointer to be null as well.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39863 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-15 13:32:14 +00:00
Tommaso Cucinotta
c5496cbf5d Remove conflict for menu shortcut.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39862 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-15 13:27:00 +00:00
Jürgen Spitzmüller
030383dfb0 Restore correct translation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39861 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-15 06:39:04 +00:00
Uwe Stöhr
7a209305b0 - UserGuide.lyx: update sec. C.2-C.4
- German UserGuide.lyx: some translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39859 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-15 03:28:31 +00:00
Uwe Stöhr
6dafd12867 de.po: fix a wrong translation and a shortcut conflict
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39856 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-15 00:06:25 +00:00
Uwe Stöhr
a5c598824f SCons: add the icon sets oxygen and classic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39855 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-14 22:36:07 +00:00
Jürgen Spitzmüller
d965079386 oops.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39852 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-14 12:12:52 +00:00
Jürgen Spitzmüller
4b3bea7054 Fix parsing of branch names with spaces.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39851 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-14 12:11:20 +00:00
Uwe Stöhr
1db7ad00fe PrefLanguageUi.ui: this string was forgotten in r39449
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39848 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-14 04:18:28 +00:00
Uwe Stöhr
b28143d1e9 - UserGuide.lyx: updated sec. C.1
- de.po: change a translation to the most commonly used word

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39845 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-14 03:07:47 +00:00
Uwe Stöhr
6a25a18aea - documentation files: port today's changes to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39843 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-13 23:15:52 +00:00
Uwe Stöhr
38be92aafc - UserGuide.lyx: some corrections in Appendix A
- German UserGuide.lyx: many translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39840 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-13 02:13:51 +00:00
Uwe Stöhr
30295b32b7 Math.lyx: add note that the package mathdots must be installed for a complete output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39838 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-12 16:08:33 +00:00
Uwe Stöhr
6fba3dd229 chkconfig.ltx: add the packages used in our documentation files (the docs should be compilable also without them, but then the PDF output would not contain all sections). This way we assure that at least on Windows all used LaTeX-packages are installed while installing LyX.
Richard, OK for branch too?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39836 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-12 16:07:19 +00:00
Uwe Stöhr
d5ddca54c3 - UserGuide.lyx: updated some sections
- German UserGuide.lyx: some translations and 2 updated images

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39834 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-12 05:33:31 +00:00
Uwe Stöhr
d05178fcfd de.po: fix a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39833 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-12 05:31:00 +00:00
Kornel Benko
77dc21661e * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39825 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-10 10:34:22 +00:00
Enrico Forestieri
37ba87cfb1 Avoid unnecessary spaces with the Windows shell.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39824 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-09 21:53:35 +00:00
Enrico Forestieri
8edfef001d Refine fix for bug #7800. Also allow setting the document encoding to
an encoding different from the automatically chosen one.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39823 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-09 14:45:51 +00:00
Enrico Forestieri
6c85f8338f No need for the more expensive to_utf8() here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39821 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-08 22:21:01 +00:00
Enrico Forestieri
33c5f6d628 Fix bug #7800 (Lyx cannot create dvi with Russian)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39820 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-08 22:13:38 +00:00
Tommaso Cucinotta
dfd8a97bff Presenting prettyname of formats in filedialog filter dropdown box (instead of shortnames), sorted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39816 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-07 08:21:31 +00:00
Stephan Witt
d29f1f6930 avoid compiler warning regarding operator precedence
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39815 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-07 07:59:50 +00:00
Jürgen Spitzmüller
ece9228f90 Fix biber execution om MikTeX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39814 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-07 07:09:13 +00:00
Lars Gullik Bjønnes
4e3239dc98 Fixup for bug removal in GCC 4.7
A long standing bug has been fixed in GCC 4.7, the bug was a non-
sactioned extra lookup. This caused some code to work that really
shouldn't.

The fixes are: add this->, Class::, or move functions about
as required to fullfill the rules.

In this case some template instantiations
where move to after what they reference.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39813 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-07 03:09:55 +00:00
Tommaso Cucinotta
da087e6fc1 Fixed bug when exporting to custom location under non-latex format, requiring intermediate latex step.
Keeping some debugging output about these filename mangling, in case additional debugging is needed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39812 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-06 23:23:45 +00:00
Tommaso Cucinotta
b87cf553c4 Removing meaningless assignment (mostly a typo).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39811 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-06 22:53:22 +00:00
Tommaso Cucinotta
61f2924b9f Fixing compilation on some Qt version (?!?).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39810 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-06 22:20:50 +00:00
Julien Rioux
bb4f6360c3 Don't allow newline characters in the command buffer.
I actually got it by this bug while copy-pasting LFUNs into the toolbar.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39809 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-06 16:30:37 +00:00
Julien Rioux
24cd735153 Correction: The inset name is citation, not cite
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39808 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-06 16:30:28 +00:00
Julien Rioux
23ab7f0819 tex2lyx : Also allow -h and -v command-line options, manpage update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39807 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-06 16:21:58 +00:00
Tommaso Cucinotta
e79b461f9e Fixed typo in comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39806 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-06 13:51:45 +00:00
Tommaso Cucinotta
164ae1584a Added Export As... dialog, exploiting the new destination path that can
be specified when exporting.
This fixes #3402.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39805 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-06 13:47:42 +00:00
Kornel Benko
8c7bc910ed * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39803 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-06 11:30:08 +00:00
Stephan Witt
bae12f7328 #2511 implementation of spell check of the current text selection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39802 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-06 10:28:34 +00:00
Richard Heck
08f21701cf Clean up a bit. These comments are no help here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39801 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-05 21:08:42 +00:00
Julien Rioux
18f79eeddc tex2lyx : More descriptive --help message and implement --version (#6827).
The init_package before easyParse is necessary to initiate the default
values for userdir and sysdir, which are now part of the help message.
This step would be necessary anyway if we ever internationalize tex2lyx.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39799 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-03 17:47:37 +00:00
Kornel Benko
3004722131 Add framework AppKit to cmake as in the automake case (MAC only)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39798 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-03 16:49:06 +00:00
Julien Rioux
35b580fb30 lyxpreview: Simplify the color handling.
Let's have this in trunk for testing. The real difference maker
when it comes to color is whether we use dvipng or ghostscript.

For dvipng:

  - The color info is passed as command-line arguments.

  - The tightpage option is not necessary, and since it adds
    ps specials to the output, we shouldn't use it.

For ghostscript:

  - The color info needs to be in the latex file.

  - The foreground color is set for each preview inset.

  - The background color is set by \pagecolor in the preamble,
    which is understood by pdflatex, but ignored in dvips mode.
    Thus dvips is handled with a ps special.

  - The tightpage option is necessary to crop the images.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39797 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-03 16:43:33 +00:00
Julien Rioux
873f0f4297 lyxpreview: Simplify the handling of lilypond-book.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39796 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-03 16:35:29 +00:00
Julien Rioux
13b1277cd2 lyxpreview: Handle bibtex-generated references and bibliography.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39795 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-03 16:35:27 +00:00
Julien Rioux
2645d57d89 * lyxpreview_tool.py : Allow to look for commands with arguments.
For example, find_exe(["bibtex -min-crossrefs=7"]) should search for
bibtex and if it is found, return the string "bibtex -min-crossrefs=7".

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39794 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-03 16:35:25 +00:00
Uwe Stöhr
c221e445fe - Additional.lyx: minor tweaks
- German Additional.lyx: update to English version, translation of section 8 which hopefully fixes #7748

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39792 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-01 01:29:47 +00:00
Stephan Witt
3c846d98ac to succesfully link lyx on mac the AppKit framework is needed only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39791 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-30 16:05:46 +00:00