From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30879 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sukil Etxenike arizaleta Newsgroups: gmane.text.pandoc Subject: Re: Changing typographical quotation marks in citations Date: Thu, 30 Jun 2022 14:34:06 +0200 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------i0Vmz0LVxFIFki7SEeT0Jfnb" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30778"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.0 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDIN5YV3SMDBBQVQ62KQMGQE26BUFTY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jun 30 14:34:14 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f55.google.com ([209.85.221.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o6tN8-0007qE-62 for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 30 Jun 2022 14:34:14 +0200 Original-Received: by mail-wr1-f55.google.com with SMTP id l9-20020adfa389000000b0021b8b489336sf3062553wrb.13 for ; Thu, 30 Jun 2022 05:34:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1656592453; cv=pass; d=google.com; s=arc-20160816; b=SFBhEheUXRDBuA2ZcYvIvMs+NY54/R4tsCPjWr5pUCk4/SuzsQCSc3d9hc9hWI/6kW GfYrYwVoZiPRJRxl2Hdj6jz46P0l4KeFvIyAFRMudeFnzh6eUnzLwj+s4gII6ufuGm8z aHupNilVXaTxN4lSkMYQ4aL9mu8NJdniQNmMiIW/SA2l0ezWlyP7dyyQMjMBJmignxkJ AcWBoqzyj9PzeiQ83RscyWmWv8zgndHwQbwL/CNKwPLSqmv+qSRF2W49MNnwnYzHZi+5 JPrj+xnp3luziPjvDqC+oIz1JHU5Ff6XBm37HIsX4XwmJughm+/hKZuDOsl90gcWp1PP wkJQ== 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:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:sender:dkim-signature:dkim-signature; bh=wBirEA6ElghPJq552IrbOm54nhNXGYrjtv69RNFNysY=; b=e+DZ+9jkuOk+Ubw/r10xQWCWd1Ckv4Nmw90zJ7YtWs2jJMQ4yi5jfDU0FV8COASzJl 2kIJNveusNPqTk+KphSj2jMqJspujF/+gB8A737M+g+uHo7WkaMVFBpFyhxtI11PTeZr R6wNaXxKEbPv93Z3TKaLevpmrQW1sPlObL3fLHEASb9Fzx06RQKJ+Ru6XuRA4OCgc1VK spK5HJvUVakLUYpF51K1V+xBxb0jqP20NZ34y34M059xDc+QnzhfZxPREEKqGq+LDKCE UclTNTp7K/t67OZ/XydY2YqmmcgkdlHxC81ZnVyUQKLzUm/U1Db5SgE9r8CYid4HXpei 9m2A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UAA3HUj6; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::436 as permitted sender) smtp.mailfrom=sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=wBirEA6ElghPJq552IrbOm54nhNXGYrjtv69RNFNysY=; b=nSmMuapYBSEax648aDoqLiDXkLddQyD7cSbpQ0TJn+kIjnxmsA9Ib1GqivkMzMTc+J 87tAa8UGdICezsXU5cyZPLZlAkY3nOm0tvq7NKealxFcIvygGS2F+1hZG0STFkJQiN3i qo4jn139App90UlDaYu9HtV9WRk+In0lQCYa/5l/OyaN5b9HmPBRduJOdRKZgguFqfLI K4vyL9LLmotYwkt/mwvzruXbev0PofN2c+ArYa9Yx82CoNZgW5hEEVawvkS7ZJL5Yp1L gJ4MIZmkcPWcdBaj4QJn47RMATnEKjUCq3TJxcjx+pFCWxyiiLjoBg6GQBK1JLIUB8xx hLaw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=wBirEA6ElghPJq552IrbOm54nhNXGYrjtv69RNFNysY=; b=ltK+/ZTtQ2fA5kZa5bmQpVrVbMQG+J3/Iq6DHiqay4d8r17qOWTg8aMdtwIUzqE9M4 5iddR8EIeBl6d7iaijV39qf/V3vE1RVYZ+QV6ChKsrj7axxB342O1MXmjcc2cHlla87K vtTHKCbBAHHupaLp3axAJQMajfXmnD7lAnRNG+hU3oAsYC1MBhfE9gDEjjxytHnJKqPO evOMvT+qyZdOKqf/5u8onOaHU3OjofYQeGBD3XjiajNZGG3xZ32bUqS2Q5nDb75/qOah K+jeVwHgCGlXEvZtRkPywj2p4R+bRI/7Myg9BzY1td4xpFx5l2KovoKCZhrx1Y5Y46uj w6LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:message-id:date:mime-version:user-agent :subject:content-language:to:references:from:in-reply-to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=wBirEA6ElghPJq552IrbOm54nhNXGYrjtv69RNFNysY=; b=jnH5/rC69Cziojf9/eyx9HHM2Hse7kpD4ia44JghHfbotsq8Ga+8pnUsEtSoByEVr9 y1/Wk0XOG8KXjmESi8dzjjjMsUjgpijuqv7DN1q8Bk+UkJoD0F9PJpT2FMhKkXzr2/mJ u28XjsknCX+E2h1Gg4B1iyH9OFjQgd7ZUWa2ayza/K2whhJI7oTGvYLSKF1jLW37zKHc oH99m0vJk1T1d+0zdKAwaL8BnFkwCqoujrrrMsAxkO9Zfnyn7p+tT+t3CZN+NYezCQO1 tpsT0z/Oo2oQqzqKbnihw04Moc1fIoGmJF7jB+GFi/DSQsYQlXXZ6T9/MHj/rjfbq3KP Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora8dxZC4EGL3Z3K1lEGtmcJ1cKRZN3OCXTFwhR6TdohUfYGZ5o6O yU05eLTgx5eeYcxf3a1K3D0= X-Google-Smtp-Source: AGRyM1sgZYGp0bTu3pY2lIVxVPu9shtZfD2vpWh28+EjUed4aNE8IrC8/dtFOK2mWTYk2PnH57hHQQ== X-Received: by 2002:a5d:64e4:0:b0:21b:940a:a002 with SMTP id g4-20020a5d64e4000000b0021b940aa002mr8246175wri.360.1656592453566; Thu, 30 Jun 2022 05:34:13 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:600c:1da7:b0:3a0:3b20:d119 with SMTP id p39-20020a05600c1da700b003a03b20d119ls1592066wms.1.canary-gmail; Thu, 30 Jun 2022 05:34:09 -0700 (PDT) X-Received: by 2002:a1c:7903:0:b0:3a0:3936:b71f with SMTP id l3-20020a1c7903000000b003a03936b71fmr12139853wme.168.1656592449936; Thu, 30 Jun 2022 05:34:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656592449; cv=none; d=google.com; s=arc-20160816; b=tKLZyOAq35EcptHA1KDtc88nCm8+7ZS2bfQ6C19qGeOiK4AxnJnlwhx1NBfMUzDfH0 x2A06EUB3uhaH+X+RXhQNYe3ddH2LUNjDcUBtlQNZSoqH0Zf3GVEffXqcXNrVaSOsLmn KBvgmXhirPpI7a7x5f9sHptEyQUr8A9EPklQgHnaKoeq213QNo/13yPHnRoah8jUGgDc q+ECJ8anSIemEV3KwzbG4yVwvLUzXnfEnTTitMBGe9wETVkvb+SaI6yAYMtMPrtNGWjP 1WPe3t/dOAW9y2NHfhQi2Hbq3oGOZSzbBUZ2GKIrZObu9K2+Pgv0fIDKKmndTI2f89h3 DV3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=RI+2Gf+9P/BGkwzNXL4YLWXxJIADkrKpEUOT+CuHQjo=; b=ZV/YduwctZ1JrOwVmewYMDs8jL9OECTrE7gFoPrD5yU59iN2+kl9wnf8I1pM3+kRWZ XFNiQ8BbJYDAS3SJDZdmydRCBPT1y1vpaQpEF76F+10BoF4jOLtk0lxDCUTghL26RPAk tsWuhxXQ7/ENLltvpcWXAG7910Q5BrNZBUxv/JO73TmHUmRfCFo3eIssmE9glhpQ8WUA THGlA4KO/Z1OA7BqQmVa6iAQb3XsBuDWF65Dz3VdAQMz2dQvdvWmx+xiBK1eWjCVh5fs dwBYIgIL3fRzyWcMFM8rLkKdm8sVmt0xfKPJWYeGob3JXdn+RPhO6GEA4z+4mhlFwoZv I8kQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UAA3HUj6; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::436 as permitted sender) smtp.mailfrom=sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com. [2a00:1450:4864:20::436]) by gmr-mx.google.com with ESMTPS id y16-20020adfdf10000000b002132c766fd7si681714wrl.4.2022.06.30.05.34.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Jun 2022 05:34:09 -0700 (PDT) Received-SPF: pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::436 as permitted sender) client-ip=2a00:1450:4864:20::436; Original-Received: by mail-wr1-x436.google.com with SMTP id i25so21569066wrc.13 for ; Thu, 30 Jun 2022 05:34:09 -0700 (PDT) X-Received: by 2002:a05:6000:508:b0:21d:4105:caf9 with SMTP id a8-20020a056000050800b0021d4105caf9mr1276984wrf.699.1656592449464; Thu, 30 Jun 2022 05:34:09 -0700 (PDT) Original-Received: from [192.168.1.23] (135.red-2-142-187.dynamicip.rima-tde.net. [2.142.187.135]) by smtp.gmail.com with ESMTPSA id h4-20020a5d4304000000b0021b829d111csm19771613wrq.112.2022.06.30.05.34.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Jun 2022 05:34:09 -0700 (PDT) Content-Language: es-ES In-Reply-To: X-Original-Sender: Sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UAA3HUj6; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::436 as permitted sender) smtp.mailfrom=sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:30879 Archived-At: This is a multi-part message in MIME format. --------------i0Vmz0LVxFIFki7SEeT0Jfnb Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Hi, After looking at the spec (the only experience I have with CSL files), I=20 think you would need to modify your CSL file, Add a locale element in=20 the root style element, like this: (Or try left-inner-quote and right-inner quote instead, maybe) Hth, Sukil El 30/06/2022 a las 14:04, John Carter Wood escribi=C3=B3: > In setting up a CSL file for a German-language publisher (but for=20 > English-language texts), I've run into the issue of needing to change=20 > the typographical quotation marks when converting from Markdown to=20 > docx or pdf. I am familiar with pandoc-quotes.lua but when using it,=20 > it changes the quote marks in the main text, but not in the citations=20 > (which come from a json file). > > So, I have to use this group of quotation marks: =C2=BB=C2=AB=E2=80=BA=E2= =80=B9, which I have=20 > set in a YAML block (quot-marks: =C2=BB=C2=AB=E2=80=BA=E2=80=B9). (The do= cument language is set=20 > to en-GB.) > > The result changes the main text quotation marks but not the citations=20 > (see screenshot). > > Screenshot from 2022-06-30 13-55-41.png > > Is there a way of getting the quotation marks I want in the citations=20 > as well? > > (pandoc-version 2.18) > --=20 > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send=20 > an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/da178cb2-48fa-4f53-8417-= 02dcae0129acn%40googlegroups.com=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 view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/e4a10b1a-a31b-109f-58b7-8b6213593f22%40gmail.com. --------------i0Vmz0LVxFIFki7SEeT0Jfnb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi,

After looking at the spec (the only experience I have with CSL files), I think you would need to modify your CSL file, Add a locale element in the root style element, like this:


<style>

=C2=A0=C2=A0=C2=A0 <locale xml:lang=3D"en">

=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 &l= t;terms>
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 <term name =3D "open-quote">&laquo;</term>
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 <term name =3D "close-quote">&raquo;</term>
=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 &l= t;/terms>
=C2=A0=C2=A0=C2=A0 </locale>
</style>
(Or try left-inner-quote and right-inner quote instead, maybe)
Hth,
Sukil

El 30/06/2022 a las 14:04, John Carter Wood escribi=C3=B3:
In setting up a CSL file for a German-language publisher (but for English-language texts), I've run into the issue of needing to change the typographical quotation marks when converting from Markdown to docx or pdf. I am familiar with pandoc-quotes.lua but when using it, it changes the quote marks in the main text, but not in the citations (which come from a json file).

So, I have to use this group of quotation marks: =C2=BB=C2=AB=E2= =80=BA=E2=80=B9, which I have set in a YAML block (quot-marks: =C2=BB=C2=AB=E2=80=BA=E2=80= =B9). (The document language is set to en-GB.)

The result changes the main text quotation marks but not the citations (see screenshot).

3D"Screenshot

Is there a way of getting the quotation marks I want in the citations as well?

(pandoc-version 2.18)
--
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-dis= cuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-d= iscuss/da178cb2-48fa-4f53-8417-02dcae0129acn%40googlegroups.com.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/p= andoc-discuss/e4a10b1a-a31b-109f-58b7-8b6213593f22%40gmail.com.
--------------i0Vmz0LVxFIFki7SEeT0Jfnb--