From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33013 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: Single and double quotes in Context with British English Date: Wed, 2 Aug 2023 18:19:07 +0000 Message-ID: References: <6bf5b865-b98a-4eab-ac15-9ca58d38e6cfn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11297"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBH54VKTAMGQE5RQ7ZMI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Aug 02 20:19:20 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f188.google.com ([209.85.208.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qRGRI-0002fK-SI for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 02 Aug 2023 20:19:16 +0200 Original-Received: by mail-lj1-f188.google.com with SMTP id 38308e7fff4ca-2b9c5cba6d1sf847001fa.1 for ; Wed, 02 Aug 2023 11:19:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691000356; cv=pass; d=google.com; s=arc-20160816; b=A4gC0EE/3g7mpZsmxFyBrJQTcecRUnzPhzJJzv934dohVWihgyFkYngzbu2zrFbBtQ 2GyfCFtmdEn1y3VXX3quvsfzhtqe4mF+ioWz4LhNI+gxh7UHV97BbPTPhL349hCjYQtz Wxx+ZgqKw3GVotxFogCWAzHCGvjYBNBAxvle3wKaytCoi9nXdSgO+q84xrpweoMXF0gN 6IYemcuBKlgGjPyAsQropAsApCVR80dWCzvZ2n0DRI8mpWRRu71eUFvPC4m+TEcxE2X1 DntKij/swdIYGKLRIB1UCnrjnnBwZckX4la3YyYf2DonNdFuMLWTX9NtKs1NOAtVrkUZ ZEnw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=MZv2kFiONHovAkklGyj2kujiABtHBQxiaf73zDNa4lg=; fh=zTk1OJJ/UIgC4n6p1b11w1SmP+rZGhoEUDeu1dHTagY=; b=GSPvinqRAQTFawXG+evHLKRvfAhAf43uoZZU8feDy4Gq6AFpDt/bP8xJBlnBjL+nh+ SSTaJNLGsMN+bqzep2ASw6DfZ/53+QcA70uZZY1WbrKd8DYzFhrnSpxMEUBF2oS2oi9E CTraf+LKvXsLHAKVjopvrwBTtR3a9Mpt+RHk3O/UzItiDUEaeCVgwst1mAN6id4FRpAt AUsCxw+zgaNJEuqKHHe4kywypfy1Z20bhAsu7emY0Le1v+D1k2ClLcYG7TLWBV+u7iU7 85XzFd3dzNuwk3gIR5kt1o+PMUEuTmMfPkpIf4M+j+sVnP8U8q7nEmTGVdTwvOmN/EAw cZNA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=rtRqbtvI; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1691000356; x=1691605156; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=MZv2kFiONHovAkklGyj2kujiABtHBQxiaf73zDNa4lg=; b=gIGxW92AZVxZTmXBTn1f1MTv24zKd2QHY0reRZcbelcJL/3YRUu1DoEvHIJjzp0JZR duaY3zq5nN2E5+Lb7vgYkKrEGSNS5iSa4L0/R8wPatU+/XYRUg0pSaqgv4jRyndgKkeN +abOQqkSwzluM/AKa4ReUI/qssZAOuO7fP0xiLnSe06oM7fNtt9XteAs4DUotxUFvBq0 lyVbXOXfL5IaCycaDF1t/E1I1IBjtvNr5sJw9x1WWLh+K6HL8ZMhuBAU/tVFwalARiLO x+ebItZiO+dCJI5ZL X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691000356; x=1691605156; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=MZv2kFiONHovAkklGyj2kujiABtHBQxiaf73zDNa4lg=; b=E1fjd9y13gg9WZX136+psyvuR8W/OGlo0js1Y1tH2IkAj5mlDGhrGx1OSomE9QGRt/ 5tpHDm3OSmzhcnORVVxgpd+44OXiL+HWe8DTCk0zzy3cbNQ9VfkQt/IQmhapDTXJPpKv UwR03NZ7DgfQg3yNRjJHDJjkfEVK+DJ9Yeus0bJjJhVBAtGiYsT98h9EbyiDGOKHoDy4 5wqUBPAxVIWbGB0L9VnJgfPm561I Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ABy/qLZEpoVl906jfXwsageGcNwj+P+hxOdQK0mjMmWdPxuLNGZJieXa iW5aEi3c20mRB2ziP+JIIww= X-Google-Smtp-Source: APBJJlGG36ovg1ZQR4VCD8qnGyzbaIW7jLoQLkBzqLjH1VUwL5faFfd3xrWdrLLC6gUkfR+Jl2G27Q== X-Received: by 2002:a2e:7e04:0:b0:2b6:d576:a25b with SMTP id z4-20020a2e7e04000000b002b6d576a25bmr5492339ljc.28.1691000355376; Wed, 02 Aug 2023 11:19:15 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:bc02:0:b0:2b9:35b5:8529 with SMTP id b2-20020a2ebc02000000b002b935b58529ls211249ljf.1.-pod-prod-07-eu; Wed, 02 Aug 2023 11:19:09 -0700 (PDT) X-Received: by 2002:a2e:9dce:0:b0:2b9:c046:8617 with SMTP id x14-20020a2e9dce000000b002b9c0468617mr5045055ljj.5.1691000349523; Wed, 02 Aug 2023 11:19:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691000349; cv=none; d=google.com; s=arc-20160816; b=B0Vi5jOH8UZJXc1wSc7k3xS1JDROQRqoMAz9c2FIrLBvtzkgjBVlM3owwmopguLbsJ 3CdYR054DSxTHWwlR8Fx9xxqYayvdwDO9X6rQs1NAzUhnD3g3KYRiOcDfPghhc4ZmbrY +jn/bZ8jcsEcupxSnEDPIS/npp3v+/n8Ml0mcLQgL6WUYDb8hIg7rR6qPhT2TVYbPfl0 tjzrSwjnvRlsOp+tL/FDr67rGtcXDlCwPlFFCTMFDlF51DTlykKYGtUKdA5ObGRWU2jm xtDZvKiyqI6riVMgUKp7znhlLxGMrfHOa8AGwjm6IodlN7h5u7tPuZHupZr0UEC1OOTJ 4a4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=v54njhUkfF8ieq6PrrlMdNhrzmogLg76yUhQPlaxzc0=; fh=zTk1OJJ/UIgC4n6p1b11w1SmP+rZGhoEUDeu1dHTagY=; b=Jz+SMhtbqElNaD61KYX3/wMjPGqopAEikLx7Plena6QL4liu1anF9cXj9Sy8+VC3HI zDPFd5oPt74oRnGDu9QUtFiAcA5HQKXuQh/8AyRGti6ayE6aXaxAwnN0q1+WE4qOHKHf 4hxvw7Iiqhd4/Zk9/iTynxuHmySvx7PDVCxQPRsDWTT9KjUHqU1RYVatCCucTg07cfGq V1ABrKaESw9vPmhbzNoKLvv7x+mQRdKoUMRv8qGkWOA+M/8JQ1fz7ZOenG3nu3UIHrwO alQ1ccaQ15GcH0riqgQNm9YLQuvlyr943p3oHeYPzx7WQSrHGI5GJG0NYO59u8rUSyoO phwg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=rtRqbtvI; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout01.posteo.de (mout01.posteo.de. [185.67.36.65]) by gmr-mx.google.com with ESMTPS id x37-20020a2ea9a5000000b002b94a079c55si922537ljq.8.2023.08.02.11.19.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Aug 2023 11:19:09 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) client-ip=185.67.36.65; Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C3EF9240029 for ; Wed, 2 Aug 2023 20:19:08 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RGKxS3FLpz9rxH for ; Wed, 2 Aug 2023 20:19:08 +0200 (CEST) Content-Disposition: inline In-Reply-To: X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=rtRqbtvI; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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.io gmane.text.pandoc:33013 Archived-At: What would the change be exactly? Le Wednesday 02 August 2023 =C3=A0 10:57:11AM, Thomas Hodgson a =C3=A9crit = : > I wonder whether it would be feasible/desirable for the Context writer to > change its mapping from DoubleQuote/SingleQuote to `\quotation`/`\quote` = based > on the language of the document? (And the same for `\enquote`/`\enquote*`= for > LaTeX.) >=20 > On Wednesday, 2 August 2023 at 18:27:38 UTC+2 Thomas Hodgson wrote: >=20 > Thank you. >=20 > I tried this (included in my header) and I get the result I want visu= ally > in the PDF: >=20 > ``` > \setuplanguage[en-gb][ > =C2=A0 leftquotation=3D=E2=80=9C, > =C2=A0 rightquotation=3D=E2=80=9D, > =C2=A0 leftquote=3D=E2=80=98, > =C2=A0 rightquote=3D=E2=80=99, > ] > ``` >=20 > On Wednesday, 2 August 2023 at 16:55:36 UTC+2 Bastien DUMONT wrote: >=20 > As you saw in the ConTeXt outputs, whatever language you set in t= he > metadata, Pandoc will always identify double quotes as primary qu= otes > and single quotes as secondary quotes. How they are rendered in P= DF > depends on ConTeXt. To alter the rendering of British English, yo= u will > need to use the macro \setuplanguage ([1]https://wiki.contextgard= en.net > /Command/setuplanguage). >=20 > Le Wednesday 02 August 2023 =C3=A0 07:10:40AM, Thomas Hodgson a = =C3=A9crit : > > When I have a markdown file like this: > > > > ``` > > 'foo' > > "bar" > > ``` > > > > The result of `pandoc --to=3Dcontext foo.md` is `\quote{foo} \q= uotation > {bar}`. > > The result of `pandoc --to=3Dcontext --output=3Dfoo.pdf foo.md`= is what I > would > > expect: single quotes around 'foo' and double quotes around 'ba= r'. > The output > > of `pandoc --metadata=3Dlang:en-GB --to=3Dcontext foo.md` is th= e same. > But, the > > output of `pandoc --metadata=3Dlang:en-GB --to=3Dcontext --outp= ut=3Dfoo.pdf > foo.md` > > has double quotes around 'foo' and single quotes around 'bar'. > > > > I could solve this by using double quotes where I want single, = and > vice versa. > > But that will give the wrong result for HTML from the same sour= ce. > Also, I'm > > sure that I would forget half the time. > > > > I assume that this happens because Pandoc treats the double quo= te as > the 'top' > > level of quotes, which in US English is a double quote and in U= K > English (in > > this case, confusingly) is a single quote. I don't think it's a= bug, > therefore. > > > > I think that the same thing happens with csquotes and LaTeX. Bu= t > there I don't > > turn on csquotes. > > > > Is there some way to get the behaviour I want while still using > British > > English? > > > > -- > > You received this message because you are subscribed to the Goo= gle > Groups > > "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from i= t, > send an email > > to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [2][2]https:// > groups.google.com/d/msgid/ > > pandoc-discuss/6bf5b865-b98a-4eab-ac15-9ca58d38e6cfn%[3] > 40googlegroups.com. > > > > References: > > > > [1] mailto:pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [2] [4]https://groups.google.com/d/msgid/pandoc-discuss/ > 6bf5b865-b98a-4eab-ac15-9ca58d38e6cfn%40googlegroups.com?utm_medi= um=3D > email&utm_source=3Dfooter >=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= email > to [5]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [6]https://groups.google.com/d/m= sgid/ > pandoc-discuss/a1f39c5a-624a-48d7-af9a-d4b7dd66f3bbn%40googlegroups.com. >=20 > References: >=20 > [1] https://wiki.contextgarden.net/Command/setuplanguage > [2] https://groups.google.com/d/msgid/ > [3] http://40googlegroups.com/ > [4] https://groups.google.com/d/msgid/pandoc-discuss/6bf5b865-b98a-4eab-a= c15-9ca58d38e6cfn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter > [5] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [6] https://groups.google.com/d/msgid/pandoc-discuss/a1f39c5a-624a-48d7-a= f9a-d4b7dd66f3bbn%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter --=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 view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/ZMqeG5N04dvzxiRd%40localhost.