From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33008 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 14:55:25 +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="17196"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBY64VGTAMGQETD6HW6Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Aug 02 16:55:38 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f56.google.com ([209.85.167.56]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qRDGC-0004Ft-Up for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 02 Aug 2023 16:55:36 +0200 Original-Received: by mail-lf1-f56.google.com with SMTP id 2adb3069b0e04-4fe0f0f6ec0sf630476e87.1 for ; Wed, 02 Aug 2023 07:55:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1690988136; cv=pass; d=google.com; s=arc-20160816; b=SRWPnAwIrj/aM7exFI1qGhyelHGWiZbag47IJP33durVrCZjjnuJQ8rYP6/wZzFl51 7nzigq6iomQMqpsT6R8uFj8w0gvh3mwHTyDfqY8IWf9tRBlDt3jL8HQusjDO6uBeYknU hLhE6IyRk1qhgVnjUAbFlC6ZVT+wajOQLe4D2D8taXIAdMNrxx4nHJ7nvhsPl6dlYnFF +augImyq8ZUJbsR0F1VVB2Ui4yqKRYIZ9sFlSqPrF8IW8MUqRzrRYaJtYe5igu4CgFQf QCk4WuoILxY+Z3udWmJOB6n9MRt/EI5CXGWHrQ+ATvSwFg9G64HfGbIKhlmJhaX7fMCR FUVA== 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=ioSuEqjWddlKOxwl0qUxn7JEqu3NwElqyJtk7qUJRlE=; fh=zTk1OJJ/UIgC4n6p1b11w1SmP+rZGhoEUDeu1dHTagY=; b=GYi1kwOlXnaEsURuSm+VLmRIHHePyNBAxB4K1YrW3jqdAmiRc8e0APmdMeV4yy8SGg WVg0PuCqJRfv0SjmD1f7rfGhUCey+sZ0DHDMdBhvm8JsNFZXiQ5U81026EdYsJQ1w2Rj K9f8GLFKNk0hLeXJIqMoosqGu2WWeio6qlRkrfJT295z3RgVCifKpRANiTFkT+m1YPba Twny6S2vBi8cKYv6GUp/PydYstNSB69okKrAxm5z8zYIyTnlOIQ2p7k796tHNpAo0zpk 9HIu9rGzG5FgE55P+2AaFo+bUQ4hMsHZ/rrGSBMU9apdJeZd+H85Fj9/MGd+m+/nwd3x y6eA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=p+j1mMD9; 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=1690988136; x=1691592936; 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=ioSuEqjWddlKOxwl0qUxn7JEqu3NwElqyJtk7qUJRlE=; b=PxbAUdYSiKzjBoFcSGqO9oez4lQzbnzv4sHONHCDQeS0gN27vLV4zSm0f3MULqlbmA WvGffAAD9VoLocLBFTKZzR2wARPmM69kyXCLPlGl5llmY9EJFHMcuYsGLYAq5gNRwlgH PtMn2kLRTTDRcc9O5zRkH1E4VLqQBvRIN1MwUIqPrjqVpoOPkQ5ULDFVAuOFwSOr4jym JpQ4JKX5CM8347grBQ+zfMVhZ88jN45ljqGBhsHryVkM4c9rWuiv/bF4P6bG7Z+Z8XBL 8SLczphkRAItTvXDT X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690988136; x=1691592936; 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=ioSuEqjWddlKOxwl0qUxn7JEqu3NwElqyJtk7qUJRlE=; b=aTpzCQXn6k4i1ofG2IduIWhoWojNyFeaxJ8qElFvQOucX8sCWr+LpOGzbzioohf+rK EPan9RrfLEe5hjNU1pUa2wzyibA/LFkcF9hESVJWQwzL31D3MHwmFcYoE2TelBTM2CJL QQGms07RNsHrSlymf+gfava2VuHZggCcGN301wxjmQRh5r6Ufd4y3srLASr9Ms2CE2CG FbTRHbfm5FQD9oZCL6xw0RXoorlj Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ABy/qLYV5k3icbA6M6I1FUy8imKYHQNp6s/5xnZnqkhladYM0n9UrdAc pOcfnLHgo8YqcxgyrsCTPK8= X-Google-Smtp-Source: APBJJlGrXTZXCajCvHiHgeWg8s/YKf/8c9DX/sRNldyVFWtb1ykuPZeG7UPgT4CzNKtFD6QYwXTpaA== X-Received: by 2002:a05:6512:3e0e:b0:4f8:6d9d:abe0 with SMTP id i14-20020a0565123e0e00b004f86d9dabe0mr2957110lfv.33.1690988136028; Wed, 02 Aug 2023 07:55:36 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:2eb:b0:4fb:393:26ca with SMTP id m11-20020a05651202eb00b004fb039326cals246264lfq.1.-pod-prod-00-eu; Wed, 02 Aug 2023 07:55:30 -0700 (PDT) X-Received: by 2002:a05:6512:15a0:b0:4fe:36fc:bb5e with SMTP id bp32-20020a05651215a000b004fe36fcbb5emr2499751lfb.22.1690988130186; Wed, 02 Aug 2023 07:55:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690988130; cv=none; d=google.com; s=arc-20160816; b=Vsw+WsYfOuPHZhmkwkb6RdP/1ccYzz4D6FAUngFcGpQ0GPnu08pYr9w4+4SoYtseo/ 6EJLInwniwOkrJ4reizMYiyBZKmn6rRlsVobRzL91CvuRnK1XIvPcatQ4C1cvutxgPSx Xw2xSe6sfcM0dmJYpq70ICt4DarnGsNRL9H79xgciSmW/LjH3Wntqvs6ddNg1rhiZ8P6 4gT7gxFLRbHogSQCt37C7E1yQB5M5BxSrbPRy8+QnFUpc8TB9qpz6CLsV+fQpkmbxylP XipCwuOYeTnc3/XpCzUIKYY8v5PJXkIIQ8nX62nch0ocL2vZFQ+S5Rthezrc6EJFkPAE zX2g== 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=3pUpHB1vQuC6SdWEFA0CUpvZ2m826TmQ7DuQxI9Qbow=; fh=zTk1OJJ/UIgC4n6p1b11w1SmP+rZGhoEUDeu1dHTagY=; b=riCy+qlpSdOenAIrTOLCKIr+KA+KCAJ8vh9QV6JVNgUjmwOV4VrcjAg8EehPwKMh5G JHOlx3shI2KZlvd2S0VQzymo/KfNRLSt7B58N8csn7KMAYPzYQ7cbuCNQ/zWolEA/4yC y7sEgX6Q2Rb1psL1IHKMEmE/Z6mpsRz02llAs3ZY9gsOnYfCuLsfUSb1EvaA8m4dgnCm JGcu+y++C5f4t1itlumZP9ji/vXznwpa5s2eI1SkVNX11gueYz/RI642+YIBmeYrB93f WhEjYeS9gFoGAJOlF/N7dKdUDPzqYzxZIgiZ4/MN8GcSuOvxKYACNWLukWmkwlXI9KnS f4Tw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=p+j1mMD9; 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 a14-20020a2e980e000000b002b945894b21si1090430ljj.6.2023.08.02.07.55.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Aug 2023 07:55:30 -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 826AD24002A for ; Wed, 2 Aug 2023 16:55:29 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RGFQT1ddjz6tvr for ; Wed, 2 Aug 2023 16:55:29 +0200 (CEST) Content-Disposition: inline In-Reply-To: <6bf5b865-b98a-4eab-ac15-9ca58d38e6cfn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 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=p+j1mMD9; 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:33008 Archived-At: As you saw in the ConTeXt outputs, whatever language you set in the metadat= a, Pandoc will always identify double quotes as primary quotes and single q= uotes as secondary quotes. How they are rendered in PDF depends on ConTeXt.= To alter the rendering of British English, you will need to use the macro = \setuplanguage (https://wiki.contextgarden.net/Command/setuplanguage). Le Wednesday 02 August 2023 =C3=A0 07:10:40AM, Thomas Hodgson a =C3=A9crit = : > When I have a markdown file like this: >=20 > ``` > 'foo' > "bar" > ``` >=20 > The result of `pandoc --to=3Dcontext foo.md` is `\quote{foo} \quotation{b= ar}`. > The result of `pandoc --to=3Dcontext --output=3Dfoo.pdf foo.md` is what I= would > expect: single quotes around 'foo' and double quotes around 'bar'. The ou= tput > of `pandoc --metadata=3Dlang:en-GB --to=3Dcontext foo.md` is the same. Bu= t, the > output of `pandoc --metadata=3Dlang:en-GB --to=3Dcontext --output=3Dfoo.p= df foo.md` > has double quotes around 'foo' and single quotes around 'bar'. >=20 > I could solve this by using double quotes where I want single, and vice v= ersa. > But that will give the wrong result for HTML from the same source. Also, = I'm > sure that I would forget half the time. >=20 > I assume that this happens because Pandoc treats the double quote as the = 'top' > level of quotes, which in US English is a double quote and in UK English = (in > this case, confusingly) is a single quote. I don't think it's a bug, ther= efore. >=20 > I think that the same thing happens with csquotes and LaTeX. But there I = don't > turn on csquotes. >=20 > Is there some way to get the behaviour I want while still using British > English? >=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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [2]https://groups.google.com/d/m= sgid/ > pandoc-discuss/6bf5b865-b98a-4eab-ac15-9ca58d38e6cfn%40googlegroups.com. >=20 > References: >=20 > [1] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [2] https://groups.google.com/d/msgid/pandoc-discuss/6bf5b865-b98a-4eab-a= c15-9ca58d38e6cfn%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/ZMpuXcHRHh3M6jPe%40localhost.