[Tugindia] Treating the underscore as a normal character

Shruthi Jayaram jayaram.shruthi at gmail.com
Tue Jun 30 14:05:17 CEST 2009

Dear TeX Users,

One of the first things you learn is not to use underscores in file
names or citations. Unfortunately, I'm working with a long and
pre-defined .bib file that uses underscores in every single citation
key. Now when I try to compile my bibliography in the "annotation"
style, I'm tripped up on each citation with a "Missing $ inserted"
error, as TeX understandably thinks I should be in math mode while
using underscores.

I'm trying to avoid the option of editing out the underscore from
every single .bib entry - would anyone be able to help? Is there was
some kind of global command I could insert in my .tex file to change
how TeX views underscores? I searched online and came up with a
suggestion to define the underscore as an "active character" which may
fix this problem, but am not tech (or TeX) savvy enough to do that!

Would very much appreciate any advice!



On Tue, Jun 30, 2009 at 6:00 PM, <tugindia-request at tug.org> wrote:
> Send tugindia mailing list submissions to
>        tugindia at tug.org
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://tug.org/mailman/listinfo/tugindia
> or, via email, send a message with subject or body 'help' to
>        tugindia-request at tug.org
> You can reach the person managing the list at
>        tugindia-owner at tug.org
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of tugindia digest..."
> Today's Topics:
>   1. Eiten Gurari (Radhakrishnan CV)
> ----------------------------------------------------------------------
> Message: 1
> Date: Tue, 30 Jun 2009 15:16:32 +0530
> From: Radhakrishnan CV <cvr at river-valley.org>
> To: TUGIndia Mailing List <tugindia at tug.org>
> Subject: [Tugindia] Eiten Gurari
> Message-ID:
>        <fb69db500906300246o675e16f8o7021c3feea677217 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> From: William F Hammond <hamm... at csc.albany.edu>
> Date: Jun 29, 10:26 pm
> Subject: sad news about Eitan Gurari
> To: comp.text.tex
> I'm sorry to have found the following post of this date on the W3C
> MathML discussion list:
>   http://lists.w3.org/Archives/Public/www-math/2009Jun/0040.html
> which points to this announcement
>   http://www.cse.ohio-state.edu/news/news102.shtml
> from the Department of Computer Science and Engineering at The
> Ohio State University of the sudden death of Eitan Gurari on
> June 22.
> Gurari was known in the discussion here as the author of tex4ht,
> a widely used tool for the translation of LaTeX to HTML and
> various XML document types.
> I always found him to be most helpful.  We shall miss him.
>                                    -- Bill
> ------------------------------
> _______________________________________________
> tugindia mailing list
> tugindia at tug.org
> http://tug.org/mailman/listinfo/tugindia
> End of tugindia Digest, Vol 78, Issue 13
> ****************************************

More information about the tugindia mailing list