Graphics, Figures & Tablesa really mysterious problem

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
absam82
Posts: 13
Joined: Thu Nov 25, 2010 10:00 am

a really mysterious problem

Post by absam82 »

Hi,
I can't really understand the following problem when I click the button "PDF TeXify" or just compile:

)
Runaway argument?
{\contentsline {subsecti
! File ended while scanning use of \@writefile
<inserted text>
\par
1.45 \begin{document}

?

Until sometime it was not a case but it just appeared once I extended the number of items in my bibliography, this should be for sure. I hope the outlined problem is clear, otherwise please do ask me questions. Thanks in advance

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

sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Re: a really mysterious problem

Post by sommerfee »

It seems the aux file ended abrupt. Simply deleting it should solve this issue.

If this happens again (and there is enough space on your hard disc) try doing a file system check.
absam82
Posts: 13
Joined: Thu Nov 25, 2010 10:00 am

Re: a really mysterious problem

Post by absam82 »

Thanks for your kind advise
deleting the aux file solved the problem but as you suggested the problem is still persistent. However, I'm not too sure what does that mean "file system check" and how should I run it. Sorry for ignorance.

On the other hand, there is another problem which appears now and does not really give me clues on what needs to be done. The problem does not appear in cmd mode but it appears right underneath my main text input window with blue thick line highlighting the following:

1.595 \bibitem A
Ahluwalia, M (1976b). Inequality, Poverty and Development, ...
]pdfTeX warning (ext4): destination with the same identifier (name{cite.A}) has been already used, duplicate ignored
<to be read again>
\relax

Also the thick red line highlights the same bib item in the main input window. Thanks
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

a really mysterious problem

Post by frabjous »

absam82 wrote:However, I'm not too sure what does that mean "file system check" and how should I run it. Sorry for ignorance.
This would depend on what operating system you're using, but it basically means to scan your harddrive, and the files and file hierarchy on it, for errors. I don't think that should be necessary here.
On the other hand, there is another problem which appears now and does not really give me clues on what needs to be done. The problem does not appear in cmd mode but it appears right underneath my main text input window with blue thick line highlighting the following:
That means nothing to us if we do not know what editor you're using, which we don't.
1.595 \bibitem A
Ahluwalia, M (1976b). Inequality, Poverty and Development, ...
]pdfTeX warning (ext4): destination with the same identifier (name{cite.A}) has been already used, duplicate ignored
<to be read again>
\relax
Are you using BibTeX to prepare your bibliography, or just creating your own thebibliography environment? Assuming the latter, you should know that the \bibitem command typically takes an argument. So you might write \bibitem{ahluwalia1976} to mean that the "key" for this entry is "ahluwalia1976", and you could then refer to it in the text with \cite{ahluwalia1976}. even if you do not cite it in the text, you ought to give each entry a key. This error looks like it results from not giving your entries keys.
absam82
Posts: 13
Joined: Thu Nov 25, 2010 10:00 am

Re: a really mysterious problem

Post by absam82 »

Thanks for your advise. This sorted my problems. BTW, I use WinEdt.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

a really mysterious problem

Post by localghost »

Now that the problem is solved, please be so kind and mark the topic (not the last post) accordingly as written in Section 3 of the Board Rules (to be read before posting). Please keep that in mind for the future so that further reminders will not be necessary.


Thorsten
Post Reply