public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Guillermo Rodriguez Garcia <guille.rodriguez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: German quotes and inline styles
Date: Mon, 16 Oct 2017 04:48:06 -0700 (PDT)	[thread overview]
Message-ID: <9066282d-775f-4044-b5cf-a05131c30248@googlegroups.com> (raw)
In-Reply-To: <20171013173758.GC27286@protagoras>


[-- 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 --]

      reply	other threads:[~2017-10-16 11:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-13 10:28 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9066282d-775f-4044-b5cf-a05131c30248@googlegroups.com \
    --to=guille.rodriguez-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).