Commit Graph

155 Commits

Author SHA1 Message Date
Martin Vermeer
6c77c9ae41 New layout for International Society for Photogrammetry and Remote Sensing
journals

        * lib/layouts/isprs.layout: the layout
        * lib/doc/LaTeXConfig.lyx.in: the documentation



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15319 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-13 04:59:00 +00:00
Georg Baum
2c72e0ecaa Fix bug 2868
* src/insets/insetgraphics.C
	(findTargetFormat): return pdf for vector graphics

	* src/format.h
	(Flags): new enum describing format flags
	(flags_): new member variable for format flags
	(vectorFormat): new, tell whether a format can contain vector graphics

	* src/format.C: adjust to flags changes

	* src/frontends/qt[34]/QPrefsDialog.C
	(QPrefsDialog::QPrefsDialog): handle new vector flag
	(QPrefsDialog::switch_format): ditto
	(QPrefsDialog::updateFormatsButtons): ditto
	(QPrefsDialog::new_format): ditto
	(QPrefsDialog::modify_format): ditto

	* src/frontends/qt3/ui/QPrefFileformatsModule.ui
	* src/frontends/qt4/ui/QPrefFileformatsUi.ui
	(vectorCB): new checkbox for vector flag

	* src/lyxrc.C
	(LyXRC::read): read vector flag
	(LyXRC::write): write vector flag

	* lib/doc/Customization.lyx: document format flags

	* lib/configure.py
	(checkFormatEntries): Add vector flag to some formats


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15205 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 08:34:59 +00:00
Georg Baum
5e5f96fb72 Document inset-dissolve without format change (taken from 1.4 branch)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15141 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-25 15:06:04 +00:00
Georg Baum
5e2c1d12ae revert broken changeset 15036
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15140 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-25 14:55:44 +00:00
Georg Baum
0b6edc6972 add hu_Tutorial
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15128 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 18:34:05 +00:00
Jean-Marc Lasgouttes
d6fb2e14a1 new Hungarian translation of the Tuturial
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15040 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 12:18:47 +00:00
Jürgen Spitzmüller
6b1c429bf4 * lib/doc/UserGuide.lyx:
* lib/doc/Tutorial.lyx:
* lib/doc/de_UderGuide.lyx:
* lib/doc/de_Tutorial.lyx:
	document inset-dissolve.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15036 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-18 09:11:48 +00:00
Georg Baum
7061e8cd54 Fix bug 2660
* lib/doc/de_UserGuide.lyx: fix image paths


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14930 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-07 12:47:13 +00:00
José Matox
50877aa741 All lyx files are encoded in utf-8 now. :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14851 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-29 11:11:12 +00:00
Jean-Marc Lasgouttes
0e55bfa214 update german documentation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14779 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-17 10:13:27 +00:00
Georg Baum
f402dcb0bd * lib/doc/Extended.lyx: Remove the registered-sign from a heading,
since it can not be represented in the Czech sdoc_toc in latin2
	encoding.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14646 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 15:43:27 +00:00
Georg Baum
53e52f2df1 * lib/doc/doc_toc.py: Add language info for Czech
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14642 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-13 13:57:32 +00:00
Michael Schmitt
783cb8f8bf * lib/chkconfig.ltx: fix comments ("LyXConfig.lyx.in" =>
LaTeXConfig.lyx.in")
        * lib/doc/LyXConfig.lyx.in: remove obsolete file
        * lib/doc/Makefile.am: remove LyXConfig.lyx.in from EXTRA_DIST


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14630 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-12 20:48:38 +00:00
Jean-Marc Lasgouttes
8e836c60d8 * Customization.lyx:
* fr_Customization.lyx:
	* de_Customization.lyx: remove reference to reLyX.

	* Tutorial.lyx: rename sec:relyx label to sec:tex2lyx.
	* fr_Tutorial.lyx: ditto, and change references to reLyX




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14622 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-12 11:26:09 +00:00
Jean-Marc Lasgouttes
e658f6cd1f new Czech splash; update Czech tutorial
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14614 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-11 09:42:25 +00:00
Jean-Marc Lasgouttes
a7a2304327 update from Sanda Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14603 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-10 09:23:52 +00:00
José Matox
50cebbc5b3 Add language and encoding information
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14599 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-09 22:22:59 +00:00
Georg Baum
1632664595 Do not add backup .lyx~ files to lib/doc/Makefile.depend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14493 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-22 15:17:27 +00:00
Bo Peng
2ae2c0db71 Remove hardcoded option -tt from python scripts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14478 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-17 19:41:32 +00:00
Michael Schmitt
3c9e9cf03a remove xforms and libXpm; fix gv's URL
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14455 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-14 08:58:32 +00:00
Michael Schmitt
c1bca32159 update to \lyxformat 245
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14454 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-14 08:56:07 +00:00
Georg Baum
149d7394bf fix image paths
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14394 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-09 10:14:04 +00:00
Georg Baum
0c0c43b8eb merge booktabs branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14319 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-03 19:13:56 +00:00
Georg Baum
4ae87a3bb8 Call python with the -tt switch to make mixed tab/space indentation an error
* src/support/os.[Ch]
	(python): new function, return the python command

	* lib/lyx2lyx/lyx_1_5.py
	(revert_font_settings): replace tabs with spaces

The rest is simply s/python/python -tt/ and
s/"python"/lyx::support::os::python()/ where appropriate.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14270 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-30 13:54:01 +00:00
Jean-Marc Lasgouttes
35898015dc fix image paths in German UserGuide (part of bug 2660)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14216 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-26 10:35:31 +00:00
Jean-Marc Lasgouttes
0d3d439195 lib/doc/UserGuide.lyx: remove description of obsolete Comment layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14182 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-23 09:38:32 +00:00
Jean-Marc Lasgouttes
6444095092 fix wrong path to an image (bug 2653)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14169 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-21 13:21:31 +00:00
Jürgen Spitzmüller
54acb900ad The Grand Font Selection Redesign:
* lib/lyx2lyx/LyX.py (format_relation): add file format 247 (from Georg BAUM).

        * lib/lyx2lyx/lyx_1_5.py: add convert_font_settings, revert_font_settings (from Georg BAUM).

        * lib/chkconfig.ltx: Test for newly supported font packages

        * lib/doc/LaTeXConfig.lyx.in: document newly supported font packages

        * lib/doc/UserGuide.lyx: document new UI.

        * lib/doc/Extended.lyx: update PostScript font documentation

        * development/FORMAT: document file format change 246->247.

        * src/tex-strings.[Ch]: new strings tex_fonts_roman, tex_fonts_sans, 
           tex_fonts_monospaced (with GUI equivalents).

        * src/buffer.C: Format up to 247.

        * src/bufferparams.C:
        new params fontsRoman, fontsSans, fontsTypewriter, fontsDefaultFamily,    
        fontsSC, fontsOSF, fontsSansScale and fontsTypewriterScale
        (LyXFont const BufferParams::getFont): consider switch of default family.
        (string const BufferParams::loadFonts): new method to get all the LaTeX 
        font stuff done.

        * src/paragraph.C
        (LyXFont const Paragraph::getFont):
        (LyXFont const Paragraph::getLabelFont):
        (LyXFont const Paragraph::getLayoutFont): user buffer's not textclass's 
        default font

        * src/text.C
        (int LyXText::leftMargin):
        (int LyXText::rightMargin): user buffer's not textclass's default font

        * src/text2.C
        (LyXFont LyXText::getFont):
        (LyXFont LyXText::getLayoutFont):
        (LyXFont LyXText::getLabelFont): check if the family of the default document 
        font has been customized.

        * src/frontends/gtk/GDocument.[Ch]: implement new font ui (from Georg BAUM).

        * src/frontends/gtk/glade/document.glade: implement new font ui (from Georg BAUM). 

        * src/frontends/qt3/Makefile.dialogs: add new FontModuleBase

        * src/frontends/qt3/ui/FontModuleBase.ui: new File

        * src/frontends/qt3/ui/TextLayoutModuleBase.ui: remove font widgets

        * src/frontends/qt3/QDocument.C
        * src/frontends/qt3/QDocumentDialog.[Ch]: implement new font ui

        * src/frontends/qt4/Makefile.dialogs: add new FontUi

        * src/frontends/qt4/QDocumentDialog.[Ch]: implement new font ui

        * src/frontends/qt4/ui/FontUi.ui: new File

        * src/frontends/qt4/ui/TextLayoutUi.ui: remove font widgets

        * src/frontends/qt4/ui/compile_uic.sh: add new FontUi

        * src/frontends/xforms/FormDocument.[Ch]: implement new font ui

        * src/frontends/xforms/forms/form_document.fd: add new font tab.

        * src/frontends/controllers/ControlDocument.[Ch]
        (char ControlDocument::fontfamilies):
        (char ControlDocument::fontfamilies_gui):
        (bool ControlDocument::isFontAvailable):
        (bool ControlDocument::providesSC):
        (bool ControlDocument::providesOSF):
        (bool ControlDocument::providesScale): new methods, providing font info.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14143 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-19 08:10:17 +00:00
Georg Baum
fbda39f77c * lib/doc/de_Extended.lyx: mention htlatex
* lib/doc/Extended.lyx: ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14123 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-15 17:08:26 +00:00
Jean-Marc Lasgouttes
1d14cdd0ea 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/trunk@13977 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-01 13:13:16 +00:00
Georg Baum
d544373734 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): "none" -> ""

	* src/lyxrc.C
	(LyXRC::read): "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/trunk@13929 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-25 11:57:22 +00:00
Jean-Marc Lasgouttes
a96b307c42 update to de_userguide and de_Extended, due to wrong picture references
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13918 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-23 09:30:26 +00:00
Jean-Marc Lasgouttes
865face425 update German docs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13902 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-22 09:45:30 +00:00
Georg Baum
5b83287abe * src/format.[Ch]
(document_): new flag, telling whether this is a document format and
	we want to show this format in the export and view menus
	(documentFormat): accessor for document_

	* src/format.h: Add some documentation

	* src/frontends/qt3/QPrefsDialog.C
	(QPrefsDialog::QPrefsDialog): handle new documentCB checkbox
	(QPrefsDialog::switch_format): ditto
	(QPrefsDialog::updateFormatsButtons): ditto
	(QPrefsDialog::new_format): ditto
	(QPrefsDialog::modify_format): ditto

	* src/frontends/qt3/ui/QPrefFileformatsModule.ui: Add documentCB checkbox

	* src/frontends/qt4/QPrefsDialog.C
	(QPrefsDialog::QPrefsDialog): handle new documentCB checkbox
	(QPrefsDialog::switch_format): ditto
	(QPrefsDialog::updateFormatsButtons): ditto
	(QPrefsDialog::new_format): ditto
	(QPrefsDialog::modify_format): ditto

	* src/frontends/qt4/ui/QPrefFileformatsUi.ui: Add documentCB checkbox

	* src/frontends/xforms/FormPreferences.C
	(FormPreferences::Formats::build): handle new check_document checkbox
	(FormPreferences::Formats::input): ditto
	(FormPreferences::Formats::Add): ditto
	(FormPreferences::Formats::Browser): ditto

	* src/frontends/xforms/forms/form_preferences.fd: Add check_document
	checkbox

	* src/lyxrc.C
	(LyXRC::read): Remove compatibility code for 1.3 \format entries.
	Read the new format flags (but don't require them for 1.4
	compatibility)
	(LyXRC::write): Write the new format flags

	* src/MenuBackend.C
	(expandFormats): Remove the hardcoded exception for image formats
	and use Format::isDocument() instead

	* lib/doc/Customization.lyx: Document auto viever/editor and the
	"document format" flag


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13887 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-20 12:03:40 +00:00
Georg Baum
479abc6efd Remove remaining OS/2 bits:
* src/lyx_cb.C
	(newFile): Remove OS/2 code

	* src/lyxserver.C
	(LyXComm::startPipe): ditto
	(LyXComm::endPipe): ditto
	(LyXComm::send): ditto

	* src/support/rename.C
	(lyx::support::rename): ditto

	* src/support/filetools.C
	(fileOpenSearch): ditto
	(createTmpDir): ditto
	(createLyXTmpDir): ditto
	(makeAbsPath): ditto

	* src/support/getcwd.C
	(l_getcwd): ditto

	* src/support/forkedcall.C
	(Forkedcall::generateChild): ditto

	* src/support/chdir.C
	(lyx::support::chdir): ditto

	* src/support/os.C: ditto
	* configure.ac: ditto
	* development/scons/scons_utils.py: ditto
	* development/Win32/config.h: ditto

	* lyx.man: Remove OS/2 related stuff
	* lib/doc/Customization.lyx: ditto
	* lib/doc/fr_Customization.lyx: ditto
	* lib/doc/it_Customization.lyx: ditto

	* src/support/os2_defines.h: Remove
	* src/support/os2_errortable.h: ditto
	* src/support/os_os2.C: ditto
	* INSTALL.OS2: ditto
	* README.OS2: ditto
	* development/OS2/quick_fix.patch: ditto
	* development/OS2/gnugettext.diff: ditto
	* development/OS2: ditto

	* src/support/Makefile.am: Remove deleted files
	* development/Makefile.am: Remove deleted OS2 directory


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13848 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-14 17:00:53 +00:00
Lars Gullik Bjønnes
4c7d66bfda * depend.py: set PYTHONPATH so that python files
in build dir is found
        * Makefile.depend: regenerated


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13785 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-01 07:41:41 +00:00
Jean-Marc Lasgouttes
18d72887a6 * 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/trunk@13763 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-27 16:44:43 +00:00
Jean-Marc Lasgouttes
211c62818e German documentation update (again)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13721 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 09:48:55 +00:00
Jean-Marc Lasgouttes
f34e0a98c1 German documentation update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13720 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 09:42:17 +00:00
Jean-Marc Lasgouttes
f2c599f154 Hungarian documentation update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13718 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-24 09:32:21 +00:00
Jean-Marc Lasgouttes
b5cdc90ef9 update german userguide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13670 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-13 17:53:09 +00:00
Jean-Marc Lasgouttes
b8617a4d56 update German Tutorial, Intro and splash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13584 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 12:20:41 +00:00
Jean-Marc Lasgouttes
81a3abd0cd document fancybox package
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13577 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-07 08:46:18 +00:00
Jean-Marc Lasgouttes
b7d59d8ce6 update to Spanish tutorial from Luis Guillermo Cota Preciado
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13507 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 09:37:36 +00:00
Georg Baum
bcccc2780d 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/trunk@13497 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-26 08:28:06 +00:00
Jean-Marc Lasgouttes
609e13491c bug 1611: clarify Title handling in tutorial (trivial)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13363 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-13 14:43:31 +00:00
Jean-Marc Lasgouttes
ba7954e5e5 some updates from hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13278 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-27 15:34:43 +00:00
Jean-Marc Lasgouttes
142ecf6867 fix url to Herbert's tips (bug 1634)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13244 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-16 15:48:13 +00:00
Jean-Marc Lasgouttes
6aed703bef fix bogus keybinding (bug 1422)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13243 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-16 15:40:56 +00:00
Lars Gullik Bjønnes
4a7ab830bc Delete all .cvsignore files from trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13208 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-10 22:09:45 +00:00