X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lyx.1in;h=6573d9594f922517c79d18a617cc3c68bbad8414;hb=e6254e6fb2113e59832fbd31c941e0e520ebf0f2;hp=2a6348c48f36442e008ffeb8f018cefcd2ad54f4;hpb=eb74cde19bf3c0b0003423c584e0e2eafd4d685c;p=lyx.git diff --git a/lyx.1in b/lyx.1in index 2a6348c48f..6573d9594f 100644 --- a/lyx.1in +++ b/lyx.1in @@ -73,6 +73,23 @@ 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 \-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 @@ -145,4 +162,4 @@ are having problems with! files. Consult the \fBtex2lyx@version_suffix@\fR documentation. .SH AUTHORS -LyX is Copyright (C) 1995 by Matthias Ettrich, 1995-2009 LyX Team +LyX is Copyright (C) 1995 by Matthias Ettrich, 1995-2010 LyX Team