Questions tagged [logging]
{logging} is about questions that concern information in the log file. For other files created during the compilation, use {auxiliary-files} instead.
115 questions
1
vote
1
answer
67
views
tabularray produces multiple msg_info/warning-outputs
Within the tblr-environment I have a custom command which has a \msg_*-output. But it produces the output four times. Outside of the tblr the output appears only once.
\documentclass{article}
\...
6
votes
1
answer
135
views
How can I get a collection of my custom msg_warning?
I am writing a new documentclass in which I am implementing some msg_warning etc.
To help the user getting a quick overview of any potential warnings and issues that come from the documentclass I ...
2
votes
0
answers
50
views
Can I further normalise output in comparison logs for l3build?
I am trying to write a test to check the information chronos packages provide about themselves. The packages all use svn-prov. My .lvt is effectively
\RequirePackage{svn-prov}
\ProvidesFileSVN{$Id: ...
0
votes
2
answers
124
views
How to automatically track all command/environment and its argument types used in the document?
I am currently working on a project where I need to track every command (including primitive, user-defined, and environment commands) in any given TeX documents, along with the number and types of ...
0
votes
0
answers
69
views
is it possible to let latex log output with level
when I use the latex to compile, the log ouput like this:
This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023) (preloaded format=xelatex 2023.5.24) 5 JAN 2025 09:46
entering extended mode
...
2
votes
1
answer
117
views
Equivalent to wrapup_run for log file?
Using lualatex with TeXlive 2024, Linux, compiling via Terminal command.
Thanks to the luatex wrapup_run (and help previously provided at this forum), I can write a message to Terminal, which appears ...
0
votes
1
answer
95
views
Investigate compilation font infos
Thanks to texlogsieve, I can investigate compilation messages.
I have the following message. How can I investigate this type of message?
pg 1: LaTeX Font Info: Font shape `T1/cmtt/bx/it' in size &...
1
vote
2
answers
195
views
Analysis of a `log` file [duplicate]
Is there a tool to help analyze the log files produced by (La)TeX? For example, this type of tool should be able to list all warnings issued.
0
votes
0
answers
102
views
LaTeX Warning: which document is concerned?
My log file is about 15,000 lines long, and identifying all the warnings is not easy, particularly those that look like:
LaTeX Warning: Reference `' on page 76 undefined on input line 282.
I have ...
0
votes
0
answers
54
views
How do I find the problems in my log, separate \include files, when the line number references are unclear?
I am using TexStudio version 4.7.2 (Qt version 6.6.0) on MacOS Monterey 12.7.5 (older Mac)
My document has chapters, which I open as separate .tex files in the TexStudio session. The navigation pane ...
1
vote
0
answers
165
views
Converting cleveref macros to standard LaTeX
My goal is to create a function in Emacs Lisp to interactively convert macros provided by the cleveref package (\cref, \Cref, etc.) into standard LaTeX:
For example:
\cref{sec:1} --> section~\ref{...
3
votes
0
answers
40
views
No redefinition information in the transcript file
The fntguide says that:
\DeclareTextSymbol {⟨cmd⟩} {⟨encoding⟩} {⟨slot⟩}
This command defines a text symbol with slot ⟨slot⟩ in the encoding. For
example, the definition of \ss in the OT1 encoding ...
4
votes
3
answers
211
views
\message: add symbol in front of new lines even if there is a line break
If I do:
\message{^^J! my very long message that will be cut on many lines because LaTeX for some weird reasons like to manually cut the lines instead of letting the terminal do it^^J}
I will see ...
0
votes
0
answers
75
views
Print file in log
I have a file and I'd like to print it in the log file. The problem is that if I add a new line with ^^J, often two newlines are added when the size of the line to print is exactly the maximum width ...
0
votes
0
answers
164
views
Controlling console log output
While processing a latex file, log output to console is usually smaller than what you can find in the log file, so that you can spot errors more easily.
Yet, I am not able to understand how I can have ...
3
votes
1
answer
123
views
hfuzz not working in table environment
dear internet stranger. I just wanted to turn off some overfull hbox warnings when I ran into a problem. I could not turn off warnings inside a table environment. What can I do to fix this?
Here is a ...
3
votes
1
answer
210
views
Which LaTeX command prints a warning message about "Overfull \hbox"?
I want to override the command that prints Overfull \hbox..., but it seems that it's not \GenericWarning. What is it?
1
vote
1
answer
1k
views
Latexdiff not compiling
I just found out about Latexdiff and it's just what I need right now. But unfortunatly I can't get the .tex-file created by Latexdiff to compile on my maschine. I tried a minimal example:
file nr. 1: ...
1
vote
2
answers
210
views
LuaTeX: Can I determine if it's the first run?
Is it possible to detect if the current run is the first (preferably from the Lua end)?
I tried to read the log file, but it is apparently already erased when the Lua engine starts.
I can of course ...
2
votes
1
answer
138
views
Is it possible to read a line from the terminal without writing the content to the log file?
The question is in the title.
For example with the following file a.tex
\ExplSyntaxOn
\ior_str_get_term:nN {} \l_tmpa_tl
\stop
when compiled with pdflatex a.tex, and type something on the terminal, ...
1
vote
0
answers
81
views
How to surpress flood of LateX Infos "No math alphabet change to frozen version normal", especially when using tensor package? [duplicate]
In actuarial documents we use much mathematically oriented notation, for which we need many math fonts. In
What is the meaning of "No math alphabet change to frozen version normal on input line ...
6
votes
2
answers
406
views
Why isn't every space between words a feasible breakpoint?
p98 of the TeXbook gives a paragraph trace beginning:
[]\tenrm Mr. Drofnats---or ‘‘R. J.,’’ as he pre-
@\discretionary via @@0 b=0 p=50 d=2600
@@1: line 1.2- t=2600 -> @@0
ferred to be called---was ...
3
votes
1
answer
232
views
LuaTeX treats ^^M in \wlog differently
I am confused by the output of the following code:
\documentclass{article}
\begin{document}
\begingroup
\obeylines
\typeout{abc^^Muvw}
\wlog{ijk^^Mxyz}
\endgroup
\end{document}
With PDFLaTeX or ...
0
votes
1
answer
107
views
Unwanted spacing: How to cancel out `.....\glue(\xx) xx.xx` found in .log file?
I'm trying to figure out why vertical space is added between elements in my document. I am using \loggingoutput which i learned about in this answer to get a verbose log from TeX. Many lines look like ...
3
votes
1
answer
91
views
Why do log files show only the first letter of a word?
If I create hello.tex thus:
\tracingcommands 1
Hello world
then hello.log contains
This is TeX, [etc]
**hello.tex
(./hello.tex
{vertical mode: the letter H}
{horizontal mode: the letter H}
{blank ...
0
votes
0
answers
186
views
Precompiled preamble causing new errors with ntheorem
I'll start off by noting that I already made a post yesterday with a similar title and want to say that this is a new problem. Here's the link to my previous post if it helps provide any context. I ...
1
vote
0
answers
182
views
Write "everything" to the log file?
A few weeks ago I stumbled upon a command that wrote “everything” (spaces used, paragraphs, rules, etc.) about how each page in the document was typeset. But now I can’t remember what it was. Can you ...
0
votes
0
answers
63
views
Problem with bibliogrpahy
I was working on my thesis and everything is fine and works as ist should.
Then I realized that this is written in the log file:
The document still works fine but I do not understand what it wants ...
0
votes
0
answers
695
views
Showing .log files for debug with Sublime Text with LaTeXTools
I try to configure Sublime Text 4 with LaTeXTools to write LaTeX documents. I want to see the .log files for debug purposes (I want to see those files like other editors like TeXniCcenter or TeXmaker)....
1
vote
0
answers
158
views
List hyphenated words on log
I would like to review words that were hyphenated in a very long document. Looking at pdf output is too error prone. So I like to get a entry for every hyphenated word on compilation output or log ...
0
votes
1
answer
193
views
Re-direct log file to another file during compilation?
Background: I have got MiKTeX portable running on a sealed-off enterprise Windows computer (no admin rights, Symantec Endpoint Protection, tons of group policies, Zscaler, constant background ...
1
vote
2
answers
2k
views
How to correct the error: Output loop dead cycles on MDPI latex template
I was trying to format my submission paper to MDPI journal on Overleaf. I found that the last template for the journal dates to 16 Dec 2020. If I compile the template I found no error, but when adding ...
0
votes
0
answers
94
views
How to copy some part of winedt log output?
Winedt shows console output in the lower section of the window. I would like to copy a certain portion of it (say, to paste it as a google search string in my browser). How do I do that? I can select ...
0
votes
0
answers
290
views
How to show Xelatex log in shell when converting latex to PDF from shell?
This is my first question here. Basically I'm a programmer. I've been working with a project where we are using xelatex to convert latex to PDF. We are using Ubuntu 18 server environment and installed ...
1
vote
0
answers
538
views
Latex Log File Customization
I use TexMaker, pdflatex.
I have a tex file for which I am using the console to debug my functions and check to make sure my functions are working properly.
However there is too much junk in the log ...
0
votes
0
answers
108
views
Is there a way to put \showbox into the page? [duplicate]
I am reading the Texbook, and there in exercise 11.2 (and the preceding page) there is a conversation of exploring box structure. The idea is that it may be put into a register that is then logged.
I ...
1
vote
1
answer
372
views
How use \typeout argument with backslash in message?
How does one include a command name, including its backslash, in the message issued by a \typeout command?
For example, I want to issue the message >>> Using \cmd to the log. How must the ...
1
vote
1
answer
58
views
Configurate an error for a custom command and conditions
Is there a way to allow custom command to send a log entry who pointed to an error ?
I want to create the command \difficulty who convert the four first integers in filled or emptied stars. Here is ...
2
votes
1
answer
1k
views
Running pdflatex the minimally necessary number of times for elsarticle
Running pdflatex ONCE on
\documentclass{elsarticle}%%% version 3.1 from CTAN
\begin{document}
\begin{frontmatter}
\author[1]{Johann Sebastian Bach}
\author[2]{Ludwig van Beethoven\corref{cor2}}
\...
5
votes
2
answers
1k
views
How to remove (or at least suppress) "fontmap entry for <font> already exists" warnings
Background
I cannot seem to find a solution that works and sufficiently explains what I need to do.
I do not use Latex much, so please explain as if I don't know how Latex works, because that's ...
0
votes
0
answers
154
views
Intercept error messages?
Is it possible to override error messages?
The latex log sometimes makes it hard to tell, what file was being parsed when an error or warning was reported. Files are denotes by (FILENAME ...) in the ...
1
vote
1
answer
1k
views
Changing text in Console output
I am finding that I am writing more and more packages/commands for other people these days and have started writing some nice default utility commands to use. However, there is always the concern for ...
0
votes
1
answer
137
views
Can I recover a certain instance of a LaTeX document?
I am working on a document, and I had all the references how I wanted them, and was trying to change the style. I clicked something, and now my references have all changed, and I don't know how to get ...
0
votes
1
answer
330
views
TeXstudio needs "manual cleanup" when syntax error [closed]
The following minimum example:
\documentclass{book}
\usepackage{lipsum}
\begin{document}
\chapter{Sample}
\lipsum[1-3]
\end{document}
When I compile this with TeXstudio, everything works fine.
Let's ...
4
votes
1
answer
412
views
Why is my circumflex \^ mapping to a non-breakable space U+00A0 when followed by {} using a custom encoding \DeclareUnicodeEncoding?
Using \DeclareUnicodeEncoding, I defined my own encoding that adjusts the \^ such that it maps to a circumflex accent U+005E rather than to a combining circumflex accent U+0302 (which is already set ...
1
vote
1
answer
356
views
Why does the log entry complain about a circumflex character that is not in the source code?
Question in other words: Why does the log output complain about a character that was not given in the source code input?
Let's get hexidecimal
UTF-8 hexadecimal representations are used here, ...
1
vote
2
answers
222
views
How can I get all the defined lengths in a document?
I would like to have a big list with all the lengths that have been defined in my document, along with their values. (Specifically, I'm making a baposter poster and I want to remove the header and ...
4
votes
0
answers
803
views
How to make the LuaLaTex logfile more readable, or filter it?
I use Latexmk to compile lualatex to PDF.
The resulting .log file is very hard to read.
I already added the silent switches to the .latexmk configuration file
# make it less verbose
$...
8
votes
1
answer
836
views
When compiling, what does the numbers in brackets refer to?
When compiling a file via pdflatex (maybe it also is true for the other cases), the output to the command line shows a series of increasing numbers in brackets, like
[13] (/usr/local/texlive/2016/...
0
votes
1
answer
1k
views
Error in log file
Do you know any other error except the emergency stop, which does not contain information about the line number in the log file, where the error has been received?