Commit Graph

21524 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
a842957959 * Paragraph.cpp:
- we do not output alignment begin for the default alignment,
	  so we must not output the end tag (bug 5995)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30151 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 06:52:38 +00:00
Pavel Sanda
3f3d37ca09 Next patch from John McCabe-Dansted.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg152211.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30148 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-17 17:56:56 +00:00
Enrico Forestieri
4559c29eeb Reintroduce workaround due to nested math hulls as it is not
guaranteed that LyX is always able to replace $...$ constructs
with \ensuremath{...}.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30145 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 21:22:32 +00:00
Pavel Sanda
a45c849f3b Refactorize GuiView::showView.
This way we get rid of pop-uping of widgets when ~/.config/LyX is re-created
and yet we still have title and enabling status correct when widgets are
restored from session.
Some details in bug #5082.

This is candidate for branch too.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30144 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 17:22:43 +00:00
Pavel Sanda
65f641ac1d Better fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30143 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 14:33:29 +00:00
Pavel Sanda
bb9721cbd1 Not needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30142 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 14:29:20 +00:00
Pavel Sanda
08c835ee10 Update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30141 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 14:06:26 +00:00
Pavel Sanda
c9dc32ab97 Copy&paste typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30139 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 14:03:04 +00:00
Jürgen Spitzmüller
3d1da3331d * configure.py:
- change eLyXer command and copier to copy images
	  to the appropriate places on view and export
	  (requires eLyXer 0.27).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30132 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 08:06:12 +00:00
Pavel Sanda
d852da852a Enhance notes context menu.
Juergen?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30130 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 07:50:14 +00:00
Pavel Sanda
5998f1fe1a We get permission on list, add to credits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30125 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:20:26 +00:00
Pavel Sanda
752099a7c5 Make keystest part of our build system. Update sources only on reguest.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30124 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:20:24 +00:00
Pavel Sanda
9c6e9083ed Cosmetic leftovers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30123 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:20:22 +00:00
Pavel Sanda
f3b253f9ad Move to the correct directory structure.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30122 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:20:20 +00:00
Pavel Sanda
5cf6f4f656 Test of brute-force key typing to test lyx for crashes.
Vanilla sources from John McCabe-Dansted.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg152155.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30121 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:20:14 +00:00
Jürgen Spitzmüller
934308286d * Paragraph.cpp:
- do not embrace list items. According to the comment, 
	  this was only done to escape brackets, but brackets
	  are embraced anyway.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30112 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 15:57:54 +00:00
Pavel Sanda
9e9fdd57c3 Fix crash http://www.lyx.org/trac/ticket/6000
Juergen?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30109 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 13:22:19 +00:00
Jean-Marc Lasgouttes
471e25647f fix crash when pressing Down in command buffer and the history is empty
(reported by John McCabe-Dansted's monkey test)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30107 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 09:08:18 +00:00
Uwe Stöhr
8bda8d10b8 tex2lyx/text.cpp: \linebreak and \pagebreak are first supported by LyX with fileformat 300
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30106 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 00:33:54 +00:00
Uwe Stöhr
693b64674b tex2lyx/preamble.cpp: textcomp is also supported by LyX since we support Unicode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30105 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 00:33:05 +00:00
Uwe Stöhr
d69af206ee tex2lyx/preamble.cpp: forgot this in last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30104 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 00:21:34 +00:00
Uwe Stöhr
affc633c38 tex2lyx/preamble.cpp:
- better whitespace preamble output (still not perfect)
- support for fileformat 258
- proper solution how to treat LyX specific preamble stuff; this solves long standing issues (the old solution failed when more than one LyX specific command was used in a file)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30103 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 00:16:31 +00:00
Uwe Stöhr
0eb2e5c22c tex2lyx/test/test-insets.tex: correct code for nomenclatures
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30102 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 00:15:13 +00:00
Uwe Stöhr
36e82b8d45 tex2lyx/text.cpp: tipo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30101 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-14 23:58:37 +00:00
Uwe Stöhr
868ffa3864 tex2lyx: whitespace and typos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30100 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-14 21:29:24 +00:00
Uwe Stöhr
9629ab9005 FORMAT: typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30099 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-14 14:24:54 +00:00
Uwe Stöhr
14021f7233 tex2lyx: support for fileformat 257: command inset instead of layout inset for captions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30098 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-14 14:21:20 +00:00
Uwe Stöhr
f1a2bf1c66 test/test-structure.tex: add caption with OptArg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30097 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-14 14:20:22 +00:00
Uwe Stöhr
c9a726bd43 tex2lyx/preamble.cpp: support for fileformat 256
- the code for \clear***page was already there
- tex2lyx allows already to use any input encoding

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30096 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-14 12:39:07 +00:00
Uwe Stöhr
6f1cd6eba2 tex2lyx/preamble.cpp: using amsmath and esint automatically is safer than not to use them. The automatic usage is also our default when you create a new LyX file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30095 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-14 12:25:17 +00:00
Uwe Stöhr
a65af1e391 tex2lyx/preamble.cpp: support for fileformat 254: esint
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30094 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-14 12:21:30 +00:00
Uwe Stöhr
1e4def9460 tex2lyx:
- correct the conversion of InsetCommand
- code optimization
- support for format 253: nomenclature is now recognized

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30093 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-14 02:16:51 +00:00
Uwe Stöhr
6dad0a4cd7 test/test-structure.tex: add nomenclature
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30092 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-14 02:14:42 +00:00
Pavel Sanda
e35f3ef321 Add comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30091 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-13 22:32:28 +00:00
Pavel Sanda
4c60c41731 Add missing gui element for autocorrection rc
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147374.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30090 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-13 22:23:19 +00:00
Pavel Sanda
1c2a1da163 Fix sorting of enum LyXRCTags
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30089 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-13 22:23:16 +00:00
Uwe Stöhr
0542284792 syntax.default: first step to fix #2769
(see my mail and question in http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg152059.html)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30088 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-13 15:36:23 +00:00
Uwe Stöhr
5858128386 tex2lyx/text.cpp: code optimization as also suggested by JMarc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30087 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-13 15:34:31 +00:00
Abdelrazak Younes
51f9ee6155 MSVC compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30082 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 21:26:28 +00:00
Pavel Sanda
5cedeb9f3f * LFUNs.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30081 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 19:24:06 +00:00
Richard Heck
9fcd1a6c6a XHTML for InsetWrap.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30080 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 17:26:48 +00:00
Richard Heck
67e70c6c02 Well, it turns out that we need a different return value for the xhtml
routines, one that allows us to "defer" certain material, e.g., a float
that ought to appear in a div but can't simply be put into the middle
of a paragraph.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30079 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 17:23:17 +00:00
Richard Heck
12f57a57bd The return value for xhtml() is not going to be needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30078 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 16:11:33 +00:00
Richard Heck
082ec01eef CSS for InsetInfo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30077 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 15:27:29 +00:00
Richard Heck
1ad1c51c22 CSS for marginal notes, which makes them work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30076 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 15:16:08 +00:00
Richard Heck
819a0172f7 HTML output for InsetVSpace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30075 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 15:07:04 +00:00
Richard Heck
bd5cccbb34 Lengths for HTML. Use them for InsetBox.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30074 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 14:42:33 +00:00
Jürgen Spitzmüller
fc63c87e2e * BiblioInfo.cpp:
- convert author/editor to proper unicode.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30072 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 14:29:39 +00:00
Enrico Forestieri
411b7a1dec Fix display of BibTeX entries in the info field of the citation
dialog by only converting text mode latex macros to unicode points.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30070 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 14:03:57 +00:00
Uwe Stöhr
ebda762af9 test/test-structure.tex: add labeling list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30069 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 13:07:20 +00:00