* German quotes and inline styles @ 2017-10-13 10:28 Guillermo Rodriguez Garcia [not found] ` <98a6625d-ab74-4459-9eb0-e20f596f0f90-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Guillermo Rodriguez Garcia @ 2017-10-13 10:28 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 1325 bytes --] 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 -- 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/98a6625d-ab74-4459-9eb0-e20f596f0f90%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. [-- Attachment #1.2: Type: text/html, Size: 2029 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <98a6625d-ab74-4459-9eb0-e20f596f0f90-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: German quotes and inline styles [not found] ` <98a6625d-ab74-4459-9eb0-e20f596f0f90-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2017-10-13 17:37 ` John MACFARLANE 2017-10-16 11:48 ` Guillermo Rodriguez Garcia 0 siblings, 1 reply; 3+ messages in thread From: John MACFARLANE @ 2017-10-13 17:37 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw 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 > > -- > 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > [3]https://groups.google.com/d/msgid/pandoc-discuss/98a6625d-ab74-4459- > 9eb0-e20f596f0f90%40googlegroups.com. > For more options, visit [4]https://groups.google.com/d/optout. > >References > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 3. https://groups.google.com/d/msgid/pandoc-discuss/98a6625d-ab74-4459-9eb0-e20f596f0f90-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer > 4. https://groups.google.com/d/optout -- 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/20171013173758.GC27286%40protagoras. For more options, visit https://groups.google.com/d/optout. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: German quotes and inline styles 2017-10-13 17:37 ` John MACFARLANE @ 2017-10-16 11:48 ` Guillermo Rodriguez Garcia 0 siblings, 0 replies; 3+ messages in thread From: Guillermo Rodriguez Garcia @ 2017-10-16 11:48 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 2505 bytes --] 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 > > > -- 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/9066282d-775f-4044-b5cf-a05131c30248%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. [-- Attachment #1.2: Type: text/html, Size: 3992 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-10-16 11:48 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-10-13 10:28 German quotes and inline styles Guillermo Rodriguez Garcia [not found] ` <98a6625d-ab74-4459-9eb0-e20f596f0f90-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2017-10-13 17:37 ` John MACFARLANE 2017-10-16 11:48 ` Guillermo Rodriguez Garcia
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).