Commit Graph

1427 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
daa8296b7f The big cygwin_path rewrite patch from Enrico Forestieri.
Renaming:
	cygwin_path_fix		->	windows_style_tex_paths
	cygwin_path_fix_needed	->	tex_expects_windows_paths
	check_cygwin_path	->	check_windows_style_tex_paths
	use_cygwin_paths	->	use_windows_paths
	RC_CYGWIN_PATH_FIX	->	RC_TEX_EXPECTS_WINDOWS_PATHS

	* src/frontends/qt4/ui/QPrefCygwinPathUi.ui
	* src/frontends/qt3/ui/QPrefCygwinPathModule.ui
	  Updated checkbutton label and description

	* src/frontends/qt4/QPrefsDialog.C
	  (PrefCygwinPath): cygwin_path_fix -> windows_style_tex_paths
	  (QPrefsDialog): Enable checkbutton for native WIN32 builds

	* src/frontends/xforms/forms/form_preferences.fd
	  Updated label and name of checkbutton

	* src/frontends/xforms/FormPreferences.C
	  (apply): cygwin_path_fix -> windows_style_tex_paths
	           check_cygwin_path -> check_windows_style_tex_paths
	  (build): Enable checkbutton for native WIN32 builds
	  (update): Ditto
	  (feedback): Updated description

	* src/frontends/qt3/QPrefs.C
	* src/frontends/qt3/QPrefsDialog.C
	* src/frontends/qt3/QPrefsDialog.h
	  Renaming as above, enabled checkbutton for native WIN32 builds

	* src/support/os_unix.C
	* src/support/os.h
	* src/support/os_win32.C
	  Renaming cygwin_path_fix -> windows_style_tex_paths
	* src/support/os_cygwin.C
	  Ditto
	  (external_path, external_path_list): always return windows
	  style paths, not depending on the checkbutton status

	* src/lyxrc.C
	* src/lyxrc.h
	* src/lyxfunc.C
	* src/lyx_main.C
	  Renaming

	* lib/configure.py
	  Renaming, more meaningful diagnostics




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14243 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-27 10:54:14 +00:00
Georg Baum
2019a3e590 Fix limit display of intop and ointop
* src/mathed/math_scriptinset.C
	(MathScriptInset::hasLimits): handle \intop and \ointop

	* lib/symbols: add intop and ointop


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14230 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-26 16:38:11 +00:00
Jean-Marc Lasgouttes
b3f872184c fix image paths in German UserGuide (part of bug 2660)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14217 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-26 10:44:33 +00:00
Jean-Marc Lasgouttes
af9295c7ea lib/doc/UserGuide.lyx: remove description of obsolete Comment layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14181 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-23 09:38:15 +00:00
Jean-Marc Lasgouttes
42f6a13ea6 fix a path to icon (bug 2653)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14170 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-21 13:28:10 +00:00
Georg Baum
5c8b2f4167 * lib/doc/de_Extended.lyx: mention htlatex
* lib/doc/Extended.lyx: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14124 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-15 17:52:18 +00:00
Georg Baum
51ca3d43d3 * lib/configure.py: Add tgif->png and tgif->ppm converters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14021 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-06 11:42:35 +00:00
Jean-Marc Lasgouttes
993374a769 2006-06-01 Panayotis Papasotiriou <papasot@physics.upatras.gr>
* Makefile.am:
	* templates/ijmpc.lyx: 
	* layouts/ijmpc.layout: new textclass for International Journal of
	Modern Physics C. 

	* templates/ijmpd.lyx:
	* layouts/ijmpd.layout: update.

	* LaTeXConfig.lyx.in:
	* Extended.lyx: update for ijmpc/d textclasses.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13978 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-01 13:14:19 +00:00
Jürgen Spitzmüller
b75165353e fix bug 2623:
* lib/layouts/memoir.layout:
	add ProvidesMakeindex

* src/LaTeX.C (run):
	rerun latex if idx file is empty (needed by memoir)
	fix typo in comment
* src/LaTeXFeatures.C (getPackages):
	whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13963 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 17:28:02 +00:00
Jürgen Spitzmüller
69ef78d216 * lib/configure.py:
use $$o flag where appropriate (still some cases pending).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13955 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 16:01:25 +00:00
Georg Baum
2a880d4fc5 * lib/configure.py: Add missing dvi2 editor (from Enrico)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13945 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-28 16:58:58 +00:00
Jürgen Spitzmüller
5d43d3a0c4 add support for dvipdfmx converter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13935 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-26 15:17:18 +00:00
Georg Baum
8f02fb39d0 Change the semantics of 'none' and 'auto' viewers/editors: 'none' means now
"Don't view/edit this format", and 'auto' means "Use the default viewer/editor".
        * src/format.C
        (fixCommand): Change semantics: "none" is equal to "", and "auto"
        is removed if canAutoOpenFile returns false.

        * src/frontends/xforms/FormPreferences.C
        (FormPreferences::SpellOptions::apply): regognize "" as "none"

        * src/lyxrc.C
        (LyXRC::getDescription): "none" -> ""

        * lib/doc/Customization.lyx: Document the autoopen feature

        * lib/configure.py
        (checkProg): add optional not_found argument, defaulting to 'none'
        (checkViewer): new, equivalent to checkProg with not_found = 'auto'
        (checkFormatEntries): call checkViewer instead of checkProg for
        viewers and editors


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13933 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-26 08:33:01 +00:00
Georg Baum
730c25aafe forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13923 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-24 19:55:54 +00:00
Georg Baum
44aff0779e From Joost Verburg: Put the clean_dvi.py script into the main distribution
* lib/configure.py
	(checkLatex): Add DraftDVI converter on windows if dv2dt and dt2dv
	are available
	(checkFormatEntries): Add DraftDVI entry on windows if dv2dt and
	dt2dv are available

	* lib/Makefile.am: add clean_dvi.py

	* development/Win32/packaging/build_lyxwin.sh: remove clean_dvi.py
	stuff

	* development/Win32/packaging/package_lyxwin.sh: remove configure
	mangling for clean_dvi.py

	* development/Win32/packaging/clean_dvi.py: move to lib/scripts

	* development/Win32/packaging/README: remove clean_dvi.py stuff


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13922 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-24 19:52:27 +00:00
Jean-Marc Lasgouttes
5f8d837cf4 update to de_userguide and de_Extended, due to wrong picture references
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13917 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-23 09:30:02 +00:00
Jean-Marc Lasgouttes
aa2522a21c update German docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13901 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-22 09:45:17 +00:00
Jean-Marc Lasgouttes
762ea11579 2006-05-18 Enrico Forestieri <forenr@tlc.unipr.it>
* lib/configure.py: fix setting of \cygwin_path_fix_needed; remove
	extra \r at end of line for cygwin.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13862 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-18 09:14:00 +00:00
Georg Baum
a96929d065 Add \overset and \underset to math panel (bug 2533):
* lib/images/math/underset.xpm: new
	* lib/images/math/overset.xpm: new

	* lib/Makefile.am: add new files

	* src/frontends/controllers/ControlMath.C
	(latex_deco[]): add overset and underset


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13859 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-18 07:14:25 +00:00
Jean-Marc Lasgouttes
f4c0658d1b New auto-open feature from Bo Peng (with help from Jean-Marc and Enrico)
* src/lyx_main.C (init): call Formats::setAutoOpen.
	
	* src/lyxrc.C (read): do not reset editor/viewer values of "none".

	* src/format.C (fixCommand): helper function: tweak command depending
	of the availability of OS viewer/editor.
	(setAutoOpen): run fixCommand over all the formats.

	* src/support/Makefile.am: under win32, link against shlwapi.dll.
	
	* src/support/os_*.C (canAutoOpenFile, autoOpenFile): new
	functions, used	to let the OS handle viewers and editors it knows about.

	* configure.ac: improve check for shlwapi.

	* lib/configure.py: remove check for native windows viewers.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13856 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-17 22:37:24 +00:00
José Matox
265313ca4f Update templates and examples to latest file format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13798 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-05 10:21:25 +00:00
Jean-Marc Lasgouttes
5e32e533ea * configure.py: reinstantiate part of removeExtraFiles that was
removed by mistake. Add removal of chklatex.{ltx,log}.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13792 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-03 13:32:24 +00:00
Bo Peng
bc3cdedf14 Enrico's cygwin fix to configure.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13784 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-29 13:48:24 +00:00
Jean-Marc Lasgouttes
435242b5e6 rename toggle-compression to buffer-toggle-compression
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13781 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-28 16:38:30 +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
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
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
a297fd1c28 * lib/configure.py: sync comment with 1.5
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13743 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-26 08:16:41 +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
333c7161b1 sync cleanup of lib/configure.py with 1.5 (no functional changes)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13739 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-25 13:56:20 +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
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
2570f56a6c German documentation update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13719 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 09:40:44 +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
Martin Vermeer
c1467c0750 * lyx_1_4.py
(convert_minipage): Proper handling of default height and 
	vertical position (bug report Garst Reese)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13698 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-20 07:46:45 +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
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
José Matox
a33c2711dc Optimize lyx2lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13628 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 17:26:31 +00:00
José Matox
c9974774af Fix SGML paragraphs convertion for docbook documents and update lyx2lyx version string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13618 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-10 10:51:18 +00:00
Georg Baum
d4104bbaa2 From Jean-Marc: Make sure that standard sectioning styles have proper counters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13590 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 15:45:09 +00:00
Georg Baum
7e95bc60fc *lib/scripts/layout2layout.py: Fix section labelling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13587 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 15:24:07 +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
Michael Schmitt
5fb6c496c6 2006-04-01 Michael Gerz <michael.gerz@teststep.org>
* lib/ui/stdmenus.ui:
        * lib/ui/stdtoolbars.ui:
        * src/converter.C
        * src/lyx_main.C
        * src/support/package.C.in: tiny changes to text messages


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13544 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-01 13:20:37 +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
Jürgen Spitzmüller
12ab1b1cec * lib/scripts/lyxpreview2bitmap.py: fix frac calculation (bug 2391).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13510 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 10:15:17 +00:00
Jean-Marc Lasgouttes
ff4191df6d update to Spanish tutorial from Luis Guillermo Cota Preciado
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13508 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 09:45:20 +00:00
Georg Baum
a917aff7ec From Uwe:
* chkconfig.ltx: check for the preview package
        * doc/LaTeXConfig.lyx.in: document prettyref, varioref and preview


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13500 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-27 14:09:59 +00:00