Commit Graph

15939 Commits

Author SHA1 Message Date
Uwe Stöhr
1b16d1545b tex2lyx/preamble.cpp: comment out no longer used code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30169 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-19 00:00:46 +00:00
Uwe Stöhr
0aa4d9d25e tex2lyx/preamble.cpp: remove no longer used code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30166 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 23:41:55 +00:00
Uwe Stöhr
1bcba82d8d tex2lyx/preamble.cpp: fix a bug reported by JMarc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30165 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 23:35:49 +00:00
Richard Heck
4a86c407d9 Disable XHTML output for InsetExternal---for the time being.
As said in the comment, someone who knows what these are supposed
to do should have a look, please. It may be very easy to get these
to work, but I don't know.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30164 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 20:44:38 +00:00
Georg Baum
9c662bf442 - fix requirements of \dddot
- add support for \ddddot
- add partial support for inverse diagonal dots (i. e. they are recognized and
  displayed correctly, but the needed package is not loaded, because it would
  need an off/auto/on setting as amsmath, and that calls for a general solution)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30162 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 20:04:27 +00:00
Jean-Marc Lasgouttes
dae70977a0 get rid of the \use_escape_chars pref, which was not used
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30161 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 15:53:49 +00:00
Jean-Marc Lasgouttes
889fdbd39b get rid of the \use_alt_language pref, which was not used. Instead, we test whether \alt_language is empty
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30159 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 15:31:43 +00:00
Jean-Marc Lasgouttes
9cd55dbe5c fix reading of obsolete prefs (the argument never got discarded)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30158 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 15:04:55 +00:00
Jean-Marc Lasgouttes
539fa60a80 fix a few compilation warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30157 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 14:28:13 +00:00
Jean-Marc Lasgouttes
c676b24359 prefs \use_personal_dictionary and \personal_dictionary are not used anymore (ispell only)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30156 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 13:30:28 +00:00
Jean-Marc Lasgouttes
6b92b1c6ae pref \use_input_encoding is not used anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30155 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 10:56:33 +00:00
Jürgen Spitzmüller
0898e385a7 * LogUi.ui: cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30154 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 10:20:20 +00:00
Jürgen Spitzmüller
8e109a4153 * GuiLog.{cpp,h}:
* LogUi.ui:
	- add some basic navigation facilities.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30153 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 09:35:51 +00:00
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
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
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
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
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
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
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
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
Jürgen Spitzmüller
bd4c74b3b7 * add support for the applemac encoding. File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30064 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 08:47:38 +00:00
Uwe Stöhr
b2f0d517e2 GuiCitation.cpp: fix #5987
OK also for branch?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30061 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 00:17:13 +00:00
Uwe Stöhr
f2d0a94b91 tex2lyx/test/test-insets.tex: more tests
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30060 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-11 23:56:48 +00:00
Uwe Stöhr
f8d655d4e2 tex2lyx/text.cpp: tex2lyx supports now fileformat 252
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30059 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-11 23:46:41 +00:00
Uwe Stöhr
be48e7f9e5 tex2lyx/preamble.cpp:
- support for url, varioref, prettyref
- reduce the sometimes huge amount of whitespace in the preamble after importing files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30058 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-11 23:45:17 +00:00
Richard Heck
e28c88767b OK, now here's a big one: XHTML output for InsetBibtex. It's not perfect---
see the notes---but it does work reasonably well. And it will work a lot
better when an unrelated patch of mine goes in: one that generally improves
the display of BibTeX-derived information.

Note how we use the TOC here, which has already gathered the information we
need. This can also be done for other things.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30056 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-11 22:39:16 +00:00
Richard Heck
03e0c16e87 Fix bibliography output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30054 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-11 22:31:27 +00:00
Richard Heck
21121f3fb5 It is convenient for me to change this for use in XHTML output, but I also
have been wanting to change it for a while. It is not very useful to have
a bunch of years listed in the citations TOC (which you get if you have used
\citeyear very often. Better, it seems to me, to see the citation keys.

Of course, this can be switched again if need be, and I can figure out a 
different way to handle my own problem.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30053 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-11 21:23:18 +00:00
Richard Heck
cde33577df Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30051 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-11 21:13:41 +00:00
Richard Heck
3de92f551a Get XHTML output for InsetCitation working, at least in a primitive way.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30049 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-11 21:04:15 +00:00
Richard Heck
09177238e6 Bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30048 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-11 21:03:54 +00:00
Richard Heck
f50c47d4be Introduce a field for keeping track of the citation label.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30047 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-11 20:29:37 +00:00
Richard Heck
5e8d08cb9e Get InsetBibitem working, and the output for LATEX_BIB_ENVIRONMENT.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30045 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-11 20:08:39 +00:00
Uwe Stöhr
5742cf9ce6 tex2lyx: testfiles modified as preparation for the upcoming tex2lyx work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30044 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-11 17:56:05 +00:00
Enrico Forestieri
170d7a2ab1 The QFileInfo::refresh() bug is fixed in Qt 4.5.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30036 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-09 20:39:41 +00:00
Georg Baum
e0acb978ff fix bug 5798: Translate float names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30035 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-09 18:16:43 +00:00
Jean-Marc Lasgouttes
626d14aa54 fix a few compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30032 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-09 13:17:07 +00:00
Jean-Marc Lasgouttes
aeb5d2f1e6 add binding information to toolbar button tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30019 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-08 15:36:32 +00:00
Uwe Stöhr
9dd13b284f unify shortcuts to avoid doubled entries in the po-files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30010 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-07 16:19:40 +00:00
Vincent van Ravesteijn
46dcc4fcd0 Fix bug #5980: 'Maximum last files' setting doesn't go beyond 9.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30009 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-07 15:19:41 +00:00
Vincent van Ravesteijn
30a12853b8 Fix the output of a single dash in xhtml.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30004 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 16:32:51 +00:00
Richard Heck
e40ec704fa Add a note about docbook() problems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29997 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 14:29:24 +00:00
Richard Heck
16e52cb601 Disable InsetIndex XHTML output, for now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29986 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 04:25:20 +00:00
Richard Heck
3910e6772a Some real easy ones.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29985 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 04:20:57 +00:00
Richard Heck
9577dae301 Now we can restore the old (and better) behavior of descriptions.
The CSS for lists isn't quite right, but I'm not sure what to do.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29984 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 04:09:14 +00:00
Richard Heck
e47d30e907 Fix a bug. Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29983 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 03:32:55 +00:00
Richard Heck
30b081c8f9 I have no idea why the old version of this file suddenly reappeared.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29982 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 03:22:55 +00:00
Richard Heck
ccf91c3bf0 Add a couple more HTML* tags to InsetLayout, in a way that improves the
footnote output and allows a lot more flexibility. (In some ways, this now
seems to be more like what docbook does.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29981 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 03:02:43 +00:00
Richard Heck
924119797e Fix another potentially infinite loop.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29980 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 01:56:46 +00:00
Richard Heck
9fd3c8e9a4 At least for now, this has to be done differently.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29979 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 01:36:04 +00:00
Richard Heck
3e8c31d4fe Make sure the counters get updated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29978 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 01:29:39 +00:00
Richard Heck
9001dddf80 Implement lists...though there are problems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29977 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 01:27:06 +00:00
Pavel Sanda
da3668dd98 Fix compilation on win
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29976 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 00:31:58 +00:00
Richard Heck
7ee664b997 Thanks, Andre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29972 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 20:00:55 +00:00
Richard Heck
eda7b787b9 XHTML for InsetNote.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29970 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 19:58:23 +00:00
Richard Heck
c7d0862a94 How did I forget to do that?!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29969 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 19:52:22 +00:00
Richard Heck
70899f0c15 Separate HTML preamble information. This could be used for javascript,
or anything else one would like to add to the header.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29967 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 19:42:56 +00:00
Richard Heck
397ebabfa4 Rename a couple routines in preparation for more.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29966 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 19:30:42 +00:00
Richard Heck
6bbe691b92 InsetFootnote XHTML output. Of course the CSS can be modified, but
this is pretty cool, I think.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29965 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 19:25:49 +00:00
Richard Heck
aa2b14afce Forgot to update the layout format when transferring from branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29964 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 19:05:48 +00:00
Richard Heck
6ef03cc4ac Get InsetCollapsable working, at least to some extent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29963 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 18:57:53 +00:00
Richard Heck
a3915db54f Output cosmetics, mostly. Get the newlines better.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29962 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 18:57:33 +00:00
Richard Heck
47b796d41f Revert unintended commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29961 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 18:47:22 +00:00
Richard Heck
37a9bbebff Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29960 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 18:45:23 +00:00
Richard Heck
f56275e896 Better control for tag output. This helps a little.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29959 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 18:41:28 +00:00
Richard Heck
d9b62b3f9c Improve tag output routines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29957 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 18:18:44 +00:00
Richard Heck
32fabb3f6a Forgot to add these before.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29952 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 17:49:10 +00:00
Richard Heck
f61bebd7fb HTML output code for a handful of easy insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29951 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 17:48:14 +00:00
Richard Heck
92a69bb790 Basic output routines for HTML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29950 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 17:44:35 +00:00
Richard Heck
cdcf309911 Routines to retrieve HTML style information.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29949 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 17:39:00 +00:00
Richard Heck
51607100ab InsetLayout infrastructure.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29948 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 17:36:51 +00:00
Richard Heck
0dbf7d0d3d Layout infrastructure for HTML output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29947 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 17:26:30 +00:00
Richard Heck
658457b847 Rationalize the handling of InsetLayout's preamble and requries. That is,
bring it into line with the handing of Layout's preamble and requires. This
will make information about used InsetLayout's avaiable elsewhere.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29914 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-03 23:44:31 +00:00
Richard Heck
8b286036d1 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29907 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-02 16:09:01 +00:00
Richard Heck
f28c1a2cce Allow customization of enumerate counters.
This patch is from JMarc, except the docs, which are due to me.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29906 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-02 16:02:29 +00:00
Richard Heck
ac643a9f10 Allow escaped quotes in the module description.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29904 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-02 14:06:52 +00:00
Richard Heck
4df7d8ab1a A little cleanup of the layout files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29903 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-02 13:45:32 +00:00
Pavel Sanda
f1ced7a6ff * doxy - clarify math-mode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29894 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-31 11:09:51 +00:00
Vincent van Ravesteijn
c6d26a3ddd Fix the placement of the cursor when right-clicking on an inset inside a branch inset.
see:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg74184.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29892 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-30 20:57:43 +00:00
Enrico Forestieri
3e18652f8e Fix doubling of bibtex and index alternatives everytime preferences are saved.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29876 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-28 12:49:41 +00:00
Jean-Marc Lasgouttes
864773d7d9 Allow literate documents other than noweb to work out of the box. Currently
only sweave is supported (for building documentation, not programs).

Layout files allow a new OutputFormat tag 

Modules can be conditionned on a feature of the type from->to, indicating that
it should be possible to convert from format 'from' to format 'to'.

Layout format incremented to 15.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29874 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-28 08:59:25 +00:00
Enrico Forestieri
6c7cbfa7a1 Don't write a \bibtex_command to the preferences file if not needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29871 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-28 00:25:40 +00:00
Enrico Forestieri
c0127e8ede Fix the bogus "bibtex" option for the bibtex command in preferences.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29870 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-27 22:24:05 +00:00
Enrico Forestieri
852dfe3869 Fix writing of \bibtex_alternatives and \index_alternatives to the
preferences file. Now the alternatives are only written if they have
actually been changed, and not always as it was before. Existing
preferences files will be automatically trimmed on next save.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29869 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-27 22:21:33 +00:00
Jean-Marc Lasgouttes
81a176818d grammar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29866 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-27 15:51:56 +00:00
Enrico Forestieri
4d5f50bee2 This is a bit more descriptive.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29864 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-27 10:26:17 +00:00
Vincent van Ravesteijn
25f946f19d Remove black box around GuiWorkarea? which is visible with Qt4.5.
Now also when returning from full-screen mode.

see r28747.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29861 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 22:37:14 +00:00
Enrico Forestieri
fe82ab8c5d Fix PrintNomenclUi.ui as uic 4.2.3 says it is not valid.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29860 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 22:02:51 +00:00
André Pönitz
d5e1b377d3 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29859 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 21:52:57 +00:00
André Pönitz
e582d149d4 Introduce an option to keep the menubar visible in full screen mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29858 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 21:41:45 +00:00
Enrico Forestieri
5fb0ed491c Account for the weird case where p2 is longer than p1, such as p1 == "path"
and p2 == "Path/". This would be really weird, but one never knows...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29855 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 18:27:29 +00:00
Enrico Forestieri
b3fe7330de Don try to be smart and always protect the preamble with \makeatletter
and \makeatother if it is not empty.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29853 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 17:38:27 +00:00
André Pönitz
e5b3cdf650 constify GuiPrintNomencl::isValid()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29852 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 16:19:03 +00:00
Enrico Forestieri
b7515068f8 As a safety measure, enclose the preamble in the \makeatletter and \makeatother
pair also when an external file is included.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29851 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 00:58:36 +00:00
Uwe Stöhr
39c96ebb75 InsetMathFrac.cpp: fix the regression now completely
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29849 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 22:46:51 +00:00
Uwe Stöhr
e83c2032ac InsetMathFrac.cpp: fix regression reported here: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg151588.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29847 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 22:42:22 +00:00
Enrico Forestieri
70351330a0 Another tweak to account for when both paths end with '/'.
The problem here is making sure that path_prefix_is() behaves exactly
as would a case insensitive prefixIs(). Anyway, this is still better
than trying to fix the semantics of common_path().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29846 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 18:37:03 +00:00
Enrico Forestieri
2fb21c28b5 Simpler things are almost always better.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29843 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 17:30:02 +00:00
Jürgen Spitzmüller
c3d457a143 "cheaper" include.
Thanks, André.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29842 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 16:11:28 +00:00
Jürgen Spitzmüller
1d494512fc empty file format change due to r29840.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29841 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 08:27:12 +00:00
Jürgen Spitzmüller
322eb96219 * Allow manual setting of bibliography indendation
that overrides bibitemWidest (bug 5960).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29840 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 08:13:56 +00:00
Jürgen Spitzmüller
e38ca152a4 * paragraph_funcs.{cpp,h}:
- new member setLabelWidthStringToSequence

* Text2.cpp (setParagraphs):
	- use that.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29839 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 07:52:55 +00:00
Enrico Forestieri
eb9151060d Account for the corner case p2.length() == 1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29838 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 00:23:44 +00:00
Enrico Forestieri
e2c763d9f6 Avoid a string copy and a small tweak.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29837 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-24 21:09:41 +00:00
Enrico Forestieri
00a62b7c0a Fix reverse search when the View Source window is active.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29834 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-24 01:38:33 +00:00
Uwe Stöhr
97c9ef7184 InsetNomencl.cpp: remove the check to not undergo the predefined label width as discussed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29833 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 14:39:30 +00:00
Enrico Forestieri
32b3f8ca27 Add explicative comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29827 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 13:51:23 +00:00
Enrico Forestieri
ea3484337f Remove unneeded include.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29826 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 13:28:41 +00:00
Enrico Forestieri
7ae4f6ac6f Avoid calling prefixIs() if not needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29824 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 13:16:13 +00:00
Enrico Forestieri
d1ebeea288 This was not needed, as the case is already adjusted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29823 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 13:13:32 +00:00
Pavel Sanda
3d475e5b44 Leftover
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29822 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 12:52:23 +00:00
Pavel Sanda
b7ca24d637 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29818 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:48:30 +00:00
Pavel Sanda
99da022d51 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29817 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:48:22 +00:00
Pavel Sanda
a2b1d2bed9 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29816 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:30:52 +00:00
Pavel Sanda
46ef6b0e48 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29815 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:30:50 +00:00
Pavel Sanda
3389ded11b Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29814 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:30:47 +00:00
Pavel Sanda
884c682a27 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29813 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:15:24 +00:00
Pavel Sanda
950522d95a Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29812 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:15:18 +00:00
Pavel Sanda
666bf1a261 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29811 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 09:47:20 +00:00
Pavel Sanda
079ef62651 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29810 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 09:40:44 +00:00
Pavel Sanda
db0d8a1131 Another camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29809 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 09:28:33 +00:00
Pavel Sanda
adbc064959 Camelize another slot
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29808 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 09:06:50 +00:00
Jürgen Spitzmüller
660ce9aab6 stickToCodingConventions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29807 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 08:01:38 +00:00
Jürgen Spitzmüller
0227cef5bd * GuiParagraph.{cpp, h}:
- fix enabling/disabling of "Longest Label" widget.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29806 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 07:45:46 +00:00
Jürgen Spitzmüller
caf8a509fa InsetBibitem.cpp: fix bibitemWidest.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29805 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 05:59:44 +00:00
Jürgen Spitzmüller
e4f95b890c We cannot access theFontMetrics in command line mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29804 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 05:47:40 +00:00
Jürgen Spitzmüller
4136ee80db GuiPrintNomencl: More descriptive UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29803 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 05:30:01 +00:00
Uwe Stöhr
42715a37f0 InsetNomencl.cpp: remove hardcoded symbol width
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29797 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 23:23:09 +00:00
Enrico Forestieri
6d1d27eb90 Take into account file system case sensitivity when checking whether
a path starts with a given prefix.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29793 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 22:34:43 +00:00
Pavel Sanda
64d96bc099 Please Juergen wrt #5307
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29791 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 21:35:18 +00:00
Jürgen Spitzmüller
0e69c68f71 Tooltip and label changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29786 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 17:52:20 +00:00
Jürgen Spitzmüller
c881b9f49a GuiPrintNomencl.{cpp,h}:
- custom without length is not valid.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29785 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 17:35:50 +00:00
Jürgen Spitzmüller
9d02de79d8 forgot to add these files in r29779.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29784 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 17:17:45 +00:00
Jürgen Spitzmüller
0599991454 reorder.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29783 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 16:41:20 +00:00
Jürgen Spitzmüller
8dbb980a91 reorder.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29781 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 16:35:11 +00:00
Jürgen Spitzmüller
ec560a77e4 reorder.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29780 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 16:31:37 +00:00
Jürgen Spitzmüller
e9cbe2f80f A GUI for nomencl settings. Adds the possibility to enter a custom length.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29779 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 16:26:15 +00:00
Jürgen Spitzmüller
9f48cc9137 whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29778 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 16:00:29 +00:00
Jürgen Spitzmüller
72ae399fad * InsetNomencl.cpp (nomenclWidest):
- use FontMetrics to determine widest string.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29776 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 09:25:31 +00:00
Jürgen Spitzmüller
18cfe15b64 file format change due to r29770.
No automatic width calculation is done for old documents, because these might rely on settings in
nomencl.cfg.

A GUI to alter this is needed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29775 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 08:31:43 +00:00
Jürgen Spitzmüller
7ba2bfb81d * Per-document setting for bibtex and makeindex.
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29774 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 07:20:00 +00:00
Uwe Stöhr
ce473c810a InsetNomencl.cpp: assure that the label width is never below the predefined value and that there is always enough space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29773 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-21 22:18:08 +00:00
Uwe Stöhr
8f3acbb484 remove unused includes of convert.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29772 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-21 21:02:14 +00:00
Uwe Stöhr
da6e643d3e BufferParams.cpp: typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29771 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-21 21:01:31 +00:00
Uwe Stöhr
ec5e4b26f5 InsetNomencl: calculate the needed symbol width for \printnomenclature, fixes #5909
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29770 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-21 19:33:09 +00:00
Vincent van Ravesteijn
1458ac6a7c Set flag for LFUN_MATH_MUTATE. Also, remove some 'ghost code' from InsetMathNest (if this had a purpose it should have been documented).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29764 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-21 12:45:31 +00:00
Vincent van Ravesteijn
571dc3626b * LFUN_LABEL_COPY_AS_REF: Update doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29763 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-21 10:39:40 +00:00
Vincent van Ravesteijn
788b0097a6 Hide "Number this line" for single line equations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29762 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-21 10:14:07 +00:00
Vincent van Ravesteijn
60b26d1aac Fix the copy label as ref for equations from the context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29754 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-20 23:58:29 +00:00
Vincent van Ravesteijn
9173fe2c5e Fix bug #5944: Scrolling isn't predictable.
The row in editXY is corrected when we're scrolling with PgUp and PgDwn to make sure that the row where the cursor is places, is completely in the view.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29752 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-20 20:28:24 +00:00
Pavel Sanda
8059f0a895 Fix bug http://www.lyx.org/trac/ticket/5307
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29751 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-20 20:00:31 +00:00
Vincent van Ravesteijn
83b1b2c578 Revert unwanted commit (r29683) and some cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29750 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-20 19:54:29 +00:00
Pavel Sanda
7a69145296 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29747 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-20 15:15:48 +00:00
Enrico Forestieri
1a65f586ee Fix bug #1435. Now Ctrl-m enters math mode when in text-in-math mode,
instead of producing nested text boxes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29746 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-20 14:52:03 +00:00
Uwe Stöhr
42e16892c3 InsetBibitem.cpp: typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29744 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-19 21:29:30 +00:00
Uwe Stöhr
23998a89c0 InsetFloat.cpp: remove unneeded include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29743 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-19 21:26:23 +00:00
Enrico Forestieri
9b9a3cf0c0 Another compile fix for msvc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29741 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-19 20:28:50 +00:00
Jürgen Spitzmüller
233ff911de * potential compile fix for msvc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29739 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-19 19:59:48 +00:00
Jürgen Spitzmüller
d5a41946a6 * calculate the size of the iconv output buffer (bug 5951).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29735 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-19 15:27:54 +00:00
Uwe Stöhr
df13e1b8ba LyXAction.cpp: sorting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29728 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-18 23:13:51 +00:00
Pavel Sanda
8e15c27a9c Next attack on the background color. Thanks Juergen.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg151267.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29723 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-18 10:53:02 +00:00
Jürgen Spitzmüller
06cdeb86f5 * InsetTabular.cpp (getStatus):
- allow again to set allocate multiple header attributes to a row,
	  since this is valid (fix bug 5950).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29721 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-18 06:22:25 +00:00
Uwe Stöhr
629b07b72f InsetCollapsable.cpp, factory.cpp: sorting
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29720 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 21:28:35 +00:00
Vincent van Ravesteijn
3cc18261ef Fix bug #4952: Multiple cells pasting fails if cells are selected.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29719 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 21:22:02 +00:00
Vincent van Ravesteijn
79688b9d59 This probably deserves a comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29718 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 21:06:31 +00:00
Vincent van Ravesteijn
0cb87c6bc4 When the clipboard contains a tabular selection, dirty_tabular_stack_ is true. However, it is set to false when the user clears a selection (without copying). After this (mostly accidental) action, pasting the tabular contents goes wrong.
So, we only clear the dirty_tabular_stack_ flag when a 'real' copy to clipboard has been made.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29717 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 21:02:07 +00:00
Vincent van Ravesteijn
7ff6379445 Fix a few enable/disable problems for longtables:
- set header, set first-header-empty, unset first-header-empty,
- set header, set first-header-empty, unset header

The same also for footers.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29716 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 18:27:39 +00:00
Pavel Sanda
79115c8013 Revert r29619, this needs more thinking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29712 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 13:13:39 +00:00
Enrico Forestieri
9d2a11fa46 Correct typo (his -> this).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29711 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 11:36:16 +00:00
Jürgen Spitzmüller
8179094fa9 whitespace and typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29710 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 11:27:44 +00:00
Jürgen Spitzmüller
eb2dc6d0b3 formatting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29708 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 09:36:07 +00:00
Pavel Sanda
5c65948e64 next bits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29704 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 00:53:56 +00:00
Pavel Sanda
575995efb7 make entries consistent with other ones
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29702 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 00:16:22 +00:00