]> git.lyx.org Git - lyx.git/blobdiff - lyx.1in
Launch external Windows processes for e.g. display image conversion using CreateProce...
[lyx.git] / lyx.1in
diff --git a/lyx.1in b/lyx.1in
index 75a6561c7c4575151f83067d404e2972b52868dd..6573d9594f922517c79d18a617cc3c68bbad8414 100644 (file)
--- a/lyx.1in
+++ b/lyx.1in
@@ -3,9 +3,9 @@
 .\"
 .\"  tbl lyx.1 | nroff -man | less
 .\"
 .\"
 .\"  tbl lyx.1 | nroff -man | less
 .\"
-.TH LYX 1 "Sept 2008" "Version 1.6" "LyX 1.6"
+.TH LYX 1 "@LYX_DATE@" "Version @VERSION@" "LyX @VERSION@"
 .SH NAME
 .SH NAME
-lyx \- A Document Processor
+LyX \- A Document Processor
 .\"
 .\" setup
 .de Cr
 .\"
 .\" setup
 .de Cr
@@ -13,7 +13,7 @@ lyx \- A Document Processor
 .el \(co
 ..
 .SH SYNOPSIS
 .el \(co
 ..
 .SH SYNOPSIS
-\fBlyx\fR [ \fIcommand\-line switches\fR ] [ \fIname[.lyx] ...\fR ]
+\fBlyx@version_suffix@\fR [ \fIcommand\-line switches\fR ] [ \fIname[.lyx] ...\fR ]
 .br
 .SH DESCRIPTION
 \fBLyX\fR is too complex to be described completely in the "man" page
 .br
 .SH DESCRIPTION
 \fBLyX\fR is too complex to be described completely in the "man" page
@@ -61,7 +61,7 @@ set geometry of the main window.
 .TP
 .BI \-dbg " feature[,feature...]"
 where feature is a name or number.
 .TP
 .BI \-dbg " feature[,feature...]"
 where feature is a name or number.
-Use "\fBlyx \-dbg\fR" to see the list of available debug features.
+Use "\fBlyx@version_suffix@ \-dbg\fR" to see the list of available debug features.
 .TP
 \fB \-x [\-\-execute]\fP \fIcommand
 where command is a lyx command.
 .TP
 \fB \-x [\-\-execute]\fP \fIcommand
 where command is a lyx command.
@@ -69,13 +69,31 @@ where command is a lyx command.
 \fB \-e [\-\-export]\fP \fIfmt
 where fmt is the export format of choice.
 Look on Tools->Preferences->File formats->Format to get an idea which parameters should be passed.
 \fB \-e [\-\-export]\fP \fIfmt
 where fmt is the export format of choice.
 Look on Tools->Preferences->File formats->Format to get an idea which parameters should be passed.
+Note that the order of -e and -x switches matters.
 .TP
 \fB \-i [\-\-import]\fP \fIfmt file.xxx
 where fmt is the import format of choice and file.xxx is the file to be imported.
 .TP
 \fB \-i [\-\-import]\fP \fIfmt file.xxx
 where fmt is the import format of choice and file.xxx is the file to be imported.
+.TP
+\fB \-f [\-\-force\-overwrite]\fP \fIwhat
+where what is is either "\fBall\fR" or "\fBmain\fR".
+Using "\fBall\fR", all files are overwritten during a batch export, otherwise
+only the main file will be. When this switch is followed by anything else other
+than "\fBall\fR" or "\fBmain\fR", the behavior is as if "\fBall\fR" was
+specified, but what follows is left on the command line for further processing.
+.TP
+.BI -batch
+causes LyX to run the given commands without opening a GUI window.
+Thus, something like:
+.br
+    lyx -batch -x "buffer-print printer default dvips" myfile.lyx
+.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).
 
 .SH ENVIRONMENT
 .TP
 
 .SH ENVIRONMENT
 .TP
-.B LYX_DIR_VER
+.B @LYX_DIR_VER@
 can be used to specify which system directory to use.
 .PP
 The system directory is determined by searching for the file
 can be used to specify which system directory to use.
 .PP
 The system directory is determined by searching for the file
@@ -91,7 +109,7 @@ The system directory is determined by searching for the file
 .br
 5) hardcoded lyx_dir (at build time: @real_pkgdatadir@)
 .TP
 .br
 5) hardcoded lyx_dir (at build time: @real_pkgdatadir@)
 .TP
-.B LYX_USERDIR_VER
+.B @LYX_USERDIR_VER@
 can be used to specify which user directory to use.
 .PP
 The user directory is, in order of precedence:
 can be used to specify which user directory to use.
 .PP
 The user directory is, in order of precedence:
@@ -122,13 +140,13 @@ strings in other languages.
 \fILIBDIR\fR/layouts/   Layout descriptions
 \fILIBDIR\fR/templates/ Templates for documents
 \fILIBDIR\fR/tex/       Extra TeX files
 \fILIBDIR\fR/layouts/   Layout descriptions
 \fILIBDIR\fR/templates/ Templates for documents
 \fILIBDIR\fR/tex/       Extra TeX files
-.Sp
+.sp
 .fi
 
 .I LIBDIR
 is the system directory. This was at build time @real_pkgdatadir@.
 .SH SEE ALSO
 .fi
 
 .I LIBDIR
 is the system directory. This was at build time @real_pkgdatadir@.
 .SH SEE ALSO
-tex2lyx(1), latex(1).
+tex2lyx@version_suffix@(1), latex(1).
 
 Full documentation in either native \fBLyX\fR or postscript format.
 .SH BUGS/LIMITATIONS
 
 Full documentation in either native \fBLyX\fR or postscript format.
 .SH BUGS/LIMITATIONS
@@ -141,7 +159,7 @@ http://bugzilla.lyx.org/. Don't forget to mention which version you
 are having problems with!
 
 \fBLaTeX\fR import is still not perfect and may produce buggy *.lyx
 are having problems with!
 
 \fBLaTeX\fR import is still not perfect and may produce buggy *.lyx
-files. Consult the \fBtex2lyx\fR documentation.
+files. Consult the \fBtex2lyx@version_suffix@\fR documentation.
 
 .SH AUTHORS
 
 .SH AUTHORS
-LyX is Copyright (C) 1995 by Matthias Ettrich, 1995-2008 LyX Team
+LyX is Copyright (C) 1995 by Matthias Ettrich, 1995-2010 LyX Team