owards #13132 - Extend the default length of pdftex log lines

Enrico Forestieri forenr at lyx.org
Sun May 18 00:06:49 UTC 2025


On Sun, May 18, 2025 at 01:08:24AM +0200, Pavel Sanda wrote:
>
>Can someone on windows confirm the attached patch works?
>(Mac would be also nice but I am reasonably confident this works there as well.)
>
>Just compile the introduction manual, go to the Document->LaTeX log
>and check that at the very end the list of paths is superlong line.

I already have max_print_line=1024 in the MiKTeX configuration files. 
Hence, I tried to confirm that it works the other way around, i.e. I 
replaced "999" with "80" in the patch. Unfortunately, I still have a 
superlong line at the end of the log file...

>diff --git a/src/LyX.cpp b/src/LyX.cpp
>index 8c15ff9891..d6b5b04449 100644
>--- a/src/LyX.cpp
>+++ b/src/LyX.cpp
>@@ -323,6 +323,8 @@ int LyX::exec(int & argc, char * argv[])
> 	// something interesting about the locale directory.
> 	setLocale();
> 
>+	setEnv("max_print_line","999");
>+
> 	if (!use_gui) {
> 		LyXConsoleApp app(this, argc, argv);
> 

-- 
Enrico


More information about the lyx-devel mailing list