RE: No console output on Windows 7

2019-03-22 Thread Pierre Woestyn
Kornel wrote:
> 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

Hello Kornel,

Ok, thanks for the clarification.

Regards, Pierre.


Re: No console output on Windows 7

2019-03-15 Thread Kornel Benko
Am Freitag, 15. März 2019 11:47:09 CET schrieb Pierre Woestyn 
:
> Kornel wrote:
> > 
> > Am Freitag, 15. März 2019 08:59:58 CET schrieb Pierre Woestyn 
> > :
> > > Kornel wrote:
> > > > 
> > > > Am Donnerstag, 14. März 2019 17:14:28 CET schrieb Pierre Woestyn 
> > > > :
> > > > > 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.


RE: No console output on Windows 7

2019-03-15 Thread Pierre Woestyn
Kornel wrote:
> 
> Am Freitag, 15. März 2019 08:59:58 CET schrieb Pierre Woestyn 
> :
> > Kornel wrote:
> > > 
> > > Am Donnerstag, 14. März 2019 17:14:28 CET schrieb Pierre Woestyn 
> > > :
> > > > 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

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.


Re: No console output on Windows 7

2019-03-15 Thread Kornel Benko
Am Freitag, 15. März 2019 08:59:58 CET schrieb Pierre Woestyn 
:
> Kornel wrote:
> > 
> > Am Donnerstag, 14. März 2019 17:14:28 CET schrieb Pierre Woestyn 
> > :
> > > 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.
> 

Kornel


signature.asc
Description: This is a digitally signed message part.


RE: No console output on Windows 7

2019-03-15 Thread Pierre Woestyn
Kornel wrote:
> 
> Am Donnerstag, 14. März 2019 17:14:28 CET schrieb Pierre Woestyn 
> :
> > Kornel wrote:
> > 
> > > Am Donnerstag, 14. März 2019 16:27:46 CET schrieb Pierre Woestyn 
> > > :
> > > > Daniel wrote:
> > > > 
> > > > > On 13/03/2019 12:28, Pierre Woestyn wrote:
> > > > > > Hello,
> > > > > > 
> > > > > > I do not see any LyX console output on Windows 7. I have the 
> > > > > > latest version. Adding the installation folder or its bin 
> > > > > > folder to the PATH does not make a difference. I found the 
> > > > > > same problem on another Windows
> > > > > > 7 desktop.
> > > > > > 
> > > > > > For reference, I am using the command:
> > > > > > 
> > > > > > "c:\Program Files (x86)\LyX 2.3\bin\LyX.exe" -help
> > > > > > 
> > > > > > Thanks in advance for any information...
> > > > > > 
> > > > > > Regards, Pierre.**
> > > > > > 
> > > > >
> > > > > I don't know how to do that either and I don't know what kind of 
> > > > > output you are looking for. But you can get a lot of messages one 
> > > > > might expect in the console from the Messages Pane (under the menu 
> > > > > View).
> > > > >
> > > > > Daniel
> > > > 
> > > > Hello Daniel,
> > > > 
> > > > Thanks for the hint. Unfortunately, besides the lack of output in the 
> > > > console window, the LyX GUI does not start either.
> > > > 
> > > > Regards, Pierre.
> > > > 
> > > 
> > > What do you mean with 'the LyX GUI does not start either'?
> > > Starting lyx, you _get_ the lyx GUI. This is the app you work with.
> > > 
> > >   Kornel
> > 
> > Hello Kornel,
> > 
> > When I run the command
> > 
> > "c:\Program Files (x86)\LyX 2.3\bin\LyX.exe" -help
> > 
> > from the Windows command prompt (cmd.exe), I see no effect: no GUI, no 
> > console output. For other commands (--export and so on), I see nothing 
> > either.
> > 
> > Regards, Pierre.
> > 
> 
> 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 
frontends/qt4/GuiView.cpp (205): widget pixel ratio: 1 splash pixel ratio: 1 
paint pixmap: 400x250@177+322
frontends/qt4/GuiView.cpp (205): widget pixel ratio: 1 splash pixel ratio: 1 
paint pixmap: 400x250@177+322
frontends/qt4/GuiView.cpp (205): widget pixel ratio: 1 splash pixel ratio: 1 
paint pixmap: 400x250@177+322
frontends/qt4/GuiView.cpp (205): widget pixel ratio: 1 splash pixel ratio: 1 
paint pixmap: 400x250@177+322
frontends/qt4/GuiView.cpp (205): widget pixel ratio: 1 splash pixel ratio: 1 
paint pixmap: 400x250@177+322
frontends/qt4/GuiView.cpp (205): widget pixel ratio: 1 splash pixel ratio: 1 
paint pixmap: 400x250@177+322
frontends/qt4/GuiView.cpp (205): widget pixel ratio: 1 splash pixel ratio: 1 
paint pixmap: 400x250@177+322
frontends/qt4/GuiClipboard.cpp (86): Creating CacheMimeData object
frontends/qt4/GuiClipboard.cpp (67): Getting Clipboard
frontends/qt4/GuiClipboard.cpp (574): Qt Clipboard changed. We found the 
following mime types:
frontends/qt4/GuiClipboard.cpp (576): text/html
frontends/qt4/GuiClipboard.cpp (576): application/vnd.oasis.opendocument.text
frontends/qt4/GuiClipboard.cpp (576): text/plain
frontends/qt4/GuiClipboard.cpp (500): We found 3 formats
frontends/qt4/GuiClipboard.cpp (502): Found format text/html
frontends/qt4/GuiClipboard.cpp (502): Found format 
application/vnd.oasis.opendocument.text
frontends/qt4/GuiClipboard.cpp (502): Found format text/plain
frontends/qt4/GuiClipboard.cpp (500): We found 3 formats
frontends/qt4/GuiClipboard.cpp (502): Found format text/html
frontends/qt4/GuiClipboard.cpp (502): Found format 
application/vnd.oasis.opendocument.text
frontends/qt4/GuiClipboard.cpp (502): Found format text/plain
frontends/qt4/GuiClipboard.cpp (500): We found 3 formats
frontends/qt4/GuiClipboard.cpp (502): Found format text/html
frontends/qt4/GuiClipboard.cpp (502): Found format 
application/vnd.oasis.opendocument.text
frontends/qt4/GuiClipboard.cpp (502): Found format text/plain

Regards, Pierre.


Re: No console output on Windows 7

2019-03-14 Thread Andrew Parsloe



On 15/03/2019 10:45 AM, Jean-Marc Lasgouttes wrote:

Le 14/03/2019 à 21:40, Jean-Marc Lasgouttes a écrit :

Le 14/03/2019 à 21:32, Paul A. Rubin a écrit :
As far as I know, the current Windows port of LyX does not generate 
console output to the command prompt. If you start LyX from a 
command prompt with debugging output turned on (for instance, "path>\lyx.exe -dbg any"), and if the LyX GUI opens, you can see what 
would have been console output via View > Messages. Starting LyX 
with commands that do not open the GUI (such as -help, as Kornel 
points out) will thwart this.


This is definitely a bad idea. I remember seeing discussion about 
special windows console behavior, but I have no idea how it really 
works.


I tried on my own windows 10 build and it just worked. Either there is 
a problem with windows 7, or the distributed build are different.


JMarc

With the 2.3.2-2 win installer provided by Riki on my windows 10 
machine, the -dbg any option starts LyX but -help doesn't.


Andrew



Re: No console output on Windows 7

2019-03-14 Thread Jean-Marc Lasgouttes

Le 14/03/2019 à 21:40, Jean-Marc Lasgouttes a écrit :

Le 14/03/2019 à 21:32, Paul A. Rubin a écrit :
As far as I know, the current Windows port of LyX does not generate 
console output to the command prompt. If you start LyX from a command 
prompt with debugging output turned on (for instance, "path>\lyx.exe -dbg any"), and if the LyX GUI opens, you can see what 
would have been console output via View > Messages. Starting LyX with 
commands that do not open the GUI (such as -help, as Kornel points 
out) will thwart this.


This is definitely a bad idea. I remember seeing discussion about 
special windows console behavior, but I have no idea how it really works.


I tried on my own windows 10 build and it just worked. Either there is a 
problem with windows 7, or the distributed build are different.


JMarc



Re: No console output on Windows 7

2019-03-14 Thread Jean-Marc Lasgouttes

Le 14/03/2019 à 21:32, Paul A. Rubin a écrit :
As far as I know, the current Windows port of LyX does not generate 
console output to the command prompt. If you start LyX from a command 
prompt with debugging output turned on (for instance, "path>\lyx.exe -dbg any"), and if the LyX GUI opens, you can see what 
would have been console output via View > Messages. Starting LyX with 
commands that do not open the GUI (such as -help, as Kornel points out) 
will thwart this.


This is definitely a bad idea. I remember seeing discussion about 
special windows console behavior, but I have no idea how it really works.


JMarc


Re: No console output on Windows 7

2019-03-14 Thread Paul A. Rubin

On 3/14/19 1:14 PM, Pierre Woestyn wrote:

Kornel wrote:


Am Donnerstag, 14. März 2019 16:27:46 CET schrieb Pierre Woestyn 
:

Daniel wrote:


On 13/03/2019 12:28, Pierre Woestyn wrote:

Hello,

I do not see any LyX console output on Windows 7. I have the
latest version. Adding the installation folder or its bin folder
to the PATH does not make a difference. I found the same problem
on another Windows
7 desktop.

For reference, I am using the command:

"c:\Program Files (x86)\LyX 2.3\bin\LyX.exe" -help

Thanks in advance for any information...

Regards, Pierre.**


I don't know how to do that either and I don't know what kind of
output you are looking for. But you can get a lot of messages one might expect 
in the console from the Messages Pane (under the menu View).

Daniel

Hello Daniel,

Thanks for the hint. Unfortunately, besides the lack of output in the console 
window, the LyX GUI does not start either.

Regards, Pierre.


What do you mean with 'the LyX GUI does not start either'?
Starting lyx, you _get_ the lyx GUI. This is the app you work with.

Kornel

Hello Kornel,

When I run the command

"c:\Program Files (x86)\LyX 2.3\bin\LyX.exe" -help

from the Windows command prompt (cmd.exe), I see no effect: no GUI, no console 
output. For other commands (--export and so on), I see nothing either.

Regards, Pierre.
As far as I know, the current Windows port of LyX does not generate 
console output to the command prompt. If you start LyX from a command 
prompt with debugging output turned on (for instance, "path>\lyx.exe -dbg any"), and if the LyX GUI opens, you can see what 
would have been console output via View > Messages. Starting LyX with 
commands that do not open the GUI (such as -help, as Kornel points out) 
will thwart this.


Paul



Re: No console output on Windows 7

2019-03-14 Thread Kornel Benko
Am Donnerstag, 14. März 2019 17:14:28 CET schrieb Pierre Woestyn 
:
> Kornel wrote:
> 
> > Am Donnerstag, 14. März 2019 16:27:46 CET schrieb Pierre Woestyn 
> > :
> > > Daniel wrote:
> > > 
> > > > On 13/03/2019 12:28, Pierre Woestyn wrote:
> > > > > Hello,
> > > > > 
> > > > > I do not see any LyX console output on Windows 7. I have the 
> > > > > latest version. Adding the installation folder or its bin folder 
> > > > > to the PATH does not make a difference. I found the same problem 
> > > > > on another Windows
> > > > > 7 desktop.
> > > > > 
> > > > > For reference, I am using the command:
> > > > > 
> > > > > "c:\Program Files (x86)\LyX 2.3\bin\LyX.exe" -help
> > > > > 
> > > > > Thanks in advance for any information...
> > > > > 
> > > > > Regards, Pierre.**
> > > > > 
> > > >
> > > > I don't know how to do that either and I don't know what kind of 
> > > > output you are looking for. But you can get a lot of messages one might 
> > > > expect in the console from the Messages Pane (under the menu View).
> > > >
> > > > Daniel
> > > 
> > > Hello Daniel,
> > > 
> > > Thanks for the hint. Unfortunately, besides the lack of output in the 
> > > console window, the LyX GUI does not start either.
> > > 
> > > Regards, Pierre.
> > > 
> > 
> > What do you mean with 'the LyX GUI does not start either'?
> > Starting lyx, you _get_ the lyx GUI. This is the app you work with.
> > 
> > Kornel
> 
> Hello Kornel,
> 
> When I run the command 
> 
>   "c:\Program Files (x86)\LyX 2.3\bin\LyX.exe" -help
> 
> from the Windows command prompt (cmd.exe), I see no effect: no GUI, no 
> console output. For other commands (--export and so on), I see nothing either.
> 
> Regards, Pierre.
> 

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

signature.asc
Description: This is a digitally signed message part.


RE: No console output on Windows 7

2019-03-14 Thread Pierre Woestyn
Kornel wrote:

> Am Donnerstag, 14. März 2019 16:27:46 CET schrieb Pierre Woestyn 
> :
> > Daniel wrote:
> > 
> > > On 13/03/2019 12:28, Pierre Woestyn wrote:
> > > > Hello,
> > > > 
> > > > I do not see any LyX console output on Windows 7. I have the 
> > > > latest version. Adding the installation folder or its bin folder 
> > > > to the PATH does not make a difference. I found the same problem 
> > > > on another Windows
> > > > 7 desktop.
> > > > 
> > > > For reference, I am using the command:
> > > > 
> > > > "c:\Program Files (x86)\LyX 2.3\bin\LyX.exe" -help
> > > > 
> > > > Thanks in advance for any information...
> > > > 
> > > > Regards, Pierre.**
> > > > 
> > >
> > > I don't know how to do that either and I don't know what kind of 
> > > output you are looking for. But you can get a lot of messages one might 
> > > expect in the console from the Messages Pane (under the menu View).
> > >
> > > Daniel
> > 
> > Hello Daniel,
> > 
> > Thanks for the hint. Unfortunately, besides the lack of output in the 
> > console window, the LyX GUI does not start either.
> > 
> > Regards, Pierre.
> > 
> 
> What do you mean with 'the LyX GUI does not start either'?
> Starting lyx, you _get_ the lyx GUI. This is the app you work with.
> 
>   Kornel

Hello Kornel,

When I run the command 

"c:\Program Files (x86)\LyX 2.3\bin\LyX.exe" -help

from the Windows command prompt (cmd.exe), I see no effect: no GUI, no console 
output. For other commands (--export and so on), I see nothing either.

Regards, Pierre.


Re: No console output on Windows 7

2019-03-14 Thread Kornel Benko
Am Donnerstag, 14. März 2019 16:27:46 CET schrieb Pierre Woestyn 
:
> Daniel wrote:
> 
> > On 13/03/2019 12:28, Pierre Woestyn wrote:
> > > Hello,
> > > 
> > > I do not see any LyX console output on Windows 7. I have the latest 
> > > version. Adding the installation folder or its bin folder to the PATH 
> > > does not make a difference. I found the same problem on another 
> > > Windows
> > > 7 desktop.
> > > 
> > > For reference, I am using the command:
> > > 
> > > "c:\Program Files (x86)\LyX 2.3\bin\LyX.exe" -help
> > > 
> > > Thanks in advance for any information...
> > > 
> > > Regards, Pierre.**
> > > 
> >
> > I don't know how to do that either and I don't know what kind of output you 
> > are looking for. But you can get a lot of messages one might expect in the 
> > console from the Messages Pane (under the menu View).
> >
> > Daniel
> 
> Hello Daniel,
> 
> Thanks for the hint. Unfortunately, besides the lack of output in the console 
> window, the LyX GUI does not start either.
> 
> Regards, Pierre.
> 

What do you mean with 'the LyX GUI does not start either'?
Starting lyx, you _get_ the lyx GUI. This is the app you work with.

Kornel



signature.asc
Description: This is a digitally signed message part.


RE: No console output on Windows 7

2019-03-14 Thread Pierre Woestyn
Daniel wrote:

> On 13/03/2019 12:28, Pierre Woestyn wrote:
> > Hello,
> > 
> > I do not see any LyX console output on Windows 7. I have the latest 
> > version. Adding the installation folder or its bin folder to the PATH 
> > does not make a difference. I found the same problem on another 
> > Windows
> > 7 desktop.
> > 
> > For reference, I am using the command:
> > 
> > "c:\Program Files (x86)\LyX 2.3\bin\LyX.exe" -help
> > 
> > Thanks in advance for any information...
> > 
> > Regards, Pierre.**
> > 
>
> I don't know how to do that either and I don't know what kind of output you 
> are looking for. But you can get a lot of messages one might expect in the 
> console from the Messages Pane (under the menu View).
>
> Daniel

Hello Daniel,

Thanks for the hint. Unfortunately, besides the lack of output in the console 
window, the LyX GUI does not start either.

Regards, Pierre.



Re: No console output on Windows 7

2019-03-14 Thread Daniel

On 13/03/2019 12:28, Pierre Woestyn wrote:

Hello,

I do not see any LyX console output on Windows 7. I have the latest 
version. Adding the installation folder or its bin folder to the PATH 
does not make a difference. I found the same problem on another Windows 
7 desktop.


For reference, I am using the command:

"c:\Program Files (x86)\LyX 2.3\bin\LyX.exe" -help

Thanks in advance for any information…

Regards, Pierre.**



I don't know how to do that either and I don't know what kind of output 
you are looking for. But you can get a lot of messages one might expect 
in the console from the Messages Pane (under the menu View).


Daniel