Commit Graph

174 Commits

Author SHA1 Message Date
Uwe Stöhr
127b170175 chkconfig.ltx: check for binhex.tex
Without this file the newtxmath fonts supported by LyX cannot be used; fixes bug #8549.
2013-02-11 12:00:56 +01:00
Uwe Stöhr
487d3bffab support for the kurier sansserif fonts
- fileformat change
2013-02-11 00:47:09 +01:00
Uwe Stöhr
870121fc22 chkconfig.ltx: add lh fonts
- these fonts are necessary to compile our Russian and Ukrainian doc files
2013-01-29 23:24:24 +01:00
Uwe Stöhr
b8c0cba472 chkconfig.ltx: remove check for KOMA-script
this is a class already checked in the layout file section
2013-01-28 23:13:18 +01:00
Uwe Stöhr
0d5f5d107e chkconfig.ltx: check for KOMA and caption 2013-01-28 02:49:52 +01:00
Uwe Stöhr
6fad65aac2 chkconfig.ltx: check for the psyr fonts
- we use the psyr fonts for the bullets (or example in the EmbeddedObjects manual), thus we need to check for them
2013-01-25 01:39:06 +01:00
Uwe Stöhr
e20f78c4b0 chkconfig.ltx: correct check for wasy and cbgreek
- we need to check for a font, not a package
2013-01-23 23:21:39 +01:00
Uwe Stöhr
3cba8fa9be chkconfig.ltx: check for wasy
In unicodesymbols we use the wasy fonts intensively. So we also need to check for them. (wasysym is not the font package itself, only a package to support it: "LaTeX support file to use the WASY-2 fonts. The wasysym package implements and easy to use interface for these symbols.")
2013-01-23 22:01:06 +01:00
Uwe Stöhr
6958af5979 chkconfig.ltx: correct check for cbgreek
fixes #8522
2013-01-23 21:54:48 +01:00
Julien Rioux
2e72a0af48 Add known citation packages to LaTeXFeatures:
- achicago
  - apacite
  - apalike
  - astron
  - authordate
  - chicago
  - harvard
  - mslapa
  - named

This allows these citation packages can be Required by the document layout.
LyX handles the package ordering, loading any of these packages before natbib
when both are required by the document layout. For example, apacite can be
used with or without natbib.

The package achicago isn't compatible with natbib out-of-the-box,
but the following compatibility code makes it work:

\usepackage{achicago}
\let\achicagobib\thebibliography
\usepackage[authoryear]{natbib}
\let\thebibliography\achicagobib
\let\UnexpandableProtect\protect
\let\SCcite\astroncite
2013-01-05 00:08:55 +01:00
Uwe Stöhr
0510421fcb chkconfig.ltx: add check for etoolbox and change checking order
- the packages which are independent of document classes are checked first - for the case that the Internet connection breaks during the checking/installation of missing packages
2013-01-01 17:41:32 +01:00
Uwe Stöhr
17b2adda4f chkconfig.ltx: add packages used by documentation files
- check for diagbox, fp and pict2e
- the doc files uses several styles from the was package, but there is no was.sty, thus check for e.g. upgreek.sty
2012-12-31 21:25:08 +01:00
Georg Baum
56ece75ad9 Fix bug #8464: stackrel with subscript.
The fix is basically mechanical, the additional code for fraction like insets
with three arguments was stolen from \unitfrac. As any math package,
stackrel.sty needs a buffer parameter to switch it off.
I also added the two stackrel flavours to the toolbar.
2012-12-28 20:08:43 +01:00
Georg Baum
f67cf6f4bb Add support for stmaryrd.sty (bug #8434)
The stmaryrd package adds support for lots of math symbols, using a font
designed to accompany the computer modern fonts. The changes in detail:

- Fix generate_symbols_list.py to work with stmaryrd.sty. It loooks like it
  was automatically translated from a perl version and never used.
- Generate the new symbols in lib/symbols using generate_symbols_list.py and
  add some manual adjustments
- Generate stmary10.ttf by a simple ttf export from stmary10.sfd with fontforge
- Add license info for stmary10.ttf
- Create a test file with all symbols from stmaryrd.sty. Actually it would be
  nice to have this for the other fonts as well.
- The mechanics: lyx2lyx, tex2lyx, font machinery etc.
2012-12-15 13:10:31 +01:00
Juergen Spitzmueller
52c2fb81e9 Support for the URW Garamond LaTeX fonts 2012-12-04 12:14:26 +01:00
Uwe Stöhr
751bb129c8 chkconfig.ltx: add check for files necessary for Greek, Russian and Ukrainian
This should also go to branch. OK?
2012-11-15 23:32:33 +01:00
Juergen Spitzmueller
db1c1389e3 Add support for the URW Classico (Optima) LaTeX font
Patch by Liviu Andronic
2012-10-21 18:55:24 +02:00
Juergen Spitzmueller
f18af303fe Introduce textclass categories
The categories are ascribed by \DeclareCategory{<category>} in the layout file header.
UI follows.
2012-10-09 07:17:36 +02:00
Juergen Spitzmueller
1d84423e76 A font a day keeps the doctor away: Support for the Biolinum LaTeX font 2012-09-25 11:07:33 +02:00
Juergen Spitzmueller
8bf5d4b461 Very basic support for unicode-math
With non-TeX fonts, you can select a 'Non-TeX Font Default' math font, which simply loads unicode-math without actually selecting a math font, this then uses the default math otf font, currently Latin Modern. Other fonts still need to be set manually in the preamble, via \setmathfont.

The implementation suppresses unneeded package requests from unicodesymbols, but the output still uses macros instead of full unicode (both is possible with unicode-math).

The whole thing is a proof of concept, and it needs to be tested. I have tested it with the math manual, which compiles and seems to display correctly if I remove some hardcoded package loadings. OTOH I have not much experience with math.

This addresses #7449 partly.
2012-09-24 13:19:25 +02:00
Juergen Spitzmueller
984fbeadec Allow to test for font files
\IfFileExists does not search in texmf/fonts, so the \TestPackage test fails for font files. Add a new \TestFont check that adapts the font check from ltxcheck.tex.

This is needed for the minion2newtxmath test, since this package only consists of font files,
2012-09-24 08:46:07 +02:00
Juergen Spitzmueller
ba1d137769 Support for the NewTX Math fonts (newtx, libertine, minion) 2012-09-23 18:33:04 +02:00
Juergen Spitzmueller
8f9898994d Basic UI for math (TeX) fonts
This addresses #6543 by adding an option to prevent fonts such as Palatino and Times to automatically adapt the math font (IOW it lets you load the text font only for a bunch of fonts where this is easily possible).

Furthermore it adds an interface to select a specific math font, which is defined in latexfonts. Currently, this is only euler (the only one I know), but if there are other math-only tex fonts, they can be added easily (but note that this changes the file format).

Non-TeX math fonts are not yet supported. Eventually, unicode-math support can use the existing UI, but this is not on my agenda.
2012-09-22 17:44:00 +02:00
Juergen Spitzmueller
1a248c68b4 check for libertine-type1 2012-09-22 14:22:57 +02:00
Juergen Spitzmueller
e9ca6b6bf4 Support for the Minion Pro LaTeX font 2012-09-19 17:46:55 +02:00
Juergen Spitzmueller
1267319117 The tipa tone macro requires the tone package from the tipa bundle 2012-08-20 08:52:42 +02:00
Juergen Spitzmueller
54c41ce26e Support for the TeX Gyre fonts (#4332) 2012-08-19 11:57:48 +02:00
Juergen Spitzmueller
b501845b2c Support for the mathdesign fonts (#6072) 2012-08-18 14:45:41 +02:00
Juergen Spitzmueller
292f48d6b5 Add support for the txtt font (#4979) 2012-08-17 18:24:18 +02:00
Juergen Spitzmueller
37137f43f4 Support for the libertine font (#3881) 2012-08-17 14:11:02 +02:00
Uwe Stöhr
1cf9261ff6 - LaTeXConfig.lyx: accept Georg's changes and add bidi
- chkconfig.ltx: bidi and iftex are necessary for all right-to-left languages if XeTeX or LuaTeX is used
2012-06-07 23:08:02 +02:00
Vincent van Ravesteijn
739f9fb59c Do not test unused packages
These packages are no longer used since they are commented out in the
lib/unicodesymbols file.
2012-04-29 14:52:57 +02:00
Pavel Sanda
189bb91e58 Typo in 503bd6cf71, patch from Scott Kostyshak. 2012-04-25 10:41:26 +02:00
Uwe Stöhr
503bd6cf71 chkconfig.ltx: fix #8102 by installing all symbol packages we support when LyX is installed 2012-04-15 18:48:51 +02:00
Georg Baum
4f6579e9d3 Update tex2lyx to file format 427. InsetIPA is not yet supported, but the
produced output is valid format 427.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40903 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-10 11:53:47 +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
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
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
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
Jean-Marc Lasgouttes
369d32885e Fix bug #2005: Lyx Inserted Graphics Scale Error
xkeyval fixes the incompatibility between graphicx.sty and babel/turkish.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39190 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-22 09:53:44 +00:00
Georg Baum
32f6c066cc Partial fox for bug #6622: Display \utilde on screen correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38633 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 10:06:33 +00:00
Jürgen Spitzmüller
5a2121f77e Check for fontspec an configure the GUI accordingly.
If fontspec is not found, the "Use non-TeX fonts" checkbox is disabled, and the tooltip hints at installing the package.
Also add fontspec to LaTeXConfig.lyx, documenting that v2 of the package is needed for LuaTeX support.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37567 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-09 08:23:11 +00:00
Pavel Sanda
42785e6219 Bug #7095: Support fix-cm.sty
Patch from Patrick Atamaniuk.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg165122.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37342 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-28 10:04:52 +00:00
Pavel Sanda
b7bca67010 Missing packages for configure
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36881 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-14 17:23:47 +00:00
Jürgen Spitzmüller
0f2cfd957e Load the package breakurl with hyperref in DVI output (fix bug 7033).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36860 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-13 07:58:07 +00:00
Uwe Stöhr
61e19695c8 chkconfig.ltx: add hhline - was a leftover from r36786; LaTeXConfig.lyx entry still missing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36815 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-10 16:44:07 +00:00
Jürgen Spitzmüller
3d1226b4f2 * Use the package luainputenc if LuaTeX is used as output format _with_ tex fonts. With this, the UG compiles with LuaTeX if "Unse non-TeX fonts" is not selected.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36559 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 17:51:21 +00:00
Georg Baum
b5097b13cf forgot to check for the package
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36551 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 11:32:26 +00:00
Jürgen Spitzmüller
7cbeed2e40 * Introduce polyglossia support (bug 6576).
Please test this.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36433 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-22 12:10:16 +00:00
Georg Baum
dea050cb93 fix bug 3008: Add subscript/superscript inset for text
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36424 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-21 17:00:12 +00:00
Richard Heck
01013c0785 Refstyle support. The user can now choose between prettyref and restyle
for formatted references. Fixes #2295, in so far as it makes it possible
to translate formatted references.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35623 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 12:36:53 +00:00
Uwe Stöhr
b9a5fda7e2 Missing things from r35455
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35460 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-20 01:36:48 +00:00
Jürgen Spitzmüller
20238b240c * Check for float.sty, which is a required package.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35046 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-04 11:53:23 +00:00
Uwe Stöhr
72292b98a6 support for formal math script
- fileformat change
- fixes #2340

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34941 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-17 15:51:11 +00:00
Vincent van Ravesteijn
abcdc1a321 Fix bug #6752: Circle (bullet icon) causes error on export
We need to make sure the wasysym package is installed by adding a check to chkconfig.ltx.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34671 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-15 10:27:42 +00:00
Uwe Stöhr
18d5d9fc0e chkconfig.ltx: add check for the zhmetrics metrics package
This is necessary to get the correct size of images created by dvipng. The problem is that InstantPreview generates always A4 size images for every equation when using standard MiKTeX 2.8. This makes InstantPreview unusable because the LyX file becomes unreadable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34437 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-19 02:32:27 +00:00
Uwe Stöhr
f249df796f - chkconfig.ltx:
- fix the check for arabi
   - add lithuanian, mongolian and turkmen
- LaTeXConfig.lyx: introduce new section about language packages

(I purposely did not add vntex (Vietnamese) because this would be another 10 MB to download for every LyX on Windows user. The other language packages are not larger than 120 kB.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34300 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-27 00:41:24 +00:00
Uwe Stöhr
3a435c5daa chkconfig.ltx: check also for
- arabi (needed for Arabic documents; we also already check for the japanese package so there is no reason why not also check for arabi)
- hyphenat (needed by some document classes and languages like Hebrew to disable hyphenation)

Can also go to branch for LyX 1.6.7 or even 1.6.6 if you like.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34203 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-18 15:02:38 +00:00
Richard Heck
906e55567a No space here. Makes parsing easier.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33862 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 19:56:29 +00:00
Richard Heck
cf8646083f Fix bug #3686, by collecting information about missing prerequisites for
document classes, etc. Patch from Julien Rioux.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33838 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 12:25:16 +00:00
Richard Heck
8d34ae9d19 Detect packages on which modules depend. Patch from Julien Rioux. Fixes
bug #6361.

Should go to branch, too.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32290 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 18:39:49 +00:00
Pavel Sanda
6f981418bf Forgot this http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg153893.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31030 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 13:31:34 +00:00
Uwe Stöhr
50f884bd44 chkconfig.ltx: this has been forgotten in r30338
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30880 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-06 23:14:08 +00:00
Georg Baum
9c662bf442 - fix requirements of \dddot
- add support for \ddddot
- add partial support for inverse diagonal dots (i. e. they are recognized and
  displayed correctly, but the needed package is not loaded, because it would
  need an off/auto/on setting as amsmath, and that calls for a general solution)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30162 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 20:04:27 +00:00
Jean-Marc Lasgouttes
518599d74e this is needed to be able to use the module sweave
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29733 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-19 13:56:09 +00:00
Jürgen Spitzmüller
c52bd08442 Introduce splitindex support. File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 07:29:01 +00:00
Enrico Forestieri
3175a28893 Fix bug 5836 (http://bugzilla.lyx.org/show_bug.cgi?id=5836)
Cyrillic formatted text in mathmode

If some other letters from some script need to be typeset in italic,
it will suffice adding the flag "mathalpha" to the unicodesymbols file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28731 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 06:34:00 +00:00
Uwe Stöhr
a39bbed74e chkconfig.ltx: test for the ifsym package since we provide its characters via the Symbols dialog.
Jürgen, also OK for branch?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28231 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 21:56:27 +00:00
Jürgen Spitzmüller
ef6be5f499 * load CJKutf8 package, if available, for CJK documents in utf8 encoding
(first part of fix to bug 5386)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28142 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 09:26:13 +00:00
Jürgen Spitzmüller
743a29799b * use ulem instead of soul for change tracking
(fixes bugs 5091, 5480, 5647).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28114 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 08:01:28 +00:00
Jürgen Spitzmüller
36e07437ab * Check for the japanese babel option (bug 5677), patch by Koji Yokota.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28088 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 09:10:40 +00:00
Uwe Stöhr
510f7db943 chkconfig.ltx, LaTeXConfig.lyx: it turns out that the fonts of the psnffs package are not always bundled together, so we (already) check for each of them. I added the 3 missing fonts.
Should also be done in branch, Jürgen?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26706 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 21:50:32 +00:00
Enrico Forestieri
70939b7e77 Fix bug 5297
http://bugzilla.lyx.org/show_bug.cgi?id=5297


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26657 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 23:29:11 +00:00
Enrico Forestieri
4dfe930a72 Add check for the latex packages accents and slashed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26594 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-27 18:35:28 +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
Enrico Forestieri
c9d2c73706 Simplify the definition of \mathsym by using the package relsize.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25042 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-01 04:46:50 +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
Stefan Schimanski
9f5d7a7251 * check for xargs in configure.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23620 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 12:50:47 +00:00
Bernhard Roider
5a7724d89c config for bm.sty
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23559 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 13:06:09 +00:00
Jürgen Spitzmüller
ac1977018b ** subfig support **
* src/Buffer.cpp:
* development/FORMAT:
	- bump format to 316.

* src/insets/InsetFloat.{cpp, h}:
	- let nested floats be subfloats
	  NOTE: docbook support is missing.
* src/insets/InsetCaption.{cpp, h}:
	- handle subfigure captions
* src/insets/InsetGraphics.cpp:
* src/insets/InsetGraphicsParams.{cpp, h}:
	- remove old subfigure support

* lib/chkconfig.ltx:
* lib/doc/LaTeXConfig.lyx:
	- check for subfig instead of subfigure.

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- conversion/reversion routines for subfig -> subfloats
	  NOTE: the reversion routine still has bugs.

* src/Counters.{cpp, h}: 
	- add identifiers for subfloats

* src/LaTeXFeatures.{cpp, h}:
	- support for subfig

* src/TextClass.cpp:
	- set up subfloat counter for all custom floats.

* src/frontends/qt4/GuiGraphics.cpp:
* src/frontends/qt4/ui/GrahicsUi.ui:
	- remove subfigure UI.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23381 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-02 11:30:50 +00:00
Uwe Stöhr
1fb4a4a1be chkconfig.ltx: check for nicefrac and units
nicefrac and units are supported by LyX since LyX 1.5.0.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23253 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-26 17:50:40 +00:00
Jürgen Spitzmüller
4b799833e7 *** Support for generic sideways floats ***
* src/Buffer.cpp:
	- format is up to 312.
* src/LaTeXFeatures.cpp:
	- add rotfloat.
* src/Insets/InsetFloat.cpp:
	- handle starred and generic sideways floats.
* src/frontends/qt4/FloatPlacement.{cpp,h}:
	- adjust GUI to the new features.
* lib/chkconfig.ltx:
	- add rotfloat
* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_6.py:
	- add reversion methods for new floats
* lib/lyx2lyx/lyx_1_4.py:
	- add proper reversion method for sideways floats (this was missing).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22495 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-11 18:56:53 +00:00
Jürgen Spitzmüller
a5d5a633d9 some more uses of Requires.
The package ifthen needs to be added to LaTeXConfig.lyx. I'll do this when that file can be opened again.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22419 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 17:32:47 +00:00
Uwe Stöhr
36926cc9e5 chkconfig.ltx: "LaTeXConfig.lyx.in" has been renamed to "LaTeXConfig.lyx"
(the other outdated comments will be fixed when bug 4460
http://bugzilla.lyx.org/show_bug.cgi?id=4460 is fixed)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22403 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 17:35:28 +00:00
Uwe Stöhr
81f48ded87 add a module for typesetting Braille
(entry for the LaTeXConfig.lyx file follows when bug 4460
http://bugzilla.lyx.org/show_bug.cgi?id=4460
is fixed)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22393 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 13:39:58 +00:00
Richard Heck
11bd4679c3 Check for endnotes package needed by some modules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22384 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-05 16:47:47 +00:00
Jürgen Spitzmüller
ccd6d709cb Add Linguistics module.
* lib/layouts/linguistics.module:
	- a new module with some linguistics support.
* lib/doc/examples/linguistics.lyx:
	- some documentation.
* lib/chkconfig.ltx:
* lib/doc/LaTeXConfig.lyx:
	- add packages covington, csquotes and enumitem.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22230 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-21 12:12:19 +00:00
Uwe Stöhr
7a75f54050 check for hyperref since it is now required
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22200 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-17 22:46:58 +00:00
Bo Peng
8d9893ad50 InsetInfo: Move LaTeXConfig.lyx.in to LaTeXConfig.lyx and stop processing this file in configure.py (and chkconfig.ltx.
* development/scons/scons_manifest.py: build system changes
	* lib/doc/Makefile.am
	* lib/doc/LaTeXConfig.lyx.in: rename to
	* lib/doc/LaTeXConfig.lyx: this one.
	* lib/chkconfig.ltx: stop processing sed file and LaTeXConfig.lyx.in
	* lib/configure.py


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20910 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 15:43:44 +00:00
Bo Peng
7329719bec Make sure a textclass.lst will exist even when configure.py fails. Part of Bug 2829, port from branch to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20519 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 16:26:49 +00:00
Uwe Stöhr
17112f655d Helge's wrapfig patch:
- Format incremented to 284
- LaTeX-package wrapfig is now used instead of flotflt for wrap floats (this allows us to implement now also a table wrap float)

(the optional overhang argument of wrapfig will be implemented later)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20185 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 23:47:22 +00:00
Uwe Stöhr
738e0dd8be Add powerdot layout and example
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18463 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-22 21:35:22 +00:00
Uwe Stöhr
f6017e7a50 chkconfig.ltx: sort fontnames
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18361 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-16 01:05:44 +00:00
Jürgen Spitzmüller
b6320bf67a * lib/chkconfig.ltx:
* lib/doc/LaTeXConfig.lyx.in:
	- add listings package.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18333 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-15 07:35:52 +00:00
Michael Schmitt
8684c07664 output changes by means of xcolor and soul
- when exporting with pdflatex 
  - when exporting with latex and dvipost is not available
rename two colors (strikeout => deletedtext, newtext => addedtext)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18284 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-13 15:17:57 +00:00
Uwe Stöhr
6c145ad6d8 whitespace only again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16665 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-13 14:19:58 +00:00
Uwe Stöhr
b65a2f2b7b whitespace only -- improve readability
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16661 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-13 02:25:14 +00:00
Jürgen Spitzmüller
ca5838b017 Support for the EURO sign (bug 845):
* lib/chkconfig.ltx: 
	check for the textcomp package
* lib/doc/LaTeXConfig.lyx.in:
	document textcomp

* src/LaTeXFeatures.C (simplefeatures):
	add textcomp
* src/paragraph_pimpl.C (simpleTeXSpecialChar):
	support the Euro sign (via textcomp command)
* src/paragraph_pimpl.C (validate):
	require textcomp if we have a Euro symbol


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16193 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-06 16:46:57 +00:00
Georg Baum
2db7521b70 Add support for the esint package
* src/LaTeXFeatures.C
	(LaTeXFeatures::getPackages): handle esint and wasysym

	* src/mathed/MathMacroTable.[Ch]
	(requires_): New member: tell the feature this macro requires
	(MacroTable::insert): take new requires arg

	* src/mathed/MathMacroTemplate.C
	(MathMacroTemplate::asMacroData): adjust to change above

	* src/mathed/MathSupport.C
	(fontinfos): add esint10 font

	* src/mathed/InsetMathHull.C
	(InsetMathHull::doDispatch): AMS_ON -> package_on

	* src/mathed/MathMacroTable.h

	* src/mathed/MathFactory.C
	(initSymbols): read and store requires field for symbols

	* src/mathed/InsetMathSymbol.C
	(InsetMathSymbol::metrics): handle esint
	(InsetMathSymbol::takesLimits): ditto

	* src/buffer.C
	(LYX_FORMAT): update format
	(Buffer::validate): handle esint, AMS_ON -> package_on

	* src/bufferparams.C:
	(AMSTranslator): Rename to PackageTranslator
	(BufferParams::readToken): Read \use_esint
	(BufferParams::writeFile): Write \use_esint

	* src/frontends/qt4/QDocumentDialog.C: handle esint

	* src/frontends/qt4/ui/MathsUi.ui : add esint checkboxes

	* src/frontends/qt4/GuiFontLoader.C
	(symbol_fonts: Add esint10 font
	(symbolFamily): handle esint10 font
	(isChosenFont): Add comment

	* src/frontends/controllers/ControlMath.C
	(latex_varsz): Add new integral symbols

	* src/support/fontutils.C
	(win_fonts_truetype): Add esint10 font

	* src/bufferparams.h
	(enum AMS): rename to enum Package
	(use_esint): new parameter

	* src/lyxfont.[Ch]: Add esint font

	* lib/symbols: Add new integral symbols

	* lib/lyx2lyx/LyX.py
	(format_relation): Update format

	* lib/lyx2lyx/lyx_1_5.py: handle new format

	* lib/chkconfig.ltx: Test esint package

	* lib/images/math/oiintop.xpm
	* lib/images/math/sqintop.xpm
	* lib/images/math/sqint.xpm
	* lib/images/math/ointctrclockwiseop.xpm
	* lib/images/math/ointctrclockwise.xpm
	* lib/images/math/iiintop.xpm
	* lib/images/math/iintop.xpm
	* lib/images/math/sqiint.xpm
	* lib/images/math/iiint.xpm
	* lib/images/math/ointclockwiseop.xpm
	* lib/images/math/oiint.xpm
	* lib/images/math/dotsintop.xpm
	* lib/images/math/sqiintop.xpm
	* lib/images/math/ointclockwise.xpm
	* lib/images/math/iiiintop.xpm
	* lib/images/math/dotsint.xpm
	* lib/images/math/iiiint.xpm
	* lib/images/math/iint.xpm: new icons

	* lib/doc/LaTeXConfig.lyx.in: Add docs for esint package

	* lib/doc/UserGuide.lyx: Add short documentation of integral symbols

	* lib/Makefile.am: Add new files

	* development/scons/scons_manifest.py: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15907 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-13 17:35:18 +00:00