Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
118 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{...
Gabriele's user avatar
  • 1,935
3 votes
0 answers
27 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 ...
Stephen's user avatar
  • 4,084
4 votes
3 answers
129 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 ...
tobiasBora's user avatar
  • 8,804
0 votes
0 answers
35 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 ...
tobiasBora's user avatar
  • 8,804
0 votes
0 answers
62 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 ...
brad's user avatar
  • 527
3 votes
1 answer
65 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 ...
Florian's user avatar
  • 199
3 votes
1 answer
169 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?
yegor256's user avatar
  • 12.1k
0 votes
1 answer
449 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: ...
Jelt0's user avatar
  • 3
1 vote
2 answers
157 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 ...
keth-tex's user avatar
  • 442
2 votes
1 answer
95 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, ...
user202729's user avatar
  • 7,293
1 vote
0 answers
61 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 ...
Markos Mitsos's user avatar
5 votes
2 answers
358 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 ...
Marnanel Thurman's user avatar
3 votes
1 answer
192 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 ...
L.J.R.'s user avatar
  • 11.1k
0 votes
1 answer
54 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 ...
MyComputer's user avatar
3 votes
1 answer
71 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 ...
Marnanel Thurman's user avatar
0 votes
0 answers
146 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 ...
Joshua A's user avatar
1 vote
0 answers
144 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 ...
Fredrik P's user avatar
  • 1,418
0 votes
0 answers
48 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 ...
Roland's user avatar
  • 6,675
0 votes
0 answers
456 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)....
Elyo's user avatar
  • 386
1 vote
0 answers
109 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 ...
Miguel V. S. Frasson's user avatar
0 votes
1 answer
116 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 ...
tfran's user avatar
  • 151
1 vote
2 answers
1k 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 ...
Random Cotija's user avatar
0 votes
0 answers
77 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 ...
მამუკა ჯიბლაძე's user avatar
0 votes
0 answers
249 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 ...
Razin Abid's user avatar
0 votes
0 answers
379 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 ...
cdickstein's user avatar
0 votes
0 answers
105 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 ...
Ignat Insarov's user avatar
1 vote
1 answer
308 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 ...
murray's user avatar
  • 8,306
1 vote
1 answer
42 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 ...
Piroooh's user avatar
  • 1,207
2 votes
1 answer
742 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}} \...
user avatar
5 votes
2 answers
929 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 ...
Mike Williamson's user avatar
0 votes
0 answers
131 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 ...
kdb's user avatar
  • 1,899
1 vote
1 answer
906 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 ...
Jason's user avatar
  • 949
0 votes
1 answer
106 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 ...
user83024's user avatar
  • 131
0 votes
1 answer
312 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'...
Joojoo's user avatar
  • 71
4 votes
1 answer
346 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 ...
Jonathan Komar's user avatar
1 vote
1 answer
314 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, ...
Jonathan Komar's user avatar
1 vote
2 answers
182 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 ...
E.P.'s user avatar
  • 1,415
4 votes
0 answers
673 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 $...
Jonas Stein's user avatar
  • 8,929
8 votes
1 answer
750 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/...
jjdb's user avatar
  • 2,248
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?
Tomas's user avatar
  • 3
0 votes
1 answer
155 views

Line breaks in log file from unicode-math

I have reported this bug against latexrun. It seems to be incapable of dealing with braces that span over multiple lines. Consider this example: \documentclass{article} \usepackage{unicode-math} \...
choeger's user avatar
  • 915
3 votes
1 answer
31 views

Linebreaks (^^J) in \message arguments stopped working after starting to use breqn

I have several \message commands for inserting information into the log file, and they use ^^J for inserting line breaks in the log file. After adding \usepackage{breqn}, the log file now contains ^^J ...
E. Inman's user avatar
2 votes
0 answers
56 views

Is \listfiles guaranteed to be identical for the same preamble given an up-to-date distribution?

LaTeX provides \listfiles, which for a particular source file provides: scrreprt.cls 2016/06/14 v3.21 KOMA-Script document class (report) scrkbase.sty 2016/06/14 v3.21 KOMA-Script package (KOMA-...
Hugh's user avatar
  • 2,384
1 vote
0 answers
57 views

Disable (only for some part of the document) some warnings [duplicate]

Is it possible to create two commands \disableOverfullWarnings and \enableOverfullWarnings that respectively disable and enable the printing of messages such as Overfull \hbox (12.92616pt too wide)...
Colas's user avatar
  • 6,802
2 votes
0 answers
132 views

Should I do anything about log entries like "redefining \cdots on input line 2739"?

I know that many things in a LaTeX log file are not serious problems. Some used to be more serious when computers had less resources, for example. And this kind of report has not caused me any ...
Colin McLarty's user avatar
1 vote
0 answers
95 views

How to avoid log messages which accidentally look like errors?

TeX errors are conventionally marked by the sequence <LF>!<SPACE>… in log files. However, sometimes one can accidentally get this sequence of characters in a log file even if no error ...
Socob's user avatar
  • 1,703
1 vote
0 answers
67 views

What is happening with my fonts? [duplicate]

I can't quite install the fonts properly and check the log files, nor can I identify if the font is loading properly. That is, I want to choose the typography but can't notice minor differences ...
nilon's user avatar
  • 554
3 votes
2 answers
472 views

How can I pass expanded material to a macro at definition time (context-specific macro tracker)?

Expansion gives me headaches. I could use some help. The problem is identified under the heading: Log Output Snippet AtEndAfterFileList. This is an extension of my context-based log entry question: ...
Jonathan Komar's user avatar
3 votes
0 answers
139 views

LuaLaTeX: Is it possible to create multiple log files/custom edit the log output [closed]

I'm trying to typeset a book, and I'd like to print some messages in the log file (or somewhere else), in order to easily read them and correct my layout or the calculations beneath it. Currently I ...
Moriambar's user avatar
  • 11.5k
4 votes
1 answer
205 views

Log paragraphs with more than n hyphenations

The (large) body of text I have written has a few paragraphs with an large number of hyphenated words. My goal is to examine these paragraphs, with the aim of rewording them. Is there a way I can make ...
Hugh's user avatar
  • 2,384