Commit Graph

13938 Commits

Author SHA1 Message Date
Richard Heck
3fcc6711f0 Fix some issues with the paragraph settings dialog. The main change
is that we distinguish between the "Default" alignment and whatever
that default happens to be: I.e., so far as the code goes, the UI now
distinguishes LYX_ALIGN_LAYOUT from LYX_ALIGN_WHATEVER, when WHATEVER
happens to be the default. So you can explicitly force, say, left-align,
and that will stick between document classes.

* src/Paragraph.cpp:
Don't output params if alignment is the default.

* src/ParagraphParameters.cpp
Treat LYX_ALIGN_LAYOUT as its own alignment.

* src/Text2.cpp
Treat LYX_ALIGN_LAYOUT as its own alignment, and force it to be accepted
as a possible alignment.

* src/frontends/controllers/ControlParagraph.{h,cpp}
New method haveMultiParSelection().

*src/frontends/qt4/QParagraph.{h,cpp}
*src/frontends/qt4/ui/ParagraphUi.ui
UI adjustments as mentioned.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18922 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 00:48:06 +00:00
Uwe Stöhr
4cef6923f4 Makefile.am: add Hungarian example files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18921 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 00:00:02 +00:00
Uwe Stöhr
904616b199 Userguide: Only fix a markup and a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18920 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-27 23:51:21 +00:00
Uwe Stöhr
4ad7980c24 installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18919 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-27 22:29:46 +00:00
Uwe Stöhr
0b3c217b79 lyx_1_5.py: last part of fix for bug 3313
OK from José: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg121628.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18918 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-27 20:46:04 +00:00
José Matox
431669379e Back to svn (1.5.0 is near, hurray!).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18917 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-27 18:34:08 +00:00
José Matox
a54adad9bb 1.5.0 (Release Candidate 2)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18915 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-27 18:29:16 +00:00
José Matox
2e5099b230 Update scons to the latest FreeBSD patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18914 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-27 18:17:29 +00:00
José Matox
5cbe5cf5ad FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t support compiled in (Jean-Marc)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18913 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-27 18:02:54 +00:00
José Matox
d8dbaf3558 Last update for translations before RC2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18912 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-27 17:57:46 +00:00
Georg Baum
25fc26446b typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18911 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-27 14:50:50 +00:00
Uwe Stöhr
ca2bed7fa9 German UserGuide: latest patches by Hartmut
German EmbeddedObjects: change option names according to Michaels latest de.po translations in rev 18905

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18906 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-27 00:01:15 +00:00
Michael Schmitt
d16800fa0b po/de.po: final translations before LyX 1.5.0rc2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18905 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 22:11:35 +00:00
Uwe Stöhr
277547b065 German EmbeddedObjects.lyx: fix again an incorrect markup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18904 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 21:59:32 +00:00
Uwe Stöhr
1a46251dfa EmbeddedObjects: small changes to markup again
German version: fix many typos

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18903 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 21:53:10 +00:00
Michael Schmitt
f8eed61566 * po/de.po: small update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18902 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 21:47:55 +00:00
Michael Schmitt
ab6ec4f0aa po/*.po: remerge again (one more message)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18901 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 20:51:21 +00:00
Uwe Stöhr
3668bdf59c installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18900 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 20:41:47 +00:00
Peter Kümmel
0ac58a14d1 cmake part of bug 3527, with macro USE_WCHAR_T
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18899 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 18:35:52 +00:00
Joost Verburg
2f4523801c alphabetical order
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18898 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 18:11:15 +00:00
Jürgen Spitzmüller
8b9972cbba Fix bug 2753: LyX doesn't support paths and filenames with parentheses
* src/frontends/qt4/QBibtex.cpp:
* src/frontends/qt4/QExternal.cpp:
* src/frontends/qt4/QGraphics.cpp:
* src/frontends/qt4/QInclude.cpp:
	- remove path validator

* src/support/filetools.{cpp,h}:
	- new validator for exporting LaTeX files

* src/insets/ExternalSupport.cpp:
* src/insets/InsetBibtex.cpp:
* src/insets/InsetGraphics.cpp:
* src/insets/InsetInclude.cpp:
	- use validator when exporting a LaTeX file

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18897 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 16:55:42 +00:00
Jürgen Spitzmüller
a96a5c55af * src/frontends/qt4/QPrint.cpp:
- use internal_path to prevent assert on windows (bug 3916).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18896 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 16:46:40 +00:00
Bo Peng
6c5ff3bf46 scons part of bug 3527
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18895 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 16:28:27 +00:00
José Matox
529723a0c4 update translations for rc2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18894 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 16:15:28 +00:00
Enrico Forestieri
7b392cfd2d Fix bug 3904
* src/graphics/GraphicsConverter.cpp
	(move_file, build_script): convert any path name to the local
	encoding directly in the python script.

	* src/support/tempname.cpp
	(tempName): don't pass local 8bit encoded strings to addName as
	it expects them to be utf8 encoded.

	* src/ServerSocket.cpp
	(ServerSocket::ServerSocket): ditto for setEnv.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18893 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 15:45:58 +00:00
Alfredo Braunstein
7bc7431b49 Fix to bug 3886
acceptChanges:

* move the bulk of acceptChanges without the call to DEPM to 
paragraph_funcs

copySelectionHelper:

* call this new acceptChanges

pasteParagraphList:

* use Text::setCursor(Cusor,...) instead of Text::setCursor(CursorSlice...) 
in order to have DEPM invoked at the end of the insertion



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18892 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 14:11:42 +00:00
José Matox
2b2a95a784 Update release files for RC2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18891 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 13:51:37 +00:00
José Matox
0d3295f1cf Fix bug 3313 (unicode error when invoking lyx2lyx) by Anders Ekberg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18890 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 13:15:29 +00:00
Jürgen Spitzmüller
874f4b99fd * src/frontends/qt4/QDocument.cpp:
* src/frontends/qt4/QInclude.cpp:
* src/frontends/qt4/QListings.cpp:
	- add missing slot to "pass validation" checkbox togling signal.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18889 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 08:00:44 +00:00
Uwe Stöhr
26b21574b2 EmbeddedObjects: fix fileformat of previous EmbeddedObjects commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18888 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 00:26:56 +00:00
Uwe Stöhr
d8993d2d6c - Fileformat change: rename "arabic" to "arabic_arabtex"
- Split the language Arabic into "arabic_arabi" that uses the arabi-package and "arabic-arabtex" that uses the arabTeX-package to typeset Arabic. This is needed because both packages have some advantages over the other people need.
(This change is a consequence of a long and fruitful discussion with Mostafa, Dov, and me.)

Patch by Dov and me.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18887 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 00:11:03 +00:00
Uwe Stöhr
5586ef0ff6 EmbeddedObjects: changes to markup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18886 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 23:46:32 +00:00
Jürgen Spitzmüller
bcf64dd11c Fix bug 1749. CAUTION: lyx2lyx not fully working yet (see FIXMEs).
* development/FORMAT: 
	- document file format change

* src/Buffer.cpp: bump format to 275.

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_5.py:
	- conversion and reversion of scaleBeforeRotation param (doesn't work yet!)

* src/insets/InsetGraphicsParams.{cpp,h}: 
	- new param scaleBeforeRotation
* src/insets/InsetGraphics.cpp:
	- swap order of scale and rotate (if scaleBeforeRotation is false)

* src/frontends/qt4/QGraphics.C:
* src/frontends/qt4/QGraphicsDialog.{cpp,h}:
* src/frontends/qt4/ui/GraphicsUi.ui:
	- add checkbox to toggle scaleBeforeRotation.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18885 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 13:49:51 +00:00
Jürgen Spitzmüller
54ed37eade * src/frontends/controllers/ControlMath.cpp (find_xpm):
- substitute characters ; : ! , by literal expressions (probably fix bug 3834),

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18884 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 12:38:43 +00:00
Alfredo Braunstein
cc30726cc4 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18883 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 12:01:25 +00:00
Alfredo Braunstein
c1852732b7 Fix one-by-some bug in tabular selection drawing by appropriately
calling InsetText::drawSelection instead of Text:drawSelection


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18881 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 08:19:15 +00:00
Alfredo Braunstein
d5f8004189 remove unused CursorSlice::invalidate & isValid methods
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18880 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 08:06:32 +00:00
Uwe Stöhr
62c15fa488 installer updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18879 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 00:59:08 +00:00
Uwe Stöhr
55ad53c7fb EmbeddedObjects: some minor changes to markup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18878 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 00:58:25 +00:00
Uwe Stöhr
dc56f010db New German EmbeddedObjects manual
Part 2: the documents

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18877 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 00:57:19 +00:00
Uwe Stöhr
1dacd33172 Intro.lyx: fix a typo spotted by Jarvis Liang
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18876 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-24 18:36:32 +00:00
Jürgen Spitzmüller
646fe23a4a * src/Text3.cpp (getStatus):
- enable LFUN_MATH_INSERT (fix bug 3557).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18874 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-24 15:35:45 +00:00
Jürgen Spitzmüller
405bad36d8 * lib/doc/Makefile.am:
- fix compilation broken by revision 18872.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18873 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-24 08:51:41 +00:00
Uwe Stöhr
5f614b008a New German EmbeddedObjects manual
Part 1: the images

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18872 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 12:30:03 +00:00
Uwe Stöhr
fd08009656 EmbeddedObjects: add ligature breaks, spotted by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18870 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 11:19:04 +00:00
Michael Schmitt
aa2ce81cb6 * po/*.po:
* po/POTFILES.in: remerge


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18868 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 09:25:09 +00:00
Michael Schmitt
3afd7b5fed po/cs.po: updates by Pavel Sanda
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18867 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 09:06:46 +00:00
Jürgen Spitzmüller
91c6d03678 Fix bug 2520: Make InsetExternal translateable
* po/lyx_pot.py:
	- new function external_l10n: parse external_templates and extract the relevant parts for translation.
* development/scons/SConstruct:
* po/Makefile.in.in:
	- use external_l10n

* src/insets/InsetExternal.cpp:
* src/frontends/qt4/QExternal.cpp: 
	- make eveything translatable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18866 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 07:50:13 +00:00
Uwe Stöhr
1fc33d0714 Userguide: two minor things I forgot in the last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18865 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 01:50:02 +00:00
Uwe Stöhr
34b7351de0 Fix value for the didot in all documentations
EmbeddedObjects: fix two issues spotted by Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18864 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 01:41:15 +00:00