{logging} is about questions that concern information in the log file. For other files created during the compilation, use {auxiliary-files} instead.

learn more… | top users | synonyms

5
votes
1answer
91 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 ...
1
vote
0answers
30 views

Tell tex distribution to avoid residual temporary files [duplicate]

When I compile a tex document, the compilation process usually leaves some temporary files, like .aux and .log. I have got a small document that can be compiled in just one single run - can I tell ...
0
votes
0answers
17 views

Complaints about “Package Fancyhdr” can't compile file on my windows computer [duplicate]

I think a usepackage need to be installed, but how? Logg: Package Fancyhdr Warning: \headheight is too small (14.0pt): Make it at least 14.49998pt. Line 1 \headheight is too small (14.0pt):Make it ...
10
votes
1answer
165 views

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 this: \documentclass{amsart} ...
6
votes
2answers
150 views

babel + hyperref: »redefining shorthand« several times per page

consider the following code: \documentclass{article} \usepackage[ngerman]{babel} \usepackage{hyperref} \usepackage{blindtext} \begin{document} \Blindtext\Blindtext\Blindtext ...
1
vote
0answers
18 views

Disable printing of fonts/packages during compilation - from the compiled file

I just read this: Disable printing of fonts/packages to STDOUT and I was wondering whether the same could be effected somehow from the .tex file being compile (probably you would want to do this ...
15
votes
1answer
227 views

Does LaTeX store any potentially personally revealing data from my source in some log file somewhere?

I'd like to know if I'm leaking personal data if I hop from computer to computer running my .tex file without deleting some hidden log of some kind that retains, say, an address I have in an invoice ...
1
vote
0answers
44 views

Program to display/rewrite/reformat log file in the terminal

I usually compile my .tex files from the terminal without the -interaction=nonstopmode, so that it stops at every error, but of course I still need to look at the .log file from time to time, but ...
5
votes
2answers
268 views

Detect if all required glyphs are available

In XeTeX, a message is printed to the log file if a glyph is not available with the current font. The input \documentclass{scrartcl} \begin{document} α \end{document} leads to the following ...
1
vote
0answers
55 views

Command to flush log file

For the tikzDevice, I want to communicate with a LaTeX process by sending input (generated LaTeX code) to its stdin and parsing output that is written using \immediate\write. In some cases I need also ...
1
vote
0answers
35 views

Is there a way to `\show` a protected macro? [duplicate]

When I want to see how things are done in LaTeX, I often face a protected macro and I can't see its definition. For example, \documentclass{article} \usepackage{amsthm} \begin{document} \show\qed ...
4
votes
1answer
31 views

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 ...
4
votes
2answers
463 views

tikzpicture “There is no … in font nullfont”, but no extraneous text

While looking at the log file of my document, I see a lot of paired error message lines that look like this (there might be slight inaccuracies, I am typing this on another computer for reasons I ...
3
votes
1answer
115 views

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 ...
3
votes
1answer
55 views

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 ...
10
votes
1answer
63 views

Log all keys in a module

Using l3keys, is there any way to inspect the keys currently in a (sub)module? I'm looking for something like \clist_show, but for keys. \keys_show sounded promising, but requires that you already ...
3
votes
1answer
87 views

Can I silence pdfpages output?

The pdfpages package does not seem to have either a verbose or quiet option. I am compiling a big document and the include messages from pdfpages are obscuring the warnings from other places in the ...
5
votes
0answers
155 views

Automating Error Detection of pfdlatex

Background: I have numerous individual files that need to be compiled, so am using a script to do that with the following options: set PDFLATEX_OPTIONS = "\ --file-line-error \ ...
8
votes
1answer
129 views

Can I temporarily supress xparse's log messages?

I know that I can suppress all those annoying xparse logging messages about redefining commands using the log-declarations=false package option. I find that I can do this after xparse has been loaded ...
6
votes
1answer
211 views

Logfile very large

Everytime I compile my file, I get a message from TeXstudio saying The logfile is very large (> 2 MB) are you sure you want to load it? This is mostly because I am updating the bibliography, ...
5
votes
1answer
76 views

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 ...
3
votes
1answer
177 views

\showbox and log file

I want to parse the output of the \showbox command externally. Is it possible to let \showbox write to another file than the .log file? If not, is it possible to temporarily change the name of the ...
11
votes
1answer
136 views

Accessing to .log messages from LuaTeX. Is it possible?

Reading the question How to visualize the underfull box in final ouput PDF files I thought that it could be possible to use LuaTeX to intercept the "Underfull vbox" message and draw some kind of ...
3
votes
1answer
2k views

Hyperref option clash error because unknown package requires/loads it too

I am currently hunting for errors in my template and these two I cannot solve after reading the log and researching: ! LaTeX Error: Option clash for package hyperref. See the LaTeX manual or LaTeX ...
2
votes
1answer
152 views

Complex latex document: how to locate offending package dependency [solved: was using dirty build] [closed]

For final distribution, certain appendix includes the pdfpages package. However, appendices should be skipped for normal "draft" versions, or while working on individual chapters. I am having ...
1
vote
1answer
119 views

How to get refcheck output to TeXnicCenter?

I'm using TeXnicCenter. And I'm using the refcheck package to display unreferenced labels. This works just fine. Problem is that the log output (that is actually written to the .log file) from ...
1
vote
1answer
324 views

How to get error messages from pdflatex tool (specially running from php)

I am executing pdflatex from php script and it gives me very long list of log entries mixed with errors e.g system('/usr/texbin/pdflatex -output-directory=./temp/tex '.$tex_output . " 1> ...
4
votes
0answers
1k views

Error: “Log File not found! ” when running .bib file [closed]

I'm using TextMaker. This is my first time using bibtex. I tried a simple example found in forums where I created a .bib file and ofcourse a .tex file. Problem occurred when I tried to run my bib ...
20
votes
1answer
812 views

Write to logfile

I want to write some things to the log file. What is the best practice for this? Is it \message{} or \typeout{} or what?
3
votes
1answer
253 views

Bookmark level unknown for first usage of newtheorem

The MWE below produces the following message in the log: Package hyperref Info: bookmark level for unknown thm defaults to 0 on input line 12 How can I prevent this? \documentclass{article} ...
8
votes
1answer
334 views

Makeindex error when ! used in \index in align environment

See MWE below. The symbol ! in the \index causes an error. This is only the case in align environments (not in equation). So it seems to have to do something with amsmath. If ! is put in an \mbox ...
2
votes
1answer
114 views

Strange hyperref Info in log file

What could be the source of the following message contained in my log file? Package hyperref Info: bookmark level for unknown unnumbered defaults to 0 on input line 48. I should say that input ...
5
votes
1answer
495 views

pdftex and interaction=batchmode and xwatermark

I try to compile this file: \documentclass[10pt,openany,titlepage]{book}% \usepackage{lipsum}% \usepackage{xcolor}% \usepackage[printwatermark,default-first-page=10]{xwatermark}% ...
60
votes
1answer
2k views

A LaTeX log analyzer application (visualizing TeX expansion)

Consider the following MWE, test.tex: \documentclass[12pt]{article} \begin{document} \tracingassigns=1 \tracingmacros=1 \def\aaa{something} \def\bbb{else \aaa, else} \edef\ccc{third \bbb, level} ...
2
votes
2answers
255 views

Ignore badness 10000 in \ttfamily

Due to zero stretch in \ttfamily the lines get Underfull \hbox (badness 10000) often. I would like to ignore these, still being informed about other badnesses in the same paragraph. See the example: ...
0
votes
1answer
311 views

error when generating index

The .ilg file is fulll of errors, and no \index command is accepted. This is makeindex, version 2.15 [TeX Live 2011] (kpathsea + Thai support). Scanning input file thesis.idx... !! Input index error ...
4
votes
1answer
1k views

How to print out to “log” without affecting anything else (lua print equiv)

lua's print is very effective for my debugging purposes but I can't easily use it in TeX because of all the macro expansion issues. All it does is print the text to the window (console window or ...
22
votes
3answers
1k views

Display hyphenation options for a specific word

When TeX produces Overfull box, is puts something like this in the log: Overfull \hbox (15.47195pt too wide) in paragraph at lines 7--9 []\OT1/cmr/m/n/10 I re-ally re-ally want to get dis-played the ...
16
votes
2answers
574 views

Avoid linebreaks in LaTeX console / log output

Is it possible to tell the LaTeX command not to use line breaks in its console / log output? This would make it easier to automate the processing of the log file, e.g. extracting the names of missing ...
8
votes
1answer
119 views

How can I split the log file depending on the input file?

I have a large document that I have split into several separate documents. I have one main.tex file and several file_i.tex files which are included into main.tex using the \input-command. It also ...
9
votes
2answers
82 views

Can I redefine an environment to generate an error?

I know how to use \renewenvironment to redefine an environment, but instead of changing formatting, I'd like to have any use of the environment generate an error (log and abort). Is there a way to do ...
1
vote
1answer
289 views

Sorting logs into different folders

When I run xelatex (or other compilers), I always end up with many log files in a single folder. This gets difficult to manage. I could create a script which moves them into various folders (e.g. one ...
9
votes
2answers
198 views

Suppress the log file lines written by a specific package?

The marginfix package is incredibly verbose in what it writes to the log file. For example: \documentclass{article} \usepackage{marginfix} \listfiles \begin{document} Here is some text\marginpar{This ...
9
votes
2answers
114 views

How can I specify text to be included in the pdflatex output log during compilation.

I would like to be able to have some kind of logging command that is able to log text to the default pdflatex logfile (<input-base-filename>.log). Is this possible, and if so, how? In ...
23
votes
6answers
2k views

Use latexmk to filter the log file

I am usually using latexmk in a split shell with my code on the left and latexmk in -pvc mode on the right. When using some packages which themselves load a lot of other packages (think beamer) the ...
13
votes
2answers
1k views

Write to log without wrapping

I'd like to to generate some metadata in the log file that I can copy to another application. But the log file is wrapped to 80 columns and I end up with newlines embedded in what I'm putting there. ...
2
votes
3answers
200 views

Mapping source code to page numbers in output

Is there a way to find out (from Tex) the page number corresponding to a particular location in the source file? Using a macro in the file at that location is fine. My motivation is that I'd like to ...