Am Freitag, 15. März 2019 11:47:09 CET schrieb Pierre Woestyn <pierre.woes...@onsemi.com>: > Kornel wrote: > > > > Am Freitag, 15. März 2019 08:59:58 CET schrieb Pierre Woestyn > > <pierre.woes...@onsemi.com>: > > > Kornel wrote: > > > > > > > > Am Donnerstag, 14. März 2019 17:14:28 CET schrieb Pierre Woestyn > > > > <pierre.woes...@onsemi.com>: > > > > > Kornel wrote: > > > > > > > ... > > > > > > > > Please start lyx as you do normally. The hint was in this respect. > > > > > > > > The parameter '-help' shows output on console, but does not start lyx. > > > > Since the console output is not working for you, you don't see anything. > > > > > > > > Kornel > > > > > > > > > > Hello Kornel, > > > > > > Sorry, I misunderstood. After starting the GUI from the start menu, the > > > debug messages are: > > > > > > 09:56:19.617: (dialog-toggle progress)frontends/qt4/GuiApplication.cpp > > > (1357): dispatch msg is > > > > ... > > > > So, now that you see the output, you can select the debug info you need. > > See Wiew->Messages Pane->Settings > > Select 'Debug messages->Selected' and select any debug line with double > > click Then the tab 'Output' shows the expected debug messages. > > > > > > > > Regards, Pierre. > > > > > > > Hello Kornel, > > Sorry, I think I did not formulate my problem precisely enough. I was trying > to export documents (LyX > PDF) on the command line: > > C:\>"c:\Program Files (x86)\LyX 2.3\bin\LyX.exe" input.lyx --export pdf > > This did not work, LyX exits immediately producing a PDF or printing anything > on the console. It also does not start the GUI. So I tried the help: > > C:\>"c:\Program Files (x86)\LyX 2.3\bin\LyX.exe" -export pdf
What you wanted is probably ... -export pdf2 The pdf export uses the path latex - dvips - ps2pdf while pdf2 uses directly pdflatex to create a pdf file. > This also printed nothing; this was the problem I reported because I thought > it made sense to report the simplest possible problem. However, my end goal > is to export LyX documents to PDF and TeX from the command line. Sorry about > the confusion. > > Regards, Pierre. > This _IS_ the way lyx. works. '-export' does not use the GUI. Unfortunately the latex log-files are created in a temp directory which is deleted afterwards. So, to see this log file, you are forced to export from inside a lyx session File->Export->PDF (pdflatex) and then use Document->Latex Log to examine the latex output. Kornel
signature.asc
Description: This is a digitally signed message part.