From: Jean-Marc Lasgouttes Date: Wed, 17 Nov 1999 15:05:26 +0000 (+0000) Subject: Small tweaks X-Git-Tag: 1.6.10~22517 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d41e87f91e126cb988eb65f91203935c436aa010;p=features.git Small tweaks git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@320 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/ChangeLog b/ChangeLog index 1247802360..3e71c5ea4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +1999-11-17 Jean-Marc Lasgouttes + + * src/lyx_cb.C (RunLinuxDoc): add a cast to please dec cxx. + + * src/chset.C: add "using std::ifstream;" to please dec cxx. + + * src/lyx_main.C (init), INSTALL.OS2: the environment variable + which is used to point to LyX data is now LYX_DIR_11x. + + * lyx.man: convert to a unix text file; small updates. + 1999-11-15 Lars Gullik Bjønnes * src/support/LSubstring.[Ch]: made the second arg of most of the diff --git a/INSTALL.OS2 b/INSTALL.OS2 index 5f47e9e408..5cc5ce5497 100644 --- a/INSTALL.OS2 +++ b/INSTALL.OS2 @@ -1,5 +1,5 @@ -INSTALL.OS2 file for OS/2 version of LyX 1.0.1 +INSTALL.OS2 file for OS/2 version of LyX 1.1.3 by Shigeru Miyata modified by Arnd Hanses ############################################################## @@ -411,11 +411,11 @@ Note3: As distributed, LyX expects to find its system configuration files in the directory %X11ROOT%/XFree86/lib/X11/lyx If you unpacked the distribution in directory c:\foo, add - the environment variables LYX_LOCALEDIR and LYX_DIR_10x + the environment variables LYX_LOCALEDIR and LYX_DIR_11x to config.sys to point to c:/foo/XFree86/lib/X11/locale and c:/foo/XFree86/lib/X11/lyx as follows: SET LYX_LOCALEDIR=c:/foo/XFree86/lib/X11/locale - SET LYX_DIR_10x=c:/foo/XFree86/lib/X11/lyx + SET LYX_DIR_11x=c:/foo/XFree86/lib/X11/lyx Note that, if you do not have any interest in having LyX display its messages in other languages than english, you can safely skip this step for LYX_LOCALEDIR. diff --git a/lyx.man b/lyx.man index a58b05757a..31b6dbe691 100644 --- a/lyx.man +++ b/lyx.man @@ -3,7 +3,7 @@ .\" .\" tbl lyx.1 | nroff -man | less .\" -.TH LYX 1 "October 1998" "Version 1.0" "LyX 1.0" +.TH LYX 1 "November 1999" "Version 1.1" "LyX 1.1" .SH NAME lyx \- A Document Processor .\" @@ -157,7 +157,7 @@ specifies the application name under which resources are to be obtained, rather than the default executable file name. .SH ENVIRONMENT .TP -.B LYX_DIR_10x +.B LYX_DIR_11x can be used to specify which system directory to use. .PP The system directory is determined by searching for the file @@ -165,7 +165,7 @@ The system directory is determined by searching for the file .br 1) -sysdir command line parameter .br -2) LYX_DIR_10x environment variable +2) LYX_DIR_11x environment variable .br 3) Maybe /TOP_SRCDIR/lib .br @@ -229,7 +229,6 @@ performance on slow systems. .SH AUTHOR Copyright .Cr -1995, 1996, 1997, 1998 by Matthias Ettrich (ettrich@informatik.uni-tuebingen.de) +1995, 1996, 1997, 1998, 1999 by Matthias Ettrich (ettrich@informatik.uni-tuebingen.de) and the rest of the \fBLyX Team\fR (See Credits under the Help menu item). - \ No newline at end of file diff --git a/src/chset.C b/src/chset.C index 94ed5a3b68..d83a745116 100644 --- a/src/chset.C +++ b/src/chset.C @@ -5,6 +5,7 @@ #endif #include +using std::ifstream; #include "chset.h" #include "support/filetools.h" diff --git a/src/lyx_cb.C b/src/lyx_cb.C index 062287c4da..0ff5937418 100644 --- a/src/lyx_cb.C +++ b/src/lyx_cb.C @@ -1254,7 +1254,10 @@ int RunLinuxDoc(int flag, string const & filename) if (!current_view->available()) return 0; current_view->buffer()->makeLinuxDocFile(name, 0); - BufferParams::PAPER_SIZE ps = current_view->buffer()->params.papersize; +#ifdef WITH_WARNINGS +#warning remove this once we have a proper geometry class +#endif + BufferParams::PAPER_SIZE ps = static_cast(current_view->buffer()->params.papersize); switch (ps) { case BufferParams::PAPER_A4PAPER: add_flags = "-p a4"; break; case BufferParams::PAPER_USLETTER: add_flags = "-p letter"; break; diff --git a/src/lyx_main.C b/src/lyx_main.C index f7c2136454..53e963954d 100644 --- a/src/lyx_main.C +++ b/src/lyx_main.C @@ -177,7 +177,7 @@ void LyX::init(int */*argc*/, char **argv) // Directories are searched in this order: // 1) -sysdir command line parameter - // 2) LYX_DIR_10x environment variable + // 2) LYX_DIR_11x environment variable // 3) Maybe /TOP_SRCDIR/lib // 4) /../share// // 4a) repeat 4 after following the Symlink if