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
|
|
|
|
.\"
|
2003-06-23 13:18:56 +00:00
|
|
|
.TH LYX 1 "Jan 2003" "Version 1.4" "LyX 1.4"
|
1999-09-27 18:44:28 +00:00
|
|
|
.SH NAME
|
|
|
|
lyx \- A Document Processor
|
|
|
|
.\"
|
|
|
|
.\" setup
|
|
|
|
.de Cr
|
|
|
|
.ie n (c)
|
|
|
|
.el \(co
|
|
|
|
..
|
|
|
|
.SH SYNOPSIS
|
2006-07-06 14:26:07 +00:00
|
|
|
\fBlyx\fR [ \fIcommand\-line switches\fR ] [ \fIname[.lyx] ...\fR ]
|
1999-09-27 18:44:28 +00:00
|
|
|
.br
|
|
|
|
.SH DESCRIPTION
|
|
|
|
\fBLyX\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 \fBLyX\fR under the Help menu.
|
|
|
|
|
2002-12-26 14:37:36 +00:00
|
|
|
\fBLyX\fR is a document preparation system. It excels at letting you
|
|
|
|
create complex technical and scientific articles with mathematics,
|
2006-07-06 14:26:07 +00:00
|
|
|
cross\-references, bibliographies, indices, etc. It is very good at
|
2002-04-02 11:55:36 +00:00
|
|
|
documents of any length in which the usual processing abilities are
|
|
|
|
required: automatic sectioning and pagination, spellchecking, and so
|
|
|
|
forth. It can also be used to write a letter to your mom, though
|
|
|
|
granted, there are probably simpler programs available for that. It is
|
|
|
|
definitely not the best tool for creating banners, flyers, or
|
2002-12-26 14:37:36 +00:00
|
|
|
advertisements, though with some effort all these can be done, too.
|
|
|
|
Some examples of what it is used for: memos, letters, dissertations
|
|
|
|
and theses, lecture notes, seminar notebooks, conference proceedings,
|
|
|
|
software documentation, books (on PostgreSQL, remote sensing,
|
|
|
|
cryptology, fictional novels, poetry, and even a children's book or
|
|
|
|
two), articles in refereed scientific journals, scripts for plays and
|
|
|
|
movies, business proposals... you get the idea.
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2002-12-26 14:37:36 +00:00
|
|
|
Currently, \fBLyX\fR uses either the XForms or Qt library as a
|
|
|
|
toolkit. \fBLyX\fR should run everywhere, where these libraries run.
|
|
|
|
This is on all major Unix platforms as well as Windows, Mac OS X
|
|
|
|
(which actually is a unix platform) and OS/2.
|
1999-09-27 18:44:28 +00:00
|
|
|
.SH OPTIONS
|
2006-07-06 14:26:07 +00:00
|
|
|
\fBLyX\fR supports the following command\-line switches.
|
1999-09-27 18:44:28 +00:00
|
|
|
.TP 6
|
|
|
|
.BI \-help
|
|
|
|
summarizes LyX usage
|
|
|
|
.TP
|
2001-09-11 13:13:03 +00:00
|
|
|
.BI \-version
|
|
|
|
provides version information on the build of LyX.
|
|
|
|
.TP
|
1999-09-27 18:44:28 +00:00
|
|
|
.BI \-sysdir " directory"
|
|
|
|
sets system directory. Normally not needed.
|
|
|
|
.TP
|
2000-05-29 15:29:50 +00:00
|
|
|
.BI \-userdir " directory"
|
2003-02-06 10:54:14 +00:00
|
|
|
sets user directory. Needed if you want to use LyX with different lyxrc
|
2000-05-29 15:29:50 +00:00
|
|
|
settings.
|
|
|
|
.TP
|
1999-12-13 15:31:52 +00:00
|
|
|
.BI \-dbg " feature[,feature...]"
|
|
|
|
where feature is a name or number.
|
2006-07-06 14:26:07 +00:00
|
|
|
Use "\fBlyx \-dbg\fR" to see the list of available debug features.
|
2000-11-30 18:11:54 +00:00
|
|
|
.TP
|
2006-07-06 14:26:07 +00:00
|
|
|
\fB \-x [\-\-execute]\fP \fIcommand
|
2000-11-30 18:11:54 +00:00
|
|
|
where command is a lyx command.
|
|
|
|
.TP
|
2006-07-06 14:26:07 +00:00
|
|
|
\fB \-e [\-\-export]\fP \fIfmt
|
2000-11-30 18:11:54 +00:00
|
|
|
where fmt is the export format of choice.
|
|
|
|
.TP
|
2006-07-06 14:26:07 +00:00
|
|
|
\fB \-i [\-\-import]\fP \fIfmt file.xxx
|
2000-11-30 18:11:54 +00:00
|
|
|
where fmt is the import format of choice and file.xxx is the file to be imported.
|
|
|
|
|
2002-12-26 14:37:36 +00:00
|
|
|
.SH XFORMS FRONTEND OPTIONS
|
|
|
|
When compiled with the XForms frontend, \fBLyX\fR understands the
|
|
|
|
following generic command line options from the \fBForms Library\fR,
|
|
|
|
which can also be specified as X resources (e. g. in .Xdefaults) with
|
|
|
|
class name \fBLyX\fR.
|
1999-09-27 18:44:28 +00:00
|
|
|
.TP 6
|
2002-12-26 14:37:36 +00:00
|
|
|
.BI \-geometry " WxH+X+Y"
|
|
|
|
specifies the preferred size and position of the main \fBLyX\fR
|
|
|
|
window; see \fIX(1)\fR.
|
|
|
|
.TP
|
1999-09-27 18:44:28 +00:00
|
|
|
.BI \-display " host:display"
|
|
|
|
specifies the server to connect to.
|
|
|
|
.TP
|
|
|
|
.BI \-bw " borderwidth"
|
2006-07-06 14:26:07 +00:00
|
|
|
specifies the border width to use to built\-in objects.
|
1999-09-27 18:44:28 +00:00
|
|
|
.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"
|
2006-07-06 14:26:07 +00:00
|
|
|
requests a specific depth. Try "\fB\-depth\fR best" or "\fB\-depth\fR
|
1999-09-27 18:44:28 +00:00
|
|
|
8" if you get a bad match.
|
|
|
|
.TP
|
|
|
|
.BI \-debug " level"
|
|
|
|
generates some info about the state of the
|
2003-02-06 10:54:14 +00:00
|
|
|
.B XForms.
|
|
|
|
where
|
1999-09-27 18:44:28 +00:00
|
|
|
.I level
|
2006-07-06 14:26:07 +00:00
|
|
|
is an integer between 1\-5 and controls the amount of
|
1999-09-27 18:44:28 +00:00
|
|
|
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
|
2003-02-06 10:54:14 +00:00
|
|
|
runs the application in synchronous mode with debug level set to 4.
|
1999-09-27 18:44:28 +00:00
|
|
|
.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
|
2003-02-06 10:54:14 +00:00
|
|
|
obtained, rather than the default executable file name.
|
1999-09-27 18:44:28 +00:00
|
|
|
.SH ENVIRONMENT
|
|
|
|
.TP
|
2003-06-23 13:18:56 +00:00
|
|
|
.B LYX_DIR_14x
|
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
|
2006-07-06 14:26:07 +00:00
|
|
|
1) \-sysdir command line parameter
|
1999-09-27 18:44:28 +00:00
|
|
|
.br
|
2003-06-23 13:18:56 +00:00
|
|
|
2) LYX_DIR_14x environment variable
|
1999-09-27 18:44:28 +00:00
|
|
|
.br
|
|
|
|
3) Maybe <path of binary>/TOP_SRCDIR/lib
|
|
|
|
.br
|
2003-02-06 10:54:14 +00:00
|
|
|
4) <path of binary>/../share/<name of binary>/
|
1999-09-27 18:44:28 +00:00
|
|
|
.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
|
2003-06-23 13:18:56 +00:00
|
|
|
.B LYX_USERDIR_14x
|
2000-05-29 15:29:50 +00:00
|
|
|
can be used to specify which user directory to use.
|
|
|
|
.PP
|
2003-02-06 10:54:14 +00:00
|
|
|
The user directory is, in order of precedence:
|
2000-05-29 15:29:50 +00:00
|
|
|
.br
|
2006-07-06 14:26:07 +00:00
|
|
|
1) \-userdir command line parameter
|
2000-05-29 15:29:50 +00:00
|
|
|
.br
|
2003-06-23 13:18:56 +00:00
|
|
|
2) LYX_USERDIR_14x environment variable
|
2000-05-29 15:29:50 +00:00
|
|
|
.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
|
2002-12-26 14:37:36 +00:00
|
|
|
~/.lyx/preferences Personal configuration file
|
2003-02-06 10:54:14 +00:00
|
|
|
~/.lyx/lyxrc.defaults Personal autodetected configuration file
|
1999-09-27 18:44:28 +00:00
|
|
|
\fILIBDIR\fR/lyxrc System wide configuration file
|
2003-02-06 10:54:14 +00:00
|
|
|
\fILIBDIR\fR/lyxrc.defaults System wide autodetected configuration file
|
1999-09-27 18:44:28 +00:00
|
|
|
\fILIBDIR\fR/configure Updates \fBLyX\fR if config has changed
|
|
|
|
\fILIBDIR\fR/bind/ Keybindings
|
|
|
|
\fILIBDIR\fR/clipart/ Clipart pictures
|
|
|
|
\fILIBDIR\fR/doc/ Documentation in \fBLyX\fR format.
|
|
|
|
\fILIBDIR\fR/examples/ Example documents
|
|
|
|
\fILIBDIR\fR/images/ Images used as icons or in popups
|
|
|
|
\fILIBDIR\fR/kbd/ Keyboard mappings
|
|
|
|
\fILIBDIR\fR/layouts/ Layout descriptions
|
|
|
|
\fILIBDIR\fR/templates/ Templates for documents
|
|
|
|
\fILIBDIR\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
|
2005-07-16 15:18:14 +00:00
|
|
|
tex2lyx(1), latex(1).
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
Full documentation in either native \fBLyX\fR or postscript format.
|
|
|
|
.SH BUGS/LIMITATIONS
|
2002-04-02 11:55:36 +00:00
|
|
|
There are still some bugs in \fBLyX\fR. To report one, read if
|
|
|
|
possible the Introduction found under the Help menu in LyX. You'll
|
|
|
|
find detailed info on submitting bug reports there. If you can't do
|
|
|
|
that, send details to the LyX Developers mailing list
|
2006-07-06 14:26:07 +00:00
|
|
|
lyx\-devel@lists.lyx.org, or use the LyX bug tracker at
|
2002-04-02 11:55:36 +00:00
|
|
|
http://bugzilla.lyx.org/. Don't forget to mention which version you
|
|
|
|
are having problems with!
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2000-05-31 14:47:46 +00:00
|
|
|
\fBLaTeX\fR import is still not perfect and may produce buggy *.lyx
|
2005-07-16 15:18:14 +00:00
|
|
|
files. Consult the \fBtex2lyx\fR documentation.
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2000-05-31 14:47:46 +00:00
|
|
|
.SH AUTHORS
|
2005-07-16 15:18:14 +00:00
|
|
|
Copyright
|
1999-09-27 18:44:28 +00:00
|
|
|
.Cr
|
2002-04-02 11:55:36 +00:00
|
|
|
1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 by Matthias Ettrich
|
2006-07-06 14:26:07 +00:00
|
|
|
(ettrich@informatik.uni\-tuebingen.de) and the rest of the \fBLyX
|
2002-12-26 14:37:36 +00:00
|
|
|
Team\fR (See About LyX under the Help menu item).
|