LaTeX forum ⇒ Texmaker and TeXstudioTexMaker limiting log file line length (how to change) Topic is solved

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Posts: 2
Joined: Mon Mar 06, 2023 6:37 pm

TexMaker limiting log file line length (how to change)

Postby wagner » Mon Mar 06, 2023 8:12 pm

I am wanting to get TexMaker (in Windows) to generate log messages with longer line lengths. Currently I am getting the lines to be wrapped at 80 characters. Loading the log file into a text editor is showing the same issue, so TexMaker or one of its tools is apparently causing this.

What specifically is causing the line wrapping and is there an option to not wrap the lines at 80 characters in the generated log file or to at least set the wrapping column to be much greater than 80 characters?

Recommended reading 2021: •
LaTeX Beginner's Guide LaTeX Cookbook
User avatar
Posts: 89
Joined: Fri Jan 28, 2022 6:09 pm

TexMaker limiting log file line length (how to change)  Topic is solved

Postby MjK » Tue Mar 07, 2023 10:35 am

The line length in the log-files of the LaTeX run are not limited by the editor—in your case TeXmaker—but are a hard coded limitation of the TeX engines. AFAIK it cannot be changed. This is indeed also a problem of several programs (e.g. most LaTeX editors), that try to analyze the log or the terminal output.
My main topics are KOMA-Script and other questions related to my packages. If I reply to any other topic or if you've not yet added a minimal working example, please do not expect any further response. And please don't forget to tag examples as code.

Posts: 2
Joined: Mon Mar 06, 2023 6:37 pm

TexMaker limiting log file line length (how to change)

Postby wagner » Tue Mar 07, 2023 6:53 pm

I did discover that I could add the following commandline argument to "pdflatex" in Texmaker, the environment I am using.

In Texmaker, under the "Options/Texmaker" menu selection, within the popup "Configure Texmaker" window, in the field for the PdfLaTeX command line, one can add the following option "-max-print-line=10000" (10000 value was arbitrarily chosen) to increase the line length before wrapping greater than the default 79 characters.

Screenshot of TExmaker configuration window with highlighted max-print-line option
Texmaker_max-print-line_option.jpg (117.98 KiB) Viewed 232 times

Return to “Texmaker and TeXstudio”

Who is online

Users browsing this forum: No registered users and 1 guest