@@ -82,7 +82,6 @@ data WriterState =
8282 , stHighlighting :: Bool -- true if document has highlighted code
8383 , stIncremental :: Bool -- true if beamer lists should be displayed bit by bit
8484 , stInternalLinks :: [String] -- list of internal link targets
85− , stUsesEuro :: Bool -- true if euro symbol used
8685 , stBeamer :: Bool -- produce beamer
8786 , stEmptyLine :: Bool -- true if no content on line
8887 }
@@ -111,7 +110,6 @@ startingState options = WriterState {
111110 , stHighlighting = False
112111 , stIncremental = writerIncremental options
113112 , stInternalLinks = []
114− , stUsesEuro = False
115113 , stBeamer = False
116114 , stEmptyLine = True }
117115
@@ -233,7 +231,6 @@ pandocToLaTeX options (Pandoc meta blocks) = do
233231 defField "lhs" (stLHS st) $
234232 defField "graphics" (stGraphics st) $
235233 defField "book-class" (stBook st) $
236− defField "euro" (stUsesEuro st) $
237234 defField "listings" (writerListings options || stLHS st) $
238235 defField "beamer" beamer $
239236 (if stHighlighting st
@@ -320,11 +317,8 @@ stringToLaTeX ctx (x:xs) = do
320317 rest <- stringToLaTeX ctx xs
321318 let ligatures = isEnabled Ext_smart opts && ctx == TextString
322319 let isUrl = ctx == URLString
323− when (x == '€') $
324− modify $ \st -> st{ stUsesEuro = True }
325320 return $
326321 case x of
327− '€' -> "\\euro{}" ++ rest
328322 '{' -> "\\{" ++ rest
329323 '}' -> "\\}" ++ rest
330324 '`' | ctx == CodeString -> "\\textasciigrave{}" ++ rest