From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18319 Path: news.gmane.org!.POSTED!not-for-mail From: Guillermo Rodriguez Garcia Newsgroups: gmane.text.pandoc Subject: Re: German quotes and inline styles Date: Mon, 16 Oct 2017 04:48:06 -0700 (PDT) Message-ID: <9066282d-775f-4044-b5cf-a05131c30248@googlegroups.com> References: <98a6625d-ab74-4459-9eb0-e20f596f0f90@googlegroups.com> <20171013173758.GC27286@protagoras> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_5847_2068041142.1508154486780" X-Trace: blaine.gmane.org 1508154504 23120 195.159.176.226 (16 Oct 2017 11:48:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Oct 2017 11:48:24 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDQ4FHFP44PRB55YSLHQKGQENX7MIPQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Oct 16 13:48:20 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi0-f58.google.com ([209.85.218.58]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e43sH-0003d4-Dz for gtp-pandoc-discuss@m.gmane.org; Mon, 16 Oct 2017 13:48:01 +0200 Original-Received: by mail-oi0-f58.google.com with SMTP id v132sf11670062oie.19 for ; Mon, 16 Oct 2017 04:48:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=Zxht+/SjYmdWC+s+aoUPDW+UBPP10i/5V+sKkjHamZM=; b=E40hH6Tm70SQnJReq4B36POUoBiPeiXg5w5JImOQgItZMIm23d49VoQA7049w/jd9/ VFH7nj5SymV73778TFzrIgLwcpLXD3SUh2uRQIy8Way0evKhWdfLfPEvBDIC1ucmYLoQ VeaLufgbOs6Q20qMShsO0T3RRDr3vJbPhoNd8rhbzO7nHBxmwMXRkL+N13Cv+q+KzLRd xLyyPM0lNwR5bMCJ3SpQZ5tCyJzECbqzL8aTJaCNF1UgmTOw7+/Ds4NvVsF74mHo/i/k 5v/OVz5SpeIxidkvDOAsPSWM7F4XSh6n1CaLpkdP3CGAArSxk9dCZYAg/gG9gQKKZi2R 9MtQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=Zxht+/SjYmdWC+s+aoUPDW+UBPP10i/5V+sKkjHamZM=; b=Ba3l0aDYl+eYvc4tbp7J1Hm/x9S5yNrUoGsO4hFqbtECxHTdRmmT+Em6TlImVjrdSd 6t6xdAFUDTitnCtN9sXAqys/4Cel1mbwYvyttLxrd33YP06qph+guEMF2vPuiBO2P8ZO 2UYTMmi/abQhr7zrzOF44kWu5166U1xn6O5bikk5tFnkN2IR7acyuTOS8/aTdzLWVJzT opNs5zxmQ68X7YE/qxfkzpk+rljGm1E4OCyba6MWrN4xYR6LmJVQI2qNmVlXqnm30u85 1wlsq3LcQ206AdypGf34x8bJOUAY/sHaRK4zF63/CIoiRcfNIYWscgaT6bYuI5cVqrb7 xutw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=Zxht+/SjYmdWC+s+aoUPDW+UBPP10i/5V+sKkjHamZM=; b=KXfUFguPdK78rztjo68t/Rwy7tptdClo5ANtq09K7zqAHL1mhFYrgLtCzKRdtEWP/7 xdhZSSibpZNkon4nlWakuQq8EUSo5oHLYu1wNwwO3nFjcnXR1kza1mn1JOuKxTFOW8Cx kjycJ+7qpNfMcEU5GcAFufbKZcOSmdfJKLT3ApNmq0NgqQg/HhB9vFTKWmbZy+MYXvBt s0i2vMoelQ9+5yRX/kp/mVZnVqH1D99LZ8GeF9ciMTAcll6OgPVYshiLlOwb013pwo4N Epq2YBBbQdVKPoXuB/aT0hqQOFUSQjjv8Ans53GAos/KoDUBsBbKAKMpxcHTnaQz2PRK bcMA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AMCzsaUhQvohI4o20ZnucxC2ohwpHyHmbWQ8MCEYCD9SwbmMo95J82Gw gCL3NbyFaBKySSWSCvl1/oU= X-Google-Smtp-Source: ABhQp+Rq9DS8I4zvUYpj9Q8ZI/mpTtWZjq6xc7/8fnq3Mxl5o8J7WwY2tQZmZnxzeuoA82N+tGr64A== X-Received: by 10.157.15.247 with SMTP id m52mr357056otd.1.1508154488046; Mon, 16 Oct 2017 04:48:08 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.202.79.151 with SMTP id d145ls3374400oib.5.gmail; Mon, 16 Oct 2017 04:48:07 -0700 (PDT) X-Received: by 10.157.88.135 with SMTP id x7mr355426otg.13.1508154487190; Mon, 16 Oct 2017 04:48:07 -0700 (PDT) In-Reply-To: <20171013173758.GC27286@protagoras> X-Original-Sender: guille.rodriguez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:18319 Archived-At: ------=_Part_5847_2068041142.1508154486780 Content-Type: multipart/alternative; boundary="----=_Part_5848_936695840.1508154486780" ------=_Part_5848_936695840.1508154486780 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Done: https://github.com/jgm/pandoc/issues/3976 Just for the record: The backslash workaround was problematic for me as=20 many of these cases happen inside multiline tables. Adding the extra=20 backslash character changes the column alignment so this would require=20 quite a bit of manual adjustment. I ended up using the following slightly= =20 less invasive workaround: # Work around Pandoc issue 3976 (1/2) sed -i 's/=E2=80=9C/=E2=9D=A4/g' input.md pandoc --number-sections --top-level-division=3Dchapter=20 ${EXTRA_PANDOC_OPTS} -t latex input.md -o output.tex # Work around Pandoc issue 3976 (2/2) sed -i 's/=E2=9D=A4/``/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=20 > we can look into this further. In the mean time, you can=20 > work around this by backslash-escaping the =E2=80=9C character.=20 > > *Zus=C3=A4tzliche Parametern f=C3=BCr =E2=80=9EEine Ebene\=E2=80=9C:*= =20 > > +++ Guillermo Rodriguez Garcia [Oct 13 17 03:28 ]:=20 > > Hello all,=20 > > When I try to use German quotes (=E2=80=9E and =E2=80=9C) combined wi= th inline styles=20 > > something does not quite work as expected.=20 > > Take these two examples:=20 > > *Zus=C3=A4tzliche Parametern f=C3=BCr =E2=80=9EEine Ebene=E2=80=9C:*= =20 > > *Zus=C3=A4tzliche Parametern f=C3=BCr "Eine Ebene":*=20 > > The second line works as expected, for the first one Pandoc does not= =20 > > apply emphasis. Can be reproduced in the Try Pandoc page:=20 > > =20 > https://pandoc.org/try/?text=3D*Zus%C3%A4tzliche+Parametern+f%C3%BCr+%E2%= =20 > > =20 > 80%9EEine+Ebene%E2%80%9C%3A*%0A%0A*Zus%C3%A4tzliche+Parametern+f%C3%BCr= =20 > > +%22Eine+Ebene%22%3A*&from=3Dmarkdown&to=3Dlatex=20 > > Here's the output:=20 > > *Zus=C3=A4tzliche Parametern f=C3=BCr =E2=80=9EEine Ebene``:*=20 > > \emph{Zus=C3=A4tzliche Parametern f=C3=BCr ``Eine Ebene'':}=20 > > Is this normal?=20 > > Guillermo=20 > > > --=20 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 e= mail 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. ------=_Part_5848_936695840.1508154486780 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Done:=C2=A0https://github.com/jgm/p= andoc/issues/3976

Just for the record: The backsla= sh workaround was problematic for me as many of these cases happen inside m= ultiline tables. Adding the extra backslash character changes the column al= ignment so this would require quite a bit of manual adjustment. I ended up = using the following slightly less invasive workaround:

=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # Work around Pandoc issue 3976 (1/2)=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 sed -i 's/=E2=80=9C/=E2=9D=A4/g&= #39; input.md
=C2=A0 =C2=A0 =C2=A0 =C2=A0 pandoc --number-sec= tions --top-level-division=3Dchapter ${EXTRA_PANDOC_OPTS} -t latex input.md= -o output.tex
=C2=A0 =C2=A0 =C2=A0 =C2=A0 # Work around Pandoc i= ssue 3976 (2/2)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 sed -i 's/=E2=9D= =A4/``/g' output.tex

Best,

Guillermo

On Friday, October 13, 2017 at 7:37:51 PM = UTC+2, John MacFarlane wrote:
W= hy 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 =E2=80=9C character.

=C2=A0 =C2=A0*Zus=C3=A4tzliche Parametern f=C3=BCr =E2=80=9EEine Ebene\= =E2=80=9C:*

+++ Guillermo Rodriguez Garcia [Oct 13 17 03:28 ]:
> =C2=A0 Hello all,
> =C2=A0 When I try to use German quotes (=E2=80=9E and =E2=80=9C) c= ombined with inline styles
> =C2=A0 something does not quite work as expected.
> =C2=A0 Take these two examples:
> =C2=A0 *Zus=C3=A4tzliche Parametern f=C3=BCr =E2=80=9EEine Ebene= =E2=80=9C:*
> =C2=A0 *Zus=C3=A4tzliche Parametern f=C3=BCr "Eine Ebene"= ;:*
> =C2=A0 The second line works as expected, for the first one Pandoc= does not
> =C2=A0 apply emphasis. Can be reproduced in the Try Pandoc page:
> =C2=A0 https://pandoc.org/try/?text= =3D*Zus%C3%A4tzliche+Parametern+f%C3%BCr+%E2%
> =C2=A0 80%9EEine+Ebene%E2%80%9C%3A*%0A%0A*Zus%C3%A4tzliche+Parametern+f%C3%BCr
> =C2=A0 +%22Eine+Ebene%22%3A*&from=3Dmarkdown&to=3Dlat= ex
> =C2=A0 Here's the output:
> =C2=A0 *Zus=C3=A4tzliche Parametern f=C3=BCr =E2=80=9EEine Ebene``= :*
> =C2=A0 \emph{Zus=C3=A4tzliche Parametern f=C3=BCr ``Eine Ebene'= ;':}
> =C2=A0 Is this normal?
> =C2=A0 Guillermo
>

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@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.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_5848_936695840.1508154486780-- ------=_Part_5847_2068041142.1508154486780--