GeneralLatex writing massive log files and crashing

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
wizced
Posts: 4
Joined: Wed Jun 11, 2014 11:26 pm

Latex writing massive log files and crashing

Post by wizced »

Hi guys
I have a peculiar issue with an older Layout file of mine. Whenever I try to compile it (pdflatex), it never comes to a stop. And when I try to look at the log file, which increases continuously, the editor crashes.
I've tested it with TexStudio on Linux with TexLive 2014, and with TexStudio and Texniccenter with Miktex 2.9 on Windows 7.
A friend of mine tried to run it too, he got an error after a little while saying his "disk was full".

This is a part of the code, but it already shows that strange behaviour. I have tried commenting out line-by-line, or see which if two packages have compatibility issues... but I was unable to pinpoint the problem.

Code: Select all

\documentclass[a4paper, 11pt]{scrartcl} %format, scrartcl: european standard

\usepackage[margin=0.8 in]{geometry}
\usepackage[T1]{fontenc} %Encoding
\usepackage[utf8]{inputenc} %utf8 encoding (ö, ä, ü etc.)

\usepackage[ngermanb]{babel} %spelling

\addtokomafont{sectioning}{\rmfamily} %Section titles are in nice writing as well

\usepackage{array}
\usepackage{multirow} % \multirow{#of rows}{alignment}{content}
\usepackage{enumerate}
\usepackage{multicol} % \begin{multicols*}{#columns}... \end{multicols*}
\usepackage{booktabs} % midrule, bottomrule, toprule
\usepackage{tabularx} % Für Ausrichtung von mehrzeiligem text in Tabellen

\usepackage[usenames]{color}

\newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}}(I don't want to be the cause of any loss of data or so)
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}
\newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}}
%Bsp: \begin{tabular}{L{2cm}|R{3.5cm}}

%Mathe
\usepackage{mathrsfs,amssymb,amsmath,wasysym} % Zusatzzeichen, math, \diameter

%Figures
\usepackage{graphicx} %to add graphics
\usepackage[absolute]{textpos} %to position pictures at a specific place
%
% Subfigures
\usepackage{caption}
%\usepackage[margin=10pt,font=small,labelfont=bf]{caption}		%Smaller font under figures
%\usepackage{subcaption}

% Handling tikz
\usepackage{tikz,pgfplots}
\pgfplotsset{compat=newest}
\pgfplotsset{plot coordinates/math parser=false}

%Code
\usepackage{listings}

\usepackage{bigfoot} % To use verbatim in footnotes
%\usepackage{booktabs}

%Titel
\title{Titel}
\subtitle{Untertitel}
\author{Author}
\date{\today}

\begin{document}

\maketitle
\tableofcontents
\newpage


\end{document}
IMPORTANT!! As I said, the code runs and runs and creates huge log files, eventually crashing the editor. If you try to run it, please make sure everything else is saved.

Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Latex writing massive log files and crashing

Post by Johannes_B »

That is the disadvantage of the nonstopmode, running on forever if the mood strucks.

egreg gave a good summary on what is happening. As bigfoot loads manyfoot internally, you need to add \reserveinserts{10} as well.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Latex writing massive log files and crashing

Post by Stefan Kottwitz »

Hi wizced,

welcome to the forum!

I see that you are writing in German. You are very welcome to join our German speaking partner site TeXwelt.de. Johannes and I are also there. It runs on the same server. We want to speak more in German, about LaTeX. :-) Feel free to also post any question there, which comes to your mind.

Best regards,

Stefan
LaTeX.org admin
wizced
Posts: 4
Joined: Wed Jun 11, 2014 11:26 pm

Re: Latex writing massive log files and crashing

Post by wizced »

Thanks!
Just adding \reserveinserts{10} doesn't solve the problem yet, but I'll have a closer look at your link.

Sure! I rarely write in german, but I could certainly drop by from time to time, thanks :).
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Latex writing massive log files and crashing

Post by Johannes_B »

Hi, \reserveinserts{10} works for the example stated. Are you having any other packages? Are you getting a different error message?
Any information from your side will be helpful.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
wizced
Posts: 4
Joined: Wed Jun 11, 2014 11:26 pm

Latex writing massive log files and crashing

Post by wizced »

Sorry for the slow responses, I'm in the middle of moving. Unfortunately, the above code does not run for me. I have to add

Code: Select all

\reserveinserts{10}
after loading the bigfoot package, correct?
With Texniccenter:
For me, using Latex -> PDF, the last message in the build output is

Code: Select all

pdflatex> (C:\Users\...path...\latex\bigfoot\suffix.sty)
, and it just keeps working there, but nothing happens.

Without \reserveinserts{10}, the last message is

Code: Select all

pdflatex> [Loading MPS to PDF converter (version 2006.09.02).]
, again just stuck there.

With Texstudio:
There is no message, but the log just becomes bigger and bigger and bigger. It's already several 100 MB after a couple of seconds.

If I take out bigfoot, things compile correctly.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Latex writing massive log files and crashing

Post by Johannes_B »

You didn't read the summary i linked to, right? ;-)

You have to reserve space as soon as possible. You can't reserve a bed in a hotel for guest after another one just got into that bed.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
wizced
Posts: 4
Joined: Wed Jun 11, 2014 11:26 pm

Re: Latex writing massive log files and crashing

Post by wizced »

Sorry for the late response. I finally got it to work, thanks! I had read your link, but I didn't really understand all these registers etc. :)
Post Reply