{logging} is about questions that concern information in the log file. For other files created during the compilation, use {auxiliary-files} instead.
17
votes
1answer
222 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?
5
votes
1answer
64 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
39 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 ...
10
votes
1answer
87 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
159 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 ...
42
votes
0answers
1k 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}
...
1
vote
1answer
76 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
138 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> ...
2
votes
1answer
94 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 ...
0
votes
0answers
34 views
PDFLaTeX's Output breaks at 80 Characters - How can I change that? [duplicate]
Possible Duplicate:
Write to log without wrapping
PDFLaTeX seems to add artificial line breaks after 80 characters to its output, both on Stdout and in its logfile:
Underfull \vbox ...
0
votes
0answers
266 views
How do I locate or generate a log file when I get the error “Log file not found” in TexStudio? [closed]
I am trying to use the pedigree-making package from http://www.pedigree.varphi.com/download.html . I have downloaded the zipped file, and have opened the .ins file [pst-pdgr.ins] in TeXStudio. When I ...
13
votes
6answers
1k 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 ...
4
votes
0answers
512 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 ...
1
vote
1answer
79 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}
...
5
votes
1answer
98 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
76 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 ...
4
votes
1answer
207 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}%
...
2
votes
2answers
153 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:
...
2
votes
3answers
192 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 ...
0
votes
1answer
188 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 ...
19
votes
3answers
417 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 ...
1
vote
1answer
271 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 ...
8
votes
1answer
107 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 ...
13
votes
2answers
287 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 ...
9
votes
2answers
72 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
211 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
181 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 ...
11
votes
2answers
796 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. ...
9
votes
2answers
101 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 ...


