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
|
|
|
|
.\"
|
2009-03-09 14:48:17 +00:00
|
|
|
.TH LYX 1 "@LYX_DATE@" "Version @VERSION@" "LyX @VERSION@"
|
1999-09-27 18:44:28 +00:00
|
|
|
.SH NAME
|
2009-03-09 14:48:17 +00:00
|
|
|
LyX \- A Document Processor
|
1999-09-27 18:44:28 +00:00
|
|
|
.\"
|
|
|
|
.\" setup
|
|
|
|
.de Cr
|
|
|
|
.ie n (c)
|
|
|
|
.el \(co
|
|
|
|
..
|
|
|
|
.SH SYNOPSIS
|
2009-03-19 22:29:40 +00:00
|
|
|
\fBlyx@version_suffix@\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:27:46 +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
|
|
|
|
2007-02-24 18:01:53 +00:00
|
|
|
Currently, \fBLyX\fR uses the Qt4 library as a
|
|
|
|
toolkit. \fBLyX\fR should run everywhere, where this library runs.
|
2006-05-14 17:00:53 +00:00
|
|
|
This is on all major Unix platforms as well as Windows and Mac OS X
|
|
|
|
(which actually is a unix platform).
|
1999-09-27 18:44:28 +00:00
|
|
|
.SH OPTIONS
|
2006-07-06 14:27:46 +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
|
2008-04-13 11:55:46 +00:00
|
|
|
.BI \-geometry " WxH+X+Y"
|
|
|
|
set geometry of the main window.
|
|
|
|
.TP
|
1999-12-13 15:31:52 +00:00
|
|
|
.BI \-dbg " feature[,feature...]"
|
|
|
|
where feature is a name or number.
|
2009-03-19 22:29:40 +00:00
|
|
|
Use "\fBlyx@version_suffix@ \-dbg\fR" to see the list of available debug features.
|
2000-11-30 18:11:54 +00:00
|
|
|
.TP
|
2006-07-06 14:27:46 +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:27:46 +00:00
|
|
|
\fB \-e [\-\-export]\fP \fIfmt
|
2011-12-08 23:03:36 +00:00
|
|
|
where fmt is the export format of choice (latex, pdflatex, lualatex, xelatex, xhtml, text, lyx).
|
2011-02-03 20:37:05 +00:00
|
|
|
Note that the order of \-e and \-x switches matters.
|
2000-11-30 18:11:54 +00:00
|
|
|
.TP
|
2006-07-06 14:27:46 +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.
|
2010-04-01 13:31:33 +00:00
|
|
|
.TP
|
2010-04-20 00:58:48 +00:00
|
|
|
\fB \-f [\-\-force\-overwrite]\fP \fIwhat
|
2010-07-17 17:55:46 +00:00
|
|
|
where what is is either "\fBall\fR", "\fBmain\fR" or "\fBnone\fR".
|
|
|
|
Specify "\fBall\fR" to allow overwriting all files during a batch export,
|
|
|
|
"\fBmain\fR" to allow overwriting the main file only, or "\fBnone\fR"
|
|
|
|
to disallow overwriting any file. When this switch is followed by anything
|
|
|
|
else other than "\fBall\fR", "\fBmain\fR" or "\fBnone\fR", the behavior is as
|
|
|
|
if "\fBall\fR" was specified, but what follows is left on the command line for
|
|
|
|
further processing.
|
2010-04-20 00:58:48 +00:00
|
|
|
.TP
|
2010-11-13 11:55:05 +00:00
|
|
|
\fB \-n [\-\-no\-remote]\fP
|
|
|
|
open documents passed as arguments in a new instance, even if another
|
|
|
|
instance of LyX is already running.
|
|
|
|
.TP
|
|
|
|
\fB \-r [\-\-remote]\fP
|
|
|
|
by using the lyxpipe, ask an already running instance of LyX to open the
|
|
|
|
documents passed as arguments and then exit. If the lyxpipe is not set up or
|
|
|
|
is not working, a new instance is created and execution continues normally.
|
|
|
|
.TP
|
2011-02-03 20:37:05 +00:00
|
|
|
.BI \-batch
|
2010-04-01 13:31:33 +00:00
|
|
|
causes LyX to run the given commands without opening a GUI window.
|
|
|
|
Thus, something like:
|
|
|
|
.br
|
2011-02-03 20:37:05 +00:00
|
|
|
lyx \-batch \-x "buffer\-print printer default dvips" myfile.lyx
|
2010-04-01 13:31:33 +00:00
|
|
|
.br
|
|
|
|
will cause LyX to print myfile.lyx to the default printer, using dvips and
|
|
|
|
the default print settings (which, of course, have to have been configured
|
|
|
|
already).
|
2000-11-30 18:11:54 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
.SH ENVIRONMENT
|
|
|
|
.TP
|
2008-08-14 10:38:31 +00:00
|
|
|
.B @LYX_DIR_VER@
|
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:27:46 +00:00
|
|
|
1) \-sysdir command line parameter
|
1999-09-27 18:44:28 +00:00
|
|
|
.br
|
2008-08-12 21:18:49 +00:00
|
|
|
2) @LYX_DIR_VER@ 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
|
2008-08-12 21:18:49 +00:00
|
|
|
5) hardcoded lyx_dir (at build time: @real_pkgdatadir@)
|
2000-05-29 15:29:50 +00:00
|
|
|
.TP
|
2008-08-14 10:38:31 +00:00
|
|
|
.B @LYX_USERDIR_VER@
|
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:27:46 +00:00
|
|
|
1) \-userdir command line parameter
|
2000-05-29 15:29:50 +00:00
|
|
|
.br
|
2008-08-12 21:18:49 +00:00
|
|
|
2) @LYX_USERDIR_VER@ 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.
|
2010-07-17 17:55:46 +00:00
|
|
|
|
|
|
|
.TP
|
|
|
|
.B LYX_FORCE_OVERWRITE
|
|
|
|
can be used to change the default behavior when exporting from command
|
|
|
|
line.
|
|
|
|
.PP
|
|
|
|
By default, LyX overwrites the main file when exporting from command
|
|
|
|
line but not the ancillary files. This behavior can be changed by setting
|
|
|
|
this environment variable, which relieves the need of using the \-f switch.
|
|
|
|
Allowed values are either "\fBall\fR", "\fBmain\fR" or "\fBnone\fR", with
|
|
|
|
same meaning as for the \-f switch.
|
1999-09-27 18:44:28 +00:00
|
|
|
.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
|
2007-02-24 18:01:53 +00:00
|
|
|
\fILIBDIR\fR/lyxrc.dist System wide configuration file
|
|
|
|
\fILIBDIR\fR/configure.py Updates \fBLyX\fR if config has changed
|
1999-09-27 18:44:28 +00:00
|
|
|
\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
|
2008-11-10 14:31:35 +00:00
|
|
|
.sp
|
1999-09-27 18:44:28 +00:00
|
|
|
.fi
|
|
|
|
|
|
|
|
.I LIBDIR
|
2008-08-12 21:18:49 +00:00
|
|
|
is the system directory. This was at build time @real_pkgdatadir@.
|
1999-09-27 18:44:28 +00:00
|
|
|
.SH SEE ALSO
|
2009-03-19 22:29:40 +00:00
|
|
|
tex2lyx@version_suffix@(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:27:46 +00:00
|
|
|
lyx\-devel@lists.lyx.org, or use the LyX bug tracker at
|
2011-12-08 23:03:36 +00:00
|
|
|
http://www.lyx.org/trac/wiki/BugTrackerHome.
|
|
|
|
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
|
2009-03-19 22:29:40 +00:00
|
|
|
files. Consult the \fBtex2lyx@version_suffix@\fR documentation.
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2000-05-31 14:47:46 +00:00
|
|
|
.SH AUTHORS
|
2010-04-01 16:39:19 +00:00
|
|
|
LyX is Copyright (C) 1995 by Matthias Ettrich, 1995-2010 LyX Team
|