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.

TeX and LaTeX put a lot of information in its log. The most important ones are

  • The "who-am-I", saying the engine, version, date, mode etc.
  • Every file read on input is put in the log in the form (filename.xxx ... ), where the closing parenthesis appears when the file is read whole and is closed. These parentheses get nested, so if your main.tex file includes files chapter1.tex and chapter2.tex, then the log will show (main.tex (chapter1.tex) (chapter2.tex)).
  • The page number in brackets when the page gets shipped. This means that the previous example would produce something like (main.tex (chapter1.tex [1][2][3]) (chapter2.tex [4][5])) [6].
  • The LaTeX core warnings: mostly Missing fonts, Wrong labels (missing / duplicit).
  • The LaTeX package warnings and information.
  • The overfull and underfull boxes information.

For questions concerning other files created during the compilation, use the tag instead.

104 questions
10
votes
1 answer

Print a message at the END of the log file

I there a way to print messages to the log file so that they appear in the last few line of the log file? Here is a MWE for my first attempt at doing…
user30471
5
votes
1 answer

How can I automatically add document sectioning information to the log file?

Is it possible to add data into the .log file? For example, I create a LaTeX file and at some point, i want to put a command that will add data into the .log file. I don't want something hardcoded into the LaTeX file. I want to add a message like,…
Pete
  • 207
4
votes
3 answers

\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 something like this in the log: ! my very long…
tobiasBora
  • 8,684
4
votes
1 answer

Is there a way to enforce indentation in the .log file? Or a script to post-process?

In a complex project, TeX is typically working on many different included files. In the .log file, file inclusion is indicated by ( ... ). If such stanzas are long, and possibly nested, it is not easy to see which file inclusions are…
Joachim W
  • 762
  • 3
  • 15
3
votes
0 answers

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 is: \DeclareTextSymbol{\ss}{OT1}{25}. It does not…
Stephen
  • 3,826
3
votes
1 answer

How can I automatically identify certain boxes in the \tracingoutput log?

I have a program that is automatically generating a tex file describing a document. I want to be able to record the position and page number where a few boxes were ultimately laid out. Is there any simple way to match up parts of the document with…
3
votes
1 answer

Synchronizing log output

In a flowchart, multiple processes can come together at a sync point, where both processes much reach it before anything can continue. When running a LaTeX file that makes decently heavy use of the log (for debugging purposes), some of my debugging…
Sean Allred
  • 27,421
2
votes
0 answers

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 problems that know of. But I wondered if it would be…
2
votes
1 answer

Latex Log too big (>2MB)

My log is getting VERY big. This is a short except: LaTeX Font Info: Try loading font information for T1+uop on input line 7. (c:/texlive/2012/../texmf-local/tex/latex/uop/t1uop.fd File: t1uop.fd 2006/12/24 Fontinst v1.929 font definitions for…
Hans
  • 23
  • 2
1
vote
0 answers

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 help me?
Fredrik P
  • 1,386
1
vote
1 answer

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 following be modified to do…
murray
  • 7,944
1
vote
0 answers

Count number of lines on a page

Is there a way to count the number of lines printed on a page without actually counting? (Can one choose to have this written to the log file for every page?)
Toothrot
  • 3,346
0
votes
0 answers

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 control on what is sent to the console, as log…
brad
  • 517
0
votes
1 answer

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 them back because I can't find where the event…
user83024
  • 121
0
votes
1 answer

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
  • 3