Commit Graph

29 Commits

Author SHA1 Message Date
José Matox
e13ad7c476 Docbook fixes from Andreas
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9687 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-28 13:14:48 +00:00
Jean-Marc Lasgouttes
1e7112db43 fix counters updating mechanism
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9682 a592a061-630c-0410-9148-cb99ea01b6c8
2005-02-25 11:55:36 +00:00
Asger Ottar Alstrup
282bf655ed - Add missing STL includes for correctness - gcc is too forgiving
- Add missing using statements
- Guard #warning statements


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9494 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-18 14:15:57 +00:00
Lars Gullik Bjønnes
9c2ba3c4ff rename tostr.[Ch] to convert.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9448 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 16:39:35 +00:00
Lars Gullik Bjønnes
6a55be9506 tostr -> convert and some bformat work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9446 a592a061-630c-0410-9148-cb99ea01b6c8
2005-01-06 15:40:49 +00:00
José Matox
1ecc7b79cd Remove mixed_content from output parameters.
Escape ids to always produce legal output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9157 a592a061-630c-0410-9148-cb99ea01b6c8
2004-11-02 11:25:20 +00:00
José Matox
a590b1e0d2 Replace CDATA argument as innertag.
Use CDATA if environment requires PassThru.
The code now feels more natural, as there is one less exception.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9148 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-30 18:44:55 +00:00
José Matox
876a495c6b Make the standard paragraph an empty paragraph if its content allows it.
Fix bug 1708.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9143 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-30 13:05:31 +00:00
José Matox
8e27aa2fb7 Sanitize ids for SGML/XML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9142 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-29 23:08:04 +00:00
José Matox
a86b3a1c84 Move ids in environments to the possible wider scope.
Replace <> by the "" for all attributes.
Use open and closeTag always.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9140 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-28 15:10:10 +00:00
José Matox
24b6402897 more code uniffied for handling paragraph ids. (docbook)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9137 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-28 13:07:45 +00:00
Angus Leeming
eb00187fea Whitespace, nothing but whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9131 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-26 21:16:44 +00:00
José Matox
f6a49ae0f7 merge two if's that tested the same condition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9127 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-25 11:20:02 +00:00
José Matox
b6263feca7 Fix description paragraph. (docbook)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9119 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-24 23:53:42 +00:00
José Matox
71f3af2a4e Move paragraph counting to a single place. (SGML/XML)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9118 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-24 20:55:22 +00:00
José Matox
755672f60f Fix wrong scope for listitems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9116 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-24 18:28:18 +00:00
José Matox
da075d3c90 Remove 'using std::stack' as it is not needed anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9115 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-24 07:55:23 +00:00
José Matox
eb3d6435d1 Reorganized docbook export code and fixed several bugs in the process.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9114 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-24 00:02:39 +00:00
José Matox
a23f710d55 Docbook - fix closing tags in the end of the document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9089 a592a061-630c-0410-9148-cb99ea01b6c8
2004-10-13 22:15:32 +00:00
Georg Baum
db707dab04 remove now unnecessary const casts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8757 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-17 11:28:31 +00:00
José Matox
33243f7003 clean code to export between different flavours, output different code for sgml to deal with incomplete implementation, clean code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8755 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-14 15:47:35 +00:00
Lars Gullik Bjønnes
68b7ef25fb simple ws changes only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8594 a592a061-630c-0410-9148-cb99ea01b6c8
2004-04-03 08:37:12 +00:00
André Pönitz
0d43ba149a the stuff from the sneak preview:
For one, it still contains a few things that are already in CVS (the
'brown paperbag' changes).

Secondly, this changes the ParagraphList to a std::vector but does not
yet take full advantage of it except removing LyXText::parOffset() and
similar.

I had an extensive talk with my profiler and we are happy nevertheless.

This also moves almost all Cut&Paste specific stuff from text.C to
CutAndPaste.C. Much smaller interface now... Namespace CutAndPaste is
now  lyx::cap::. Was inconsistent with the rest....

Make ParagraphList a proper class. We'll need this later for a
specialized erase/insert.

Remove some unneeded prototypes and function declarations

Use ParameterStruct directly instead of ShareContainer<ParameterStruct>

Inline a few accesses to CursorSlice members as suggested by the profiler.

Fix commandline conversion crash reported by Kayvan.

Replace PosIterator by DocumentIterator. The latter can also iterate
through math and nested text in math...

Remove math specific hack from Documentiterator

Derive InsetCollapsable from InsetText instead of using an InsetText
member. This give us the opportunity to get rid of the InsetOld::owner_
backpointer.

Cosmetics in CutAndPaste.C and cursor.C. Fix nasty crash (popping slices
off an empty selection anchor). Add a few asserts.

Remove all 'manual' update calls. We do now one per user interaction which
is completely sufficient.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8527 a592a061-630c-0410-9148-cb99ea01b6c8
2004-03-25 09:16:36 +00:00
André Pönitz
1eaa3eb913 more IU
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8371 a592a061-630c-0410-9148-cb99ea01b6c8
2004-01-26 10:13:15 +00:00
Martin Vermeer
6c176e40e3 moving LatexParam functionality into .layout files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8290 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-31 08:44:42 +00:00
Martin Vermeer
2b21af9a42 AGU header stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8264 a592a061-630c-0410-9148-cb99ea01b6c8
2003-12-18 12:42:02 +00:00
Martin Vermeer
af37f0d23e Introducing a number of tags parametrizing various
XML formats that we may want to support


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8137 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-25 17:23:36 +00:00
Martin Vermeer
93ea4edddf XML sanitation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8087 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-14 14:05:03 +00:00
José Matox
cd424d7853 Rename ascii to plaintext and LatexRunParams to OutputParams.
Create new files for each output format.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8046 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-05 12:06:20 +00:00