Commit Graph

12528 Commits

Author SHA1 Message Date
Uwe Stöhr
84b52d2beb Tutorial.lyx: fix menu name
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17856 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 20:59:43 +00:00
Michael Schmitt
3c4367e0ac * QDelimiterDialog.C: make "TeX Code:" translatable
* ui/QDelimiterUi.ui: fix (unused) message - single \'s caused gettext problems


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17854 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 19:52:32 +00:00
Michael Schmitt
3f380081e0 * src/frontends/qt4/ui/QPrefConvertersUi.ui: add missing ':' in label
* po/de.po: adjust


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17853 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 19:36:12 +00:00
Michael Schmitt
1fc3fd1da7 po/de.po: update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17852 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 19:24:14 +00:00
Michael Schmitt
9e74a7480a * layouts/g-brief2.layout: return to static margins
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17851 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 16:06:49 +00:00
Abdelrazak Younes
08380ca491 Fix bug 3454 and 3463: Don't allow ill-formed commands. With this commit an error dialog will be shown to the user if the inset parameters were wrong upon creation. This patch uses exceptions.
* factory.C::createInset(): catch eventual exception.
* InsetCommandParams::read(): throw warning exception in case of errors.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17850 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 12:59:07 +00:00
Abdelrazak Younes
ab13c59979 commit again the drawing fix of revision 17826. This was accidentally reverted in revision 17841.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17849 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 09:59:02 +00:00
Abdelrazak Younes
7a3600ac0a Style cleanup and tex code display bug correction.
* bigleft, bigright: move empty item from last to first to synchronize it with GUI representation
* fix_name(): add FIXME for Enrico
* updateTeXCode():
  - move C-style string declaration.
  - simplify empty string  logic.





git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17848 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-18 09:44:24 +00:00
Uwe Stöhr
3f3f7c234f EmbeddedObjects: small updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17847 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 21:10:00 +00:00
Uwe Stöhr
9832ea0f3c es_Extended.lyx: fix guillemets for hyperref
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17846 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 20:54:03 +00:00
Uwe Stöhr
3802882900 fix bug 3456 and 3457
http://bugzilla.lyx.org/show_bug.cgi?id=3456
http://bugzilla.lyx.org/show_bug.cgi?id=3457

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17845 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 20:04:15 +00:00
Richard Heck
4fddff272f Fix for bug 3321. Changed error message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17844 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 17:57:57 +00:00
Richard Heck
c640f9613f Fix for bug 3423: Add check for gimp-remote before check for gimp.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17843 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 17:52:02 +00:00
Abdelrazak Younes
1d55e044d0 Fix Andre's name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17842 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 16:58:59 +00:00
Abdelrazak Younes
49395dd85e Real fix for bug 1395 by Stefan Schimanski, this commit replace the one done at revision 17836 which was reverted!
Locking counter added to MacroData: it is increased before drawing/
metric calculations and decreased afterwards in InsetMathMacro. If a  
macro is already locked at that point, "Self reference: \foo" is  
drawn instead of the macro definition to avoid endless loops.  
Moreover inside of the arguments of the macro the counter is  
temporarily decreased as those cases do not cause loops. (fixes bug  
#1395)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17841 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 16:52:43 +00:00
Abdelrazak Younes
86c1053f51 Revert to revision 17835: I applied the wrong tree!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17840 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 16:49:17 +00:00
Abdelrazak Younes
0a1d3c186a style correction.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17839 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 16:35:13 +00:00
Abdelrazak Younes
9450626942 Fix compilation. Use BOOST_ASSERT instead of assert()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17838 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 15:59:47 +00:00
Bo Peng
7a854d3a91 Fix bug 2993: mark buffer dirty when the status of a collapsable inset is changed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17837 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 14:35:27 +00:00
Abdelrazak Younes
71e8668375 Fix bug 1395 by Stefan Schimanski:
Locking counter added to MacroData: it is increased before drawing/
metric calculations and decreased afterwards in InsetMathMacro. If a  
macro is already locked at that point, "Self reference: \foo" is  
drawn instead of the macro definition to avoid endless loops.  
Moreover inside of the arguments of the macro the counter is  
temporarily decreased as those cases do not cause loops. (fixes bug  
#1395)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17836 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 13:15:00 +00:00
Jürgen Spitzmüller
8874db5f22 Fix loop when opening TOC widget in an empty document, basically by Richard Heck.
* src/frontends/qt4/TocWidget.[Ch]: 
	- rename enableButtons to enableControls and include slider enabling/disabling
	- only set slider if there is some content

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17835 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 10:27:53 +00:00
Richard Heck
840ee198e2 Captions do not accept alignment, spacing, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17834 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-17 03:46:55 +00:00
Uwe Stöhr
7392d69323 Intro.lyx: fix wrong image path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17833 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 23:50:43 +00:00
Uwe Stöhr
de0592079e installer infrastructure changes according to Christian's comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17832 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 22:33:53 +00:00
Bo Peng
6f005d2efa Validate DocIterator before setting cursor with it, in moveToPosition
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17831 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 20:47:40 +00:00
Michael Schmitt
0edbcbd60b * po/de.po: some updates (more to come)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17830 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 20:28:03 +00:00
Bo Peng
a390aa8fe7 Bookmarks: use bottom level pit and pos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17829 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 19:01:32 +00:00
Georg Baum
9e8f7c38a4 remove unused parameter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17828 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 18:20:49 +00:00
Georg Baum
8971c25508 Prevent invalid latex for multilingual sections and inputenc == auto.
We output the \inputencoding command before the section if possible, and we
ignore all encoding changes in the section. Commands from the unicodesymbols
file will be used for characters that can't be encoded in the current
encoding instead of switching the encoding.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17827 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 18:06:01 +00:00
Abdelrazak Younes
e216ceee77 Fixed bug 3449 by Stefan Schimanski:
http://bugzilla.lyx.org/show_bug.cgi?id=3449

One problem was no metric calculation was done for insets on cursor movement. Of course scrolling or entering character caused the missing metric calls, hence the described behavior in the bug report. This is fixed by re-implementing idxLast(), idxFirst() and notifyCursorLeaves().

Another problem was that 'a' and '1' were drawn at the same position because of a mis-calculation of the x-position in InsetMathMacro::draw().



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17826 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-16 14:42:53 +00:00
Uwe Stöhr
3ad8ca04b9 new Update installer: small tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17825 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 22:48:41 +00:00
Uwe Stöhr
6cfe5bd129 Installer: forgot to remove this code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17824 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 22:08:48 +00:00
Uwe Stöhr
5725a5d2f7 new Update installer: now hopefully close to be released
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17823 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 22:03:42 +00:00
Richard Heck
8c56bd3ac9 Fix compilation problem on some systems.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17822 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 19:17:53 +00:00
Michael Schmitt
b11c44d19c * po/*.po: remerge after Uwe's g-brief2.layout fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17821 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 16:11:15 +00:00
Michael Schmitt
d738448c2d po/lyx_pot.py: relativePath(): replace all \ by / such that we get the
same comments on Windows and *nix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17820 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 16:05:23 +00:00
Peter Kümmel
bc448a7ef5 cmake : remember command line options merge and WALL
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17819 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 13:09:34 +00:00
Uwe Stöhr
c0d1f38294 LyXWinInstaller: fix bug in uninstalling Arabic Aspell dict
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17818 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 12:36:14 +00:00
Uwe Stöhr
961de8d31a fix wrong entry from my last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17817 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 11:49:48 +00:00
Uwe Stöhr
13fa44d3e2 Add math fonts to SVN
(please check if the Makefile entry is complete, I couldn't test this here)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17816 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 11:46:26 +00:00
Uwe Stöhr
a1b3803190 new "Update" installer: should now be close to ready
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17815 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 10:22:49 +00:00
Bo Peng
9cf5358d7d lastFilePos: save bottom level pit and pos
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17814 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-15 04:50:42 +00:00
Uwe Stöhr
15aade70e7 revert bug I accidentally introduced in the previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17813 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 17:33:40 +00:00
Uwe Stöhr
11c3615d0a fix typo in g-brief2 support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17812 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 17:28:23 +00:00
Uwe Stöhr
526d7a0936 Add Updownarrow and updownarrow to the delimiter dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17811 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 16:41:55 +00:00
Michael Schmitt
e28e0e941c * lib/ui/stdtoolbars.inc: group all delimiter buttons; strip obsolete "math" prefix
* lib/ui/stdmenues.inc: move math panel to the end of the submenu; strip obsolete
	"math" prefix (everything is math-related in this submenu)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17810 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 16:29:01 +00:00
Uwe Stöhr
b0cc76db74 Fix bugs 3458:
http://bugzilla.lyx.org/show_bug.cgi?id=3458

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17809 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 16:19:05 +00:00
Michael Schmitt
3ea9bd8058 * po/de.po: better menu shortcut
* lib/bind/aqua.bind: whitespace changes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17808 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 11:54:08 +00:00
Michael Schmitt
930c959a82 * layouts/*.layout: put all LabelStrings in quotes; in the past, we
faced some problems with trailing spaces. The quotes turned out to be
	a good means to avoid these problems


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17807 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 11:19:24 +00:00
Georg Baum
1bec1b4b55 remove unused declaration
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17806 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-14 11:15:50 +00:00