]> git.lyx.org Git - lyx.git/commitdiff
Documenting the new -E command-line option (added in r39678).
authorTommaso Cucinotta <tommaso@lyx.org>
Mon, 19 Sep 2011 12:33:43 +0000 (12:33 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Mon, 19 Sep 2011 12:33:43 +0000 (12:33 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39710 a592a061-630c-0410-9148-cb99ea01b6c8

RELEASE-NOTES

index 64a6fd639f533acb1a1078b6205c98428c1e7cd5..7c79a7ee69cb9b600a16ade06d30b981a4538fcc 100644 (file)
@@ -8,14 +8,26 @@ been applied because of incomplete testing.
 Interface changes
 -----------------
 
-There have been some changes to the LyX command line. There is a new option 
-"--batch" that causes LyX to run the given commands without opening a GUI 
-window. Thus, something like:
-    lyx -batch -x "buffer-print printer default dvips" myfile.lyx
-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). At present, not many commands can be used this way, but there will
-be more eventually.
+There have been some changes to the LyX command line. The following new
+options have been added:
+
+-batch
+
+  Causes LyX to run the given commands without opening a GUI window.
+  Thus, something like:
+        lyx -batch -x "buffer-print printer default dvips" myfile.lyx
+  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). At present, not many commands can be used
+  this way, but there will be more eventually.
+
+-export-to <format> <dest>    (-E <format> <dest>)
+
+  Allows one to perform a batch export of the LyX file that is opened
+  to the specified destination file <dest> and format <format>.
+  For example, to create a PDF of a LyX document, you can run:
+    lyx -export-to pdf /path/to/dest.pdf /path/to/source.lyx
+  See the manual page for details.
 
 A bash completion script was added to the tarball.