Texmaker and TeXstudioTexmaker don´t create a .toc-data

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Post Reply
TieJay
Posts: 3
Joined: Mon Aug 27, 2012 1:23 pm

Texmaker don´t create a .toc-data

Post by TieJay »

Hallo,

I´m learning now a little bit latex by my own. But when I try to mage a contents, it create no .toc-data and it shows only the headline "contents".
I´m a little bit confused, why it don´t create a .toc-data, because the TeXniCcenter make one!

Greeting
TJ

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10323
Joined: Mon Mar 10, 2008 9:44 pm

Texmaker don´t create a .toc-data

Post by Stefan Kottwitz »

Hi TJ,

welcome to the board!

Did you already write any sectioning command into the document, such as \section or \chapter?
If not, there's nothing to write to the .toc yet.

If yes, perhaps post such an example file and the corresponding .log file as attachment.

Stefan
LaTeX.org admin
TieJay
Posts: 3
Joined: Mon Aug 27, 2012 1:23 pm

Re: Texmaker don´t create a .toc-data

Post by TieJay »

Thanks for the Answer,

but it has solve itself. I don´t know what happend, but it is working. And I have got a contents!

Greeting
Thomas

P.S.:If somethings happen again, I will post the problem again!
User avatar
Stefan Kottwitz
Site Admin
Posts: 10323
Joined: Mon Mar 10, 2008 9:44 pm

Re: Texmaker don´t create a .toc-data

Post by Stefan Kottwitz »

Hi Thomas,

perhaps it just needed another compiler run. When a new document is created, after the first run there's no table of contents yet because the .toc file was still not existing - it's created during the first run. In the second run, it can be read in, so the table of contents get's entries.

Stefan
LaTeX.org admin
TieJay
Posts: 3
Joined: Mon Aug 27, 2012 1:23 pm

Texmaker don´t create a .toc-data

Post by TieJay »

Hi Stefan,

no that wasn´t the Problem and now I have it again:

Here the Test:

Code: Select all

\documentclass[a4paper,12pt]{article}

\usepackage[ngerman]{babel}
\usepackage[latin1]{inputenc}

\begin{document}
	\tableofcontents
	\newpage
	\section{Teil 1}
	Dies ist Teil 1.
	\subsection{Unterkapitel 1}
	Das ist ein Unterkapitel.
	\subsection{Unterkapitel 2} Noch eins	\subsubsection{Noch ein Unterkapitel}
	Das Unterkapitel eines Unterkapitels
\end{document}
and here the log:

Code: Select all

This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) (preloaded format=pdflatex 2012.8.23) 29 AUG 2012 11:47
entering extended mode
**a.tex
("C:\Documents and Settings\dep19016\a.tex"
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2012-05-30, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian,
lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n
german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman
ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm
an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl
ishmax, welsh, loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size12.clo"
File: size12.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("C:\Program Files\MiKTeX 2.9\tex\generic\babel\babel.sty"
Package: babel 2008/07/08 v3.8m The Babel package
*************************************
* Local config file bblopts.cfg used
*
("C:\Program Files\MiKTeX 2.9\tex\latex\00miktex\bblopts.cfg"
File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
)
("C:\Program Files\MiKTeX 2.9\tex\generic\babel\ngermanb.ldf"
Language: ngermanb 2008/07/06 v2.6n new German support from the babel system
("C:\Program Files\MiKTeX 2.9\tex\generic\babel\babel.def"
File: babel.def 2008/07/08 v3.8m Babel common definitions
\babel@savecnt=\count87
\U@D=\dimen103
)
\l@naustrian = a dialect from \language\l@ngerman
Package babel Info: Making " an active character on input line 92.
))
("C:\Program Files\MiKTeX 2.9\tex\latex\base\inputenc.sty"
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15
("C:\Program Files\MiKTeX 2.9\tex\latex\base\latin1.def"
File: latin1.def 2008/03/30 v1.1d Input encoding file
))
("C:\Documents and Settings\dep19016\a.aux")
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
("C:\Documents and Settings\dep19016\build\a.toc"
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <12> on input line 3.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 3.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 3.
)
\tf@toc=\write3
[1
{C:/Documents and Settings/All Users/Application Data/MiKTeX/2.9/pdftex/config/
pdftex.map}] [2]
("C:\Documents and Settings\dep19016\a.aux") )
Here is how much of TeX's memory you used:
632 strings out of 493921
7906 string characters out of 3147219
59414 words of memory out of 3000000
3977 multiletter control sequences out of 15000+200000
7894 words of font info for 28 fonts, out of 3000000 for 9000
841 hyphenation exceptions out of 8191
24i,4n,24p,186b,168s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:/Program Files/MiKTeX 2.9/font
s/type1/public/amsfonts/cm/cmbx12.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/
public/amsfonts/cm/cmr12.pfb>
Output written on "C:/Documents and Settings/dep19016/build/a.pdf" (2 pages, 27
396 bytes).
PDF statistics:
17 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
Thomas
Last edited by Stefan Kottwitz on Wed Aug 29, 2012 12:09 pm, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10323
Joined: Mon Mar 10, 2008 9:44 pm

Texmaker don´t create a .toc-data

Post by Stefan Kottwitz »

I see in the log:

Code: Select all

("C:\Documents and Settings\dep19016\build\a.toc"
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <12> on input line 3.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 3.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 3.
)
\tf@toc=\write3
So I assume a file a.toc has been created. Isn't it there?

Stefan
LaTeX.org admin
Post Reply