LaTeX: error - missing $ inserted
Posted: Sun Aug 05, 2012 10:58 pm
[PROBLEM]
I added a new BibTeX reference for a text I'm writing on and for no reason at all, I couldn't compile my document anymore, and always got the LaTeX error:
Although most cases I found on the internet could be fixed by escaping _ or ^ characters. There weren't any of those characters in my case.
I've tried many things - including reverting all files back to the head revision in the SVN and cherry-pick the changes back in and see when it breaks.
After doing so, it compiled perfectly - until I re-inserted my latest reference entry. So I retyped the reference and compiled after each line, and: voila! I found the offending line:
There was a $ sign!
I escaped it to \$ and recompiled: Didn't work.
Then I deleted all *.aux files, as well as the .bbl and .blg files.
Now it compiled again! Seems like something got stuck in an aux, bbl or blg file.
I added a new BibTeX reference for a text I'm writing on and for no reason at all, I couldn't compile my document anymore, and always got the LaTeX error:
[SOLUTION]missing $ inserted
Although most cases I found on the internet could be fixed by escaping _ or ^ characters. There weren't any of those characters in my case.
I've tried many things - including reverting all files back to the head revision in the SVN and cherry-pick the changes back in and see when it breaks.
After doing so, it compiled perfectly - until I re-inserted my latest reference entry. So I retyped the reference and compiled after each line, and: voila! I found the offending line:
Code: Select all
title = {First Hands-on: Novation’s New $199 Launchpad Grid Controller for Ableton Live},
I escaped it to \$ and recompiled: Didn't work.
Then I deleted all *.aux files, as well as the .bbl and .blg files.
Now it compiled again! Seems like something got stuck in an aux, bbl or blg file.