From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33420 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'William Lupton' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Re: Citeproc/Order of filters being called Date: Wed, 29 Nov 2023 14:49:28 +0000 Message-ID: References: <15e09292-83a1-4e28-ba84-d0c518be709dn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000007a424060b4ba5e5" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27485"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCS4HJ6WSAHBBBU7TWVQMGQEJI6H7IA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Nov 29 15:49:47 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ed1-f63.google.com ([209.85.208.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1r8Lso-0006vM-MJ for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 29 Nov 2023 15:49:46 +0100 Original-Received: by mail-ed1-f63.google.com with SMTP id 4fb4d7f45d1cf-54366567af4sf1592514a12.1 for ; Wed, 29 Nov 2023 06:49:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701269386; cv=pass; d=google.com; s=arc-20160816; b=gOyAKUYJvTpoIqwykL8ZazLlT8Tsfs5RzDb1HAeCCUVjFShc93JALH2TYFIeEDJjqa qqPlX5ecbZLe+wSHVU+cq07MAjkS+OESebeaFxpw+bnRTmb9WwpxgAqNGOlV4Msttgmz uFQOZdmvYuryVJjnbEjTm9ZxpCK3x1McTh23/aNLk1+DfLQPQxf+c4OuL1/JWhIpQ3SV jetfJzpjWpnmY7VxekzLtxjKbqHXyuq8m6nFuh8WQcfP3312938IeBY9YOrZCaneSi20 rP7zmzwSsBq52KdBJ1+3J3CgeLahkHoSqLxlAgjzKA5FfQ3W+1J9dfJb+U0lCm8M2Eof KFIw== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:dkim-signature; bh=MyxxQdMBgtSumB8AEIW4jC9cBS8snaPuRXU6TwIj3cM=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=F9Zylip+WlDeHVazLvhwIJJB75QaOj40NabdgqOYqlTMCkFZF5HOkWXFDgHCiqEAcm 3cK+E+0kAabd+aXspF9yR1YbwVwFNXy2dI0Bnn09eQVcz0kxvL+ebGyj8wTpNRxjwSSw us+xxMn//O5yfDMP8Ob7YR/z/AtfpmEX4DCJhUq9NxRwdytZpYgk3os4VjKOhTTyGCoj xo87L5ImaEqxLfNQjQQBjRjsFMKIYvYk2puFEGtCSiRA6W8bVkmru8nm7FwHtnsYmmkl P/+paqN5/XZ0Z8iOnGkKkSZCYXskgUFb7AhKNydCZwMkbUy0ImhPGxlG9WZi8XejaB/V 43lw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=fDHzP6Lx; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::62f as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1701269386; x=1701874186; darn=m.gmane-mx.org; 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:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=MyxxQdMBgtSumB8AEIW4jC9cBS8snaPuRXU6TwIj3cM=; b=HlnLnMLV2NRaPOGxdz0lXkwlwaZAUX4ww23EURw/iR2EJiLxSe19e9pG2Ya6FA9vBi ueoCWBxExX9aNpKeidbp87RZA5RnsGeEOypHli2wwkICMQZtunQkaZlBCRcP7aJZeY3T TuSguPSf34qeYD9Jh8Hy//MNKgwYPgzfDy7zT1N8NmCatEbTHrGrla/4+gWJu5id5sYj pITX58vhVJPpD3bkgNapNizww9zkt7yKljnmpSE21tfSlDjeFyfewxGYWWbjrTMmJc8s DYlpb1KVRsu3ZfZjDhSjOFjAo/CVjjTNBBLtILIFpRHHJ9QZDH3YMnPY8Tw X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701269386; x=1701874186; 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:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MyxxQdMBgtSumB8AEIW4jC9cBS8snaPuRXU6TwIj3cM=; b=Ero/yfmrwBmCw/32EjaFEecTKJcYK5Ay7DoYx5y4YCu37Ov/ugF9f0+FYcd1TVN156 A5EtRUxxWeKRNn+OoI7W1Kpv0ARGRW76GTaNOp+37CQq2ZGRBtjAHi/LUY9CaMfoPEQA keQVZQbWUwt9MmjwFOYOqQAX45HAf+CLHvjX5MdV6KOq7AfRRrVIHIOzFHt0bsIKafTf cAY8GKJaMHMP3V72S4rRjhSkWQf+8lozlNz3IpG9WvSwKMwm36BXjfbzKLIwS56T+IR0 to8NFMLOOZEiY X-Gm-Message-State: AOJu0Yy7pmV4XiCP52DEAkomplNcNYZ7YSSzH+S1Ih32qX1QPLiPOG3E yfh1DyaZZwfD1q9c/WP4dRM= X-Google-Smtp-Source: AGHT+IHBCHWvhpKQIce3DGmqmC3p/zq0VZn8YxMUVLzSM56PsKV6FDh8Kl//9GwI3lBFnx3NBsln2w== X-Received: by 2002:aa7:db99:0:b0:54b:291b:9d65 with SMTP id u25-20020aa7db99000000b0054b291b9d65mr11359207edt.17.1701269385838; Wed, 29 Nov 2023 06:49:45 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aa7:d407:0:b0:54a:fad4:7232 with SMTP id z7-20020aa7d407000000b0054afad47232ls279369edq.2.-pod-prod-00-eu; Wed, 29 Nov 2023 06:49:40 -0800 (PST) X-Received: by 2002:a17:906:51:b0:a16:3628:b71d with SMTP id 17-20020a170906005100b00a163628b71dmr4683319ejg.0.1701269380192; Wed, 29 Nov 2023 06:49:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701269380; cv=none; d=google.com; s=arc-20160816; b=T1plzvXu3SVzcSMkdmi6xYEyG/U0ajfGlqc1VqiptMUkrLazBRPMfYPNOUYsLxgBoo WzgukZ6sPFW1IcRd3gOg606yvS4dW2F4SFsxwaBK4jyQRi5eUh/1V5OOLHeZUMF+j3Aa Zs40PLP1dkuZGO7ubg8yfhRgwimJ2VDX1meDaXbSu+utdkXTgH9QV08Yf/PLO1xQRceS d1YANBqbRF9brRI82tidu6y1yg8ZAEIYD62vgprqN5qKpzxpbISOy/H4/lB6ttrfN4wC GhBX8ilhJc+JEB7bsgGYhnE5aK6dFhQSGUDj7k6roeFLTsheaj/Je3RCRfCnaRG3cH/u rGNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=SP9mh745HTA7fVvRTntOtIayCvmzby3D9YzRyu0fey8=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=kp0h3+ovAOB1gsMaNm98hb/1PyZUdoXUWmm2jen2j/UyCxNi+EkoGE54oW1ww6LTQo PjWhgwKCCi7JSXLQm5YqqDkXkP7LQNq10xV+LAgDtJ2YMM6kbM6Kdub/VvrrNiUt28Uq AH1o+tEBkUiXaAkxwODTD87M4oYOoUkv2pt/vz0VG4sIVukgeMl6hJdG0OrufiEOK9hq G08RpWpQ5Njz2J9kP1RbgQR6sfw8g953uVbhBctQL3MKIPu0FlVK3YZiMARjz12MiNkN QAcwe7AE+L+buwhgbhO/aFZOzf27zNHZm4/IqGcv1eRLQWlDb4Wx5oJ5FsCaw6zts5gb Bsdg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=fDHzP6Lx; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::62f as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org Original-Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com. [2a00:1450:4864:20::62f]) by gmr-mx.google.com with ESMTPS id bv8-20020a170906b1c800b00a028da96cc2si835628ejb.2.2023.11.29.06.49.40 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Nov 2023 06:49:40 -0800 (PST) Received-SPF: pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::62f as permitted sender) client-ip=2a00:1450:4864:20::62f; Original-Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-9fd0059a967so190502566b.1 for ; Wed, 29 Nov 2023 06:49:40 -0800 (PST) X-Received: by 2002:a17:906:394e:b0:9fb:ddb4:1285 with SMTP id g14-20020a170906394e00b009fbddb41285mr20848740eje.31.1701269379451; Wed, 29 Nov 2023 06:49:39 -0800 (PST) In-Reply-To: <15e09292-83a1-4e28-ba84-d0c518be709dn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@broadband-forum.org header.s=google header.b=fDHzP6Lx; spf=pass (google.com: domain of wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org designates 2a00:1450:4864:20::62f as permitted sender) smtp.mailfrom=wlupton-QSt+ys/nuMyEUIsrzH9SikB+6BGkLq7r@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadband-forum.org X-Original-From: William Lupton 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:33420 Archived-At: --00000000000007a424060b4ba5e5 Content-Type: text/plain; charset="UTF-8" >From the information given, I think that the AST must still contain a fig:fig1 citation after your filter has run. Are you able to share your filter? On Wed, 29 Nov 2023 at 13:28, 'Thomas J.' via pandoc-discuss < pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote: > Hi everyone, > > Since pandoc-fignos isn't working anymore (at least, with my Pandoc > version), I have written a Lua filter that basically does what fignos does, > namely replacing tags such as @fig:fig1 with anchors/refs to the figures in > html/latex. Now, if I am trying to use this filter without citeproc, > everthing works as expected. The moment I use --citeproc, I get the error > message "fig:fig1 citation not found" and I have no link in my output file. > I am actually calling the lua filter BEFORE --citeproc in the command > line... > > pandoc --lua-filter=filter/pandoc-figref.lua --citeproc --number-sections > --from markdown --template=templates/phimisci-1-5.html --bibliography= > $BIBLIOGRAPHY --csl=csl/apa7-single-spaced.csl yaml/gen-metadata.yaml > article/$1 article/$2 -o $HTMLFILE > > What am I missing? Thanks for the help! > > Best wishes, > Thomas > > -- > 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/15e09292-83a1-4e28-ba84-d0c518be709dn%40googlegroups.com > > . > -- 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/CAEe_xxid8YRTLJKC%3D8jvD2ps4a7YoQe%3DZS3DMMt0VJ3d0e-04Q%40mail.gmail.com. --00000000000007a424060b4ba5e5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
From the information given, I think that the AST must= still contain a fig:fig1 citation after your filter has run. Are you able = to share your filter?

On Wed, 29 Nov 2023 at 13:28, 'Thomas J.'= ; via pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:
Hi everyone,

Since pand= oc-fignos isn't working anymore (at least, with my Pandoc version), I h= ave written a Lua filter that basically does what fignos does, namely repla= cing tags such as @fig:fig1 with anchors/refs to the figures in html/latex.= Now, if I am trying to use this filter without citeproc, everthing works a= s expected. The moment I use --citeproc, I get the error message "fig:= fig1 citation not found" and I have no link in my output file. I am ac= tually calling the lua filter BEFORE --citeproc in the command line...=C2= =A0

pandoc --lua-filter= =3Dfilter/pandoc-figref.lua --= citeproc --number-sections --from markdown -= -template=3Dtemplates/phimisci-1-5.html --bibliography=3D$B= IBLIOGRAPHY --csl=3Dcsl/apa7-s= ingle-spaced.csl yaml/gen-met= adata.yaml article/$1 article/$2 <= span style=3D"color:rgb(86,156,214)">-o $HTMLFILE

What am I = missing? Thanks for the help!

Best wishes,
Thomas

--
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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https= ://groups.google.com/d/msgid/pandoc-discuss/15e09292-83a1-4e28-ba84-d0c518b= e709dn%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://gro= ups.google.com/d/msgid/pandoc-discuss/CAEe_xxid8YRTLJKC%3D8jvD2ps4a7YoQe%3D= ZS3DMMt0VJ3d0e-04Q%40mail.gmail.com.
--00000000000007a424060b4ba5e5--