Commit Graph

12085 Commits

Author SHA1 Message Date
Peter Kümmel
531e4b726d cmake build system:
Add "merge" option which minimizes the number of files to build.
   only the qt4 and boost files will not merged into one file.
   This really speeds up the compilation.
   Usage:
     cmake ../trunk/development/cmake -Dmerge=1



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17495 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-20 22:13:21 +00:00
Peter Kümmel
ace2418598 trivial changes for all-in-one compilation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17494 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-20 21:53:01 +00:00
Michael Schmitt
e8c2962ecc * de.po: tiny update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17493 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-20 19:43:55 +00:00
Michael Schmitt
1be5a8a30f * po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17491 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-20 18:52:50 +00:00
Bo Peng
c3fbd9e0d1 Read and add comments to installer files...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17488 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-20 04:10:23 +00:00
Georg Baum
9be5a43d56 fix crash on import
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17487 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-19 20:39:30 +00:00
Georg Baum
7a1dd08d1d Fix bug 3348
* src/LaTeX.C
	(exists): New helper: test for existance of file with possibly
	invalid filename
	(insertIfExists): Use exists() instead of fs::native and fs::exists()
	(handleFoundFile): Ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17485 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-19 16:15:34 +00:00
Georg Baum
b0cfb6c53b Fix bug 2932 (non-UI part only)
* src/mathed/InsetMathGrid.[Ch]
	(InsetMathGrid::allow_pagebreak_): New member

	* src/mathed/InsetMathGrid.C
	(InsetMathGrid::eolString): Output \\* if allow_pagebreak_ is false

	* src/mathed/MathParser.C
	(addRow): Set allow_pagebreak_ in rowinfo if needed
	(Parser::parse1): Parse '\\*' correctly


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17484 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-19 16:08:17 +00:00
Georg Baum
1716b7323f compile fix (forgot this in rev. 17470)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17483 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-19 15:58:20 +00:00
Jean-Marc Lasgouttes
2364d03061 hungarian update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17482 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-19 10:53:37 +00:00
Uwe Stöhr
2b3f853c1f EmbeddedObjects: corrected index
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17478 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 19:05:58 +00:00
Uwe Stöhr
913a85afe5 Fix bug 3345
http://bugzilla.lyx.org/show_bug.cgi?id=3345

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17477 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 17:05:18 +00:00
Georg Baum
ceea696904 silence compiler warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17476 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 16:52:54 +00:00
Georg Baum
fcf4061b89 silence automake warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17475 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 16:49:28 +00:00
Uwe Stöhr
459d99ca17 EmbeddedObjects: Spanish update prepared for Ignacio to translate
(The new files will be translated too and then renamed.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17473 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 15:42:30 +00:00
Uwe Stöhr
bc992d1421 Customization.lyx: reflect the latest EmbeddedObjects update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17472 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 15:10:21 +00:00
Enrico Forestieri
54cd34f60b Fig bug 3335 (http://bugzilla.lyx.org/show_bug.cgi?id=3335)
* src/mathed/InsetMathScript.[Ch]
	(InsetMathScript::dy01): new, jointly account for both superscript
	and subscript according to the rules in Appendix G of the TeXbook.
	(InsetMathScript::dy0, InsetMathScript::dy1): set ascent and descent
	values using dy01 for non-limits super/subscripts.
	(InsetMathScript::metrics): account for the new super/subscript
	placement rules when setting ascent and descent values.

	* src/mathed/MathData.[Ch]
	(MathArray::metrics): cache parameters needed for super/subscript
	placement. When nucleus is not empty, set its ascent value to zero
	such that it is correctly computed later, otherwise ascent values
	less than that of an 'I' are not reported.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17471 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 15:00:57 +00:00
Georg Baum
4f1d5e72ef Fix bug 3235
* src/insets/insetcaption.C
	(InsetCaption::latex): Copy back encoding to runparams_in

	* src/insets/insetfoot.C
	(InsetFoot::latex): ditto

	* src/insets/insetnote.C
	(InsetNote::latex): ditto

	* src/exporter.C
	(Exporter::Export): Create runparams with document encoding

	* src/converter.C
	(bool Converters::convert): ditto

	* src/buffer.C
	(Buffer::writeLaTeXSource): Copy back encoding to runparams_in
	(Buffer::runChktex): Create runparams with document encoding
	(Buffer::changeRefsIfUnique): ditto

	* src/outputparams.[Ch]
	(encoding): New member

	* src/lyxfont.C
	(LyXFont::latexWriteStartChanges): Don't switch the encoding anymore.
	This is now done in Paragraph::simpleTeXOnePar.
	(LyXFont::latexWriteEndChanges): Ditto

	* src/output_latex.C
	(TeXOnePar): Ditto

	* src/paragraph.C
	(Paragraph::simpleTeXOnePar): Switch the encoding between font
	changes if needed.

	* All other files: Adjust to the changes above


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17470 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 10:59:16 +00:00
Georg Baum
f550496cee Fix TOC generation for build dir != src dir
* lib/doc/depend.py
	(documents): Add dir_prefix argument
	(all_documents): Ditto
	(main): Create document list with empty prefix, since the prefix will
	be addded by a Makefile variable
	(main): Don't use isdir to detect english language, since that does
	not work for build dir != src dir

	* lib/doc/doc_toc.py
	(main): Don't use isdir to detect english language, since that does
	not work for build dir != src dir, rather create the dir if it does
	not exists.

	* lib/doc/Makefile.depend: Regenerated


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17469 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 10:44:26 +00:00
Bo Peng
673da6c01c SCons: build TOC.lyx during installation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17468 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 06:03:28 +00:00
Uwe Stöhr
f8e7fec3d4 small cleanup of the include dialog:
"Include" was for good reason the default method but not the first item in the dropdown list.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17467 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 03:42:40 +00:00
Uwe Stöhr
21b9d3a466 EmbeddedObjects.lyx:
- new section about external material
- two hints concerning caption layout
The manual is now feature complete!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17466 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-18 03:27:19 +00:00
Uwe Stöhr
87b2d1a2b4 correct tooltip name for consistency
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17465 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-17 19:46:33 +00:00
Peter Kümmel
38cdcd70c1 fix bug: vert. maximized window is completely maximized after restart
src/frontends/Application.h : enum for maximized
src/frontends/LyXView.h     : enum for maximized
src/frontends/qt4/GuiView.h : enum for maximized
src/frontends/Application.C : enum for maximized
src/lyx_main.C              : enum for maximized
src/frontends/qt4/GuiView.C : restore complete, vert. hor. maximized window



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17463 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-17 12:28:26 +00:00
Georg Baum
b1b76d22f1 undo file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17462 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-17 10:30:31 +00:00
Uwe Stöhr
581392fe00 DE UserGuide.lyx: huge updates from Hartmut and small changes by me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17461 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-17 01:24:48 +00:00
Uwe Stöhr
5a3aa947e0 > Rename marc.theaimsgroup.com to marc.info
Forgot this

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17459 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-17 00:18:10 +00:00
Abdelrazak Younes
9dd8c52de3 hopefully fix bug 3152.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17457 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-16 20:31:29 +00:00
Abdelrazak Younes
5bfc89706f fix MSVC linking error
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17456 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-16 15:24:36 +00:00
Abdelrazak Younes
61dde5d797 Cleanup of the Toc model and controller: The objective is to let the View (TocWidget) decide which kind of list it want to show. The type given by InsetCommandParam() (as read by the controller (ControlToc) then just becomes a hint to the View. Most of the commit is about getting rid of the controller maintained list of types.
* TocBackend
  - addType(), types_, types(): deleted.

* ControlToc
  - tocs(): new
  - selectedType(): access to selected_type_
  - initialiseParams(): transfer code from QToc::update() and look for selected type.
  - getTypes(), getContents(): deleted

* QToc: do not maintain current type. Get the info from the View.
  - setTocModel(): deleted

* TocWidget: always pass the currently selected type to the model/controller.
  - setTocModel(): new slot.
  - updateGui(): transfer code to setTocModel().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17455 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-16 14:14:55 +00:00
Georg Baum
8a856a2379 * src/LaTeX.C
(handleFoundFile): Don't strip off " permanently
	(handleFoundFile): Fix another case of embedded 0
	(LaTeX::deplog): Small simplification


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17454 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-16 12:14:06 +00:00
Abdelrazak Younes
b3bbfeb2fd Fix bug 3226:
* text.C
  - LyXText::getPossibleLabel(): cleanup and add the caption case.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17453 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-16 11:36:36 +00:00
Georg Baum
9b6d8ebc05 * src/LaTeX.C
(handleFoundFile): Don't embed a 0 character in a string
	(handleFoundFile): Don't call fs::exists without an fs::native check


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17452 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-16 10:21:15 +00:00
Jürgen Spitzmüller
fc26b56b4f * src/LaTeX.C (handleFoundFile):
- consider that paths with spaces might be enclosed in quotation marks 
	  (partial fix for bug 3172).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17451 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-16 09:13:42 +00:00
Uwe Stöhr
93d8c09d65 Correct name: XFig -> Xfig
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17450 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-15 21:22:02 +00:00
Abdelrazak Younes
f752d776f6 Fix this bug reported by Bernhard Roider:
steps to reproduce:
- create a new document
- change the document class to article (AMS)
- change the current layout to theorem, definition, proposition, ....
- try to write something -> boom



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17449 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-15 19:16:53 +00:00
Georg Baum
160c6ef3e9 remove unused variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17448 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-15 18:10:16 +00:00
José Matox
abab554b6d Update INSTALL for MacOS X
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17446 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-15 15:13:59 +00:00
Abdelrazak Younes
8186a02d61 Add const access to caption type.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17445 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-15 11:47:02 +00:00
Georg Baum
c6caf4199b fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17444 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-14 20:23:54 +00:00
Uwe Stöhr
3fbb036262 2 new images for the upcoming new EmbeddedObjects version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17443 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-14 02:51:56 +00:00
Enrico Forestieri
faa47db187 Don't hide the library directory when it appears alone
src/support/filetools.C
	(makeDisplayPath): do not shorten path when it is the libdir one.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17442 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-14 00:36:25 +00:00
Uwe Stöhr
de0af94c83 Intro.lyx: fix tipo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17441 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-13 23:19:33 +00:00
Georg Baum
73ec6e8f25 add comment about strange code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17438 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-13 20:06:04 +00:00
Georg Baum
d5f03d0c6e * src/paragraph_pimpl.[Ch]
(Paragraph::Pimpl::simpleTeXSpecialChars): Get rid of the 'font'
	argument, since the caller ensures that it is equal to 'running_font'.

	* src/paragraph.C
	(Paragraph::simpleTeXOnePar): Adjust to change above


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17437 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-13 19:46:56 +00:00
André Pönitz
57a68063ad revert 17429
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17436 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-13 15:20:26 +00:00
Jean-Marc Lasgouttes
85878d2881 * encoding.C (read): fix missing initialization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17435 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-13 14:48:46 +00:00
Georg Baum
ac7ee5b85e Don't use the char version of uppercase
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17430 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-13 10:22:10 +00:00
André Pönitz
8484324f75 Fix #988. Note that this introduces a new translatable message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17429 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-13 00:48:25 +00:00
André Pönitz
d85978b58f fix #3295
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17428 a592a061-630c-0410-9148-cb99ea01b6c8
2007-03-12 23:42:35 +00:00