Commit Graph

92 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
03b848f567 Remove USE_COMPRESSION and force the use of zlib, by Bo Peng (ben.bob@gmail.com)
* src/lyxlex_pimpl.[hC], src/buffer.C, src/tex2lyx/Makefile.am: remove USE_COMPRESSION
	* configure.ac: check for zlib.h and libz.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13780 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-28 16:35:50 +00:00
Jean-Marc Lasgouttes
25f1d0553f Add document->compressed menu item, by Bo Peng (ben.bob@gmail.com)
* src/LyXAction.C, src/lfuns.h: add LFUN_TOGGLE_COMPRESSION
	* src/BufferView_pimpl.C: react to menu item
	* lib/ui/stdmenus.ui: add buffer_toggle_compression



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13779 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-28 16:29:45 +00:00
Jean-Marc Lasgouttes
9d509572db * src/support/package.C.in (get_build_dirs): Look at Makefile
instead of lyxrc.defaults. Simplify the check for
          chkconfig.ltx.

	* configure.ac: do not run lib/configure.py

	* lib/doc/Makefile.am: LaTeXConfig.lyx is not generated anymore.

	* lib/configure.py (removeExtraFiles): remove.

	* lib/Makefile.am: no files are generated in there.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13764 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 16:47:07 +00:00
Jean-Marc Lasgouttes
83e0fdf99b update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13762 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 13:07:23 +00:00
Georg Baum
a3123b4c4a * lib/layouts/IEEEtran.layout: Add biographynophoto style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13756 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 07:35:50 +00:00
Georg Baum
a3b23f1f94 Fix bug 2546:
* src/tex2lyx/text.C
	(parse_arguments): Eat space in front of required arguments


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13754 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 06:59:06 +00:00
Jean-Marc Lasgouttes
2a156525f9 * text.C (numberOfHfills): do not forget to count the last hfill
(bug 2509).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13749 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-26 13:42:19 +00:00
Georg Baum
7e9bd4bd81 Fix bug 2107:
* src/LaTeXFeatures.[Ch]: replace nice_ by runparams_

        * src/insets/insetexternal.C
        (InsetExternal::validate): Use the correct template for the desired
        output format

        * src/insets/insetgraphics.C
        (InsetGraphics::prepareFile): Record the needed files for "latex"
        or "pdflatex" format, dependant on the desired output format

        * src/insets/insetinclude.C
        (InsetInclude::latex): ditto

        * src/BufferView_pimpl.C
        (BufferView::Pimpl::getStatus): adapt to LaTeXFeatures changes

        * src/paragraph_pimpl.C
        (Paragraph::Pimpl::simpleTeXSpecialC): ditto

        * src/buffer.C
        (Buffer::makeLaTeXFile): ditto
        (Buffer::makeLinuxDocFile): ditto
        (Buffer::makeDocBookFile): ditto

        * src/paragraph.C
        (Paragraph::simpleTeXOnePar): ditto

        * src/exporter.C
        (Backends): Add "pdflatex" backend format
        (Exporter::Export): set runparams.flavor correctly for "pdflatex" format

        * lib/external_templates
        (RasterImage): Use "pdflatex" format in PDFLaTeX template
        (XFig): ditto
        (ChessDiagram): Add PDFLaTeX template
        (Date): ditto

        * lib/configure.py: Add "pdflatex" format


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13745 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-26 11:44:26 +00:00
Georg Baum
47d49731a4 From Angus:
Enable lib/configure.py to find tex2lyx if the path to it contains spaces.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13742 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-26 07:34:21 +00:00
Georg Baum
74efa7cd1a Use lib/configure.py and ditch the m4 version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13740 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-25 14:57:08 +00:00
Georg Baum
735707cc5e * src/LaTeX.C
(LaTeX::scanLogFile): remove \0 characters inserted by MikTeX before
	further processing
	(LaTeX::deplog): likewise


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13738 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-25 10:12:08 +00:00
Jean-Marc Lasgouttes
46173d31e5 add support for naustrian; fix locale for austrian
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13725 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 12:21:05 +00:00
Jürgen Spitzmüller
9e40cf69f7 Don't jump back to cursor on inset clicking (bug 2426):
* src/insets/insetcollapsable.C
	(void InsetCollapsable::doDispatch): undispatch cursor after lmb button click.
* src/insets/insettabular.C
	(void InsetTabular::doDispatch):  undispatch cursor after rmb click.
* src/insets/insetref.C
	(void InsetRef::doDispatch):  undispatch cursor after rmb click.
* src/text3.C
	(void LyXText::dispatch): set cursor also after rmb click.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13724 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 10:43:49 +00:00
Georg Baum
5a755b4e1e Fix bug 2285 (tex2lyx is not found by lib/configure when compiling with
--with-version-suffix):

        * src/lyx_cb.C
        (reconfigure): get the configure command from package()

        * src/lyx_main.C
        (showFileError): ditto

        * src/support/package.[Ch]
        (configure_command): new, return the configure command

        * src/support/package.C.in
        (with_version_suffix): new, return the version suffix argument
        of the configure command

        * src/support/Makefile.am
        (package.C.in): substitute %PROGRAM_SUFFIX% in package.C.in

        * config/lyxinclude.m4: substitute program_suffix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13723 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 10:28:27 +00:00
Jean-Marc Lasgouttes
dc67ce04e3 German documentation update (again)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13722 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 09:49:47 +00:00
Jean-Marc Lasgouttes
621394e5aa Hungarian documentation and localization update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13717 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 09:26:10 +00:00
Georg Baum
1fe1dae34d Fix bug 2476:
* src/CutAndPaste.C
        (resetOwnerAndChanges): rename to resetParagraph and reset the
        language of ERT paragraphs, too
        (copySelectionHelper): adapt to changes above
        (cutSelection): ditto
        (copySelection): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13703 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-20 16:34:50 +00:00
Martin Vermeer
493b4ee28a Add two fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13701 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-20 13:45:06 +00:00
Jürgen Spitzmüller
a89da87da8 * src/LaTeXFeatures.C
(char const * simplefeatures[]): add tipa

        * src/mathed/math_fontinset.C
        (void MathFontInset::validate): textipa requires tipa


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13678 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-14 14:40:16 +00:00
Jean-Marc Lasgouttes
db644a7fb2 update german userguide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13669 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 17:52:46 +00:00
Jürgen Spitzmüller
c0aadd8443 * src/paragraph.h (public): new enum ChangeTracking,
indicating if ct is used in the current buffer.
	(cleanChanges): pass enum ChangeTracking.

        * src/paragraph_pimpl.C (cleanChanges): delete ct marks from
	paste content if ct is of in the buffer. Set content INSERTED
	if ct is on (bug 2207).

        * src/CutAndPaste.C (pasteSelectionHelper): pass information 
	about the current change tracking state to cleanChanges.

        * src/paragraph_pimpl.h (cleanChanges): pass enum ChangeTracking.

        * src/paragraph.C (cleanChanges): pass enum ChangeTracking.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13667 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 16:49:24 +00:00
Jürgen Spitzmüller
86b7e5701b * src/insets/insettabular (doDispatch): use insertAsciiString in
LFUN_PASTESELECTION. Simplifies the code a lot and fixes 
	wrong language settings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13664 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 13:29:16 +00:00
Jean-Marc Lasgouttes
2fb3b40d87 * math_xarrowinset.C (validate):
* math_splitinset.C (validate): new methods; require amsmath (bug
	2149).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13661 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 10:30:28 +00:00
Georg Baum
7d91f9f96e * lib/scripts/layout2layout.py
(convert): Change "LabelType Static" to "LabelType Itemize" for
	itemize environments
	(convert): Change "LabelType Counter_EnumI" to "LabelType Enumerate"
	for enumerate environments


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13660 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 09:10:40 +00:00
Jean-Marc Lasgouttes
add226478a add header <sys/time.h> for DragonFly BSD
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13654 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-12 09:37:33 +00:00
Georg Baum
0efa19f72a fix bug 2036:
* src/mathed/math_amsarrayinset.C
	(metrics): use ArrayChanger to change the style
	(draw): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13653 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-12 07:42:50 +00:00
Jean-Marc Lasgouttes
cf3bcb2d9c fix compilation for win98
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13650 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 15:21:21 +00:00
Jean-Marc Lasgouttes
a577fcdbaf begin work on 1.4.2svn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13649 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 14:58:27 +00:00
Jean-Marc Lasgouttes
fa3308aaaf ready for 1.4.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13638 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 08:56:24 +00:00
Jean-Marc Lasgouttes
4da500315e update Spanish localization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13631 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 07:12:05 +00:00
Jean-Marc Lasgouttes
88aee1018c reorganize a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13630 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-11 06:50:30 +00:00
Martin Vermeer
90eee39411 Updated status.14x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13629 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 19:51:17 +00:00
Jean-Marc Lasgouttes
2927cd088b update Basque and Hungarian l10n
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13623 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 15:27:47 +00:00
José Matox
c06454317b Update status.14x to refer bug 2501 (old lyx-docbook document with SGML paragraphs).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13621 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 11:15:50 +00:00
Georg Baum
e0657f7f6e * src/insets/insetgraphics.C (prepareFile): output correct file name
of compressed files (bug 2231)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13597 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-08 10:35:01 +00:00
Jean-Marc Lasgouttes
2c87b34b34 import 1.3.7 translations, which were better
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13585 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 13:11:34 +00:00
Jean-Marc Lasgouttes
8ea0187fe5 update German Tutorial, Intro and splash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13583 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 12:19:58 +00:00
Jean-Marc Lasgouttes
e7e314d40f document fancybox package
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13576 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 08:45:42 +00:00
Jean-Marc Lasgouttes
9c74d33b82 Fix mess up of internal/external paths (from Enrico Forestieri)
* src/frontends/qt2/QPrefs.C:
	(internal_path_list, external_path_list): Handle the PATH prefix
	style according to the user-prefs style.
	(QPrefs::apply, QPrefs::update_contents): fix inverted logic of
	rc.cygwin_path_fix

	* src/support/os.h: New declarations to deal with PATH lists.
	* src/support/os_cygwin.C: Major rewrite to account for path style
	problems.
	* src/support/os_unix.C:
	* src/support/os_win32.C: Stub functions for PATH lists.
	* src/support/environment.C: fix bug 2344: Wrong path_prefix handling
	in cygwin
	* src/support/filetools.C (ChangeExtension): fix for the path
	style to be written in .tex files (cygwin related).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13570 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 14:44:52 +00:00
Jean-Marc Lasgouttes
5adf6d5d58 Fix bug 2195: Slowness in rendering inside insets, especially
on the Mac

	Changes to the within-inset row rendering caching code.

	* insets/insetenv.h: 
	* insets/insetcollapsable.h: remove method
	* insets/insettabular.h:
	* insets/insetbase.h: rename, add methods
	* insets/insettext.[Ch]: rename method; add Tall()
	* paragraph_pimpl.C
	(Paragraph::Pimpl::simpleTeXSpecialC): rename call
	* mathed/math_hullinset.h: rename method
	* rowpainter.C
	(RowPainter::paintInset):
	(paintPar): remove isTrueTextInset, move to insets 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13568 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 12:06:37 +00:00
Jean-Marc Lasgouttes
b5d8f230a1 forgot that
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13567 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-06 10:47:16 +00:00
Georg Baum
ebc0e7ef71 forgot the status update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13551 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 09:22:50 +00:00
Georg Baum
a3c2ea155d * lib/scripts/layout2layout.py
(concatenate_label): new, concatenate two labels in an intelligent way
	(convert): add the TocLevel for sectioning styles
	(convert): convert LabelString and StringAppendix for sectioning
	styles (append counter)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13538 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-31 14:15:43 +00:00
Jean-Marc Lasgouttes
7fac128691 * src/LaTeX.C
(handleFoundFile): do not add directories to dep table (crashes cygwin)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13528 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 14:45:04 +00:00
Jean-Marc Lasgouttes
70c4bc5954 fixes from angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13526 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 12:07:25 +00:00
Martin Vermeer
0389d82117 * src/insets/insetcharstyle.C
(InsetCharStyle::doDispatch): prevent non-standard paragraph layout
	from being pasted into charstyle inset

	* src/insets/insetcharstyle.h: disable non-standard layouts



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13523 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-29 08:48:59 +00:00
Jürgen Spitzmüller
f2ad6169c8 src/insets/insettabular (doDispatch, insertAsciiString): fix insertion of \t- and \n-separated content from external clipboard (bug 2394)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13519 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 14:14:50 +00:00
Georg Baum
820cf70cd5 Fix bug 2380:
* src/insets/insettabular.C
        (InsetTabular::hasPasteBuffer):
        (InsetTabular::doDispatch):
        (InsetTabular::insertAsciiString): Construct LyXTabulars with a
BufferView
* src/tabular.[Ch]
        (cellstruct): Set bv_owner of the text inset
        (LyXTabular::fixCellNums):
        (LyXTabular::appendRow):
        (LyXTabular::deleteRow):
        (LyXTabular::appendColumn):
        (LyXTabular::read): Construct cellstructs with a BufferView


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13517 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 12:53:07 +00:00
Jürgen Spitzmüller
88d71d9375 * QPrefsDialog.C (remove_format): Prevent deletion of file formats
if they are used by a converter and warn the user accordingly.
	Fixes crash (bug 2431).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13513 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 11:56:00 +00:00
Georg Baum
bf4edb9a09 * src/insets/insetert.C
(getStatus): enable LFUN_QUOTE
	(doDispatch): handle LFUN_QUOTE directly (fixes bug 2429)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13512 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 10:35:42 +00:00