2 .\" Use the following command to view man page:
4 .\" tbl lyx.1 | nroff -man | less
6 .TH LYX 1 "Jan 2003" "Version 1.4" "LyX 1.4"
8 lyx \- A Document Processor
16 \fBlyx\fR [ \fIcommand-line switches\fR ] [ \fIname[.lyx] ...\fR ]
19 \fBLyX\fR is too complex to be described completely in the "man" page
20 format. If your system is properly configured, you can access the full
21 documentation within \fBLyX\fR under the Help menu.
23 \fBLyX\fR is a document preparation system. It excels at letting you
24 create complex technical and scientific articles with mathematics,
25 cross-references, bibliographies, indices, etc. It is very good at
26 documents of any length in which the usual processing abilities are
27 required: automatic sectioning and pagination, spellchecking, and so
28 forth. It can also be used to write a letter to your mom, though
29 granted, there are probably simpler programs available for that. It is
30 definitely not the best tool for creating banners, flyers, or
31 advertisements, though with some effort all these can be done, too.
32 Some examples of what it is used for: memos, letters, dissertations
33 and theses, lecture notes, seminar notebooks, conference proceedings,
34 software documentation, books (on PostgreSQL, remote sensing,
35 cryptology, fictional novels, poetry, and even a children's book or
36 two), articles in refereed scientific journals, scripts for plays and
37 movies, business proposals... you get the idea.
39 Currently, \fBLyX\fR uses either the XForms or Qt library as a
40 toolkit. \fBLyX\fR should run everywhere, where these libraries run.
41 This is on all major Unix platforms as well as Windows, Mac OS X
42 (which actually is a unix platform) and OS/2.
44 \fBLyX\fR supports the following command-line switches.
50 provides version information on the build of LyX.
52 .BI \-sysdir " directory"
53 sets system directory. Normally not needed.
55 .BI \-userdir " directory"
56 sets user directory. Needed if you want to use LyX with different lyxrc
59 .BI \-dbg " feature[,feature...]"
60 where feature is a name or number.
61 Use "\fBlyx -dbg\fR" to see the list of available debug features.
63 \fB -x [--execute]\fP \fIcommand
64 where command is a lyx command.
66 \fB -e [--export]\fP \fIfmt
67 where fmt is the export format of choice.
69 \fB -i [--import]\fP \fIfmt file.xxx
70 where fmt is the import format of choice and file.xxx is the file to be imported.
72 .SH XFORMS FRONTEND OPTIONS
73 When compiled with the XForms frontend, \fBLyX\fR understands the
74 following generic command line options from the \fBForms Library\fR,
75 which can also be specified as X resources (e. g. in .Xdefaults) with
78 .BI \-geometry " WxH+X+Y"
79 specifies the preferred size and position of the main \fBLyX\fR
80 window; see \fIX(1)\fR.
82 .BI \-display " host:display"
83 specifies the server to connect to.
85 .BI \-bw " borderwidth"
86 specifies the border width to use to built-in objects.
88 .BI \-visual " visualName"
89 requests a visual by name such as TrueColor etc. By default the
91 always selects the visual that has the most depth.
94 requests a specific depth. Try "\fB-depth\fR best" or "\fB-depth\fR
95 8" if you get a bad match.
98 generates some info about the state of the
102 is an integer between 1-5 and controls the amount of
103 information to output. Depending on the options used
106 was built, a level more than 3 might not be available.
109 runs the application in synchronous mode with debug level set to 4.
112 requests a private colormap for the application.
115 requests a shared colormap even if the application needs more
116 colors than available. For those colors that can't be allocated
117 in the shared colormap, substitutions are made so the closest
118 matching color is used.
121 requests a standard colormap.
124 specifies the application name under which resources are to be
125 obtained, rather than the default executable file name.
129 can be used to specify which system directory to use.
131 The system directory is determined by searching for the file
132 "chkconfig.ltx". Directories are searched in this order:
134 1) -sysdir command line parameter
136 2) LYX_DIR_14x environment variable
138 3) Maybe <path of binary>/TOP_SRCDIR/lib
140 4) <path of binary>/../share/<name of binary>/
142 5) hardcoded lyx_dir (usually /usr/local/share/lyx on UNIX and %X11ROOT%\\XFree86\\lib\\X11\\lyx on OS/2 with XFree)
145 can be used to specify which user directory to use.
147 The user directory is, in order of precedence:
149 1) -userdir command line parameter
151 2) LYX_USERDIR_14x environment variable
153 3) $HOME/.<name of binary> if no explicit setting is made
157 can be used to tell LyX where to look for the translations of its GUI
158 strings in other languages.
161 .ta \w'\fILIBDIR\fR/lyxrc.in 'u
162 ~/.lyx/preferences Personal configuration file
163 ~/.lyx/lyxrc.defaults Personal autodetected configuration file
164 \fILIBDIR\fR/lyxrc System wide configuration file
165 \fILIBDIR\fR/lyxrc.defaults System wide autodetected configuration file
166 \fILIBDIR\fR/configure Updates \fBLyX\fR if config has changed
167 \fILIBDIR\fR/bind/ Keybindings
168 \fILIBDIR\fR/clipart/ Clipart pictures
169 \fILIBDIR\fR/doc/ Documentation in \fBLyX\fR format.
170 \fILIBDIR\fR/examples/ Example documents
171 \fILIBDIR\fR/images/ Images used as icons or in popups
172 \fILIBDIR\fR/kbd/ Keyboard mappings
173 \fILIBDIR\fR/layouts/ Layout descriptions
174 \fILIBDIR\fR/templates/ Templates for documents
175 \fILIBDIR\fR/tex/ Extra TeX files
180 is the system directory. This is usually /usr/local/share/lyx on UNIX and %X11ROOT%\\XFree86\\lib\\X11\\lyx on OS/2 with XFree.
182 reLyX(1), latex(1), xforms(5).
184 Full documentation in either native \fBLyX\fR or postscript format.
186 There are still some bugs in \fBLyX\fR. To report one, read if
187 possible the Introduction found under the Help menu in LyX. You'll
188 find detailed info on submitting bug reports there. If you can't do
189 that, send details to the LyX Developers mailing list
190 lyx-devel@lists.lyx.org, or use the LyX bug tracker at
191 http://bugzilla.lyx.org/. Don't forget to mention which version you
192 are having problems with!
194 \fBLaTeX\fR import is still not perfect and may produce buggy *.lyx
195 files. Consult the \fBreLyX\fR documentation.
200 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 by Matthias Ettrich
201 (ettrich@informatik.uni-tuebingen.de) and the rest of the \fBLyX
202 Team\fR (See About LyX under the Help menu item).