Pavel Sanda
6aefcd7c24
Revert r32624 - forgotten and wrong patch in git commit pipe, sorry ;)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32626 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 16:06:31 +00:00
Pavel Sanda
0b5fe5494b
Vincent's initial support for ERT instant preview
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32624 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 16:02:37 +00:00
Richard Heck
67c03d202f
With ContentAsLabel, we do not need this special code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32576 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 01:22:24 +00:00
Richard Heck
08b63ad3c6
Enhance LyX by fixing bug 5587. We add a new ContentAsLabel tag to
...
InsetLayout, per Jurgen's suggestion, so that insets can be told to
display an abbreviated form of their content when closed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32575 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 00:29:22 +00:00
Vincent van Ravesteijn
87085fa2fd
Set the current font when moving into a table or between two table cells.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32570 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 17:47:09 +00:00
Vincent van Ravesteijn
bf5a35a293
Remove unused include.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32561 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 15:16:27 +00:00
Vincent van Ravesteijn
6b96abd211
Correctly paint the background of the instant preview of a displayed equation.
...
For a displayed equation, the height is artificially increased by a displayMargin() in InsetMathHull::metrics if it is a displayed equation and there is a preview.
This extra height is not covered by the preview image and what one can see is the background as drawn by the MathHull inset. The color of this background should be either Color_mathbg or Color_background depending on whether the preview is shown or not.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32560 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 14:09:37 +00:00
Richard Heck
512215606b
Remove last vestiges of pre-XHTMLStream implementation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32541 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-15 13:22:38 +00:00
Richard Heck
47e591bbee
Allow use of InsetLayout with InsetCaption.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32533 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-14 17:15:32 +00:00
Richard Heck
80ce542440
A little more CSS for tables.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32532 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-14 16:57:54 +00:00
Richard Heck
814af09a69
Fix the height output for InsetBox.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32531 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-14 16:52:33 +00:00
Richard Heck
cbe28d9d7a
Spacing.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32530 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-14 16:50:17 +00:00
Richard Heck
505cccfe7d
Add some CSS for tables.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32528 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-14 16:05:36 +00:00
Richard Heck
e71268a705
Add comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32527 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-14 16:04:33 +00:00
Richard Heck
5f04bedb1c
Fix multicolumn output.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32526 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-14 15:44:49 +00:00
Richard Heck
93c121cfaa
Remove dead code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32525 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-14 15:40:54 +00:00
Richard Heck
dadda4cb44
Initial XHTML support for InsetTabular.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32524 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-14 15:39:13 +00:00
Richard Heck
43207c17bc
Restore XHTML output for InsetListings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32515 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-13 21:14:53 +00:00
Uwe Stöhr
c5fc91ed51
InsetQuotes.cpp: correct a comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32493 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-12 20:29:47 +00:00
Uwe Stöhr
a01b8a1d1c
InsetCaption.cpp: revert unintended commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32470 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 01:01:58 +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
e5afe8db66
This really gets the TOC working now. We auto-generate labels for the
...
paragraphs the TOC targets, and link to them.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32461 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 20:03:35 +00:00
Richard Heck
46e70895a9
CSS for the TOC, and a couple small fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32460 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 19:28:00 +00:00
Richard Heck
ffe73b795b
Initial work for InsetTOC. This does actually write a TOC, but without
...
any links. That is the next step.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32459 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 18:30:48 +00:00
Richard Heck
69666056ca
Cosmetic repairs to my updateLabels() changes, thanks to Andre's
...
comments. Added comments per Pavel's suggestion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32453 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-10 13:25:31 +00:00
Uwe Stöhr
fea997f075
InsetCaption.cpp: add a comment
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32443 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-09 23:36:59 +00:00
Vincent van Ravesteijn
03a0da1a49
Fix bug #6356 : Reloading image does not work for compiling.
...
Refresh the file info, otherwise InsetGraphics::latex might still think that the file does not exist.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32355 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-05 02:56:19 +00:00
Richard Heck
996505c2ae
This patch introduces an optional argument to Buffer::updateLabels(), so
...
as to allow us to call the routine when we are preparing for output and
so to do certain things we might not want to do every time.
This is an abuse of updateLabels(), in a way, but updateLabels() long
ago became the general recurse-through-the-Buffer routine, and to
implement the sort of thing I want to do here in validate(), say, much
of the code in updateLabels()---in particular, the counter-update
code---would have to be duplicated. So I believe this is the best, and
easiest, way to go.
Actual use of the new argument will follow.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32318 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 03:03:38 +00:00
Uwe Stöhr
55b61a0c9f
Inset.h: fix whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32317 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 02:11:54 +00:00
Richard Heck
f3b5dacaeb
Fix comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32316 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 02:05:38 +00:00
Richard Heck
4843a76603
Get counter from InsetLayout, as elsewhere.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32310 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 23:22:45 +00:00
Richard Heck
d964e6bdb9
Style.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32309 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 23:10:08 +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
3b7fd0c806
Forgot this.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32299 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 20:19:06 +00:00
Richard Heck
22452958f9
The BibTeX bibliography only includes BibTeX entries.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32296 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 19:54:12 +00:00
Richard Heck
451e926b84
Restore XHTML output for InsetGraphics.
...
To make this really good, we'd want to be able to rotate, crop, etc, the
images, as well as convert them to suitable output formats. This should
not be too difficult, since we do this sort of thing for display,
anyway. But I don't myself know how to do it. Anyone?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32295 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 19:52:46 +00:00
Richard Heck
879e5d3504
Revert previous commit. Wrong fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32294 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 19:46:24 +00:00
Richard Heck
ca6f5978c3
Fix bibitem bug for XHTML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32293 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-03 19:43:00 +00:00
Richard Heck
a2de033405
Forgot that unique() doesn't actually erase anything.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32263 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 23:08:24 +00:00
Richard Heck
26006c8ffc
Restore XHTML output for InsetCitation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32262 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 22:59:18 +00:00
Richard Heck
8b382928e2
Add some space, move a comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32261 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 22:49:37 +00:00
Richard Heck
6adbf95f61
Restore XHTML output for InsetBibtex.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32260 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 22:48:10 +00:00
Richard Heck
6acadc3530
Fix silly omission.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32258 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 22:45:32 +00:00
Richard Heck
d3365ebbe7
Restore XHTML output for InsetBibitem.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32257 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 22:28:54 +00:00
Richard Heck
304f884930
Restore XHTML output for InsetInclude.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32249 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 17:34:01 +00:00
Richard Heck
bad0994dcd
Restore XHTML output for InsetCaption.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32247 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 17:27:10 +00:00
Richard Heck
83df2047c5
Restore XHTML output for InsetFloat.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32246 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 17:20:37 +00:00
Richard Heck
aa1f01777e
There's an easier way....
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32245 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 17:20:10 +00:00
Richard Heck
d88e9655be
A bit of renaming, plus default values for htmlTag() and htmlClass().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32244 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 17:08:56 +00:00
Richard Heck
c5738e5af6
Restore XHTML output for InsetLabel and InsetRef. There are a couple
...
other fixes in here, too.
There is an issue here which I guess I'll deal with later, namely, that
the name attribute for <a> is unavailable in XHTML 1.1, which is what we
need for MathML support, at least in Firefox. Firefox will deal with it
if it's there, but the document won't validate. I'll figure out what to
do about this later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32226 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-28 21:37:47 +00:00