Commit Graph

22812 Commits

Author SHA1 Message Date
Richard Heck
d305930f47 Forgot this. Now the insets at least show up again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32090 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 20:25:40 +00:00
Richard Heck
502dc7ca52 Inset::xhtml(XHTMLStream &, ...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32089 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 20:22:04 +00:00
Enrico Forestieri
4125830098 Icon from 1.3 with restyling by Edwin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32088 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 20:04:02 +00:00
Richard Heck
0b317145d7 Comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32087 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 18:28:36 +00:00
Richard Heck
ad132e2e99 Restore basic paragraph output for XHTML. The insets are all disabled still.
Much of the point of this is to allow us properly to handle what LyX does as:
  <em>This is <strong>bold and italic</em> and now just bold.</strong>
We output:
  <em>This is <strong>bold and italic</strong></em><strong> and now just bold.</strong>
which is valid.

Note how much easier this would have been if emphasis and boldness were insets
rather than ranges. ;-)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32086 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 18:24:19 +00:00
Richard Heck
7aebcc787f I am now going to proceed to break XHMTL output, and then reconstruct it
a piece at a time, using the new XHTMLStream.

This just gets the basic structures working, and fixes a bunch of iconv
errors in the process. 

I hate iconv errors.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32085 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 17:51:06 +00:00
Richard Heck
62b6240310 Reorganize a bit, and take the new stuff out of the html namespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32084 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 16:35:58 +00:00
Richard Heck
8745fd6caa This is the custom stream for XHTML output. It isn't used yet, and
lots of things that will be replaced have been left, so as not to
prevent compilation.

The point of this is that we need a good way to manage the nesting of tags,
that is, to make sure tags are properly nested. So everything here is pretty
trivial, except for XHTMLStream << EndTag.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32083 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 16:29:57 +00:00
Peter Kümmel
200880333a update to boost 1.41.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32081 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 15:12:36 +00:00
Pavel Sanda
9755da5440 Comment on stderr issue.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32079 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 08:55:21 +00:00
Pavel Sanda
8ff5ef68ac Close #6336.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32078 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-18 22:27:24 +00:00
Richard Heck
10db73576b Some updates to Customization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32077 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-18 21:39:27 +00:00
Uwe Stöhr
994b8dad3a font-emph.png: change the toolbar button for \emph fro an italic E to an exclamation mark. This fixes #2585 and do no longer imply that \emph makes text italic.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32076 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-18 01:50:03 +00:00
Uwe Stöhr
a6e3fe01fb French Intro.lyx: sync with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32073 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-18 01:07:25 +00:00
Richard Heck
ff61f41d5b Unnecessary argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32070 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-17 22:18:28 +00:00
Jean-Marc Lasgouttes
3f22ae8f1d revert previous fix for Snow Leopard crashes and apply new one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32067 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-17 17:04:47 +00:00
Jean-Marc Lasgouttes
1545219dcb squash warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32066 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-17 16:57:35 +00:00
Richard Heck
c4a27f1d63 Fix bug 5412 by updating docs.
Should also go to branch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32063 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-17 14:52:44 +00:00
Richard Heck
0b82638164 Handle the TEXT flavor in this switch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32054 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 17:37:51 +00:00
Enrico Forestieri
935d1a3221 Clarify comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32051 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 14:11:25 +00:00
Enrico Forestieri
d3378a6b84 Style: insetCur -> inset_cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32049 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 13:31:01 +00:00
Jürgen Spitzmüller
7594bd4852 * de.po: sync with branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32047 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 08:25:18 +00:00
Richard Heck
84d2d20810 Some XML entities for lib/symbols.
For anyone who wants to help (fun!), you can find the XML entity
definitions here:
	http://www.htmlhelp.com/reference/html40/entities/
and here:
	http://www.w3.org/TR/MathML2/chapter6.html#chars.entity.tables
Fill 'em in.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32041 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 03:31:20 +00:00
Enrico Forestieri
de414f5cf3 Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32039 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 01:12:15 +00:00
Vincent van Ravesteijn
86a9302823 Fix bug #6240: Adding table row causes exception that triggers infinite loop in code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32038 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-16 00:18:52 +00:00
Enrico Forestieri
7365a29fea Fix bug #6208: macro crash.
The fix consists in not updating the macro while it is being edited,
and this is accomplished by the changes in MathData::updateMacros().
However, when clicking away with the mouse I was getting another crash,
which is cured by the changes in MathMacro::notifyCursorLeaves().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32037 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 23:54:45 +00:00
Vincent van Ravesteijn
3581c31d1b Allow PgUp and PgDwn to put the cursor on the first or last row.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32036 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 23:53:40 +00:00
Vincent van Ravesteijn
a9ae2abb7e Fix bug #6327: Crash in new file and press PgUp button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32035 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 23:45:39 +00:00
Vincent van Ravesteijn
f4125a65c0 Fix bug #6320: LyX goes to infinite loop when selecting document parts.
Set the boundary member correctly when the cursor goes to an 'empty' row.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32034 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 22:01:12 +00:00
Abdelrazak Younes
216f9156dc Fix MathML export for < and > special characters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32033 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 21:45:21 +00:00
Uwe Stöhr
96948b808d singlecol.layout (small correction of the fix for #6239):
- this file is not old but obsolete (we use this term for other outdated layouts like for example the elsart.layout)
- remove "SC" from the name to clarify that it was once a normal Inderscience layout so people can see that we have a new one for it

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32032 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 21:36:38 +00:00
Uwe Stöhr
c12e13f3ec - tufte-book.layout: tufte book doesn't number things like in other book classes, therefore don't load the numreport.inc via book.layout
- tufte-book.lyx: tufte book doesn't define an abstract environment
- tufte-handout.layout: overwrite side and headings settings from tufte-book.layout

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32030 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 20:04:49 +00:00
Jürgen Spitzmüller
d103ab6cf9 * lyx_pot.py:
- make IconPalette tooltips translatable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32026 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 17:27:21 +00:00
Uwe Stöhr
fa2c0a3e2c de.po: translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32018 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 16:22:12 +00:00
Uwe Stöhr
0b7ce1e08c - theorems-chap.module: fix a typo
- MathsUi.ui: fix again another typo in tooltip
- po-files: remerge
- de.po: new translations


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32017 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 16:18:02 +00:00
Jürgen Spitzmüller
b83415029e * MathsUi.ui: grammar fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32012 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 15:47:07 +00:00
Uwe Stöhr
d291772c5a MathsUi.ui: fix another typo in tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32008 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 14:55:50 +00:00
Uwe Stöhr
57676c67aa MathsUi.ui: fix typo in tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32007 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 14:47:03 +00:00
Richard Heck
ae60474513 Get math macros working for MathML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32004 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 12:30:26 +00:00
Richard Heck
8ad0e96631 Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32001 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 02:30:02 +00:00
Richard Heck
70f035b189 This can be a private method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32000 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 01:42:49 +00:00
Richard Heck
f0a5d099b9 Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31999 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 01:18:13 +00:00
Enrico Forestieri
3f3bedd0d9 Fix another instance of missing buffer in math. This is needed when
pasting a macro inside another math inset (such as \text or \hat). In
this case the buffer would not be set and getMacro() cannot be called,
such that an "internal" macro would still shadow an user defined one.
This kind of fix is now easy after Abdel's overhaul.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31998 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 01:03:03 +00:00
Richard Heck
8340a17e96 Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31997 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 23:28:50 +00:00
Uwe Stöhr
92a489b91d Math.lyx: this manual can now also be compiled when mhchem is not installed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31996 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 22:28:13 +00:00
Richard Heck
584bca0fe8 MathML for InsetMathSpace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31994 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 21:38:28 +00:00
Richard Heck
70217ba676 Initial work on InsetMathBox. This doesn't really work yet, for reasons
given in the FIXME.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31993 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 21:11:23 +00:00
Uwe Stöhr
60cc4f8e7f MathsUi.ui: add tooltips, the same can also be done for branch if you like, Jürgen?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31992 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 21:07:22 +00:00
Richard Heck
ff7d0d5c6e Fix whitespace, comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31991 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 20:40:09 +00:00
Richard Heck
0229c21be4 Fix single character output for MathML. Kind of.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31990 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 20:38:22 +00:00