Hi,
Done: https://github.com/jgm/pandoc/issues/3976
Just for the record: The backslash workaround was problematic for me as many of these cases happen inside multiline tables. Adding the extra backslash character changes the column alignment so this would require quite a bit of manual adjustment. I ended up using the following slightly less invasive workaround:
# Work around Pandoc issue 3976 (1/2)
sed -i 's/“/❤/g' input.md
pandoc --number-sections --top-level-division=chapter ${EXTRA_PANDOC_OPTS} -t latex input.md -o output.tex
# Work around Pandoc issue 3976 (2/2)
sed -i 's/❤/``/g' output.tex
Best,
Guillermo
On Friday, October 13, 2017 at 7:37:51 PM UTC+2, John MacFarlane wrote:
Why don't you open a bug report on our issue tracker, so
we can look into this further. In the mean time, you can
work around this by backslash-escaping the “ character.
*Zusätzliche Parametern für „Eine Ebene\“:*
+++ Guillermo Rodriguez Garcia [Oct 13 17 03:28 ]:
> Hello all,
> When I try to use German quotes („ and “) combined with inline styles
> something does not quite work as expected.
> Take these two examples:
> *Zusätzliche Parametern für „Eine Ebene“:*
> *Zusätzliche Parametern für "Eine Ebene":*
> The second line works as expected, for the first one Pandoc does not
> apply emphasis. Can be reproduced in the Try Pandoc page:
> https://pandoc.org/try/?text=*Zus%C3%A4tzliche+Parametern+f%C3%BCr+%E2%
> 80%9EEine+Ebene%E2%80%9C%3A*%0A%0A*Zus%C3%A4tzliche+Parametern+f%C3%BCr
> +%22Eine+Ebene%22%3A*&from=markdown&to=latex
> Here's the output:
> *Zusätzliche Parametern für „Eine Ebene``:*
> \emph{Zusätzliche Parametern für ``Eine Ebene'':}
> Is this normal?
> Guillermo
>