mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Documenting the new -E command-line option (added in r39678).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39710 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2823eed291
commit
7ca9f7059e
@ -8,14 +8,26 @@ been applied because of incomplete testing.
|
|||||||
Interface changes
|
Interface changes
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
There have been some changes to the LyX command line. There is a new option
|
There have been some changes to the LyX command line. The following new
|
||||||
"--batch" that causes LyX to run the given commands without opening a GUI
|
options have been added:
|
||||||
window. Thus, something like:
|
|
||||||
lyx -batch -x "buffer-print printer default dvips" myfile.lyx
|
-batch
|
||||||
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
|
Causes LyX to run the given commands without opening a GUI window.
|
||||||
already). At present, not many commands can be used this way, but there will
|
Thus, something like:
|
||||||
be more eventually.
|
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.
|
A bash completion script was added to the tarball.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user