2000-05-11 16:12:46 +00:00
|
|
|
These are temporary instructions from Shigeru Miyata <miyata@kusm.kyoto-u.ac.jp>
|
|
|
|
===========================================================================
|
|
|
|
|
|
|
|
(The top level) configure.cmd is obsoleted by. Please follow the
|
|
|
|
step like this:
|
|
|
|
|
|
|
|
1. Install GNU m4, gnu?utils, aclocal/2, autoheader/2, automake/2,
|
|
|
|
autoconf/2, perl, GNU patch and a UNIX type shell like pdksh.
|
|
|
|
2. Apply the patch development/OS2/quick_fix.patch
|
|
|
|
// os2_defines.h needs a modification because bmtable.c is C.
|
|
|
|
// Now it hits me, why don't we patch "test -x" (gnufutils)?
|
|
|
|
// However, we can't modify the behavior of "test -f", so
|
|
|
|
// it is still necessary to modify script files for LyX.
|
|
|
|
3. Install xforms 0.88 and rename
|
|
|
|
forms.a -> forms_d.a
|
|
|
|
forms_s.a -> forms.a
|
2000-11-13 15:05:35 +00:00
|
|
|
// Ever since 1.1.5pre1, you cannot link xforms 0.88 dynamically.
|
2000-05-11 16:12:46 +00:00
|
|
|
// If you don't like this, please ask Holger Veit to export
|
|
|
|
// fl_get_scrollbar_bounds, fl_get_scrollbar_increment and
|
|
|
|
// fl_get_scrollbar_value from the DLL. They're already there!
|
2000-11-13 15:05:35 +00:00
|
|
|
// I will try to release xforms 0.89 ASAP.
|
2000-05-11 16:12:46 +00:00
|
|
|
4. Install Hung-Chi Chu's port of GNU gettext. Other ports will
|
|
|
|
not work.
|
|
|
|
5. Set environment variables
|
|
|
|
MAKE_SHELL=sh
|
|
|
|
LIBS=-lulib -lsocket -lbsd -lshm -lstdcpp
|
2000-11-13 15:05:35 +00:00
|
|
|
CXXFLAGS=-g -O2 -m486 -Zmt -DOS2 -fno-rtti -fno-exceptions
|
|
|
|
// ulib must be linked if we use static xforms library 0.88.
|
|
|
|
// If xforms 0.89 is used -lulib must be removed from above.
|
2000-05-11 16:12:46 +00:00
|
|
|
// Unless you are using pgcc, we use gcc rather than g++.
|
|
|
|
// Hence stdc++ must be linked explicitely. Also please
|
|
|
|
// note that ld for pgcc often fails to link big executables
|
|
|
|
// like unstripped lyx.exe
|
2000-11-13 15:05:35 +00:00
|
|
|
// Due to a bug (actually a limitation) of autoconf/2,
|
|
|
|
// you have to set CXXFLAGS explicitely in order to compile
|
|
|
|
// CVS version newer than 11 Oct. 2000.
|
2000-05-11 16:12:46 +00:00
|
|
|
6. From sh prompt, type
|
2000-11-13 15:05:35 +00:00
|
|
|
autogen.sh; rm -f config.cache
|
2000-05-11 16:12:46 +00:00
|
|
|
and then
|
2000-11-13 15:05:35 +00:00
|
|
|
configure --prefix=/XFree86 --datadir=/XFree86/lib/X11 --with-included-string
|
2000-05-11 16:12:46 +00:00
|
|
|
x11make
|
|
|
|
// Please do not use make.cmd make.exe should be OK.
|
|
|
|
// x11make.exe is the safest choice
|
|
|
|
// While you are running configure, make sure that it is not
|
|
|
|
// a background process to other CPU intensive processes.
|
|
|
|
// While OS/2 kernel is much more efficient, faster and
|
|
|
|
// more responsive than other systems like LINUX (you can
|
|
|
|
// easily *FEEL* this if you stop PM/WPS and run XFree86
|
|
|
|
// only), its TTY interface is lousy, to say the least.
|
|
|
|
// If the synchronization to the children breaks, configure
|
|
|
|
// often detects wrongfully.
|
|
|
|
|
|
|
|
7. If you are going to make a binary distribution, you have
|
|
|
|
to prepare lib/configure.cmd noweb2lyx.cmd and reLyX.cmd,
|
|
|
|
since end users may not have a UNIX type shell installed.
|
|
|
|
In order to create noweb2lyx.cmd and reLyX.cmd, first rename
|
|
|
|
noweb2lyx and reLyX and open them in a text editor. You
|
|
|
|
have to remove hardcoded path in the first line:
|
|
|
|
#!perl
|
|
|
|
Also in reLyX.cmd, $lyxdir should be changed to include the
|
|
|
|
drive letter (the line 21):
|
|
|
|
$lyxdir = "$ENV{X11ROOT}/XFree86/lib/X11/lyx";
|
|
|
|
Finally, prepend a line
|
|
|
|
extproc perl.exe -S
|
|
|
|
so that cmd.exe pass the execution control to perl.
|
|
|
|
// I know configure.cmd had done this automatically.
|
|
|
|
// So you can compare the result with the scripts in 1.0.4
|
|
|
|
// distribution.
|
|
|
|
|
|
|
|
|
|
|
|
===========================================================================
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
README file for OS/2 version of LyX 1.0.1
|
|
|
|
by Shigeru Miyata <miyata@kusm.kyoto-u.ac.jp>
|
|
|
|
modified by Arnd Hanses <Arnd.H.Hanses@rz.ruhr-uni-bochum.de>
|
|
|
|
##############################################################
|
|
|
|
|
2003-02-06 10:54:14 +00:00
|
|
|
- This README.OS2 addresses experienced users of XFree86 and
|
|
|
|
LyX on OS/2 and covers in very short form the steps for
|
1999-09-27 18:44:28 +00:00
|
|
|
updating (installing) LyX.
|
|
|
|
|
|
|
|
- For general information on LyX please refer to the generic
|
|
|
|
README. For generic compiling instructions refer to INSTALL.
|
|
|
|
|
2003-02-06 10:54:14 +00:00
|
|
|
- For a more detailed step by step guide on installing (or compiling)
|
|
|
|
LyX and other related useful (or even necessary) optional programs
|
1999-09-27 18:44:28 +00:00
|
|
|
on OS/2 please refer to INSTALL.OS2. If you are not already an
|
|
|
|
experienced user of LyX an OS/2 you are advised to read it.
|
|
|
|
|
2003-02-06 10:54:14 +00:00
|
|
|
- For a description of the binary distribution and any necessary
|
1999-09-27 18:44:28 +00:00
|
|
|
support libraries please refer to README.bin, which comes with the
|
|
|
|
binary distribution.
|
|
|
|
|
|
|
|
|
|
|
|
LyX has been ported to OS/2 with XFree86 by Shigeru Miyata and
|
2003-02-06 10:54:14 +00:00
|
|
|
has been installed and used successfully by many people.
|
1999-09-27 18:44:28 +00:00
|
|
|
Unfortunately there is yet no easy to install and complete distribu-
|
|
|
|
tion of XFree86-related software for OS/2. Despite increasing popula-
|
2003-02-06 10:54:14 +00:00
|
|
|
rity of X on OS/2, extensive printed documentation about XFree/2 and
|
|
|
|
related programs like LyX is still not available. So you will
|
1999-09-27 18:44:28 +00:00
|
|
|
have to study the available documentation (man pages, READMEs, faq,
|
2003-02-06 10:54:14 +00:00
|
|
|
etc.) thoroughly to avoid unnecessary grief for you and for other
|
|
|
|
people, trying to help you on the net. Nevertheless, there are
|
1999-09-27 18:44:28 +00:00
|
|
|
existing tutorials and manuals covering X on UNIX family operating
|
2003-02-06 10:54:14 +00:00
|
|
|
systems, which do contain some valuable information even for X on
|
|
|
|
OS/2.
|
|
|
|
[A hint as a starting point for users speaking German:
|
1999-09-27 18:44:28 +00:00
|
|
|
http://www.rrzn-uni-hannover.de/Umdrucke/WSC.5/WSC5_1.html].
|
|
|
|
|
2003-02-06 10:54:14 +00:00
|
|
|
This release is considered to be stable for general use, but - like
|
1999-09-27 18:44:28 +00:00
|
|
|
any other piece of software - certainly is not bug free.
|
2003-02-06 10:54:14 +00:00
|
|
|
So take the usual precautions like adopting a regular backup policy.
|
1999-09-27 18:44:28 +00:00
|
|
|
Standard disclaimers of non liability apply.
|
|
|
|
|
2003-02-06 10:54:14 +00:00
|
|
|
As this is a voluntary project with a large number of contributions
|
|
|
|
by many people, hints and bug fixes to the program and/or the
|
1999-09-27 18:44:28 +00:00
|
|
|
documentation are always appreciated and thoroughly considered. If
|
2003-02-06 10:54:14 +00:00
|
|
|
you have the necessary skills (or want to take the chance to acquire
|
1999-09-27 18:44:28 +00:00
|
|
|
them) for programming in LaTeX or C++ you can become a LyX developer.
|
2003-02-06 10:54:14 +00:00
|
|
|
You can support further development by making a donation, if you feel
|
1999-09-27 18:44:28 +00:00
|
|
|
that LyX made your live a bit easier or you want to support open source
|
|
|
|
software.
|
|
|
|
Please refer to the links at www.lyx.org for details.
|
|
|
|
|
|
|
|
==============================================================
|
|
|
|
|
|
|
|
A. Quick Update:
|
|
|
|
------------
|
|
|
|
|
|
|
|
0) Only for update: If you are upgrading from LyX v. 0.12.0,
|
2003-02-06 10:54:14 +00:00
|
|
|
any old documentation files in %HOME%/.lyx/doc/ and
|
|
|
|
%X11ROOT%/XFree86/lib/X11/lyx/doc should be removed before
|
|
|
|
unpacking (since they are read only). You might wish to make
|
1999-09-27 18:44:28 +00:00
|
|
|
a backup, if you want to keep old docs.
|
|
|
|
|
2003-02-06 10:54:14 +00:00
|
|
|
1) Unpack the archive at %X11ROOT%.
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
2) Run lyx and let the program copy configuration files to
|
|
|
|
%HOME%\.lyx\.
|
|
|
|
|
2003-02-06 10:54:14 +00:00
|
|
|
3) If you don't have %HOME%\.lyx\lyxrc then move
|
|
|
|
%X11ROOT%\XFree86\lyxrc.example to %HOME%\.lyx\lyxrc.
|
1999-09-27 18:44:28 +00:00
|
|
|
If updating, make a backup of old version, if you want.
|
2003-02-06 10:54:14 +00:00
|
|
|
Read README and WHATSNEW about updating and run
|
1999-09-27 18:44:28 +00:00
|
|
|
Options->Reconfigure as indicated.
|
|
|
|
|
2003-02-06 10:54:14 +00:00
|
|
|
4) Verify if LYX is able to find the programs mentioned
|
|
|
|
in %HOME%\.lyx\lyxrc and in %HOME%\.lyx\lyxrc.defaults; if not,
|
1999-09-27 18:44:28 +00:00
|
|
|
change name and path as required.
|
|
|
|
|
|
|
|
Note: Remember to repeat the check after any 'Reconfigure'!
|
|
|
|
|
2003-02-06 10:54:14 +00:00
|
|
|
5) In config.sys SET LANG and LANGUAGE according to
|
1999-09-27 18:44:28 +00:00
|
|
|
your preferences. Beware: All programs supporting local
|
|
|
|
languages will be affected, e.g.:
|
|
|
|
|
|
|
|
SET LANG=de_DE rem german helpfiles will be used
|
|
|
|
SET LANGUAGE=de_DE rem german menus and messages
|
|
|
|
|
|
|
|
6) Restart OS/2 and run LyX. Have fun!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
B. Help/Problems:
|
|
|
|
-------------
|
|
|
|
|
|
|
|
* Please refer to the manpage (type 'man lyx' on the command line or
|
|
|
|
use 'xman')
|
|
|
|
|
|
|
|
* If you encounter apparently OS/2 specific bugs, (i.e. bugs not
|
|
|
|
already mentioned in the documentation or the buglist) you can report
|
2003-02-06 10:54:14 +00:00
|
|
|
them to the XFree86/OS2 mailing list as well as to the LyX developer
|
|
|
|
mailing list.
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2003-02-06 10:54:14 +00:00
|
|
|
* For any questions on using LyX please subscribe to the the LyX user
|
1999-09-27 18:44:28 +00:00
|
|
|
mailing list.
|
|
|
|
|
|
|
|
- To subscribe to the XFree86 mailing list send mail to
|
|
|
|
majordomo@borneo.gmd.de
|
|
|
|
with "subscribe" as the subject.
|
|
|
|
To contribute to the mailing list, mail to
|
|
|
|
xfreeos2@borneo.gmd.de
|
|
|
|
|
|
|
|
- For subscription to lyx-user list (general help on LyX) go to
|
|
|
|
http://www.lyx.org
|
|
|
|
and search for subscription info.
|
|
|
|
|
|
|
|
* Hints:
|
|
|
|
-----
|
2003-02-06 10:54:14 +00:00
|
|
|
1. To prevent 'file not found' with EmTeX and some non-US versions
|
1999-09-27 18:44:28 +00:00
|
|
|
of Warp, I recommend:
|
|
|
|
|
2003-02-06 10:54:14 +00:00
|
|
|
1) In filenames use only A-Z, a-z, 1-9.
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
2) Use a recent LaTeX package inputenc.sty. Select
|
2003-02-06 10:54:14 +00:00
|
|
|
Layout->Document->Encoding:latin1, so that LyX adds
|
1999-09-27 18:44:28 +00:00
|
|
|
the LaTeX command '\usepackage[latin1]{inputenc}'.
|
|
|
|
|
2003-02-06 10:54:14 +00:00
|
|
|
2. LaTeX import occasionally produces buggy *.lyx files. LyX tries
|
1999-09-27 18:44:28 +00:00
|
|
|
to save data in case of problems (and does a good job here),
|
|
|
|
but I recommend:
|
|
|
|
|
|
|
|
To import LaTeX close down and restart LyX (or close all
|
2003-02-06 10:54:14 +00:00
|
|
|
documents, you are working on) and try the import, so that
|
|
|
|
in case of any problems none of your existing documents will
|
1999-09-27 18:44:28 +00:00
|
|
|
be affected.
|
|
|
|
|
|
|
|
3. Inline preview of inline images sometimes does not show the
|
2003-02-06 10:54:14 +00:00
|
|
|
image: If you want to preview the image, just click on it and
|
|
|
|
select fullscreen preview.
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
4. Some XFree/2 programs (as ported from UNIX) expect a sh.exe
|
2003-02-06 10:54:14 +00:00
|
|
|
in \bin directory: I recommend to install sh.exe of pdksh.zip
|
1999-09-27 18:44:28 +00:00
|
|
|
in x:\bin (x: drive of %X11ROOT%). To work around problems you
|
2003-02-06 10:54:14 +00:00
|
|
|
can try the commands
|
1999-09-27 18:44:28 +00:00
|
|
|
set EMXSHELL=x:\bin\sh.exe
|
2003-02-06 10:54:14 +00:00
|
|
|
before starting the programs. As far as I know, LyX runs without
|
1999-09-27 18:44:28 +00:00
|
|
|
problems in this way.
|
|
|
|
|
|
|
|
|
|
|
|
Some suggestions in case of problems:
|
|
|
|
------------------------------------
|
|
|
|
1) Please check, if your x:\xfree86\lib does appear correctly in
|
|
|
|
libpath.
|
|
|
|
|
|
|
|
2) Please check against the file list, if you did install all files of
|
|
|
|
the distribution.
|
|
|
|
|
2003-02-06 10:54:14 +00:00
|
|
|
3) Remove all installed files and
|
|
|
|
%.home%/.lyx/
|
|
|
|
and perform a
|
|
|
|
chkdsk /f
|
1999-09-27 18:44:28 +00:00
|
|
|
and a consistency check of your lyx binary package (unzip -tv
|
2003-02-06 10:54:14 +00:00
|
|
|
foo.zip).
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
4) Reinstall the complete package and check out if everything appears,
|
|
|
|
no truncated files, no crc errors, etc.
|
|
|
|
|
2003-02-06 10:54:14 +00:00
|
|
|
5) Run
|
1999-09-27 18:44:28 +00:00
|
|
|
lyx -dbg 1026 >lyxerrors.log 2>&1
|
|
|
|
or, if you have tee.exe,
|
|
|
|
lyx -dbg 1026 2>&1|tee lyxerrors.log
|
2003-02-06 10:54:14 +00:00
|
|
|
and watch out for any error messages. Report any remaining problems.
|
1999-09-27 18:44:28 +00:00
|
|
|
As this is a completely voluntary project, everybody involved will be
|
|
|
|
grateful for user efforts like detailed bug reports, suggestions,
|
2003-02-06 10:54:14 +00:00
|
|
|
fixes, additions to the documentation, etc.
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
6) Have fun! (I'm sure).
|
|
|
|
|
|
|
|
|
|
|
|
C. Tips for Advanced Users:
|
|
|
|
-----------------------
|
2003-02-06 10:54:14 +00:00
|
|
|
* You can start LyX automatically by adding
|
1999-09-27 18:44:28 +00:00
|
|
|
'start/min/n xconsole.exe'
|
|
|
|
'set EMXSHELL=x:\bin\sh.exe'
|
|
|
|
'start/min/n lyx >/dev/console$ 2>&1'
|
2003-02-06 10:54:14 +00:00
|
|
|
to xinitrc.cmd before the line that invokes the
|
|
|
|
window manager, so that LyX' messages appear in the
|
1999-09-27 18:44:28 +00:00
|
|
|
console window and LyX appears in the pm-task list.
|
|
|
|
|
2003-02-06 10:54:14 +00:00
|
|
|
* You can start LyX automatically by adding
|
1999-09-27 18:44:28 +00:00
|
|
|
'detach xconsole.exe'
|
|
|
|
'detach lyx >/dev/console$ 2>&1'
|
2003-02-06 10:54:14 +00:00
|
|
|
to xinitrc.cmd before the line that invokes the
|
|
|
|
window manager, so that LyX' messages appear in the
|
1999-09-27 18:44:28 +00:00
|
|
|
console window and LyX does not appear in the PM task list.
|
|
|
|
|