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
5 votes
2 answers
324 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 ...
user avatar
3 votes
1 answer
159 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 ...
user avatar
  • 7,784
0 votes
1 answer
31 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 ...
user avatar
3 votes
1 answer
62 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 ...
user avatar
0 votes
0 answers
52 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 ...
user avatar
0 votes
0 answers
58 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 ...
user avatar
  • 558
0 votes
0 answers
43 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 ...
user avatar
  • 6,230
0 votes
0 answers
38 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)....
user avatar
  • 163
1 vote
0 answers
43 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 ...
user avatar
0 votes
1 answer
67 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 ...
user avatar
  • 111
1 vote
2 answers
962 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 ...
user avatar
0 votes
0 answers
54 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 ...
user avatar
0 votes
0 answers
155 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 ...
user avatar
0 votes
0 answers
66 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 ...
user avatar
0 votes
0 answers
63 views

Is there a way to put \showbox into the page?

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 ...
user avatar
0 votes
1 answer
145 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 ...
user avatar
  • 6,382
1 vote
1 answer
36 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 ...
user avatar
  • 991
0 votes
1 answer
314 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
4 votes
1 answer
619 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 ...
user avatar
0 votes
0 answers
115 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 ...
user avatar
  • 1,719
1 vote
1 answer
531 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 ...
user avatar
  • 929
0 votes
1 answer
83 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 ...
user avatar
0 votes
1 answer
248 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'...
user avatar
  • 71
4 votes
1 answer
221 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 ...
user avatar
1 vote
1 answer
227 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, ...
user avatar
1 vote
2 answers
117 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 ...
user avatar
  • 1,365
4 votes
0 answers
458 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 $...
user avatar
  • 8,029
8 votes
1 answer
507 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/...
user avatar
  • 2,168
0 votes
1 answer
614 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?
user avatar
  • 3
0 votes
1 answer
112 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} \...
user avatar
  • 905
4 votes
1 answer
30 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 ...
user avatar
2 votes
0 answers
54 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-...
user avatar
  • 2,284
1 vote
0 answers
50 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)...
user avatar
  • 6,130
1 vote
0 answers
74 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 ...
user avatar
1 vote
0 answers
60 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 ...
user avatar
  • 1,527
1 vote
0 answers
66 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 ...
user avatar
  • 544
3 votes
2 answers
405 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: ...
user avatar
3 votes
0 answers
111 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 ...
user avatar
  • 10.4k
4 votes
1 answer
122 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 ...
user avatar
  • 2,284
3 votes
2 answers
198 views

How to suppress font information from pdftex terminal output?

I would like that pdfTeX printed terminal logs in the same format as TeX. Font information (especially when a lot of fonts are used) makes the log output hard to read. In the following example how to ...
user avatar
1 vote
1 answer
288 views

Is there any way for LaTeX to provide a file context for better log messages?

UPDATE: In hindsight, I realize that this question is really, "Is there any way for LaTeX to keep the file context and warning/error message on the same line?" This would be fore the purpose ...
user avatar
1 vote
0 answers
74 views

view dependencies within lyx file

I have a lyx file that has a bunch of child documents (tables) embedded in it. How can I generate a list of these external files that are included in my main file when I compile (pdflatex) it? This ...
user avatar
  • 1,961
1 vote
1 answer
265 views

How to get with TexLive Windows/Linux same extensive verbose level as with Rubber?

If I compile the following MWE with Rubber under Linux (rubber --pdf VerboseDemo.tex) I get a nice verbose level including the HyperRef debug. However if I compile with plain pdflatex under windows (...
user avatar
  • 1,185
7 votes
1 answer
93 views

How can I increase the number of columns (characters on each line) of Tex compilation log (text output)? [duplicate]

The question is similar, but the answer here is more general. The log output width is limited to 80 characters. For example, this output: (/usr/share/texlive/texmf-dist/tex/generic/pgfplots/sys/...
user avatar
  • 397
8 votes
4 answers
8k views

Problem with \printindex. No index created

I tried to create an index to a document I write, but when viewing the .pdf output there was no index. Also no error messages were displayed. I managed to find this in the LOG FILE: No file "Actual ...
user avatar
  • 447
3 votes
2 answers
525 views

How to typeout dimensions in mm?

\typeout{***This vertical space will be \the\textheight} prints ***This vertical space will be 153.64488pt Is it possible to print \the\textheight in mm?
user avatar
  • 6,130
1 vote
0 answers
270 views

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?)
user avatar
  • 3,256
9 votes
1 answer
944 views

When (La)TeX says "some message on input line XYZ" - where's that line?

I'm sure this is a dupe, but I'll go ahead anyway: LaTeX relates many of its messages to lines in files. For example: LaTeX Font Info: Try loading font information for OT1+lmtt on input line 81. ...
user avatar
  • 11.3k
4 votes
1 answer
306 views

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 (<filename> ... ). If such stanzas are long, and possibly nested,...
user avatar
  • 746
5 votes
1 answer
921 views

How to log the value of a variable?

I am debugging a set of macros. The error seems to come from \vspace*{\dimexpr0.000000cm-\topskip plus 1fill}. How can I log the value of the length? I have tried \typeout{\dimexpr0.000000cm-\...
user avatar
  • 6,130