Jürgen Spitzmüller
7bbd67eb26
* Implement updateLabels in mathed and add the MathRef insets to the references cache.
...
This fixes bug #1560 .
The diverse setBuffer / updateLabels calls need auditing. See FIXMEs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33249 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 17:37:22 +00:00
Jürgen Spitzmüller
5b2d31fbb1
* InsetTabular.cpp (addToToc):
...
- pass correct iterator (and prevent assertion).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33247 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 12:25:43 +00:00
Jürgen Spitzmüller
bc5fd28ddf
* InsetTabular.{cpp, h}:
...
- implement addToToc (bug 6372).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33240 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 08:33:14 +00:00
Richard Heck
00753ae61e
Simplify InsetCitation::basicLabel() code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33143 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 19:58:21 +00:00
Richard Heck
ca40daccb0
Forgot to wrap first citation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33141 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 19:30:39 +00:00
Richard Heck
7cd56e334d
Output labels (1.1, etc) with the TOC.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33139 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 19:11:46 +00:00
Richard Heck
0ac7123011
Translate TOC title to document language, not GUI language.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33138 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-21 19:01:22 +00:00
Richard Heck
c2ac70552c
Introduce a "formatted counter" for use with formatted reference during
...
XHTML output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33113 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 20:33:36 +00:00
Richard Heck
f2e3342983
Fix warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33111 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 19:46:02 +00:00
Richard Heck
caa4e94bf0
Get rid of some magic booleans in updateLabels() and related routines.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33110 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 19:42:12 +00:00
Richard Heck
22dc345e8c
Better XHTML output for InsetRef.
...
The idea here is to implement something like \refstepcounter for LyX. We
do this by tracking the "active" counter in Counters.cpp. We also have
to track when we go in and out of environments to which counters are
local, and so on and so forth.
This all gets done in updateLabels(), but only if we are producing
output, which is why I added the output boolean a while ago.
I expect there are bugs in here, though it seems to work pretty well
with the documents I've tested.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33108 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 19:03:17 +00:00
Richard Heck
e12d2b8b58
Move comments to functions, not private members.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33104 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 17:51:07 +00:00
Richard Heck
3e654186d2
Move the StartTag, EndTag, and CompTag classes into the html namespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33099 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 22:08:04 +00:00
Richard Heck
557c705cbb
Fix listings XHTML output: No paragraphs in there.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33096 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 19:11:12 +00:00
Jürgen Spitzmüller
9a63a02956
* InsetIndex.{cpp,h}:
...
- add index name to button label (part of #6455 ).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33074 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 14:47:45 +00:00
Jean-Marc Lasgouttes
e88b91116f
remove bad and unused #include
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33049 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 16:37:17 +00:00
Richard Heck
9f2e85d565
Revert r33039, which did not work at all.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33045 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 23:45:53 +00:00
Richard Heck
59c04f7096
The fortoc argument I introduced earlier should all along have gone into
...
OutputParams. So now it is there.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33044 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 22:24:43 +00:00
Richard Heck
d2dc4652fa
Character styles should have MultiPar = false, by default.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33041 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 21:43:44 +00:00
Richard Heck
e0eaa73224
Minor InsetLayout cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33039 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 21:31:27 +00:00
Richard Heck
1d6b666431
Finish the output of the index for XHTML.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33037 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 20:01:53 +00:00
Richard Heck
2e349ff103
This sorts the index entries and writes each one's tags together, like:
...
AMS Math 1, 2, 3
where the numbers are links.
The only thing left to do here is to parse the index entries so that we
can do something with "this ! that" and similar things.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33001 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 21:06:55 +00:00
Richard Heck
7349e6e29b
Initial work for XHTML output of the index. It just occurred to me the
...
other day that this would be easy, since the Index is in the TOC. There
is more to be done here still, though.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33000 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 20:44:39 +00:00
Richard Heck
2f728e45f8
Remove the test for "tableofcontents", since that is the only thing this
...
inset supports right now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32999 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 20:25:33 +00:00
Richard Heck
a12cd4eedc
Simplify InsetTOC::xhtml now.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32992 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 19:39:07 +00:00
Jean-Marc Lasgouttes
ceb50a253c
get rid of notes-mutate and explain that inset-forall can do the same
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32986 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 15:54:33 +00:00
Richard Heck
782db81f77
Author-year citations for XHTML output.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32969 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:11:55 +00:00
Jürgen Spitzmüller
8214670316
* InsetInclude{.cpp, h}:
...
- indicate if a child document has been un-included (via the includeonly feature).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32941 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 15:10:40 +00:00
Richard Heck
389f85c038
Move the anonymous functions that are left closer to where they are now
...
used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32924 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 22:30:56 +00:00
Richard Heck
62b23ac0be
Make the complexLabel and basicLabel functions in InsetCitation into
...
private member functions. This will be useful later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32923 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 22:30:12 +00:00
Richard Heck
833e7085dd
A little cleanup of some of the BibTeX info access.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32915 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 16:57:08 +00:00
Abdelrazak Younes
cda980db51
Fix multipart document background compilation. I am not fully satisfied with this solution (see FIXME in Buffer::clone()). There might be some memory leaks...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32910 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 14:47:47 +00:00
Richard Heck
403dccbf23
No output for nocite citations.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32897 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:49:32 +00:00
Richard Heck
67ddc3944c
Style.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32895 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:46:09 +00:00
Richard Heck
fab1494f49
Output keys with bibliography, too.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32893 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:38:10 +00:00
Richard Heck
c90b4fcb87
Use calculated labels in XHTML output.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32892 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 18:19:37 +00:00
Richard Heck
012be55afd
Move the collection of citations and sorting routines into BiblioInfo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32887 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 16:40:41 +00:00
Richard Heck
eeb1c45edb
Typos etc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32882 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 14:38:31 +00:00
Richard Heck
ebfb4c09ad
Make the float interface for XHTML consistent with the others.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32846 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:32:04 +00:00
Abdelrazak Younes
744ee152fa
Cleanup a bit the pargraph ids generation in order to (trying to) fix
...
#6415
Enrico please verify that reverse dvi is fixed.
* Text and InsetText: create two private constructors and transfer some
initialisation code from InsetText.
* Paragraph: id generation is transfered to Text. May be transfered to
Buffer in the future, we'll see.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32766 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 13:16:55 +00:00
Richard Heck
4926639879
XHTML output for lists of figures, tables, etc.
...
Thanks to Abdel for making this so easy. I'm just stealing the TOCs on
the sidebar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32734 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-01 02:41:26 +00:00
Richard Heck
228948534e
A comment, and a minor change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32732 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-01 02:08:22 +00:00
Richard Heck
68db58a584
Re-organize InsetTOC to prepare for other TO*s.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32731 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-01 01:45:02 +00:00
Richard Heck
0d73ffc2fb
Style.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32692 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 16:34:55 +00:00
Richard Heck
bb80bd78f9
Whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32690 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 15:52:16 +00:00
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