Text FormattingCan't find a way to avoid this error

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
odranreb
Posts: 3
Joined: Fri Nov 01, 2019 5:33 pm

Can't find a way to avoid this error

Post by odranreb »

Hi.
I'm new to Latex, I discover it reading on this page, casually.
I have recently start to use it to rewrite math notes, downloading MiKTeX package of programs. I have a problem with an error:
I didn't managed to solve it reading online or trying correctiong it myself. I'm stuck.

I'm using TexWork and the error is that one:

Code: Select all

"Package tocbibind Note: Using section or other style headings.

)
("C:\Users\berny\AppData\Local\Programs\MiKTeX 2.9\tex/latex/tocloft\tocloft.st
y") ("Analisi Matematica II.aux")
Runaway argument?
{\contentsline {subsection}{\numberline {9.2}Osservazione}{9}\p 
! File ended while scanning use of \@writefile.
<inserted text> 
                \par 
l.75 \begin{document}
                     
? "
Thank you very much for your help

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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

Can't find a way to avoid this error

Post by Johannes_B »

Welcome to the forum. Just the error message is not that helpful in his case. A minimal working example would be best.

I guess a section entry or similar is corrupt or was corrupt. Delete the file with the ending .toc and start the compile chain again.
Can you provide a minimal working example?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
odranreb
Posts: 3
Joined: Fri Nov 01, 2019 5:33 pm

Can't find a way to avoid this error

Post by odranreb »

Thank you for the answear.

With "minimal working example" do you mean a section of my math notes?

Where can I find the .toc extension file?

Thank you again
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Can't find a way to avoid this error

Post by Johannes_B »

A minimal working example lets me reproduce your issue on my machine, and just the issue. Please have a look at https://en.wikibooks.org/wiki/LaTeX/How_to_get_help and http://minimalbeispiel.de/mini-en.html

The toc file is in the same folder as your tex file is, probably you are on a windows machine and it's hiding file extensions.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply