Hi Itai

Am 17.01.2014 22:16, schrieb Itai Shaked:> I believe the correct format name to use is the "short name", so for
> pdflatex it would be
> lyx --export pdf2 document.lyx

Works :-)

> Look in Tools->Preferences->File Handling->File Formats  to see the
> short name for each format.

I see. Good to know. Thanks a lot.

Regards
Matthias

> On Fri, Jan 17, 2014 at 10:25 AM, Matthias Weißer <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Hi
>
>     I would like to export a lyx file on the command line to a PDF. This
>     should be included in a automated process building a bigger software
>     package. I tried
>
>     Lyx.exe --export pdflatex document.lyx
>
>     but nothing happens. I can see that lyx.exe comes up in the
>     background, starts some child processes (python.exe) and then it
>     exits after a couple of seconds and the PDF isn't created. Exporting
>     the file from the editor takes about a minute or so and end
>     successfully.
>
>     Even
>
>     Lyx.exe -help
>
>     doens't produce any output. Lyx version is 2.9
>
>     Any hints?
>
>     Regards
>     Matthias
>
>

Reply via email to