GeneralBookmark Error with custom Class

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Anni
Posts: 2
Joined: Mon Sep 17, 2012 10:12 am

Bookmark Error with custom Class

Post by Anni »

Hi everybody,

I am new of the forum, and new to LaTeX as well. I am writing my thesis, and I am getting more and more in love with LaTeX, it is so powerful!! Well everything was going very well. Until yesterday when I got this error:

Code: Select all

{\376\377\0004\000.\0001\000.\0001\000\040\000S\000t\000r\000u\000c 
./Thesis.tex:16: File ended while scanning use of \@@BOOKMARK.
<inserted text> 
                \par 
l.16 \begin{document}
I looked around in this forum and others but proposed solutions don't work in my case.

I am using a Template, for the formatting etc. I changed few things in the class file but it was still working, until yesterday. I don't understand where the error can be, I checked all braces and they seems right, I tried to put \end{document} in the text file all over it to see where the error is, but I can't get rid of it anyway (the error is still there even if I put the end of the document right after the beginning)! Anyone has any suggestion?
Thank you in advance,

Anna

Recommended reading 2024:

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

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

Anni
Posts: 2
Joined: Mon Sep 17, 2012 10:12 am

Re: Bookmark Error with custom Class

Post by Anni »

Solved!
Sorry for the useless post, I was desperate, but the I deleted all .aux, .bbl, .blg, .lof, .out files and run the .tex file again.. and it started working again (deleting just the .aux file was useless)!
I hope it now it will be fine.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Bookmark Error with custom Class

Post by cgnieder »

Glad you worked it out! The error message suggest that deleting the out file and possibly the toc should have been the important part. Bookmarks are often created using the hyperref package, most commonly for all the entries in the ToC. And if I know it right »hyperref« uses the out file to get information about the bookmarks.

Welcome to the LaTeX community!
site moderator & package author
Post Reply