texstudio-org / texstudio

TeXstudio is a fully featured LaTeX editor. Our goal is to make writing LaTeX documents as easy and comfortable as possible.
http://www.texstudio.org/
GNU General Public License v3.0
2.85k stars 346 forks source link

Improve readability of 'Messages' by keeping some newline characters #772

Open dryo opened 5 years ago

dryo commented 5 years ago

When compiling the results in the Message pane are all in one line because the newline characters get lost or are filtered. Sometimes I want to have a look at the messages but they are not easy to the eye. I'd like to see some newlines being kept.

Environment

Expected behaviour

Have an output similar to the one I get from Windows Command Line e.g. like this:

stdin -> main.pdf
[1][2][3][4][5][6][7][8][9][10][11][12][13][14]
[15 xdvipdfmx:warning: << /Rotate 90 >> found. (Not supported yet) ]
[16 xdvipdfmx:warning: << /Rotate 90 >> found. (Not supported yet) ]
[17][18][19][20][21][22][23][24][25][26][27][28][29][30][31]

xdvipdfmx:warning: PDF destination "glo:auto3cfrd-g" not defined.
xdvipdfmx:warning: PDF destination "glo:3pard-g" not defined.
xdvipdfmx:warning: PDF destination "Hfootnote.1" not defined.
xdvipdfmx:warning: PDF destination "Hfootnote.2" not defined.
xdvipdfmx:warning: PDF destination "Hfootnote.3" not defined.
xdvipdfmx:warning: PDF destination "Hfootnote.4" not defined.
xdvipdfmx:warning: PDF destination "glo:prpd-g" not defined.
xdvipdfmx:warning: PDF destination "glo:3ptrd-g" not defined.
xdvipdfmx:warning: PDF destination "glo:hvdc" not defined.

721151 bytes written

Actual behavior

The output is all on one line like this:

stdin -> main.pdf [1][2][3][4][5][6][7][8][9][10][11][12][13][14][15 xdvipdfmx:warning: << /Rotate 90 >> found. (Not supported yet) ][16 xdvipdfmx:warning: << /Rotate 90 >> found. (Not supported yet) ][17][18][19][20][21][22][23][24][25][26][27][28][29][30][31] xdvipdfmx:warning: PDF destination "glo:auto3cfrd-g" not defined. xdvipdfmx:warning: PDF destination "glo:3pard-g" not defined. xdvipdfmx:warning: PDF destination "Hfootnote.1" not defined. xdvipdfmx:warning: PDF destination "Hfootnote.2" not defined. xdvipdfmx:warning: PDF destination "Hfootnote.3" not defined. xdvipdfmx:warning: PDF destination "Hfootnote.4" not defined. xdvipdfmx:warning: PDF destination "glo:prpd-g" not defined. xdvipdfmx:warning: PDF destination "glo:3ptrd-g" not defined. xdvipdfmx:warning: PDF destination "glo:hvdc" not defined. 721151 bytes written

How to reproduce

Just compile something with some warnings. I have to admit I didn't test it on another machine.

sunderme commented 5 years ago

@timhoffm could you give a comment on this ?

timhoffm commented 5 years ago

@dryo please provide a full minimal example. I cannot reproduce this.

antodc commented 4 years ago

I am new to GitHub and I apologize if this is not the proper way to interact, but I have a very similar issue. You can find below an example of what I see as output log in the Messages panel. It seems that final parentheses break the lines and, in addition, blank lines are added. I would like to have the output in the same format as that I obtain from the command line. I am using pdflatex from TeXLive 2020, TeXstudio 3.0.1 (git 3.0.1) Using Qt Version 5.12.1, compiled with Qt 5.12.1 R, Windows 10.


(d:/Dati/Programmi/TeXLive/2020/texmf-dist/tex/latex/url/url.sty

)

(d:/Dati/Programmi/TeXLive/2020/texmf-dist/tex/latex/float/float.sty

)

(d:/Dati/Programmi/TeXLive/2020/texmf-dist/tex/latex/natbib/natbib.sty

)

(d:/Dati/Programmi/TeXLive/2020/texmf-dist/tex/latex/xcolor/xcolor.sty

(d:/Dati/Programmi/TeXLive/2020/texmf-dist/tex/latex/graphics-cfg/color.cfg

)

[1

]

[2

]

[3

]

antodc commented 4 years ago

As an example of my previuos comment, use pdflatex to compile the following:

\documentclass{article} \begin{document} This is a test. \end{document}

I get the output you can see in TeXstudio-output.txt. You can compare it to what I get from the terminal in terminal-output.txt. The second one is much more readable.

TeXstudio-output.txt terminal-output.txt