1999-09-27 18:44:28 +00:00
. \" Man page for LyX.
. \" Use the following command to view man page:
. \"
. \" tbl lyx.1 | nroff -man | less
. \"
1999-11-17 15:05:26 +00:00
.TH LYX 1 "November 1999" "Version 1.1" "LyX 1.1"
1999-09-27 18:44:28 +00:00
.SH NAME
lyx \- A Document Processor
. \"
. \" setup
.de Cr
.ie n (c)
.el \(co
. .
.SH SYNOPSIS
\fB lyx\fR [ \fI command-line switches\fR ] [\fI name.lyx ...\fR ]
.br
.SH DESCRIPTION
\fB LyX\fR is too complex to be described completely in the "man" page
format. If your system is properly configured, you can access the full
documentation within \fB LyX\fR under the Help menu.
\fB LyX\fR is a modern approach of writing documents with a computer
which breaks with the tradition of the obsolete typewriter concept. It
is designed for people who want a professional output with a minimum
of time effort, without becoming specialists in typesetting. Compared
to common word processors, \fB LyX\fR will increase the productivity a
lot, since most of the typesetting will be done by the computer, not
the author. With \fB LyX\fR the author can concentrate on the contents
of his writing, since the computer will take care of the look. Read more
about this concept in the online documentation under the Help menu.
Currently, \fB LyX\fR uses the XForms library as a toolkit. \fB LyX\fR
should run everywhere, where XForms runs. This is on all major Unix
2000-05-31 14:47:46 +00:00
platforms as well as some PC platforms, including Sun, SGI, HP, Compaq
Tru64, IBM RS6000, Convex, Cray, i386/Linux, Alpha/Linux,
1999-09-27 18:44:28 +00:00
i386/FreeBSD, i386/NetBSD, DecSystem(mips)/Ultrix, OS/2 with XFree or
PMX and others.
.SH OPTIONS
\fB LyX\fR supports the following command-line switches, which can also
be specified as X resources (e. g. in .Xdefaults) with class
name \fB LyX\fR :
.TP 6
.BI \- help
summarizes LyX usage
.TP
.BI \- sysdir " directory"
sets system directory. Normally not needed.
.TP
2000-05-29 15:29:50 +00:00
.BI \- userdir " directory"
sets user directory. Needed if you want to use LyX with different lyxrc
settings.
.TP
1999-09-27 18:44:28 +00:00
.BI \- width " x"
the width of the main window in \fB LyX\fR .
.TP
.BI \- height " y"
the height of the main window in \fB LyX\fR .
.TP
.BI \- xpos " x"
the x position of the main window in \fB LyX\fR .
.TP
.BI \- ypos " y"
the y position of the main window in \fB LyX\fR .
Notice, you have to specify both
.BI \- xpos
and
.BI \- ypos
to obtain the
desired effect. Negative positions are ignored. If no valid position
is given, the main window is centered.
.TP
1999-12-13 15:31:52 +00:00
.BI \- dbg " feature[,feature...]"
where feature is a name or number.
Use "\fB lyx -dbg\fR " to see the list of available debug features.
1999-09-27 18:44:28 +00:00
.PP
Furthermore, \fB LyX\fR understands the following generic command line options
from the \fB Forms Library\fR :
.TP 6
.BI \- display " host:display"
specifies the server to connect to.
.TP
.BI \- bw " borderwidth"
specifies the border width to use to built-in objects.
.TP
.BI \- visual " visualName"
requests a visual by name such as TrueColor etc. By default the
.B Forms Library
always selects the visual that has the most depth.
.TP
.BI \- depth " depth"
requests a specific depth. Try "\fB -depth\fR best" or "\fB -depth\fR
8" if you get a bad match.
.TP
.BI \- debug " level"
generates some info about the state of the
.B XForms.
where
.I level
is an integer between 1-5 and controls the amount of
information to output. Depending on the options used
when the
.B Forms Library
was built, a level more than 3 might not be available.
.TP
.B \- sync
runs the application in synchronous mode with debug level set to 4.
.TP
.B \- private
requests a private colormap for the application.
.TP
.B \- shared
requests a shared colormap even if the application needs more
colors than available. For those colors that can't be allocated
in the shared colormap, substitutions are made so the closest
matching color is used.
.TP
.B \- stdcmap
requests a standard colormap.
.TP
.B \- name " newname"
specifies the application name under which resources are to be
obtained, rather than the default executable file name.
.SH ENVIRONMENT
.TP
1999-11-17 15:05:26 +00:00
.B LYX_DIR_11x
1999-09-27 18:44:28 +00:00
can be used to specify which system directory to use.
.PP
The system directory is determined by searching for the file
"chkconfig.ltx". Directories are searched in this order:
.br
1) -sysdir command line parameter
.br
1999-11-17 15:05:26 +00:00
2) LYX_DIR_11x environment variable
1999-09-27 18:44:28 +00:00
.br
3) Maybe <path of binary>/TOP_SRCDIR/lib
.br
4) <path of binary>/../share/<name of binary>/
.br
5) hardcoded lyx_dir (usually /usr/local/share/lyx on UNIX and %X11ROOT%\\ XFree86\\ lib\\ X11\\ lyx on OS/2 with XFree)
2000-05-29 15:29:50 +00:00
.TP
.B LYX_USERDIR_11x
can be used to specify which user directory to use.
.PP
The user directory is, in order of precedence:
.br
1) -usedir command line parameter
.br
2) LYX_USERDIR_11x environment variable
.br
3) $HOME/.<name of binary> if no explicit setting is made
1999-09-27 18:44:28 +00:00
.TP
.B LYX_LOCALEDIR
can be used to tell LyX where to look for the translations of its GUI
strings in other languages.
.SH FILES
.nf
.ta \w '\fILIBDIR\fR/lyxrc.in 'u
~/.lyx/lyxrc Personal configuration file
\fI LIBDIR\fR /lyxrc System wide configuration file
\fI LIBDIR\fR /lyxrc.example System wide configuration file template
\fI LIBDIR\fR /configure Updates \fB LyX\fR if config has changed
\fI LIBDIR\fR /bind/ Keybindings
\fI LIBDIR\fR /clipart/ Clipart pictures
\fI LIBDIR\fR /doc/ Documentation in \fB LyX\fR format.
\fI LIBDIR\fR /examples/ Example documents
\fI LIBDIR\fR /images/ Images used as icons or in popups
\fI LIBDIR\fR /kbd/ Keyboard mappings
\fI LIBDIR\fR /layouts/ Layout descriptions
\fI LIBDIR\fR /templates/ Templates for documents
\fI LIBDIR\fR /tex/ Extra TeX files
.Sp
.fi
.I LIBDIR
is the system directory. This is usually /usr/local/share/lyx on UNIX and %X11ROOT%\\ XFree86\\ lib\\ X11\\ lyx on OS/2 with XFree.
.SH SEE ALSO
reLyX(1), latex(1), xforms(5).
Full documentation in either native \fB LyX\fR or postscript format.
.SH BUGS/LIMITATIONS
There are probably still some bugs in \fB LyX\fR . Please report them to
2000-05-31 14:47:46 +00:00
lyx-devel@lists.lyx.org with detailed info, including which version of
\fB LyX\fR you use. Consult the "Known Bugs" item under the Help menu
first if possible.
1999-09-27 18:44:28 +00:00
2000-05-31 14:47:46 +00:00
\fB LaTeX\fR import is still not perfect and may produce buggy *.lyx
files. Consult the \fB reLyX\fR documentation.
1999-09-27 18:44:28 +00:00
2000-05-31 14:47:46 +00:00
XFree on OS/2 currently does not support PC codepages. If you use
\fB emTeX\fR to preview/print with cp850, etc., this might lead to
strange \fB emTeX\fR error messages.
1999-09-27 18:44:28 +00:00
.B Remedy:
1) In filenames use only A-Z, a-z, 1-9.
2) Install a recent \fB LaTeX\fR package inputenc.sty. Select Layout->Document->encoding:latin1, so that \fB reLyX\fR adds the \fB LaTeX\fR command '\\ usepackage[latin1]{inputenc}'.
2000-05-31 14:47:46 +00:00
\fB LyX\fR server has some limitations under OS/2: See
Help->Customization for details.
1999-09-27 18:44:28 +00:00
2000-05-31 14:47:46 +00:00
Preview of inline images in rare cases does not show the image. If you
want to preview the image, just click on it and choose fullscreen
preview.
1999-09-27 18:44:28 +00:00
2000-05-31 14:47:46 +00:00
If you have performance problems, please go through the \fB lyxrc\fR
configuration file. It contains settings that can be used to improve
1999-09-27 18:44:28 +00:00
performance on slow systems.
2000-05-31 14:47:46 +00:00
.SH AUTHORS
1999-09-27 18:44:28 +00:00
Copyright
.Cr
2000-05-31 14:47:46 +00:00
1995, 1996, 1997, 1998, 1999 by Matthias Ettrich
(ettrich@informatik.uni-tuebingen.de) and the rest of the \fB LyX
Team\fR (See Credits under the Help menu item).