Commit Graph

5917 Commits

Author SHA1 Message Date
Uwe Stöhr
af7b1c2d39 languages: babel does not support Kurmanji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40687 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-30 00:45:38 +00:00
Uwe Stöhr
47bc3d00d0 - knitr.lyx, knitr.module, lyxknitr.R: add missing SVN EOL style
- Makefile.am: correct sorting

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40680 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-26 19:18:02 +00:00
Jean-Marc Lasgouttes
7335b3193b Add support for R package knitr (a Sweave alternative)
This fixes #7887.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40674 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-25 22:26:31 +00:00
Jean-Marc Lasgouttes
99c8eecaf9 Forgot that in r40669.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40670 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-23 23:02:53 +00:00
Jean-Marc Lasgouttes
c31bf2d2ab reat python scripts as plain data file, since automake 1.11.2 wants to control where python files go. This fixes #6080 and #7990.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40669 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-23 23:00:17 +00:00
Uwe Stöhr
4a90320f99 lyx_2_1.py: there is no need for a comma here, it is already the last entry of the list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40668 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-23 21:22:34 +00:00
Julien Rioux
b6eb780d64 Small fixups to r40663
lyx2lyx: Clean up the convert/revert queue.
LaTeXFeatures: Just add cancel to the list of packages that are
               simply used with a \usepackage{} line.

Uwe: In case cancel needs to be loaded after amsmath or something,
     please revert my changes to LaTeXFeatures and add a comment
     about package ordering to the source. Thanks.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40667 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-23 17:20:07 +00:00
Uwe Stöhr
e5d624b2b6 LaTeXConfig.lyx: mention the cancel package (addendum to r40663)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40664 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-23 01:54:01 +00:00
Uwe Stöhr
65f26a7a14 add support for the package cancel in math (fixes #6819); fileformat change only for the preamble handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40663 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-23 01:49:49 +00:00
Uwe Stöhr
854f42a705 chkconfig.ltx: add check for wasy; is necessary because LyX supports the math command \brokenvert - OK for branch too?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40662 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-23 01:11:13 +00:00
Georg Baum
226c61e7a7 Fix problems with odg graphics (needs r40647 and r40649 as well):
- Remove ps->eps converter (see comment for the reason)
- Remove odg-> and odg->pdf converters, since they create A4 sized images
- Get rid of file extension assumption in eps2->eps converter
- Rename eps2 format to better reflect its usage


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40650 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-22 14:13:13 +00:00
Kornel Benko
b64014229f Do not py-compile also on cmake build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40648 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-22 13:05:37 +00:00
Georg Baum
0293746521 keywords in preferences are case insensitive
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40646 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-22 10:40:56 +00:00
Uwe Stöhr
0461bdf991 moderncv.layout: correct the format number (accidentally changed in r40640)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40642 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-21 12:12:17 +00:00
Uwe Stöhr
0a69838a91 - moderncv.layout: add missing separator style
- modernCV.lyx: set page size to A4, correct subsection entry, use a separator modify preamble to be compliant with modernCV 0.16 (fixes #7991)
- biblioExample.bib: correct a much too long entry

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40640 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-21 12:05:07 +00:00
Richard Heck
1d14f0be27 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40617 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-15 17:22:32 +00:00
Julien Rioux
06dab7972b Remove unused libreoffice2eps.py script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40596 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-10 13:54:48 +00:00
Julien Rioux
ec1e52ca91 Add gswin64c as possible executable in legacy_lyxpreview2ppm.py (#7938).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40595 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-10 13:50:11 +00:00
Julien Rioux
e3f65fd088 Buffer param \cite_engine_type (authoryear|numerical).
To avoid duplicity, remove natbib_authoryear and natbib_numerical
and replace them by natbib, and keep track of the engine `type'
in the new \cite_engine_type document setting. This will make it
easier to add more citation engines.

LyX format incremented to 424.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40592 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-09 13:16:38 +00:00
Georg Baum
187790135b Fix bug #5029: Support \smash, \mathclap, \mathllap and \mathrlap.
Also improve lyx2lyx roundtrip for automatically loaded packages.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40589 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-08 12:34:12 +00:00
Georg Baum
4d62be3568 add openoffice/libreoffice converters (bugs #4267 and #7973)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40588 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-07 20:28:59 +00:00
Uwe Stöhr
6a58f4a572 Math.lyx: port changes from branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40581 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-06 21:54:59 +00:00
Uwe Stöhr
6927c9447c elsarticle.lyx: convert to latest fileformat to reflect that it is not compatible with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40577 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-06 01:09:39 +00:00
Uwe Stöhr
dbbe58c2cf elsarticle.layout: switch from \maketitle to \begin{frontmatter}, see #7977
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40575 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-06 01:01:57 +00:00
Georg Baum
6332326cf6 Load mathtools.sty automatically (bug #7949) and make lyx2lyx reversion
more robust.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40574 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-05 20:53:48 +00:00
Uwe Stöhr
0c7554baaf Tutorial.lyx: port changes from branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40571 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-05 00:06:29 +00:00
Uwe Stöhr
9402ad6f61 UserGuide.lyx: port changes from branchUserGuide.lyx: final step of Scott's overhaul
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40567 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-04 01:32:20 +00:00
Uwe Stöhr
9dc53efb39 UserGuide.lyx: port changes from branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40565 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-03 23:55:26 +00:00
Georg Baum
bf3f3f9816 Second step towards a more generic package off/auto/on handling:
File format change


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40563 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-03 21:26:09 +00:00
Uwe Stöhr
bfe67ac65f Math.lyx: improve description of modulo-functions, fixes #7961
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40556 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-01 21:28:25 +00:00
Uwe Stöhr
cc4a7fe79d symbols: fix #7962, OK for branch too?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40551 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-31 15:42:42 +00:00
Enrico Forestieri
5003431903 Fix bug #7933 (lyx2lyx error while running lyxpak.py)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40544 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-24 11:54:30 +00:00
Uwe Stöhr
6250bdc70f French Braille.lyx: fix by Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40541 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-21 23:36:45 +00:00
Uwe Stöhr
a891259520 Additional.lyx: update to latest fileformat and correct version number
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40539 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-21 22:09:54 +00:00
Jean-Marc Lasgouttes
2bf021ee73 Improve support for distributing desktop files and icons
* add proper INSTALL_POSIX conditional for makefiles
* move all the code to Makefile.am
* rename lyx.desktop to lyx.desptop.in and add proper tags to allow handling of program_suffix.
* add code to install desktop entry and icons under the proper name.

I did not touch scons and cmake, I hope it was not necessary.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40531 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-20 13:11:03 +00:00
Georg Baum
419b51172a fix r40522 (thanks Kornel)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40526 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-19 20:16:05 +00:00
Uwe Stöhr
cf29d21d7a lyx2lyx files: update GPL organization address and claim copyright also for the LyX team where it is necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40524 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-18 22:56:49 +00:00
Georg Baum
efa0f19836 More sensible longtable caption handling (needed for bug #7412)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40522 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-18 21:27:17 +00:00
Georg Baum
b7fbcd0b30 Partial support for mathtools.sty (part of bug #7949)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40521 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-18 17:50:43 +00:00
Georg Baum
3da2eb41aa did anybody test this?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40520 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-18 17:48:16 +00:00
Abdelrazak Younes
7f14df4af4 increment lyxrc version following r40515.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40516 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-18 11:51:26 +00:00
Uwe Stöhr
e1bb0be206 Braille.lyx: another fix from Sam Lewis
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40512 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-17 16:15:50 +00:00
Uwe Stöhr
877e64a52b Tutorial.lyx, Braille.lyx, Intro.lyx, LFUNs.lyx: port changes from branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40510 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-17 16:08:19 +00:00
Uwe Stöhr
5f5a6e777e - JASA.lyx, jasatex.layout: JasaTeX internally uses natbib but does not allow to use another command than \cite; add a missing command and a note
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40495 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-13 23:04:09 +00:00
Richard Heck
4663e5ec88 Repairs to case environment, from Paul Rubin. Modified by me to use
enumitem, since we already have a module for that, and I am a bit
worried about conflicts between enumerate.sty and enumitem.sty.

A side effect of this, however, is that we will load enumitem.sty
whenver we use case environments.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40492 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-13 19:50:36 +00:00
Julien Rioux
0f30a858f8 Add a document-wide default bibliography style \biblio_style.
This holds the name of a BibTeX style file for now. Any BibTeX inset
can set the style to "default" to use the document-wide style.

LyX format incremented to 420.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40484 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-12 14:40:34 +00:00
Uwe Stöhr
37de920228 lib/Makefile.am: add missing entries for r40414
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40479 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-11 22:40:40 +00:00
Uwe Stöhr
d3727233e4 German Intro.lyx: remove obsolete sentence
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40478 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-11 22:24:19 +00:00
Uwe Stöhr
774c62a590 jasatex.layout, JASA.lyx; correct the SVN EOL style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40476 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 23:09:50 +00:00
Uwe Stöhr
d528fc8286 new layout for articles in the journal JASA (http://wiki.lyx.org/Layouts/JASATeX)
OK for branch too?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40475 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 23:07:24 +00:00
Uwe Stöhr
8368101b1a layout file: remove some further unused strings and some whitespace adjustments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40473 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 21:35:02 +00:00
Uwe Stöhr
6aacde638c iopart.layout: only whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40472 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 01:53:11 +00:00
Uwe Stöhr
72bf7ee3bb Customization.lyx: a formatting fix and resetting fileformat to the one of LyX 2.0.x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40471 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 01:15:11 +00:00
Uwe Stöhr
2bc2f96a10 addendum to previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40469 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 01:13:19 +00:00
Uwe Stöhr
1c729ad816 template files: rename some to make it clear that the names refer abbreviations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40468 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 01:08:09 +00:00
Uwe Stöhr
c32ae63b6c - simplecv.layout: remove unused string definitions and use the itemize definition from stdlists.inc
- stdlists.inc: remove unused string definitions

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40467 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 00:57:46 +00:00
Richard Heck
5c99bdfea8 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40460 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-09 20:29:51 +00:00
Richard Heck
98c54908c2 Add dviluatex format, so that the appropriate form of LaTeX can be
exported.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40459 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-09 20:23:10 +00:00
Uwe Stöhr
fe8c185a6e support for Australian and Newzealand as document language; fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40452 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-08 23:58:30 +00:00
Uwe Stöhr
14bcaa5f9d lyx2lyx/lyx_1_6.py: fix a typo (port from branch)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40451 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-08 23:16:34 +00:00
Julien Rioux
72cface90f Update links to the bug tracker.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40445 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-08 20:19:10 +00:00
Julien Rioux
55a3dd7b34 listerrors.lyx : Update a link.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40444 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-08 20:19:08 +00:00
Julien Rioux
5aa019f5d9 MultilingualCaptions.lyx : Correct a typo and a bad link.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40443 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-08 20:19:04 +00:00
Pavel Sanda
b37abaf655 Add Timo to credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40441 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-08 15:16:34 +00:00
Richard Heck
8ba08a53b2 Update all layouts to format 36.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40428 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 22:41:38 +00:00
Richard Heck
5a7672adec Fix bug #5805 and similar requests. Adds a document setting that
tells LyX not to show BLOCK text as justified, but still keeps
the usual paragraph indentation.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40427 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 22:33:25 +00:00
Richard Heck
70ad54bec9 Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40426 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 22:33:19 +00:00
Pavel Sanda
a58cae2ada Forgot the icon itself.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40419 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 16:49:43 +00:00
Pavel Sanda
2b36e0a860 - Add scalable icon into tarball
- let icons install into proper locations
- use theme routines to load proper icon
  (using this for loading toolbar icons would be another
  step how to synchronize LyX with its environment.)

Patch from Timo Kluck.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40418 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 16:47:43 +00:00
Richard Heck
f066a041e9 Comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40415 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 15:05:21 +00:00
Uwe Stöhr
6b01721dfa new module: Multilingual captions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40414 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 01:06:06 +00:00
Richard Heck
9a3d2bf3b6 Use new layout tags for TOC styling. The point of this is that it
allows this information to be written to an external file and not
just to the header.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40413 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-06 22:40:42 +00:00
Richard Heck
acbcf2c742 Documentation for new layout tags.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40412 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-06 22:39:35 +00:00
Richard Heck
157319b3f6 New layout tags specifically for CSS information.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40411 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-06 22:38:46 +00:00
Richard Heck
62dd071ce6 Improve output of XHTML comments.
(i)  Validate even for comments when outputting XHTML.
(ii) Output comments as divs hidden by default. Then people
     can display them other ways if they wish.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40400 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-06 20:44:37 +00:00
Pavel Sanda
7386a9a077 Add desktop file to tarball and let it install into proper directory.
Bug #2820, thanks Timo Kluck for pointers.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40386 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-05 23:06:36 +00:00
Uwe Stöhr
51e70b620b EmbeddedObjects.lyx:
- new description how to color dashed table lines
- new section how to split table cells by diagonal lines

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40366 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-04 22:09:24 +00:00
Uwe Stöhr
3e0568817f external_templates: correct program names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40344 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-03 15:40:33 +00:00
Uwe Stöhr
4c72c6a32d ctex.lyx: further translations by Yiuhi
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40311 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-29 19:58:29 +00:00
Uwe Stöhr
336eb1961d Customization.lyx: updates by Philip Pirrip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40302 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-28 23:31:26 +00:00
Uwe Stöhr
8b44465dab ctex.lyx: translations by Yiuhi
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40301 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-28 23:30:29 +00:00
Uwe Stöhr
0ac0f56ebc - splash.lyx: update menu names and toolbar buttons to the ones of LyX 2.0.x
- Spanish EmbeddedObjects.lyx: change a word to be consistent

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40297 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-27 17:17:34 +00:00
Richard Heck
097fb4f06d Port from branch:
ctex template files: reduce to one file, fix broken language package settings
 (file still contains outdated info and unnecessary preamble code and creates several LaTeX errors about wrong lengths but can be fixed later)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40264 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 22:16:20 +00:00
Richard Heck
c7cf9aef3c Port from branch:
ctex layout files: add required packages and set missing SVN EOL style

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40263 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 22:16:16 +00:00
Richard Heck
ffc2901855 Update Makefile.am after last commit. (Thanks, Julien.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40253 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 19:51:10 +00:00
Richard Heck
fe9cda838e Fix for bug #7883 from Jean-Pierre: Make strings uniform across
modules.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40250 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 18:30:28 +00:00
Richard Heck
2defb9dd07 Fix #7495 by adding layouts for ctex document classes and
corresponding templates. Thanks to Yihui for these.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40247 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 15:45:31 +00:00
Uwe Stöhr
c58290e5f1 FeynmanDiagrams.lyx: add note how to overcome a limitation of the feyn package (bug 7898)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40239 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-21 23:22:22 +00:00
Uwe Stöhr
900787723e EmbeddedObjects.lyx: add section about the calculation of the table width
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40236 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-21 21:13:22 +00:00
Pavel Sanda
4dfc036cce * Additional.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40223 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-20 12:10:20 +00:00
Stephan Witt
c0bbc020a5 #7894 explain the status column of mac bindings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40221 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-19 21:55:18 +00:00
Uwe Stöhr
5dec8d7533 - spreadsheet.lyx: there is no reason why the file format was changed (please keep our docs, examples and templates in sync with branch whenever possible)
- sheet.*: remove the files (Richard, there is a SVN command with which you can rename files. SVN will then take care about everything except of the makefile)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40218 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-19 05:44:20 +00:00
Richard Heck
3c93d50789 Restore change from OpenOffice to LibreOffice.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40216 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-18 21:49:18 +00:00
Richard Heck
2fe7dcc5cc Fixes for bug #7870 from Helge. Adds Gnumeric support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40215 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-18 21:46:24 +00:00
Uwe Stöhr
c93f5c06d8 French EmbeddedObjects.lyx: translations and revision by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40210 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-18 01:29:57 +00:00
Uwe Stöhr
4368237595 EmbeddedObjects.lyx: add info about the dvips color names and fix some issues
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40196 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-15 00:13:36 +00:00
Uwe Stöhr
a52005c777 external_templates: improve the description of PDFPages (bug #7888)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40188 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 18:03:12 +00:00
Uwe Stöhr
fa7687397f stdmenus.inc: register the Sweave example file as specific manual (bug #7891)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40187 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 18:01:24 +00:00
Georg Baum
a1cef2d55a Fix bug #3036: font changes inside \markright do not escape outside their scope
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40186 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 16:11:45 +00:00
Georg Baum
8d707723b7 Fix bug #7668 (cosmetic whitespace issues)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40184 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 11:29:48 +00:00
Uwe Stöhr
d139b234b2 - EmbeddedObjects.lyx: update the description of the PDFPages template (thanks Liviu)
- chkconfig.ltx: pdfpages require eso-pic

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40181 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 05:21:02 +00:00
Uwe Stöhr
c338cfe18f French Userguide: add missing files from r40175
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40179 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 02:46:45 +00:00
Uwe Stöhr
3643777d0f port today's changes to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40175 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-12 03:03:15 +00:00
Uwe Stöhr
137c42164c - Spanish EmbeddedObjects.lyx and UserGuide.lyx: translations by Ignacio
- UserGuide.lyx: mention LibreOffice
- English UserGuide.lyx: fix a typo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40168 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-10 23:58:17 +00:00
Uwe Stöhr
9cd035069b UserGuide.lyx: fix a formatting issue
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40162 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-09 19:59:05 +00:00
Uwe Stöhr
66ae78222e thesis/thesis.lyx: add a note and clarify a note as suggested by users
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40159 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-08 21:27:07 +00:00
Julien Rioux
7ffc54f70e File format bump after r39982 (renaming of the japanese encodings for pLaTeX).
LyX file format incremented to 417.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40155 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-07 18:36:56 +00:00
Uwe Stöhr
83cc90776b UserGuide.lyx: correct the description of LyX-pipes (they also work on Windows)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40154 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-06 23:24:40 +00:00
Georg Baum
f346c01f1e Fix bug 6834: Import theorems with optional argument correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40143 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-06 18:08:45 +00:00
Jean-Marc Lasgouttes
4f176ef89b Fix #7876: Problems with special characters when using sweave with xetex
When R version is >= 2.13.1, Sweave handles natively encodings. Therefore, we have to remove our own kludge.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40135 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-04 22:39:30 +00:00
Uwe Stöhr
cd2e6d99ac thesis template: remove my name from the PDF properties and add missing start appendix call
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40127 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-01 20:08:59 +00:00
Uwe Stöhr
625de6d1f6 EmbeddedObjects.lyx:
- describe the new GnumericSpreadsheet feature and link to the example file
- link to the lilypond example file
- fix some links

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40125 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-01 05:55:21 +00:00
Uwe Stöhr
ef38b6429e new example file spreadsheet.lyx to show how the spreadsheet support works and to test various spreadsheet formats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40124 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-01 05:54:27 +00:00
Uwe Stöhr
c58513aa8f - UserGuide.lyx:
- describe the new lyxpipe preferences option
 - add info how to en/disable the math autocorrection
 - some bugfixes in appendix C

- German UserGuide.lyx: complete translation of appendix C

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40117 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-01 03:56:31 +00:00
Uwe Stöhr
f47bebe5fa UserGuide.lyx: description of the math autocorrection
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40114 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-31 05:10:24 +00:00
Uwe Stöhr
49d13dff6d UserGuide.lyx: describe the new preview inset and revise the section about previewing things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40106 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-30 22:39:05 +00:00
Uwe Stöhr
5d471f8975 UserGuide.lyx: port changes from branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40083 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-30 03:51:02 +00:00
Uwe Stöhr
b83b4773fc UserGuide.lyx: port some changes from branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40081 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-30 02:19:04 +00:00
Tommaso Cucinotta
824d640227 Adding the capability to paste as simple unformatted text.
Documentation (and perhaps menu items) need still to be a bit
clarified in order to distinguish the various paste options
for the average user.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40060 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-29 15:42:01 +00:00
Vincent van Ravesteijn
5014b38cb7 Add a preference option to specify the default length unit (cm or in).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40030 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-27 11:52:11 +00:00
Vincent van Ravesteijn
269695aa5f Remove the prefence default_papersize
- This preference was used for specifying the papersize to xdvi, dvipdfm,
  dvips. However, I can't seem to see any effect on the result.

- The papersize should instead be defined in the document settings.

- The global papersize default was misused to also change the tex
  output by specifying the papersize as if it was specified in the
  document settings. This caused the same lyx document to be outputted
  differently on different pcs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40028 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-27 11:48:16 +00:00
Julien Rioux
69c17f11ae Convert odg to (cropped) eps without external script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39986 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-25 23:33:35 +00:00
Julien Rioux
0bff66b8a5 Pass the encoding to the japanese pLaTeX processor (#4697).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39982 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-25 23:10:19 +00:00
Georg Baum
85003ec85d More unicode math symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39895 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-20 19:55:13 +00:00
Georg Baum
b62ed6ad83 Do not load txfonts from unicodesymbols, since that has side effects
(next part of bug #7811)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39894 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-20 17:30:04 +00:00
Georg Baum
f8c5c51460 Fix special case of bug #7811: Clash of bbding and marvosym packages if \Cross is used.
The clash can however still happen if those packages are both loaded for other symbols.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39885 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-18 19:54:16 +00:00
Georg Baum
6954c542fb Generalize the esintoramsmath requirement:
Now you can also require a|b|c, and if any of the features is already used,
no other one will be loaded. The first feature wins if none is already used.
This is required for a part of bug #7811.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39884 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-18 19:32:02 +00:00
Georg Baum
6304d72255 more work on spaces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39876 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-17 18:54:13 +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
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
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
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
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
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
Tommaso Cucinotta
341d1890e1 Make export to XHTML work when there are included ODG pictures,
or any other graphic format that:
- is exportable to EPS
- could not be explicitly exported to PNG yet (i.e., source to PNG was not reachable on the converters graph)
Now, adding the EPS to PNG conversion explicitly allows LyX to find the conversion path.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39786 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-29 14:04:02 +00:00
Enrico Forestieri
e75302bbce Fix another thinko from r38243.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39773 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-27 07:28:12 +00:00
Enrico Forestieri
968ab69e88 Fix the following problem with Python 2.4:
Traceback (most recent call last):
  File "/opt/src/lyx-devel/lib/scripts/lyxpreview2bitmap.py", line 535, in ?
    exit(main(sys.argv)[0])
TypeError: 'str' object is not callable



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39769 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-26 15:57:17 +00:00
Uwe Stöhr
5adac980ce - UserGuide.lyx: some stylistic changes
- German UserGuide.lyx: lots of translation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39767 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-25 21:51:56 +00:00
Uwe Stöhr
adaed4a14d powerdot-example.lyx: add warning about incompatibilities with enumitem that are now fixed in the latest powerdot version
(patch by Jean-Pierre)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39765 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-25 21:40:10 +00:00
Enrico Forestieri
a55f54b903 Let lyxpreview2bitmap.py also work on Windows when the PyWin extension modules
are not installed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39741 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-24 01:27:40 +00:00
Uwe Stöhr
c10b375239 svglobal3.layout, svcommon.inc: fix some parser warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39725 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-22 02:22:53 +00:00
Uwe Stöhr
d0b6ed1a1a Additional.lyx: remove some unused references to squash LaTeX warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39724 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-21 22:37:24 +00:00
Uwe Stöhr
fa987d1394 libreoffice2eps.py: add missing things from r39707
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39712 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-20 03:12:37 +00:00
Tommaso Cucinotta
71ebf846bb Adding the script missing from last commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39707 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-19 00:37:15 +00:00
Tommaso Cucinotta
1024e43069 Added OpenOffice drawing file-format.
Now you can:
-) include in LyX OpenOffice drawings (.odg or old .sxd files)
-) preview them on the screen
-) view them in the final .ps/.pdf output
-) edit them externally via libreoffice, ooffice, oodraw or soffice (whatever is detected).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39706 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-19 00:29:29 +00:00
Tommaso Cucinotta
b4f97b61cf Added support for natively zipped file formats that do not need decompression for being handled by converters
(e.g., compressed dia, odg, sxd, ...). These need to be marked via the "zipped=native" flag in the RC file.
The old 'dia' configuration is automatically updated (it used to be hardcoded in the code, now it is handled
via the flag).
See also http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg170974.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39705 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-19 00:12:09 +00:00
Julien Rioux
d285793c07 Revert guiName to Spreadsheet (was part of r39675).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39703 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-18 23:18:44 +00:00
Julien Rioux
816331765f * configure.py : Detect java and perl scripts in a general way.
Issues #6339 and #7579 were fixed by specific code targeting those
RC entries. This commit fixes the detection of java and perl scripts
in a general way. As a result:

  - The detections of jfig3-itext.jar and jfig3.jar, which where
    previously overlooked, are now also fixed, and
  - Future additions of java and perl scripts to configure.py are
    straight forward.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39699 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-18 12:11:47 +00:00
Julien Rioux
ce6a179489 * configure.py : Add lyxpreview unconditionnally.
The check on dv2dt and dt2dv is not necessary, since even if these
are not available, we fall back to the legacy convertion method,
which uses ghostscript, and which is available in all cases.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39698 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-18 12:10:19 +00:00
Enrico Forestieri
40d4d94b01 Also include in the archive the files referenced in ERT in the document body.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39692 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-16 14:40:40 +00:00
Enrico Forestieri
45aa989efc Use the normalized path for checking whether it has already been gathered.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39691 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-16 12:03:54 +00:00
Enrico Forestieri
517cfe9266 Check whether the filename is really a file. Also protect against recursive
inclusions.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39690 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-16 10:07:56 +00:00
Julien Rioux
a5f72061d1 Fix the guiName of external insets.
- Remove hack with $$AbsOrRelPath substitution in the guiName.
    Instead, let LyX display the filename automatically in the gui,
    consistent with InsetInclude.

  - Use the guiName in the drop-down menu in the dialog instead of the
    internal lyxName. These guiNames ought to be more descriptive.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39675 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-13 21:50:07 +00:00
Julien Rioux
d57f66022c Show .htm files in HTML import file dialog (#6340).
- Add "htm" as a known extension for HTML.

  - Use all the extensions of a format as file filter,
    instead of using only the default extension.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39671 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-13 20:42:38 +00:00
Julien Rioux
a55ef8346a Allow to assign several extension to a given file format (#4798).
Additionnal extensions are separated by commas (,) in lyxrc
preference files, while spaces are ignored, e.g. "jpg, jpeg".

Preference lyxrc file format incremented to 2.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39670 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-13 20:42:23 +00:00
Julien Rioux
0fb13b648c * prefs2prefs.py : Use a list of [format, conversions] pair.
Use a list of [int, list of functions] pair, representing
      - int: the format number, and
      - list of functions: what needs to be done to the file to
                           update it to the given format number.

    This matches what is done in lyx2lyx and helps keeping track of
    format numbers and their corresponding conversion routines.

    Also, add another sanity check.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39668 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-12 20:43:06 +00:00
Julien Rioux
ba02c43178 * prefs2prefs.py : Error when both -l and -p are given, update usage.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39667 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-12 20:42:53 +00:00
Julien Rioux
603be7fe2f * prefs2prefs.py : Don't choke on empty input file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39666 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-12 20:42:40 +00:00
Julien Rioux
454598b928 * layout2layout.py : Don't choke on empty input file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39665 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-12 20:42:22 +00:00
Julien Rioux
45280f6bb5 Refine the lyxpreview legacy conversion (the ghostscript one).
- Break up steps 1, 2 and 3 from the legacy preview mechanism.
    These are really separate steps.

      1) Add color info, run latex
      2) Run dvips
      3) Run ghostscript

  - In the case of pdf output, skip step 2 and go directly to step 3.
  - Make sure that we fall back to the legacy conversion whenever we can.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39661 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-11 18:23:41 +00:00
Julien Rioux
bb55234cac Better error and progress messages for lyxpreview.
Introduce --debug and --verbose flags to control output. Also, use the
python subprocess module to capture stderr from external commands, thus
bumping the python requirement to version 2.4 or later.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39660 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-11 18:23:29 +00:00
Julien Rioux
81420e405f Merge the preview mechanism for japanese with the standard one.
- Japanese is now handled by passing the option --latex=platex
    to the standard lyxpreview script. This is done in PreviewLoader.
  - Remove obsoleted file lyxpreview-platex2bitmap.py and the
    corresponding lines in the configure script.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39659 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-11 18:23:15 +00:00
Julien Rioux
10868c31ac Merge the preview mechanism for lilypond-book with the standard one.
- Handle the preprocessing in the main lyxpreview script with the
    command-line arguments --lilypond and --lilypond-book=exe.
  - Remove the obsoleted file lyxpreview-lytex2bitmap.py and the
    corresponding lines in configure.py.

Fix for the japanese preview still to come.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39658 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-11 18:22:59 +00:00
Julien Rioux
2bd747fad4 Add command-line arguments to lyxpreview2bitmap.py
Add command-line arguments in a standard unix fashion, using getopt.

    Usage: ./lyxpreview2bitmap.py <options> <input file>

    Options:
      -h, --help:    Show this help screen and exit
      --dpi=<res>:   Resolution per inch (default: 128)
      --png, --ppm:  Select the output format (default: png)
      --fg=<color>:  Foreground color (default: black, ie '000000')
      --bg=<color>:  Background color (default: white, ie 'ffffff')
      --latex=<exe>: Specify the executable for latex (default: latex)

    The colors are hexadecimal strings, eg 'faf0e6'.

The changes to PreviewLoader.cpp break the preview of lilypond-book
and japanese files, but they will be handled in the next commits.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39657 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-11 18:22:43 +00:00
Julien Rioux
675f233f34 Some clean up of the lyxpreview code.
Move some common variables to lyxpreview_tools. Otherwise,
add a few variable names, making it easier to track things.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39656 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-11 18:22:29 +00:00
Julien Rioux
2dfa11904f Stylictic-only changes to lyxpreview.
Whitespace and line endings only, in preparation for some serious work.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39655 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-11 18:22:12 +00:00
Jürgen Spitzmüller
014a1a36ed revive Ctrl-space in mathed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39649 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-10 05:35:54 +00:00
Julien Rioux
9571f12801 * configure.py : Fixup r39643, srcdir is a string containing the basepath to configure.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39645 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-08 12:11:16 +00:00
Julien Rioux
5891c139da * configure.py : Fix the detection of tex2lyx when running in-place (#6986).
Remove the hack with os.environ and instead directly search for
../src/tex2lyx/tex2lyx relative to where configure.py is found.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39643 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 23:59:23 +00:00
Julien Rioux
deb9736929 * 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/trunk@39642 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 23:59:14 +00:00
Julien Rioux
ba17c0315e * 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/trunk@39641 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 23:57:07 +00:00
Julien Rioux
e1b4e5edaa * configure.py : Remove unnecessary code in xhtml viewer detection.
This code seems unnecessary since not_found = "auto" is set in
    checkViewer, and thus "auto" is used as the viewer when no viewers
    are found, and a lyxrc entry is added anyway. The "auto" string is
    special-cased in the code, where we attempt to automatically
    determine the viewer from the OS.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39640 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 23:56:59 +00:00
Julien Rioux
89cb89c78c * configure.py : Fix the detection of splitindex (#7579)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39639 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 23:56:47 +00:00
Julien Rioux
e887f51468 * configure.py : Fix the detection of htmltolatex (#6339)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39638 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 23:56:38 +00:00
Julien Rioux
d75b83e293 * configure.py : Check for java and perl interpreters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39637 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-07 23:56:28 +00:00
Uwe Stöhr
4fbe32b0fd sweave.module: more precise description text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39610 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-06 03:14:51 +00:00
Uwe Stöhr
52c55a2174 - Customization.lyx: add new possible font types uuline, strikeout and uwave
- German Customization.lyx: lot of refactoring

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39573 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-31 16:04:18 +00:00
Uwe Stöhr
1a60740e42 - English Additional.lyx: some updates
- German Additional.lyx: some corrections and some LaTeX warnings fixed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39571 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-31 14:22:23 +00:00
Enrico Forestieri
2ed034ea22 Fix bug #7586 (Temporary file chkconfig.ltx in user directory not deleted if configure fails)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39562 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-29 16:44:29 +00:00
Enrico Forestieri
8e812f44af Avoid code duplication.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39561 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-29 16:23:58 +00:00
Uwe Stöhr
f5a03ab601 InsetSpace support for
- \negmedspace and \negthickspace outside of math
- \enspace, \hspace*, \hspace*{\fill} and \hfill inside math
(fileformat change)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39557 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-29 14:07:30 +00:00
Enrico Forestieri
1126e3dfd8 Fix bug #7718 (Configure fails if shell autorun commands are enabled in the registry)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39554 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 22:57:58 +00:00
Enrico Forestieri
3d82ff41ec Close stdin of the command spawn by subprocess.Popen, otherwise the
command hangs if something goes wrong. Also allow any kind of line endings.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39553 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 22:29:38 +00:00
Uwe Stöhr
6df33aba97 - tufte-book.layout: fix a lyX warning about uninitialized counter
- tufte example files: add important notes that float placements options are not allowed and remove unreferenced labels

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39549 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 16:49:16 +00:00
Uwe Stöhr
563dd1fb3a - EmbeddedObjects.lyx: fix a nasty caption formatting bug spotted by Ignacio
- Spanish EmbeddedObjects.lyx: some fixes by Ignacio

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39547 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 13:37:30 +00:00
Uwe Stöhr
7ba7ce4006 new module and example file for chemical risk and safety statements; requires the package rsphrase which is bundled with the package mhchem that we already support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39545 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 03:59:16 +00:00
Uwe Stöhr
826bf6b950 initials.module: safer preamble call, no string changed, necessary to be able to compile the EmbeddedObjects manual also if the package lettrine is not installed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39543 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 03:36:34 +00:00
Uwe Stöhr
f363b83dbc - Spanish documentation files: translations by Ignacio
- English EmbeddedObjects.lyx: fix a typo spotted by Ignacio
- EmbeddedObjects.lyx: make the file compilable also if the LaTeX-package lettrine is not installed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39542 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 03:36:23 +00:00
Uwe Stöhr
2b3533153a - German UserGuide.lyx: remove some fixed path that would make the document uncompilable
- Spanish UserGuide.lyx: some tweaks

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39539 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 01:15:22 +00:00
Jürgen Spitzmüller
6a3ff009db Issue the math space dialog (not the text one) when in math (bug 7746).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39536 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-27 10:45:59 +00:00
Julien Rioux
9657ffd77f revert part of the last commit that should not have been
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39534 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-26 23:46:52 +00:00