Commit Graph

14559 Commits

Author SHA1 Message Date
Bo Peng
a436607e3b Add an alternative aspell dict repository, fix bug 3813
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18833 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 19:29:36 +00:00
Bo Peng
9907aaf295 fix installer manifest
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18832 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 19:26:53 +00:00
Bo Peng
cdc5ab6a83 add installer files to scons_manifest so that installers can depends on installer files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18831 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 18:44:42 +00:00
Abdelrazak Younes
608603a31d Fix bug 3171: switching document jumps always back to last saved bookmark
http://bugzilla.lyx.org/show_bug.cgi?id=3171

* LyXFunc::closeBuffer(): remove code that is already done on Buffer deletion thanks to the Buffer::closing() signal connection to LyXView. Setting the Buffer twice was part of the reason of the bug.

* BufferView::setBuffer(): properly update the metrics if we move to a saved cursor position.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18830 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 17:57:40 +00:00
Abdelrazak Younes
3cf838c4d1 Fix a few quirks and a crash introduced by a bad manual merge of local tree at revision 18828. Sorry.
* LyXView::setBuffer(): update labels and toc only if we change parents.
* LyXView::loadLyXFile(): 
  - update labels in _any_ case and before setting the Buffer.
  - update GUI controls in case we move to a saved position.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18829 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 17:04:09 +00:00
Abdelrazak Younes
144e721b65 Polish revision 18825 and fix some remaining issues with child documents. The diff is bigger than it should because of white space issues.
* buffer_funcs.{h,cpp}: new checkAndLoadLyXFile() transferred from BufferView::loadLyXFile().

* BufferView::loadLyXFile(): deleted.

* LyXView::loadLyXFile(): simplify logic and fix some issues:
  - buggy child document leads to crash due to error list dialog.
  - ensure that we switch to buffer if there's some errors.
  - use LyXView::setBuffer() instead of repeating code.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18828 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 16:03:47 +00:00
Abdelrazak Younes
66561205e3 white space -> tabs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18827 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 15:53:49 +00:00
Richard Heck
88f3b206ed Trivial whitespace fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18826 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 14:59:34 +00:00
Richard Heck
d3003c1022 Polish the Toc and labels updating when loading a child document.
Fix Bug 3860: Toc crash when loading a child documents.

* BufferView::loadLyXFile(): simplify, transfer last part to
  LyXView::loadLyXFile().
  Change return value to Buffer created by load (or 0 if none).
  Ultimately, this should all be moved to buffer_funcs.cpp, as it is no
  longer needed here.

* Buffer::setParentName(): small fix to avoid recursive includes.

* LyXView:
- setBuffer(): properly update the labels and the Toc if this is [LOAD Child
  Document] command. Move buffer connection and disconnection, simplifying
  earlier code.
- loadLyXFile(): get some code from BufferView::loadLyXFile() and from
  LyXFunc::LFUN_BUFFER_CHILD_OPEN, properly handle the child document case.
  There's a lot of overlap with setBuffer() here. This needs cleaning.

* LyXFunc: add optional argument to LFUN_BUFFER_CHILD_OPEN to indicate if
  the document is being opened by LyX itself rather than the user (as on 
  View>DVI, for example).

* LyX: adapt to loadLyXFile() API changes.

* insets/InsetInclude: use LFUN_BUFFER_CHILD_OPEN rather than calling
  loadLyXFile() directly. Make use of new optional argument.

With this in place, the only thing missing for proper multipart document support is to automatically update the parent Buffer when switching from the parent Buffer. This would be very useful when you work with multiple document sharing the same child documents (as I often do).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18825 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 14:56:52 +00:00
Richard Heck
3d362bf35c Remove now unused originaldir flag from Converter.{cpp,h}.
Update documentation to reflect removal.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18824 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 14:29:57 +00:00
Jean-Marc Lasgouttes
98f355e5a7 Galician update from Ramon Flores
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18823 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 12:07:16 +00:00
Jürgen Spitzmüller
f6120a555b * src/frontends/qt4/ui/ListingsUi.ui: cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18822 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 07:29:40 +00:00
Uwe Stöhr
3ac3f18bc2 de UserGuide.lyx: remove keyboard shortcut table that was only valid for certain Unixes (with OK from Hartmut)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18821 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-18 18:27:08 +00:00
Uwe Stöhr
5771b9919c EmbeddedObjects.lyx: Spanish update by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18820 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-18 18:25:15 +00:00
Uwe Stöhr
547bceb62e LaTeXFeatures.cpp: Make the German Userguide compile again, fixes bug 3878 (http://bugzilla.lyx.org/show_bug.cgi?id=3878)
Patch kindly provided by Georg.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18819 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-18 18:21:29 +00:00
Uwe Stöhr
75cab6cd62 ANNOUNCE: add more new things we have in 1.5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18818 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-18 18:19:24 +00:00
Michael Schmitt
481665bdfe po/de.po: fix shortcut conflict
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18817 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-18 16:51:18 +00:00
Stefan Schimanski
00d0c18280 * update cursor position on resize _after_ drawing. Because before
the coordinate cache of the math inset is not valid and InsetMathNest
  depends on that to compute the cursor position.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18816 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-18 15:39:52 +00:00
Joost Verburg
3f3fd7e6f1 these fonts are already in lib/fonts, so I removed them here
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18815 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-17 22:29:21 +00:00
Uwe Stöhr
ea2ac1c60f installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18814 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-17 20:35:43 +00:00
Edwin Leuven
2b35bede3d Fix stuff that slipped in with 18812
* IconPalette.cpp : typo's
 * QLToolbar.cpp   : unused code

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18813 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-17 18:24:27 +00:00
Edwin Leuven
f0d56f56ef * Allow toolbar menus and panels (qt>=4.2) to be torn off
IconPalette now subclasses QWidgetAction so that we can 
  insert them in QMenu (before we were painting ourselves)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18812 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-17 17:55:36 +00:00
Uwe Stöhr
590dd41bb4 EmbeddedObjects.lyx: add hint how to force a rotation direction for rotated floats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18811 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-17 17:11:56 +00:00
Uwe Stöhr
e8b545021a modernCV.lyx: fix typo I introduced in previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18810 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-17 00:26:48 +00:00
Uwe Stöhr
9692cac457 installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18809 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-17 00:22:59 +00:00
Uwe Stöhr
6b7436766c moderncv: update layout and example to version 0.6 of moderncv.layout
This means:
 - added subsection style in moderncv.layout
 (I had to promise to JMarc when I added the moderncv support to add this as soon as the new noderncv version is out.)
 - actualize preamble of modernCV.lyx to make it compile with the new version
 - better explanation of customization possibilities in the preamble of modernCV.lyx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18808 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-17 00:21:35 +00:00
Uwe Stöhr
05e03cf924 de and it UserGuide.lyx: update the character table according to our Unicode features.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18807 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-16 19:27:35 +00:00
Michael Schmitt
3a2f5c53b4 * po/de.po: more updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18806 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-16 16:35:42 +00:00
Uwe Stöhr
eb1a022d02 de UserGuide.lyx: fix some layout issues.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18805 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-16 16:17:20 +00:00
Michael Schmitt
2149a73b7b * src/LaTeXFeatures.cpp: fix \providecolor macros for change tracking output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18804 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-16 16:09:26 +00:00
Uwe Stöhr
0f836e393c UserGuide.lyx: update the character table according to our Unicode features.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18803 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-16 14:59:36 +00:00
Uwe Stöhr
798ad9755a unicodesymbols: use commands for the dashes for consistency reasons and to avoid potential problems with some LaTeX-packages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18802 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-16 14:56:16 +00:00
Michael Schmitt
4d5acdb38f * po/*.po: remerge (another message has changed)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18801 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-16 10:18:38 +00:00
Uwe Stöhr
94accf5ea7 installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18800 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 23:59:49 +00:00
Uwe Stöhr
1f1d5788bc WorkArea.cpp: fix cursor placement by updating the cursor position;
fixes http://bugzilla.lyx.org/show_bug.cgi?id=3873
patch from Stefan

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18799 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 23:52:01 +00:00
Uwe Stöhr
97280b92c1 installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18798 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 23:31:13 +00:00
Uwe Stöhr
f1e6925e03 unicodesymbols: fix incorrect spacing of character 215f
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18797 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 23:25:54 +00:00
Abdelrazak Younes
279760a6ac header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18796 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 23:08:32 +00:00
Uwe Stöhr
5ea5b8fdb9 EmbeddedObjects.lyx: fix typo spotted by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18795 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 23:05:33 +00:00
Uwe Stöhr
f396f88e5f de Userguide.lyx: update the special characters table (fixes bug 3855: http://bugzilla.lyx.org/show_bug.cgi?id=3855 )
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18794 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 22:57:26 +00:00
Uwe Stöhr
27305d709a unicodesymbols: add number form characters (that are for example used in the German Userguide)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18793 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 22:54:21 +00:00
Stefan Schimanski
370d7890a3 * Added the kerning method to a macro to inherit the kerning from the expanded form.
* Moreover the marker metrics calls are removed as they are not drawn anyway.
(fixes #3705)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18792 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 18:26:35 +00:00
Richard Heck
954be90e11 Make HTML export work.
The key is the new copier script lib/scripts/ext_copy.py. Usage:
 ext_copy.py [-e ext1,ext2,...] <from file> <to file>
Given a <from file> and <to file>, it will copy all files in the directory 
in which from_file is found that have the extensions given in the -e option, 
or all files in that directory if no such argument is given. So, for example, 
we can do:
  python ext_copy.py -e png,html,css /path/from/file.html /path/to/file.html
and all html, png, and css files in /path/from/ will be copied to the 
(possibly new) directory /path/to/file.html.LyXconv/. The -t option determines 
the extension added to the output filename passed to the script ($$o, in the
copier definition), the default being "LyXconv". If just . is given, then no 
extension is added.

Other changes:
* configure.py: added appropriate copier definitions for html and wordhtml
formats, as well as for the Program pseudo-format.
* lib/Makefile.am and development/scons/scons_manifest.py: add ext_copy.py.
* lib/doc/Customization.lyx: update documentation.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18791 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 17:02:35 +00:00
Abdelrazak Younes
054a35c9a1 header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18790 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 14:52:15 +00:00
Abdelrazak Younes
d14da39009 header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18789 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 14:17:20 +00:00
Abdelrazak Younes
8f0bf62f2c header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18788 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 14:10:26 +00:00
Abdelrazak Younes
543c371430 header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18787 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 13:54:53 +00:00
Abdelrazak Younes
7d17dbfc69 header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18786 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 13:53:49 +00:00
Abdelrazak Younes
49ed75f912 header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18785 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 13:53:02 +00:00
Abdelrazak Younes
2f2e84a96f header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18784 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-15 13:47:55 +00:00