From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30922 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Carter Wood Newsgroups: gmane.text.pandoc Subject: Re: Changing colons to full-stops in titles Date: Tue, 5 Jul 2022 05:02:37 -0700 (PDT) Message-ID: References: <87h73vj1m1.fsf@zeitkraut.de> <1ebf2a90-159e-4445-bf3a-b068526877cbn@googlegroups.com> <87czejixon.fsf@zeitkraut.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_10124_770689147.1657022557534" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28104"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCYPBGVKTEEBBXWQSCLAMGQEVQHV42Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jul 05 14:02:43 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yb1-f186.google.com ([209.85.219.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o8hGM-00072f-F9 for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 05 Jul 2022 14:02:42 +0200 Original-Received: by mail-yb1-f186.google.com with SMTP id p7-20020a25d807000000b0066e36989a90sf4876657ybg.8 for ; Tue, 05 Jul 2022 05:02:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; 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=8rXPpuxGQIS6WJrzEgiZVOSt7YuD/uChScpEACH5lMI=; b=DTyNIySQW0M7MQ9SnnFDG/GmmdWjOMML1F4gE6UxJIt9NXVAXz55d/3BbfUhb866gm P0mRdF+r/X7SK7ysFbOZ7XtSsQv3QRulGc4/UYcNcgAzTSpVxhGdNteztigUjitBj3i8 T25yO4xkkAysviKZKvmFZDKx5une7qoybTY7L06kvHsS+UKQQut/38pNFPuCV/tzmQOD pws3yH0WTUNXq71uUFBy60btMAxTd2mlavipt4rDL6AupxyhRy9x8E2GZHFNpmYZ9VpE WBh1dL980vhZIcvx0V0AJv0lki04xFG/5uMNyWnlB1RFmri4aKetVHGEyhswslQMjxCd lMDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=8rXPpuxGQIS6WJrzEgiZVOSt7YuD/uChScpEACH5lMI=; b=hmBRP3JFTgqO0OWRDRn+b7dJCzd+eV4wo/Czh6GYzcMxMUvUhv/L7BL1eKvNwUOGHN q7sit2enevr/uOJa1IPX2jwW8WSEIir4Tb4y5RYALm+0+1Gu9MwuqMPG2Jfr/V4A5ydj LiKiG6HhiwvQfDjjSRMl5Oble+5IIEu8dw7am72VrejszwHS1JT1A2kUVOWY/g4nkL5y bzuT42MfoQcfVW+xCr4jXl+tcSxYpUySqvlNwbu3ElwXQ5LuYRFHkbmCpe52oe8iRVUs cnCp6DBaX57o7KjpKyZ8yzmHHlvNrePI7UNZwRYcucqKkyEEwuCKlv3vxyyl4/BKyDIP hePQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora/wd8qLplbH0rKnPKpXpdy9AXtxkeM68YTDKmZCjHxZ99lYW/S0 tSNFHI0gTJjoETkYhOKf+Ew= X-Google-Smtp-Source: AGRyM1vx6C5OIWKc0BsA0NLd3SZtMMSXuJK6bCsjCuwb00UGsJpMPKEdN6mwhtBIX62D83ZTyTufGQ== X-Received: by 2002:a05:6902:154e:b0:66e:643f:edf2 with SMTP id r14-20020a056902154e00b0066e643fedf2mr6876938ybu.259.1657022561478; Tue, 05 Jul 2022 05:02:41 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6902:120e:b0:669:ae9d:b421 with SMTP id s14-20020a056902120e00b00669ae9db421ls5020568ybu.0.gmail; Tue, 05 Jul 2022 05:02:38 -0700 (PDT) X-Received: by 2002:a25:8192:0:b0:66e:1f8b:e5a0 with SMTP id p18-20020a258192000000b0066e1f8be5a0mr19902094ybk.329.1657022558089; Tue, 05 Jul 2022 05:02:38 -0700 (PDT) In-Reply-To: <87czejixon.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> X-Original-Sender: woodjo-ZOsAvrTRSvuEhhMi0yms2Q@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.io gmane.text.pandoc:30922 Archived-At: ------=_Part_10124_770689147.1657022557534 Content-Type: multipart/alternative; boundary="----=_Part_10125_1675050290.1657022557534" ------=_Part_10125_1675050290.1657022557534 Content-Type: text/plain; charset="UTF-8" OK, that worked! (In combination with putting the dot-filter before --citeproc.) Just to be clear: I normally don't have my references in the yaml block itself, but define a json file in the yaml that contains them. This should work in that context as well, yes? I will try to test it again soon with my usual set-up to make sure it also works that way. Thank you! Albert Krewinkel schrieb am Dienstag, 5. Juli 2022 um 13:52:31 UTC+2: > > John Carter Wood writes: > > > Changing the order with the original filter didn't have an effect. > > Trying the revised filter (which I renamed, as it is very different > > from the first one) resulted in the following error message: > > Screenshot from 2022-07-05 13-42-57.png > > My bad: please try to replace line 8 with > > return pandoc.Str(str.text:gsub(':$', ',')) > > > > -- > Albert Krewinkel > GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c804d00e-aed3-49b8-9eb4-19ed362828een%40googlegroups.com. ------=_Part_10125_1675050290.1657022557534 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
OK, that worked! (In combination with putting the dot-filter before --= citeproc.)

Just to be clear: I normally don't have my references = in the yaml block itself, but define a json file in the yaml that contains = them. This should work in that context as well, yes? I will try to test it = again soon with my usual set-up to make sure it also works that way.
Thank you!


Albert Krewinkel schrieb am Dienstag, 5. J= uli 2022 um 13:52:31 UTC+2:

John Carter Wood <woo...@= uni-mainz.de> writes:

> Changing the order with the original filter didn't have an = effect.
> Trying the revised filter (which I renamed, as it is very diffe= rent
> from the first one) resulted in the following error message:
> Screenshot from 2022-07-05 13-42-57.png

My bad: please try to replace line 8 with

return pandoc.Str(str.text:gsub(':$', ','))



--=20
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124

--
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/pandoc-discuss/c804d00e-aed3-49b8-9eb4-19ed362828een%40googlegroups.= com.
------=_Part_10125_1675050290.1657022557534-- ------=_Part_10124_770689147.1657022557534--