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
1 answer
99 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 ...
  • 442
2 votes
1 answer
87 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, ...
  • 5,116
1 vote
0 answers
49 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 ...
5 votes
2 answers
346 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
175 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 ...
  • 9,608
0 votes
1 answer
39 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
67 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
95 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 ...
0 votes
0 answers
112 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 ...
  • 976
0 votes
0 answers
45 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 ...
  • 6,485
0 votes
0 answers
269 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)....
  • 366
1 vote
0 answers
65 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
75 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 ...
  • 121
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 ...
0 votes
0 answers
68 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
198 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 ...
0 votes
0 answers
214 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
103 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
217 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 ...
  • 7,350
1 vote
1 answer
38 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 ...
  • 1,071
0 votes
1 answer
474 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
776 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
120 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,819
1 vote
1 answer
659 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 ...
  • 939
0 votes
1 answer
94 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
287 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'...
  • 71
4 votes
1 answer
262 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
267 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
159 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 ...
  • 1,415
4 votes
0 answers
548 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,419
8 votes
1 answer
602 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/...
  • 2,218
0 votes
1 answer
896 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?
  • 3
0 votes
1 answer
126 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} \...
  • 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 ...
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-...
  • 2,324
1 vote
0 answers
51 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)...
  • 6,456
1 vote
0 answers
90 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 ...
1 vote
0 answers
76 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 ...
  • 1,629
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 ...
  • 544
3 votes
2 answers
443 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: ...
3 votes
0 answers
116 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 ...
  • 10.9k
4 votes
1 answer
153 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 ...
  • 2,324
3 votes
2 answers
212 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 ...
1 vote
1 answer
324 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 ...
1 vote
0 answers
87 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 ...
  • 2,021
1 vote
1 answer
274 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 (...
  • 1,205
7 votes
1 answer
100 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/...
  • 407
9 votes
4 answers
9k 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 ...
  • 476
3 votes
2 answers
590 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?
  • 6,456
1 vote
0 answers
358 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?)
  • 3,296