TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an entry in my bib file of the form

author = "Some name",
title = ""This is inside quote" and outside quote content",

when I check this entry through jabref, I get an error saying that = is expected but found '"'. This is because the inside quote is not escaped. I looked into it and I found that we can allow " by putting it inside {}, like {"}. But if I do that I don't get "This is inside quote" and outside quote content as title instead I get {"}This is inside quote{"} and outside quote content. Can anyone please suggest me how to handle this?

share|improve this question
Try: title = {"This is inside quote" and outside quote content} – PLK Jul 31 '12 at 10:17
To distinguish between quotes as delimiters of a field within a bib entry and quotes with typographic meaning, you could write title = "``This is inside quote'' and outside quote content". Of course, if your typographic preference is to use single quotes rather than double quotes, you'd type title = "`This is inside quote' and outside quote content". Or, as @PLK suggests, you could elect not to use " as a field delimiter and employ { and } instead. – Mico Jul 31 '12 at 10:23
I always use {} as delimiters for all fields in .bib files - it saves confusion. – PLK Jul 31 '12 at 11:15
regardless of using quotes for the delimiters of a bibtex element, using the non-directional " with tex will almost always result in doubled closing quotes in the output. much better to do as @Mico suggests and use intentional directional quotes, single or double as appropriate. – barbara beeton Jul 31 '12 at 12:32
You could try marking up the quotes using a command. E.g. either \qq from textcmds or \enquote from csquotes – Andrew Swann Jul 31 '12 at 13:54
up vote 11 down vote accepted

Mico and Barbara Beeton have already commented that using -- as appropriate -- double quotes (``/ '') or single quotes (`/') for quotes with typographic meaning will resolve your error. And Andrew Swann has suggested to use commands like \enquote from the csquotes package for marking quotes within .bib files. I'll add that for users of biblatex there's another reason to do so: Depending on your bibliography style, article titles (contrary to book titles) may be put inside (outer) quotes, which means you should use inner quotes within article titles, but outer quotes within book titles, but only for those bibliography styles. Simply using \enquote spares you the hassle of keeping track of style requirements and quote nesting levels.





  author = {Author, A.},
  year = {2001},
  title = {An article title with a \enquote{quote}},
  journaltitle = {A journal},
  number = {1},
  pages = {1--4},
  author = {Buthor, B.},
  year = {2002},
  title = {A book title with a \enquote{quote}},
  location = {Somewhere},
  publisher = {A publisher},






enter image description here

share|improve this answer
The other reason is that some bibliographical styles require "American punctuation," like Chicago, while others rely on the 'British style', which biblatex and csquotes will handle correctly if one loads babel with the respective languages. – jon Aug 8 '12 at 19:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.