The --no-tex-ligatures did the job. Thank you.

I use emacs as my editor. I select C-x ret f and chose utf-8 as coding system for saving the file (otherwise pandoc complains about unknown characters).

Beda


2014/1/16 BP Jonsson <bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org>
2014-01-16 21:08, Beda Szukics skrev:

Hi all


I would like to use quotes in the german style. When I tranlate the
following sentence with the smart-option I get the curly quotes in the
english/american style:

Bob said: "Hallo."

So I tried avoid the translation process by using the correct quotes
(copied from the article about quotation marks in the german Wikipedia):

Hans sagte: „Hoi zäme.“

Translating that into a pdf-file workes. But if I have a question or
exclamation mark I get a funny output:

Hans fragt: „Gahd es no?“ turns into:  „Gahd es no¿‘

Hans ruft: „Hau ab!“ turns into:  „Hau ab¡‘

Translating the sentences in epub or html or docx gives the correct result.
I gess it's the LaTeX step witch causes trouble because the closing quote
mark results in:

„Gahd es no?`` and „Hau ab!``

Why are the two quotation marks treated differently by pandoc? Is there a
way to avoid that? (Writing \“ doesn't help)

Greetings            Beda


You need to use the --no-tex-ligatures options if you have
Unicode  quotes etc. in your file.  Also, are you sure your
file is UTF-8-encoded?

/bpj


--
You received this message because you are subscribed to a topic in the Google Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/4ooGSomxtAY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pandoc-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/52D83DE0.1000104%40gmail.com.

For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAOmnqcYbyjiMBJFNQvU61ZvRWMhvDY%3DHx7ju%3DK%2Ba8e13U7FY2g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.