Commit Graph

145 Commits

Author SHA1 Message Date
Uwe Stöhr
8bb69f24b6 support for multirows in tables:
- fileformat change (lyx2lyx code follows the next days)
- the patch is a joint work of Edwin and me

The patch is huge but the major parts work already. I put it in now as the minor known issues can be solved step by step the next days. I think this is the best solution because collaborating with such large patches already lead to copy/paste bugs.

The known issues are listed here:
http://wiki.lyx.org/Devel/Multirow

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33414 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 01:07:54 +00:00
Enrico Forestieri
b5d172abc8 Fix bug #6469: Times Roman and \textgreek produce error with pdflatex on a PC
The problem here is that the metafont sources and tfm files are missing
in normal installations, because the Times Roman Greek fonts are not free
and should be purchased. When the grtimes package is not installed, the
fonts are substitued with cmr glyphs. However, if grtimes is installed
and and the actual fonts are missing, an error is generated. So, we simply
check whether the greek fonts are installed and, if they are not, we
perform the font substitution by ourselves. In this way the error is
avoided whether grtimes is installed or not.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33178 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 17:24:58 +00:00
Enrico Forestieri
b5d3593160 Revert r33169. That was too simplistic. We have to use the workaround
only when the Times Roman font is used.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33171 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 01:36:40 +00:00
Enrico Forestieri
8b793d88b5 Fix bug #6469: Times Roman and \textgreek produce error with pdflatex on a PC
The problem here is that the metafont sources and tfm files are missing
in normal installations, because the Times Roman Greek fonts are not free
and should be purchased. When the grtimes package is not installed, the
fonts are substitued with cmr glyphs. However, if grtimes is installed
and and the actual fonts are missing, an error is generated. So, we simply
check whether the greek fonts are installed and, if they are not, we
perform the font substitution by ourselves. In this way the error is
avoided whether grtimes is installed or not.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33169 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-23 01:27:42 +00:00
Jürgen Spitzmüller
95466fff15 * revert r32450 which broke polytonic Greek.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33055 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 09:52:42 +00:00
Uwe Stöhr
83b1c48846 replace links to bugzilla with links to trac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32469 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 00:59:10 +00:00
Richard Heck
ad67f42b17 Removing debugging code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32457 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 16:44:33 +00:00
Jürgen Spitzmüller
28ce123a18 Simplify the definition of multi-accented polytonic Greek, patch by Günter Milde.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32450 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 08:26:22 +00:00
Richard Heck
e70c04b350 CSS for InsetBibtex. We include this via the validate mechanism, and
borrow the LatexFeatures::addPremableSnippet() method to do it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32301 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 21:06:41 +00:00
Richard Heck
c2f39490a7 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32300 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 20:19:15 +00:00
Uwe Stöhr
d5099c8605 - introduce option to suppress the LaTeX package mhchem, fileformat change
The fileformat change is also needed because of our mistake that we load mhchem since LyX 1.6.4 automatically so that files created with LyX 1.6.4 won't compile under LyX 1.6.3. Now at least all files created or opened with LyX 1.7 can be reverted to the fileformat of LyX 1.6.x and can therefore be read by all LyX 1.6.x versions.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31941 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-11 01:48:07 +00:00
Jürgen Spitzmüller
537caa8833 * LaTeXFeatures.cpp:
- do not eat space at the beginning of \lyxadded macro (bug 6282).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31692 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-23 09:01:51 +00:00
Jürgen Spitzmüller
94fb836258 * LaTeXFeatures.cpp: fix whitespace issue after Greek character.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31453 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-23 10:32:22 +00:00
Jürgen Spitzmüller
87b701a06b * attempt to fix polytonic Greek (with mutli-accents) [bug 5976].
* add extended Greek chars to unicodesymbols [bug 4997].

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30619 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 06:19:25 +00:00
Jean-Marc Lasgouttes
7345921eb2 this is helpful together with r30582
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30583 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 18:29:39 +00:00
Jürgen Spitzmüller
9d35e6690c revert unintended commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30443 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 06:58:54 +00:00
Jürgen Spitzmüller
5fdd2daa9c * Add ability to rename branches (bug 4128).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30442 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 06:49:51 +00:00
Enrico Forestieri
0a90c42b86 Fix bugs #6047, #4043, and #5394.
6047: Lyx 1.6.3 unable to typeset the third chemical equation of the
      file mhchem.lyx (package mhchem)
4043: mhchem support
5394: support for the mhchems's \ce command
The \ce and \cf insets are text mode environments that allow entering
spaces and mathmode commands. LyX leaves them alone and doesn't try to
be smart, i.e., the behaviour is exactly the same we had in the old days
with text-in-math mode environments, before the introduction of the
\ensuremath and \lyxmathsym macros. This means that in those environments
one has to know what he is doing, as LyX will not offer any protection.
The hack of enclosing \ce and \cf in a \text{} environment in order to
be able to enter spaces is no longer necessary.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30338 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-03 00:05:58 +00:00
Pavel Sanda
4c15e3fb55 Squash warn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30294 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 22:12:16 +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
Georg Baum
e0acb978ff fix bug 5798: Translate float names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30035 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-09 18:16:43 +00:00
Richard Heck
7ee664b997 Thanks, Andre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29972 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 20:00:55 +00:00
Richard Heck
70899f0c15 Separate HTML preamble information. This could be used for javascript,
or anything else one would like to add to the header.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29967 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 19:42:56 +00:00
Richard Heck
397ebabfa4 Rename a couple routines in preparation for more.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29966 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 19:30:42 +00:00
Richard Heck
cdcf309911 Routines to retrieve HTML style information.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29949 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 17:39:00 +00:00
Richard Heck
658457b847 Rationalize the handling of InsetLayout's preamble and requries. That is,
bring it into line with the handing of Layout's preamble and requires. This
will make information about used InsetLayout's avaiable elsewhere.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29914 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-03 23:44:31 +00:00
Jean-Marc Lasgouttes
864773d7d9 Allow literate documents other than noweb to work out of the box. Currently
only sweave is supported (for building documentation, not programs).

Layout files allow a new OutputFormat tag 

Modules can be conditionned on a feature of the type from->to, indicating that
it should be possible to convert from format 'from' to format 'to'.

Layout format incremented to 15.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29874 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-28 08:59:25 +00:00
Enrico Forestieri
128c2b31d8 Avoid ugly macros in the preamble and protect underlined \cite commands
in a clever way.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29558 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 10:57:52 +00:00
Enrico Forestieri
cd62043a1b Solve problem with underlining citations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29550 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-06 10:20:40 +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
Uwe Stöhr
4d30bc7579 support for \pagecolor, fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29220 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 21:40:11 +00:00
Enrico Forestieri
d786fa0ab8 Partly revert r28731 (see discussion in bug 5836).
Essentially, it is not true that Cyrillic characters in math are to be typeset
in italic by default, and LyX already permits to style them as desired. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28981 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-30 22:40:27 +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
Georg Baum
9aad4bc27f Better fix for bug 1476 (following an idea by Jean-Marc).
Don't go into an endless loop if layout2layout cannot produce the desired file format.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28529 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-17 20:25:56 +00:00
André Pönitz
20d5148dca move ColorSet to a header of its own to reduce #include dependencies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28426 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 23:30:24 +00:00
Jürgen Spitzmüller
1f58d53deb Bug 5562: Fix command line output of subfigure insets by introducing new OutputParams and LaTeXFeatures members that tell the insets whether they are in a (sub)float.
Later, this can be replaces by a backpointer approach, as proposed at bugzilla (note that there are already similar cases such as InComment or InTableCell, so a backpointer approach would need to adapt the OutputParams methos anyway).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28382 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-07 12:27:24 +00:00
Georg Baum
cd27d171d5 Partial fix of bug 1476:
Implement infrastructure to add translations to layout files and translate one .inc file.
Some others are missing.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28356 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 20:06:50 +00:00
Jürgen Spitzmüller
9485531ca0 * LaTeXFeatures.cpp:
- make lyxarrow robust, since \@ifstar is fragile.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28235 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:00:43 +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
b99fc9bcd9 * LaTeXFeatures.cpp:
* InsetSpecialChar.cpp:
	- make the menu separator direction-aware [only in LaTeX output] (bug 3560).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28085 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 08:31:52 +00:00
Abdelrazak Younes
fb41750883 gcc warning fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27449 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 13:56:39 +00:00
André Pönitz
f1cba8ff64 more latin1..utf8 schanges. all of src/* should be utf8 now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27425 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 15:58:50 +00:00
Uwe Stöhr
4331cbf30f babel handling: revert r26857 and r26858 for the reasons I posted o the list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26870 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 17:21:18 +00:00
Jürgen Spitzmüller
6eb11f06a8 readjust indendation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26863 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 13:06:17 +00:00
Uwe Stöhr
51b4ac8e79 LaTeXFeatures.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5350
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26862 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 12:50:08 +00:00
Abdelrazak Younes
bc8e829ce0 Simplify and optimize a bit the special babel language detection; and add a FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26857 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 07:19:43 +00:00
Uwe Stöhr
4c48e7746b BufferParams.cpp, LaTeXFeatures.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5291
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26627 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 19:18:00 +00:00
Jürgen Spitzmüller
8dd1185d9f whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26610 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 08:48:02 +00:00
Uwe Stöhr
7c8851a45b LaTeXFeatures.cpp: fix part of http://bugzilla.lyx.org/show_bug.cgi?id=5294 also for trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26600 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-28 12:14:15 +00:00
Enrico Forestieri
5ca3be4d67 In mathmode, treat nonascii chars with diacritical marks as an input method
for entering math accents, such that an umlauted A is translated as \ddot{A},
for example.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26577 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 15:53:15 +00:00