GeneralPackage tocbasic Error

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
proberto3122
Posts: 1
Joined: Mon Mar 18, 2024 12:47 am

Package tocbasic Error

Post by proberto3122 »

Hi!

How can I solve this:

"File extension `lol' is already used by a toc-file, while lol
tried to use it again for a toc-file.
This may be either an incompatibility of packages, an error at a package,
or a mistake by the user.

Package tocbasic Error: file extension `lol' cannot be used twice ."

I am receiving this and there is no 'lol' extension.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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

Package tocbasic Error

Post by Stefan Kottwitz »

Welcome to the forum!

Do you use the scrhack package? It has patches for the listings package. If yes, load it with the listings=false option:

Code: Select all

\usepackage[listings=false]{scrhack}
Stefan
LaTeX.org admin
Post Reply