Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using the escape code \"{u} in my .bib file to indicate umlauted 'ü'. When I compile my document, however, I get the following error:

Runaway argument?
{Phonetische studien. Zeitschrift f\}. \par \end {thebibliography} 
! File ended while scanning use of \emph .

Where the umlaut 'ü' is supposed to be in 'Zeitschrift für ...'.

Other espace codes work fine, however, such as \'{u} for ù. I assume it has something to do with the preamble of my main document, but I have no idea how to figure out how to fix it (googling didn't help). Here's my preamble:

\documentclass[letterpaper, 12pt, onecolumn, notitlepage]{article}
\usepackage[margin = 1in]{geometry} % set margins
\pagestyle{myheadings} % page numbers in top right corner
\linespread{1.6} % double spacing throughout the document
\usepackage[hang, flushmargin]{footmisc} % no indent in footnotes
\usepackage{lmodern} % font
\usepackage{linguex} % for \ex. (numbered examples)
\usepackage{tipa} % for \textipa (IPA symbols)
\usepackage[normalem]{ulem} % for \uline
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\renewcommand{\textipa}[1]{{\fontencoding{T3}\fontfamily{cmr}\selectfont#1}} % this prevents the \textipa command from trying to employ lmodern (which it cannot do). The effect is only that a warning message about it won't appear.
\usepackage{natbib} % package for bibliography
\bibpunct{}{}{,}{a}{}{,} % punctuation for citations
\date{} % date is not printed with title
share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

How about using {\"u} instead of \"{u}?

share|improve this answer
    
That works. Thanks. –  Sverre Nov 21 '11 at 6:04
2  
@Sverre: Just \"u also works, too. –  Ryan Reich Nov 21 '11 at 6:58
2  
@RyanReich With \"u there can be problems with the sorting process, that are avoided with {\"u} or {\"{u}} –  egreg Nov 21 '11 at 9:56
add comment

Your Answer

 
discard

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.
http://tex.stackexchange.com/questions/35577/escape-code-u-for-umlaut-gives-runaway-argument-error/35578
tex.stackexchange.com
crawl=CC-MAIN-2014-15
63522
application/http; msgtype=response
sha1:PMKC4RZG4EWSFJO7V5IEQLUHMJKUKKVN
<urn:uuid:eb4dfacf-9687-4c2b-9cde-f77905704835>
2014-04-21T15:39:34Z
198.252.206.140
sha1:ZX6ITGV7TX6RV6XDUUXWLP2PJSRLLOF6
<urn:uuid:fecac23d-5287-4158-adc5-1a94f5a6a921>
http://tex.stackexchange.com/questions/35577/escape-code-u-for-umlaut-gives-runaway-argument-error/35578
response
<urn:uuid:f2d6e040-7c14-4934-8928-1850dbfdeeee>
robots: classic
hostname: ip-10-147-4-33.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-15
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for April 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf