Commit Graph

142 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
194494d6d6 * configure.py: detect pbibtex (bug #6808)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34904 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-15 07:28:47 +00:00
Jürgen Spitzmüller
67f730be94 * lib/configure.py: check for LyXBlogger (bug 6658).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34714 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-27 12:54:24 +00:00
Jürgen Spitzmüller
223f2c0acc * configure.py: fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32440 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-09 12:12:20 +00:00
Uwe Stöhr
3bfa5d3166 configure.py: add support for SVG images
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32436 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-09 01:33:02 +00:00
Richard Heck
7aff8603f9 Fix 6361 in branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@32411 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 14:15:13 +00:00
Pavel Sanda
6ac367d7bd Fix elyxer detection. Patch from Alex Fernandez.
Uwe, please check this works on Windows.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg155641.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31948 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-11 22:32:38 +00:00
Uwe Stöhr
ac3200a597 configure.py: fix log message handling of r31896
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31908 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 18:47:42 +00:00
Uwe Stöhr
36540df0f5 configure.py: fix check for eLyXer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31896 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 16:50:50 +00:00
Uwe Stöhr
9c7648c24e configure.py: correct path settings for eLyXer (resync with trunk)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31683 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-19 23:53:38 +00:00
Jürgen Spitzmüller
e84bc5ac73 * add support for jmakeindex (a Japanese index processor)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31660 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-18 16:58:56 +00:00
Pavel Sanda
79c8a41ad5 Backport 31004
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31005 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-13 12:16:07 +00:00
Uwe Stöhr
18aef53804 configure.py: check for hylapex, a fax program that runs on all platforms
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30914 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 21:32:09 +00:00
Pavel Sanda
2aff2e7ad3 Backport r30251.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30252 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-24 19:12:07 +00:00
Jean-Marc Lasgouttes
e0972b529d fix trivial documentation bug (bug 5881)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30219 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 10:55:38 +00:00
Jürgen Spitzmüller
223a977954 * configure.py:
- change eLyXer command and copier to copy images
	  to the appropriate places on view and export
	  (requires eLyXer 0.27).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30133 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 08:08:34 +00:00
Jürgen Spitzmüller
b7304601e0 backport revision 29238
URL: http://www.lyx.org/trac/changeset/29238

Log:
* Properly separate the specific Japanese (i.e., pLaTeX) auxiliary programs (jbibtex, mendex)
   from the standard LaTeX programs.
  These programs are only used now if the document actually uses Japanese, not always if they are found.
  (bug 5601 a.o.).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30020 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-08 16:04:11 +00:00
Jürgen Spitzmüller
867a20caae * configure.py:
- add support for eLyXer. This is supposed to be the last change before 1.6.3.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29905 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-02 15:37:29 +00:00
Jürgen Spitzmüller
0a0c5a79ae * configure.py:
- check for KDE 4's okular viewer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29411 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 12:07:07 +00:00
Jürgen Spitzmüller
cd088e64f3 configure.py:
- add support for newer lilypond versions (bug 5834).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28816 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 13:50:53 +00:00
Pavel Sanda
35f9401fe5 Duplicated line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27916 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 16:34:05 +00:00
Pavel Sanda
f9fe70809b Branch: add Dia support.
(CT used for lib/doc/EmbeddedObjects.lyx)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27914 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 15:47:04 +00:00
Jean-Marc Lasgouttes
f6bc06ae93 Fix annoying but harmless message when platex is not installed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27490 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 20:39:33 +00:00
José Matox
3caeb344b8 Fix configuration for docbook backend and add detection of xlstproc. (Rafael García)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27389 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-11 21:02:19 +00:00
Richard Heck
b940dc2db7 Configure shouldn't abort just because it encounters an error reading a layout file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27057 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 15:30:17 +00:00
Richard Heck
13a7093719 Give some more useful feedback.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27021 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-22 11:59:51 +00:00
Uwe Stöhr
f3117747ff remove last traces of linuxdoc whose support has been removed long ago; requested in http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145127.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26982 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 20:49:04 +00:00
Uwe Stöhr
072f9c91a8 configure.py: add comment for the OpenDocument conversion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26979 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 13:57:04 +00:00
Jürgen Spitzmüller
5b5e0025ef * configure.py:
- TeXLive does not include the oolatex script, but relies on mk4ht.
	  Also reinclude the verbose command as a fallback.

Obviously, such changes need testing on as many systems and distributions as possible.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26969 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 11:49:37 +00:00
Uwe Stöhr
3635825581 configure.py: - fix converter command for OpenDocument, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4604
- check for OpenOffice as viewer for OpenDocument

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26951 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 17:38:39 +00:00
Jean-Marc Lasgouttes
8641445588 configure automatically literate>pdflatex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26932 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-17 11:00:31 +00:00
Jürgen Spitzmüller
641708ac4b * separate nomencl processing command from index processing command, since nomencl
relies on makeindex (with specific options) [bug 5184].

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26226 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-23 09:44:00 +00:00
Jürgen Spitzmüller
a2906cb877 ** proper implementation of pLaTeX by Tetsuya Makimura and me, fixes many remaining problems and bugs with language "japanese" (bugs 4863, 4290, 4700 and partially 4697) **
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26200 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-18 17:26:09 +00:00
Jürgen Spitzmüller
a46886a8ff * lib/configure.py:
- check if texindy is available and if so, use it instead of makeindex
	  (bug 4732).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25334 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-20 08:46:00 +00:00
Abdelrazak Younes
1bd3845672 add JFig fig editor support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25247 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-13 13:46:27 +00:00
Jürgen Spitzmüller
fce7799859 * lib/configure.py:
- add support for Graphviz Dot files (bug 4882).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24932 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-25 08:49:15 +00:00
Uwe Stöhr
a2f6539aff configure.py: rename "Comma-separated values" to "Table (CSV)"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24852 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 00:59:16 +00:00
Jürgen Spitzmüller
42aaa245db * Hartmut's csv2lyx script
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24620 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-05 17:08:21 +00:00
Richard Heck
6bc34295e3 Add JabRef to the search list for BibTeX editors.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24544 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 19:42:22 +00:00
Jürgen Spitzmüller
eb60240b73 Oops.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24537 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 15:20:03 +00:00
Jürgen Spitzmüller
a585806b3c Implement inset-edit in InsetBibtex and add a context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24536 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-28 15:14:18 +00:00
Jürgen Spitzmüller
5997d41b38 ** support pdfpages via external inset **
* development/FORMAT:
* src/Buffer.cpp:
	- format incremented to 326

* src/LaTeXFeatures.cpp:
* lib/chkconfig.ltx:
* lib/doc/LaTeXConfig.lyx:
	- support pdfpages

* lib/external_templates:
	- add template for pdfpages

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- add reversion routine.

* lib/configure.py:
	- fix call to "pdftops --eps"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24237 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-11 14:07:25 +00:00
Uwe Stöhr
da0a9688bd configure.py: check for BibTeX programs. This makes it possible to use for example a Japanese BibTeX program.
Fixes http://bugzilla.lyx.org/show_bug.cgi?id=4143

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24056 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-30 00:11:36 +00:00
Jürgen Spitzmüller
01d9b33db9 * lib/configure.py:
- add support for htmltolatex

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23583 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 12:22:28 +00:00
Jürgen Spitzmüller
2d697fb88f * lib/configure.py:
- add support for gnuhtml2latex

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23566 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 16:17:15 +00:00
Pavel Sanda
300977b597 Add unrtf to configure.py.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23563 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 15:44:49 +00:00
Jürgen Spitzmüller
ca4d221248 * lib/configure.py:
- Use verbose htlatex command instead of oolatex, if available, 
	  since the latter caused problems on some systems (bug 4604).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23496 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-05 23:34:16 +00:00
Pavel Sanda
398b07a2a5 xdg-open stuff was reverted only in branch, time to synchronize in trunk.
http://www.lyx.org/trac/changeset/22431


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23432 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-04 11:51:21 +00:00
Jürgen Spitzmüller
0b721a0b8c * lib/configure.py:
- add checks for pdf2ps and pdftops (bug 3968).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23353 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-29 10:34:43 +00:00
Richard Heck
d5d665482e This commit changes the way individual LyXModule's are represented, both internally and in the .lyx files. The earlier version represented them by their `descriptive name', e.g., "Endnote" or "Theorems (AMS)", these being the same names used in the UI. This was a mistake, as becomes readily apparent when one starts to think about translating these strings. The modules ought to be represented by their filename, without the extension, just as TextClass's are.
The changes that accomplish this part are in ModuleList.{h,cpp}, configure.py, and the *.module files themselves. This is a format change, and the lyx2lyx is in those files.

By itself, that change would not be major, except for the fact that we do not want the module to be represented in the UI by its filename---e.g., theorems-std---but rather by a descriptive name, such as "Theorems". But that change turns out to be wholly non-trivial. The mechanism for choosing modules was the same as---indeed, was borrowed from---that in GuiCitation: You get a list of modules, and choosing them involves moving strings from one QListView to another. The models underlying these views are just QStringListModels, which means that, when you want to know what modules have been selected, you see what strings are in the "selected" QListView. But these are just the descriptive names, and we can't look up a module by its descriptive name if it's been translated. That, indeed, was the whole point of the change to the new representation.

So, we need a more complicated model underlying the QListView, one that will pair an identifying string---the filename minus the extension, in this case---with each item. This turns out not to be terribly difficult, though it took rather a while for me to understand why it's not difficult. There are two parts:
(i)  GuiSelectionManger gets re-written to use any QAbstractListModel, not just a QStringListModel. This actually seems to improve the code, independently.
(ii) We then subclass QAbstractListModel to get the associated ID string, using the Qt::UserRole slot associated with each item to store its ID. This would be almost completely trivial if QAbstractListItem::itemData() included the QVariant associated with this role, but it doesn't, so there are some additional hoops through which to jump.

The new model, a GuiIdListModel, is defined in the files by that name. The changes in GuiSelectionManger.{h,cpp} make it more abstract; the changes in GuiDocument.{h,cpp} adapt it to the new framework. 

I've also updated the module documenation to accord with this change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22501 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 04:28:12 +00:00
Richard Heck
7c28905b17 This commit adds some new functionality to the modules stuff. In particular, it introduces the concept of "required" and "excluded" modules: A given module may require one of some list of modules, or it may be incompatible with some other modules. (Complex Boolean combinations are not supported!!) These facts can be noted in the module file, and the UI responds appropriately: Required and excluded modules are noted in the description, and the "Add" button is enabled only if at least one of the required modules has already been selected and no excluded module is selected. Getting this to work involved a fair bit of cleanup of the existing code---including ways Angus, I think, had already pointed out were required---and also involved changing the syntax of the headers of the module files, but in ways that are probably best anyway.
None of the extant modules require any other modules, but the Theorem modules all exclude one another. (See the screenshot.) When I modularize the AMS classes---that is the next task---we'll have requires.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22456 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-09 18:51:02 +00:00