Commit Graph

19734 Commits

Author SHA1 Message Date
Peter Kümmel
e481d312f0 cmake on mac: build with internal libintl, cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38730 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-12 21:25:56 +00:00
Peter Kümmel
6a953f81ad cmake on mac: build with external libintl, find gettext, build merged
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38729 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-12 21:11:35 +00:00
Richard Heck
da03e5b1c4 Make sure we do not crash here in release mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38720 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-12 13:28:23 +00:00
Richard Heck
d7de1f2a1e Fix XHTML output for fractions and fix a crash reported on the list
by Jan Paul Imhoff. The problem was that we were assuming (as we still
do in some places) that there are always at least two cells.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38717 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-12 13:16:36 +00:00
Tommaso Cucinotta
b5399db9c5 Fixing positioning of cells in multi-row align environments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38714 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-11 19:44:27 +00:00
Tommaso Cucinotta
bca9a6ca73 Fix #7549, due to a problem in exporting to plaintext a
multicell inset, where we now export all of the cells
separated by "\t", instead of only the first cell.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38712 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-11 18:59:54 +00:00
Richard Heck
6a18a06673 Fix multirow output for XHTML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38706 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-11 14:20:24 +00:00
Richard Heck
929b7a7d31 Fix bug #7547. We need to check whether we are in a multirow here.
Otherwise, we were asking to construct strings of random size at a
certain point, e.g., two 2GB strings, in one case I saw.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38704 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-11 14:12:00 +00:00
Richard Heck
88cdfb0d42 Fix bugs #7110 and #7160 by reverting r36521.
This was an attempt to fix #2743 without re-working the InsetBibitem
mess. It didn't work, so we have to do that.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38702 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-11 12:44:39 +00:00
Kornel Benko
5c1666c0e1 In colaboration with Stephan Witt, adapted to our libintl to MAC
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38695 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-10 19:18:44 +00:00
Peter Kümmel
897edc10c0 cmake: move CMakeLists.txt into source dir (multiple steps)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38691 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-10 17:44:41 +00:00
Abdelrazak Younes
33f7c028a2 gcc 4.5 warning fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38687 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-10 15:03:49 +00:00
Enrico Forestieri
cdb1f9a000 Add tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38686 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-10 10:08:02 +00:00
Enrico Forestieri
1717ef203c Introduce the possibility of setting a prefix for the TEXINPUTS environment
variable. This is done in the preferences, much like as the PATH prefix.
A single '.' in the paths will get replaced with the current document dir
and also non-absolute paths will be prefixed with that dir.

The default semantics of TEXINPUTS apply, such that, for example, if a
path is terminated with a double slash, all subdirectories will be also
searched by both the TeX engine and ancillary programs such as dvi
previewers or dvips. As an example, if the prefix is set to ".:figs", the
TEXINPUTS variable will be set as ".:<docdir>:<docdir>/figs:$ORIGTEXINPUTS",
where <docdir> is the document directory.

The initial '.' is necessary to address the actual current dir (this will
be the temp dir at preview time), while if TEXINPUTS was initially unset,
such that $ORIGTEXINPUTS is empty, a colon (or semicolon on Windows) will
end the path list. This is very important, because we don't want to replace
the system directories but to complement them and, in order to do that, an
empty element has to be present in the list. Indeed, according to the
TEXINPUTS semantics, an empty element means the standard search path.
This works whether TEXINPUTS is originally set or not, because if the
original TEXINPUTS starts with a colon (meaning that the standard search
path is wanted there) we will have an empty element at that point,
otherwise the final colon will simply serve as a path separator.

Of course, on Windows a ';' has to be used as a path separator. LyX will
take care of transforming the platform path list into one understandable
by the TeX engine. For example, this will be the case for a Cygwin version
of LyX using a native Windows TeX engine or viceversa. I tested all of
this and it works for me.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38681 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 23:25:51 +00:00
Richard Heck
161e60b7ea Fix for bug #7319. This is an attempt to fix the bug cheaply.
We clear the refernce cache so that we won't get conflicts with labels
that get pasted into the buffer. We should update this before its being
empty matters. If not (i.e., if we encounter bugs), then this should
instead be:
  cur.buffer().updateBuffer();
But we'll try the cheaper solution in trunk.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38680 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 23:23:24 +00:00
Richard Heck
3526e67e24 We need to do the update here simply because of the inset deletion.
It must have been wrong before the updateBuffer() refactoring, too.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38676 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 21:50:35 +00:00
Richard Heck
45b57a0966 Fix crash reported by John Kennan.
We are missing the updateBuffer() call when we go through
mouseEventDispatch(). A consequence of the massive updateBuffer()
refactoring. Wish it had been caught before...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38667 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 18:05:31 +00:00
Edwin Leuven
3034bc266d ensure that latex output for decimally aligned columns does NOT depend on cached metrics info (the member decimal_width)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38655 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 12:33:32 +00:00
Tommaso Cucinotta
c23eef3abf Still addressing #6560: instead of cloning the BufferParams, which might cause
a number of unforeseen issues (like the inheritance of the default master, as
pointed out in http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg168225.html),
now we simply set the language into the search & replace buffers.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38647 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 23:51:44 +00:00
Pavel Sanda
84f3f109d3 typo, closing #7427
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38642 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 12:28:54 +00:00
Georg Baum
eed26c2ca6 Fix bug #7511 by moving the old label instead of creating a new one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38640 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 11:19:55 +00:00
Georg Baum
8356e9e2c0 remove dead code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38638 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 10:56:53 +00:00
Georg Baum
467bf135e9 Partial fox for bug #6622: Display \undertilde on screen correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38636 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 10:23:56 +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
Georg Baum
12f8e7a6f9 Small improvement for bug #7509 as suggested by JMarc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38628 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 08:23:42 +00:00
Richard Heck
1493191f77 Fix bug #7500: There is presently no way in the GUI to update local
layout to the current format.

This probably isn't needed for branch, since local layout was a
"hidden feature" prior to 2.0, and one can update local layout by:
  (a) copying to a file
  (b) running layout2layout on that file
  (c) pasting back into LyX
So we should probably just leave this in trunk.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38622 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-08 00:54:17 +00:00
Richard Heck
33ee5c9ae8 Fix bug #7499. The problem here is that there was no way for the
inset to know that the BibTeX data had changed. So we introduce a
Buffer-wide variable that we can query for that information.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38619 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-07 23:02:53 +00:00
Richard Heck
5855043599 Initial work to fix bug involving embedded macros and
XHTML output.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38613 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-07 11:57:08 +00:00
Kornel Benko
45b61c6ecf 1.) Corrected internal compilation for Libintl
2.) Changed cmake-files accordingly
Patch from Jean-Marc Lasgouttes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38606 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-06 19:24:54 +00:00
Stephan Witt
b65d0c087b let the compiler do the maths to compute array size
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38599 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-06 06:49:55 +00:00
Richard Heck
47a95c1094 Fix bug #7531, also reported by Jim Oldfield. Need to use master
buffer's counters.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38597 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-05 20:31:47 +00:00
Richard Heck
d1f15298f7 Start the clean up of the updateMacros() calls by moving the necessary
calls into the file writing routines and out of doExport(). They were in
both places before: Called once in doExport, and then again in the e.g.
writeLaTeXSource()---and then again, actually, in validate().

It is possible this will reveal some missing updateBuffer() calls
somewhere. But it should somewhat speed up View>Source, since we now do
not do an extra set of such calls in that routine. Rather, we rely upon
the Buffer's having been made up to date first, by the updateBuffer()
call after dispatch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38596 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-05 20:18:16 +00:00
Richard Heck
9440012342 Fix bug #7525: We need to make sure we have an up to date list of macros
before we try to resolve them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38590 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-05 15:15:55 +00:00
Pavel Sanda
b90ef20d36 Typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38588 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-05 09:19:34 +00:00
Georg Baum
f0a669014f Exclude generated files from .po string extraction.
Now it is no longer needed to use a tree that was never used for building
for remerging .po files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38585 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-04 18:51:15 +00:00
Enrico Forestieri
2c9c4ee672 Some math font changing commands only work in math mode, so let's
assure to switch to math mode if needed. This helps avoiding latex
errors (see http://thread.gmane.org/gmane.editors.lyx.general/69580)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38579 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-04 00:29:36 +00:00
Enrico Forestieri
3efc6385d7 See r37176. Let's keep this a Windows only "feature".
Something went wrong with a script while previewing a document and now
I have to wait for 30 minutes for quitting LyX without killing it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38578 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-04 00:17:07 +00:00
Pavel Sanda
a20b7acd18 Give more info whats actually going on in hunspell.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38575 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-03 18:32:14 +00:00
Richard Heck
7d9b8a464f Fix bug #7463: XHTML View>Source now shows only the paragraph with the
cursor. Fix is fairly simple.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38572 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-03 14:05:42 +00:00
Richard Heck
2bf904ca34 Fix bug #7490.
As the bug report notes, you do NOT get this crash if you move up or
down in the table a bit before you do the rest. The reason is that
moving up and down sets the cursor's x_target_, and it is because that
is not set that we enter the other code at all and eventually crash.
That is, in InsetTabular's dispatch, we have:

(*) cur.pos() = tm.x2pos(cur.pit(), pm.rows().size()-1, cur.targetX());

You can see the potential for trouble here already. cur.pit() is in the
NEW cell, i.e., the one to which we are moving; it was changed a few
lines previously, and cur.idx() points to the new cell, too. But we are
trying to calculate cur.pos(), which means that cur.pos() is currently
the one from the OLD cell. So the cursor is in an inconsistent state.
Calling cur.targetX() leads us to call Cursor::getPos(), and that is
what causes the crash.

We fix the problem by making sure we call targetX() on the original
cursor. The same problem clearly exists in the DOWN stuff, so we fix
that, too.

By the way, should we be setting x_target_ here once we have calculated
it?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38530 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 22:41:48 +00:00
Richard Heck
bb91e606b3 Forgot this part of r38496. See
http://www.mail-archive.com/lyx-
for the reason it needs to be here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38497 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-25 22:30:22 +00:00
Richard Heck
c7cb9fdc43 Fix crash when there are text insets in a table cell with decimal alignment. This is discussed in these threads:
http://marc.info/?t=115869271700002&r=1&w=2&n=5
	http://marc.info/?t=130349942500005&r=1&w=2&n=17
This is the simpler and more conservative of the two solutions proposed. It is possible,
however, that we need the more complicated one, which is in x2a.patch here:
	http://marc.info/?l=lyx-devel&m=130359169107401&q=p4
Both patches contain work by me and Edwin.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38496 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-25 12:56:09 +00:00
Peter Kümmel
1d5e483b44 move call stack code, add TODOs
(only disabled code is touched)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38494 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-25 09:14:50 +00:00
Richard Heck
5f1d31bf16 Just whitespace and a comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38485 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-25 01:46:37 +00:00
Enrico Forestieri
d4bcdae8d7 Fix deletion of empty last row for \smallmatrix (part of bug #7484).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38475 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-22 15:06:59 +00:00
Peter Kümmel
56712287a6 demangle names of call stack, thx to JM for the <cxxabi.h> tip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38473 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-21 20:07:08 +00:00
Pavel Sanda
371c42d45e Fix #7479
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38469 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-20 20:52:53 +00:00
Richard Heck
e0bc4efcff Revert r38431 for now, at least. Thanks to Enrico for pointing out
why that is a good idea.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38451 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-19 00:50:24 +00:00
Jürgen Spitzmüller
cd20c9aa4f * PDFOptions.cpp:
If a class has already loaded hyperref (i.e., if \hypersetup is already defined),
	immediately issue \hypersetup to prevent a LaTeX error (bug #7459).
	
	This still assures that \hypersetup is called \AtBeginDocument if hyperref is loaded by
	a class \AtBeginDocument (such as modernCV, see #7048).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38438 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-18 10:55:11 +00:00
Richard Heck
5d60eea4ba Now how do you think that happened?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38433 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-18 02:23:09 +00:00
Richard Heck
c8c5ae29aa Remove pointless variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38432 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-18 02:11:24 +00:00
Richard Heck
1cdd1dc0c0 Remove pointless variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38431 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-18 01:49:23 +00:00
Richard Heck
d83e002201 Fairly trivial change here: Just protect against inheriting limits to
output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38430 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-18 01:42:01 +00:00
Tommaso Cucinotta
8fd08e4ece Nearly cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38410 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-16 10:48:55 +00:00
Richard Heck
a436c20c3d Extracting translation information does not help if you don't actually
use it to translate the message. (Note that this is presently used only
for XHTML output.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38405 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-15 11:34:06 +00:00
Richard Heck
4b5a58dca9 Forgot to change this in XHTML output, so formatted references weren't
getting output properly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38404 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-15 11:28:56 +00:00
Vincent van Ravesteijn
b29ef9e1a5 Fix bug #7444. We are only interested in whether the dimension has been stored in the cache. Therefore we have to use hasDim, otherwise we get a negative response just because the x-y is not set.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38403 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-15 10:54:52 +00:00
Richard Heck
d4bca04616 Add a FIXME regarding remaining anchor issue.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38390 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-15 02:26:22 +00:00
Richard Heck
6be4045e0c Fix some more bugs similar to #7394, just fixed by Enrico.
The one remaining question is whether we should also call resetAnchor()
at the end of setCursor().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38388 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-15 02:01:28 +00:00
Enrico Forestieri
075804d685 Fix bug #7394 (Crash while selecting texts)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38385 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-14 22:44:46 +00:00
Tommaso Cucinotta
bfc98a4faa Avoid useless double dispatch of cmd to same buffer (if bv and doc_bv are the same).
This also fixes #7442.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38383 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-14 21:39:47 +00:00
Richard Heck
c10cd68fba Constify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38381 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-14 20:34:18 +00:00
Richard Heck
b8809efaa5 Remove unused header. Thanks Julien.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38379 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-14 18:33:50 +00:00
Richard Heck
1b6803bc7b Fix export of new LaTeX formats: xetex and luatex. Prior to this, child
documents and graphics were not copied to the export directory, since
the format passed to addExternalFile() was wrong.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38378 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-14 18:32:42 +00:00
Peter Kümmel
dd64477e3b #7407, home_dir could be a static function and also be called by the
Package constructor


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38370 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-13 19:11:55 +00:00
Peter Kümmel
697ffd35d8 #7452, no spellcheck menu needed when no text is below cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38369 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-13 18:54:58 +00:00
Richard Heck
815a9bd97e Not sure why this was there: Of course we need to escape < and >.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38363 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-13 13:05:52 +00:00
Stephan Witt
062ad0335f #7429 dismiss spell checker dialog when wrap around is detected
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38361 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-13 11:38:07 +00:00
Stephan Witt
7dda20bc9d add forgotten implementation of "remove from personal dictionary" for enchant spell checker backend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38360 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-13 10:55:51 +00:00
Peter Kümmel
efeeb06418 add comment about backtrace requirement
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38357 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-12 21:37:03 +00:00
Tommaso Cucinotta
29948eec26 Now math previews are correctly updated when replacing math contents inside
through Advanced Find and Replace.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38355 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-12 20:16:57 +00:00
Richard Heck
bfddee97e1 Better TOC output for XHTML, per Rob and Pavel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38354 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-12 17:33:18 +00:00
Richard Heck
f567dd2bc1 Fix problem with citation dialog. The code changes here missed the need
for this part.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38353 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-12 17:32:16 +00:00
Pavel Sanda
7c63b4f260 Fix wrongly copy-pasted entries in SpellcheckerUi.ui
Spotted by Jean-Pierre Chretien.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38344 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-11 23:50:40 +00:00
Pavel Sanda
16c2ee1f49 Resave SpellcheckerUi.ui in qt 4.4 designer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38343 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-11 23:50:38 +00:00
Georg Baum
95d2b2f082 Fix bug #7402. Many thanks to Vincent who found the wrong revision.
Read the comment of odocstream in src/support/docstream.h if you want to 
know why this fix is correct.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38335 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-11 20:11:27 +00:00
Peter Kümmel
0a48051f27 add debug function which prints the callstack to stderr, disabled by default
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38334 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-11 19:39:40 +00:00
Richard Heck
08e69e57bf Fix XHTML TOC translation per a suggestion of Georg's.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38333 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-11 18:43:53 +00:00
Richard Heck
f061d66c2f Remove unused headers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38332 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-11 14:11:07 +00:00
Jürgen Spitzmüller
8d4c3ae854 * Messages.cpp (get):
- set again bind_textdomain_codeset before calling gettext.
	  This works around the infamous bug #7371

Patch from Peter Kümmel.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38325 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-10 16:53:10 +00:00
Peter Kümmel
8e91dbd4f0 remove debug code, we know the translation failed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38323 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-09 22:13:58 +00:00
Peter Kümmel
c3352f6a6b temporary code to find bug #7371
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38320 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-09 09:42:52 +00:00
Pavel Sanda
16cfd2ba12 Fix #7438, patch from Stephan.
(Sorry for not waiting for you, I wanted to enter freeze ASAP.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38317 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-08 22:22:52 +00:00
Julien Rioux
3fd236f0cc * GuiDocument.cpp
- unify font handling between TeX and non-TeX fonts
    - show unavailable fonts as 'The Font (not installed)' in the Fonts dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38316 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-08 20:37:17 +00:00
Stephan Witt
c694f6cdf5 Fixes the following issues:
* updateView() should start a spell check only on first call after init
* at the end of document the dialog should hide itself when user said "no" to continue spell check
* when the last word of a note inset is misspelled forward() wrongly think it's the end of doc
* when the user clicks the buttons fast, recursive calls are possible


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38307 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-08 13:26:45 +00:00
Stephan Witt
e0baae5091 avoid the single dash (hard hyphen) or apostrophe enclosed by white space is treated as a real word
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38306 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-08 13:20:26 +00:00
Pavel Sanda
9dd47e00d1 Fix #7439.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38303 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-08 12:00:51 +00:00
Georg Baum
15c274fbc8 fix another bug spotted by Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38300 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-07 19:17:30 +00:00
Georg Baum
f5b37d861b Fix wrong translations of float lists spotted by Pavel:
It was taken from .po file, not layoutttranslations


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38297 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 21:20:35 +00:00
Stephan Witt
d41dfec5be #7375 correct spell checker widget geometry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38295 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 20:12:44 +00:00
Stephan Witt
01a21a60b5 #7430 add check for first document language for the spell checker and initialize the language combo accordingly on open
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38294 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-06 18:26:50 +00:00
Enrico Forestieri
13dd04602a Generalize check to generic non-editable insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38257 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-05 15:40:00 +00:00
Enrico Forestieri
bd744cac00 Fix bug #7420 (ASSERTION when moving paragraph up in info inset)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38251 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-05 01:00:30 +00:00
Julien Rioux
adf6faf4d4 revert r37696 and apply a fallback mechanism to pdflatex
when latex fails with a preview. Fixes bug #7303 (IP fails with hyperref).
Patch by Ale with suggestions from Enrico

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38243 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-04 14:33:45 +00:00
Richard Heck
855ea23faa Remove debugging code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38242 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-04 12:25:52 +00:00
Jürgen Spitzmüller
5f1bfdde1e *LyXER.cpp:
- parse editor_alternatives with options correctly.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38240 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-04 09:43:39 +00:00
Pavel Sanda
2b21503022 Better compile fix from Vincent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38238 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-04 07:47:21 +00:00
Pavel Sanda
e30ca93785 Temporary fix for compile errors on older Qt's (cf #7375)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38235 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-03 19:21:28 +00:00
Richard Heck
8bc43f2ecb Don't output box width if it's 100% (default).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38226 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-03 12:57:33 +00:00
Richard Heck
41463b84e5 Different types of boxes should all have their own layouts. This
involves no change of functionality, due to the fall-back mechanism and
is needed for XHTML CSS output for the boxes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38225 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-03 12:56:58 +00:00
Pavel Sanda
6df859f35a Fix compilation, Richard please check this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38222 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-03 08:02:08 +00:00
Richard Heck
a673aa3428 The mechanism for closing font tags at the end of a paragraph was
throwing errors in the case where we are inside a charstyle that itself
uses a font tag, e.g., strong from the logical markup module. This at
least gets rid of most of the errors, and doesn't seem to cause any
other problems.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38220 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-03 01:56:20 +00:00
Richard Heck
d7b4e46750 Remove unused variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38218 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-03 00:05:20 +00:00
Richard Heck
8165e63acf More font tags.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38217 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-03 00:03:10 +00:00
Richard Heck
20487d93a6 Hyperlinks have to be escaped for XHTML output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38215 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-02 23:35:57 +00:00
Pavel Sanda
5168f2879c Typo. Merged manual still doesn't export via xhtml.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38210 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-02 14:42:09 +00:00
Stephan Witt
242b76f7a5 correct mark of misspelled word if it is the last of paragraph
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38206 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-02 14:03:35 +00:00
Richard Heck
30339c03ad Fix preview of generated math images under XHTML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38205 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-02 13:04:11 +00:00
Richard Heck
a2abadb9f3 Fix crash part of bug #7416. The export status was not being set for
child documents, hence we had no DocIterator for preview.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38204 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-02 12:26:03 +00:00
Richard Heck
77185fe83d Substack support for XHTML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38197 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-01 23:41:17 +00:00
Richard Heck
740e89de17 The mode setting stuff wasn't working properly for XHTML, so this patch
simplifies it and hopefully does get it working.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38195 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-01 22:34:40 +00:00
Richard Heck
844296cd47 Remove debugging code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38194 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-01 21:30:48 +00:00
Richard Heck
707d369d72 Get math within text working for XHTML export.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38193 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-01 21:18:37 +00:00
Richard Heck
17f1b1d04a Better preview for images.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38192 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-01 20:44:23 +00:00
Richard Heck
d7a2ae0bf3 Don't try to create a math preview image if we're just previewing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38191 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-01 20:32:33 +00:00
Richard Heck
4052facca6 If we encounter a macro we don't recognize, then export this bit of math
as an image.

The math macro now exports as XHTML + MathML and can be viewed in
Firefox.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38190 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-01 20:15:43 +00:00
Richard Heck
0b1fdca0fa Fix last commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38189 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-01 20:03:41 +00:00
Richard Heck
75a7a2203d More informative normalization for math macros.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38188 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-01 20:03:15 +00:00
Richard Heck
f22a3988b3 Revert unintentional commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38187 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-01 19:28:26 +00:00
Richard Heck
ff782f993a Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38186 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-01 19:27:30 +00:00
Richard Heck
461c973d62 Clean up XHTML output a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38185 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-01 19:18:25 +00:00
Richard Heck
2378db75c1 Prettify tabular output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38184 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-01 18:36:13 +00:00
Richard Heck
eceefd3d31 Remove debugging code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38183 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-01 18:35:06 +00:00
Enrico Forestieri
b413c58e78 Make the libreoffice icons the default set, add some missing icons,
and improve the appearance of some other ones.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38182 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-01 17:51:12 +00:00
Stephan Witt
934cadd381 improve the method naming for "mark new word position", move the mark operation out of bookmarkEditPosition up one level to LFUN_SELF_INSERT of the text inset dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38181 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-01 05:49:04 +00:00
Richard Heck
4685a3e5a8 Given how we are using this exclusion list, it makes more sense for it
to be a set. Not that speed will really be an issue here, but....


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38178 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-31 13:03:29 +00:00
Richard Heck
1d255a8da5 We always call this function with the argument now, but it should be
defaulted anyway.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38177 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-31 12:57:05 +00:00
Richard Heck
bfd5abac4c Remove unused code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38176 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-31 12:54:49 +00:00
Richard Heck
f2bfbfa975 Simplify public API by using default argument. More to come.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38175 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-31 12:51:48 +00:00
Julien Rioux
6946111727 with nonTeXFonts, use xelatex to produce the requested .aux file,
since plain old latex will likely choke on the generated .tex file

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38168 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-30 22:37:51 +00:00
Julien Rioux
bdc2dc042f exclude latex and pdflatex formats from the converter
graph when using nonTeXFonts

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38167 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-30 22:25:39 +00:00
Julien Rioux
1a0852630a optionally allow to exclude certain formats, by name, from the converter graph
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38166 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-30 22:24:30 +00:00
Julien Rioux
adc6d258f9 we want XeTeX as the backend for previews when using nonTeXFonts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38160 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-30 13:50:47 +00:00
Julien Rioux
efe93782fe allow proper preview when using literate in combination with nonTeXFonts
(we can't rely on bufferFormat for this)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38147 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-30 00:34:09 +00:00
Julien Rioux
618c1b6eb1 fix inclusion of literate child documents after r38118
(isLatex is unreliable)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38140 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-30 00:23:32 +00:00
Peter Kümmel
97a5c0882d Messages::init(); needs Package. this fixes a crash on windows which presents parsing of the argument
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38139 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 22:18:21 +00:00
Peter Kümmel
b391929ece undo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38136 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 21:38:52 +00:00
Enrico Forestieri
89b4af1653 The original icon set was thought for a normal size of 20x20.
New icon sets declare the normal size through an iconsize.png file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38135 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 21:07:46 +00:00
Peter Kümmel
774d215750 don't just crash when it couldn't find chkconfig.ltx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38134 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 20:53:53 +00:00
Tommaso Cucinotta
8fd06ad27c Fixed overlapping of both Find Advanced and Spellchecker Dockwidgets (addressing #7375).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38133 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 20:51:40 +00:00
Vincent van Ravesteijn
7e566747fd Fix bug #7351 (oart 2). Missing update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38131 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 17:09:46 +00:00
Stephan Witt
40ed86b416 #6776 Remove cached misspelled marker for word delimiters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38124 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 10:37:21 +00:00
Jürgen Spitzmüller
717c4176f5 * InsetInclude.cpp: another follow-up to r38025: do not attempt to convert a child document to LaTeX if it is already LaTeX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38118 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 08:35:37 +00:00
Pavel Sanda
29fc2f60be InsetInfo - on VCS error we don't want localized output in .tex output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38117 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 01:43:06 +00:00
Richard Heck
aff04ce265 Refine previous commit: Forgot the break.
Also, if we're "undefined", then we should just continue reading.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38116 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 01:01:24 +00:00
Richard Heck
2a39fbb430 Continuing fix of #7080. Since we now demand "Flex:Whatever" as the name
of a flex InsetLayout, let's check for it when we hit a LyXType tag, and
refuse to honor it unless we have the right sort of name.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38115 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-29 00:57:07 +00:00
Richard Heck
ebe6c9287f Fix bug #7080.
- Have InsetFlex::layoutName() report "Flex:" + the inset name.
- Do some layout2layout work so that user insets that do not have
  the "Flex:" prefix get it.

Note that this will break some CopyStyle stuff, but we do not have any
decent way to do that, so users will have to make that change for
themselves. I guess we should add that to the release notes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38112 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-28 23:11:54 +00:00
Richard Heck
2777c336cb This "#if 0" code is very old, and obsolete.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38110 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-28 22:34:41 +00:00
Richard Heck
3f27f951cb This is intended to be a pure renaming of the Inset::name() routine,
preparatory to fixing #7080. Note that mathed uses the same routine, but
for a completely different purpose, so I did not rename it there. I have
seen no difference in behavior after testing, e.g., opening and
exporting Math.lyx, and also re-saving it and looking at the diff.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38109 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-28 22:33:04 +00:00
Pavel Sanda
9c9abe843f Push r38098 again in
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38108 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-28 22:20:41 +00:00