Commit Graph

23501 Commits

Author SHA1 Message Date
Richard Heck
498478a2bd Ignore quotes in lyx_pot.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33117 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 20:52:03 +00:00
Richard Heck
8a444512fb Fix counter formats. We have to use quotes here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33116 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 20:50:35 +00:00
Richard Heck
4dd9a8acf1 Partly disable pretty counter output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33115 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 20:50:11 +00:00
Richard Heck
d853aca254 Pretty formats for standard counters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33114 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 20:40:16 +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
f1b8f4d059 Make the new argument to step() mandatory, and add a comment to
sgml::OpenTag().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33112 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 19:47:27 +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
bd95cdb734 Add OutputEnums.h. This enum will shortly replace some magic booleans
that have crept into my code. I'm putting it in a separate file becuase
it is going to be included in Counters.h. The other obvious places to
put it would lead to large includes in this file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33109 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 19:41:44 +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
Tommaso Cucinotta
be7d7df5a3 Dispatch BUFFER_SWITCH only if buffer actually changed (avoids some flickering when buffer is unchanged).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33107 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 18:18:04 +00:00
Tommaso Cucinotta
750195fb79 Minor changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33106 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 18:16:28 +00:00
Richard Heck
37f4de4cd2 The BufferList does not know about cloned buffers, so the parent of a
cloned Buffer is always "unloaded" as far as the BufferList is
concerned.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33105 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 17:53:18 +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
cf086092e2 Add a FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33102 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 22:51:20 +00:00
Richard Heck
4600e6c0b8 Remove half a comment?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33101 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 22:29:52 +00:00
Richard Heck
43e1428dbd Remove things to be removed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33100 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 22:24:46 +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
df3acef80f Update notes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33098 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 19:44:55 +00:00
Richard Heck
1832a388c5 Collect the title for XHTML output, and use it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33097 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 19:43:15 +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
Enrico Forestieri
b9e7bd033c Update lyxprofile for cygwin.
* Don't use the Windows documents folder as fallback home dir
* Starting from cygwin 1.7, the charset part of the locale settings
  are honoured. The default is UTF-8
* It is no more necessary setting OUTPUT_CHARSET
* Allow per-user customization trough ~/.lyxprofile


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33094 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 18:52:35 +00:00
Jürgen Spitzmüller
3a714c6057 * ADD LFUN_SPELLING_ADD and LFUN_SPELLING_IGNORE (bug 6102).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33089 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 08:21:56 +00:00
Jean-Marc Lasgouttes
c129f0f8b3 New behaviour when using break-paragraph on an empty paragraph where
KeepEmpty is false:
* if depth>0, decrease depth
* if depth = 0 reset layout to standard

This implments a hopefully intuitive way of getting out of enumerations and
other environments.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33088 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-18 22:11:06 +00:00
Jürgen Spitzmüller
7226c955bb Oops. Forgot to save.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33087 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-18 17:21:42 +00:00
Jürgen Spitzmüller
46c539e30a * de/UserGuide:
- document the setup of spell checking distionaries for german and ngerman (#4657).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33086 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-18 17:17:25 +00:00
Jürgen Spitzmüller
4506ec88ab * Add support for aspell language varieties.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33085 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-18 17:02:05 +00:00
Jean-Marc Lasgouttes
6ee95e6d64 make sure that error_ is correctly initialized
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33083 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-18 11:50:12 +00:00
Jürgen Spitzmüller
1dffc2bc5a typo and small addition
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33081 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-18 11:06:22 +00:00
Enrico Forestieri
51d70699ef Fix bug #5525: Windows XP doesn't shut down with LyX open
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33077 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 23:01:48 +00:00
Enrico Forestieri
ff41842b03 Fix horizontal size of replacement combo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33075 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 16:43:17 +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
Uwe Stöhr
906e8a9b8b EmbeddedObjects.lyx: update description of multirows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33072 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 13:00:00 +00:00
Jürgen Spitzmüller
56b2ee289b * GuiSpellchecker:
- implement event filter and allow selection of suggestions with the keyboard
	  (second part of bug 6460).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33069 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 12:27:44 +00:00
Jürgen Spitzmüller
75988e1752 * Add more keyboard accelerators to the spellchecker dialog (part of bug 6460).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33065 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-17 10:51:32 +00:00
Uwe Stöhr
e9033a732c German Tutorial.lyx: please Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33063 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 23:49:33 +00:00
Uwe Stöhr
656a7b6955 - EmbeddedObjects.lyx: avoid some LaTeX warnings (a hyperref and a dcolumn issue)
- French EmbeddedObjects.lyx: add missing paragraph that is already there in the other language version

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33060 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 23:43:20 +00:00
Uwe Stöhr
2d14793959 fr.po: completed translations for trunk by Jean-Pierre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33059 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 20:47:36 +00:00
Uwe Stöhr
4baf62f4b7 de.po: some translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33058 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 20:46:20 +00:00
Uwe Stöhr
c612018668 - English Tutorial.lyx: fix a typo, spotted by Ignacio
- Spanish Tutorial.lyx: translations by Ignacio
- German Tutorial.lyx: translations by me

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33056 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 20:41:48 +00:00
Jürgen Spitzmüller
95466fff15 * revert r32450 which broke polytonic Greek.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33055 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 09:52:42 +00:00
Vincent van Ravesteijn
ec96bbe429 Try to fix an assert coming from "gcc vector-index checks".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33052 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-16 00:22:15 +00:00
Pavel Sanda
ff93b826e1 Forgot doc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33051 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 19:25:28 +00:00
Pavel Sanda
17e2928374 Kill LFUN_OUTLINE_DRAGMOVE.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg157155.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33050 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 19:13:24 +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
Jean-Marc Lasgouttes
acefad32e4 Kill warning and avoid double arithmetic. Vincent, I hope I did not break something...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33048 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 16:32:05 +00:00
Jean-Marc Lasgouttes
ad55d4631f compilation fir with qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33047 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 14:40:00 +00:00
Peter Kümmel
70e29b2cc7 add warning about processing events
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33046 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-15 10:53:56 +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