Commit Graph

187 Commits

Author SHA1 Message Date
Enrico Forestieri
5b91832bc9 Fix bug #7835 (Relative paths are not supported by the TEXINPUTS prefix)
This restores \input@path handling, which turns out to be necessary, as
the TEXINPUTS mechanism is not used with relative paths. It turns out
that both methods must be used, because \input@path does not work in all
cases (most notably with tikz).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39931 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-23 03:32:37 +00:00
Georg Baum
13bca637e4 Update tex2lyx to produce the current 2.0.x file format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39927 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-22 20:12:55 +00:00
Jürgen Spitzmüller
d044cff2e2 * status.20x: nitpicks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39900 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-21 10:28:32 +00:00
Julien Rioux
fbdf373cda tex2lyx : More descriptive --help message and implement --version (#6827).
Also allow -h and -v command-line options, manpage update.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39887 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-19 14:53:01 +00:00
Jürgen Spitzmüller
c6dee6cfe0 Fix parsing of branch names with spaces.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39853 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-14 13:57:48 +00:00
Enrico Forestieri
658e762995 The term ERT is well known, so revert r39835.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39850 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-14 06:14:20 +00:00
Uwe Stöhr
2208ec0455 status.20x: reformat an entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39835 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-12 15:38:10 +00:00
Julien Rioux
1c56ffc10f Allow \nocite again with the basic citation engine (backport r39777).
Fix a bug introduced in r26547. Also reorders the entries for
natbib-numerical into a more natural, visually pleasing order.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39830 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-11 18:33:35 +00:00
Julien Rioux
e2a82f44bd Fix the tab ordering of PrefsUi and GuiDocument Ui components.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39829 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-11 18:22:06 +00:00
Julien Rioux
80ba75d0b1 Don't allow newline characters in document settings and preferences (#5840).
Set a validator on QLineEdit widgets. The validator removes any
\n and \r characters, thus preventing users from copy-pasting
newline characters into these fields, and subsequently saving
them, inadvertantly, to their lyx file or preferences file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39828 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-11 17:57:33 +00:00
Uwe Stöhr
4932e093b0 fr.po: translation updates by Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39819 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-07 18:38:22 +00:00
Jürgen Spitzmüller
aa184ab645 Fix biber execution om MikTeX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39817 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-07 13:48:59 +00:00
Uwe Stöhr
9666666264 status.20x: unify style for the menu separator, fix a typo and a formulation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39804 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-06 13:34:32 +00:00
Jürgen Spitzmüller
336e0ea9f5 backport r39757:
* Fix merging of cells (multicolumn, multirow) when the first cell in the selection is already a multi-cell (bug #7792).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39793 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-01 07:24:17 +00:00
Enrico Forestieri
fe65104a7c Fix bug #7796 (LyX creates file on startup that cannot be deleted)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39781 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-28 07:04:29 +00:00
Enrico Forestieri
6d99ecb8d9 Fix the following problem with Python 2.4:
Traceback (most recent call last):
  File "/opt/src/lyx-2.0.x/lib/scripts/lyxpreview2bitmap.py", line 416, in ?
    exit(main(sys.argv)[0])
TypeError: 'str' object is not callable



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39771 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-26 18:28:24 +00:00
Uwe Stöhr
d531d1abfa ia.po: updates from Giovanni
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39763 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-25 20:51:09 +00:00
Jürgen Spitzmüller
4619ec4637 Fix bottom border allocation when setting a multirow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39755 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-25 06:36:58 +00:00
Enrico Forestieri
477d0ee0a6 Also set TEXINPUTS when launching ForkedCall processes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39748 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-24 17:56:06 +00:00
Jürgen Spitzmüller
7a27682192 * InsetTabular.cpp: fix logic of multirow top/bottom line output (bug #7578)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39734 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-23 13:07:00 +00:00
Jürgen Spitzmüller
6c27ed49fa backport r39696
Timestamp: 
09/17/11 17:25:14 (5 days ago) 
Author: 
spitz 
Message: 
finally commit the fix for #7607.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39729 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-22 07:49:25 +00:00
Uwe Stöhr
c4c0978b8f status.20x: status entry for the previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39728 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-22 02:57:28 +00:00
Enrico Forestieri
9f1a845234 When changing the document language, also change the language of the
text which is not explicitly marked in a different language, irrespective
of the multilingual status, except for LTR<=>RTL changes.
See discussion in this thread:
http://thread.gmane.org/gmane.editors.lyx.devel/138380


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39721 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-21 15:48:51 +00:00
Julien Rioux
85b53b183b Mark settings as changed when the Nomenclature line is edited (backport r39663).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39719 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-20 18:42:40 +00:00
Julien Rioux
8bc200adc9 Fix the tab ordering of GuiPrefs components (backport r39662).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39718 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-20 18:40:45 +00:00
Julien Rioux
41a7a2f8e2 * configure.py : Fix the gnumeric converters.
They were tied to undefined formats ods and xls. The actual
    internal names for these formats are oocalc and excel.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39717 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-20 18:36:34 +00:00
Julien Rioux
2249b433e7 * configure.py : Detect java and perl scripts in a general way.
- Fix the detection of htmltolatex (#6339).
  - Fix the detection of splitindex (#7579).
  - Fix the detection of jfig3-itext and jfig3.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39716 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-20 18:29:18 +00:00
Julien Rioux
bd41d9ac78 * configure.py : Fix the rc entry when tex2lyx is not found (#3308).
We still define the tex2lyx converter but we emit a warning.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39715 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-20 17:41:16 +00:00
Enrico Forestieri
cd4684bd65 Fix bug #7621 (Images are not displayed if path of temp folder contains accented characters)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39701 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-18 19:57:25 +00:00
Enrico Forestieri
8e049293ed Make lyxpak.py more resilient to unexpected conditions (e.g., when a
referenced file is really a directory) and also catch files referenced
in ERT in the document body.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39693 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-16 15:01:12 +00:00
Richard Heck
e6101f9807 Get default font color and background color working for XHTML export.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39680 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-15 21:38:05 +00:00
Uwe Stöhr
4143470593 status.20x: fix a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39654 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-11 15:31:42 +00:00
Richard Heck
cd3bb52229 Implement GuiNomenclature::initialiseParams(), thus restoring the
ability to take the symbol from an explicit or implicit selection.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39653 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-11 14:16:36 +00:00
Jean-Marc Lasgouttes
b88154ef6f backport r39509 and r39510 to branch (see bug #7555)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39644 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-08 10:44:44 +00:00
Richard Heck
b5c46118ca Backport fix for bug #7721.
We don't need to do anything here other than output our paragraphs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39635 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 22:28:34 +00:00
Enrico Forestieri
e20673d484 Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39633 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 22:01:42 +00:00
Enrico Forestieri
dcbce9fe98 Make InsetInfo output a path matching the LaTeX compiler.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39631 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 21:41:00 +00:00
Enrico Forestieri
0be0ab820c Fix compile error with gcc 4.5.3 when using the included mythes library:
../../src/support/mythes/mythes.hxx:25:9: error: `FILE' does not name a type
../../src/support/mythes/mythes.hxx:55:22: error: `FILE' has not been declared


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39630 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 21:37:25 +00:00
Enrico Forestieri
beb6d505de Limit fix for bug #6063 to math insets and only when inline completion
is disabled in math. This is a backport of r39337.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39627 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 07:57:14 +00:00
Uwe Stöhr
e8fcc125a9 stdmenus.inc: add menu entry for inset-select-all
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39621 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-06 20:29:06 +00:00
Jürgen Spitzmüller
0365a2208c Backport r39537:
Author: spitz
	Date: Sat Aug 27 12:58:48 2011
	New Revision: 39537
	URL: http://www.lyx.org/trac/changeset/39537

Log:
Disable space types that are not supported in mathed (for these, a thinspace was inserted as a fallback).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39619 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-06 17:37:49 +00:00
Uwe Stöhr
fcdb07ac67 status.20x: fix a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39618 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-06 13:26:10 +00:00
Jürgen Spitzmüller
4ee140bf5b Fix Horizontal Space dialog when issued from within math (bug 7746).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39615 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-06 06:42:18 +00:00
Uwe Stöhr
cc0466b75a status.20x: missing entry for previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39613 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-06 03:18:15 +00:00
Tommaso Cucinotta
ed7660fea1 status update for r39604.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39605 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 22:30:14 +00:00
Richard Heck
3c6ed27517 Fix #7594 for branch.
=====

Original log:

Fix bug reported on user list. Children included more than once in
the same document could not be rendered.

Problem was that we were using children_positions to deal with the
included documents. That structure only includes each child once.
We need to use position_to_children, instead.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39602 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 19:41:23 +00:00
Richard Heck
7fe931ea93 Backport fix for bug #7360. Patch from Nemah, posted to bug report.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39601 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 19:29:49 +00:00
Richard Heck
08f6667a60 Fix tab order and shortcuts for crossref dialog (#7576).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39600 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 19:27:10 +00:00
Richard Heck
9fb818dd0c Backport fix for #7593 to branch.
=====

Original log:

Fix problem first reported by Diego: If you try to view a child document,
the macros declared in the parent do not work. This is because we were
cloning only the child, which then didn't have a parent.

The solution is to clone the whole structure, starting with the master
document. As a side effect, we only clone each child once.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39599 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 19:25:15 +00:00
Richard Heck
8c529c99c2 Backport various parts of the fix for #7655. This include r39211, r39250, and r39251.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39598 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-05 19:09:14 +00:00