From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QAiHOtZJnWJYjQAAbAwnHQ (envelope-from ) for ; Mon, 06 Jun 2022 02:27:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ePtWOtZJnWJxCgEAauVa8A (envelope-from ) for ; Mon, 06 Jun 2022 02:27:02 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7B9C6BBC1 for ; Mon, 6 Jun 2022 02:27:02 +0200 (CEST) Received: from localhost ([::1]:57708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ny0aD-0001jS-KR for larch@yhetil.org; Sun, 05 Jun 2022 20:27:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ny0Ya-0001hj-ME for emacs-orgmode@gnu.org; Sun, 05 Jun 2022 20:25:21 -0400 Received: from mail-yb1-xb36.google.com ([2607:f8b0:4864:20::b36]:43653) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ny0YY-0005Xg-T9 for emacs-orgmode@gnu.org; Sun, 05 Jun 2022 20:25:20 -0400 Received: by mail-yb1-xb36.google.com with SMTP id l204so23070830ybf.10 for ; Sun, 05 Jun 2022 17:25:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=frFJv4u7L7+ZT1O77x1pRjO2sr3KzX9lE8560ehG968=; b=jPwkjIAfg6ijiWvWLz3d1fy9ESmOIjhXG8DNDdxI8H87Y5d4VnFnpUuHNLp2wsYm7/ yXLsAPcNPsIHIPFs/HT8YFcJ9qKUhQTLFXrclWOnt/Fs86Jk+dPL0e4dBZawESBnpEgP 55lM4HeKlxIuBnd9W/mA5/7fEcC9y3OFYdw5Hyg0RAMEtulUsrM3PttCY9zsluA/0nA+ MV3UH9zTRsN4F43oikC4QZlGnnELmJIhrRP9z3dhdl2M8HAqG5r4VEtfvfN72AHMwz6G bDqEf5yCynVT4HJgGZnj1fPtFOWPH9vRuET9yTR1ABscU8C53rjg015CRFP+fgZ2Ak21 0jPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=frFJv4u7L7+ZT1O77x1pRjO2sr3KzX9lE8560ehG968=; b=mmnxsDLoiJtUigbr1SqWeWACWx45NuwFReJgBavBR7n5V5EmFryV9CXGeTEuARR17E NFPourl7ghK8zKJ6m/oum/h6Bw58YzIcK0wClaPersaqi0mGj8MYKwqqfNX2S4JpAWv0 ZMznSYP3stRbmdkeZVRcPgD5PvsvVmRNuQ+GiFuzJqetKj1LayV9vWdvbtTpMMqxxN8/ zitiosEv4iKtLdg1oL+qnNXvqvIO4Op2/PrrBrtzXaKOafHdMyahi6E2ObtevAVnmap6 BbtC6ozWgM73RXEpbaqig8haxjitI3U7SP9f3vKw9w7e2wNWQVv7YdoQRtCxv97YPF9A DuuA== X-Gm-Message-State: AOAM530hDE6EE6t6VyFJ601klZeHBvFZeyMJmw8Ifq9SuDDXzyxpNvAe /CJQ+rWgtMFN1C5fZGs73MU3br7GpRgHg+ps/ekCiUiw X-Google-Smtp-Source: ABdhPJz/Q5X2exrwCuy7x7tX9tHjFiQei+/Ok3zcRwznzf5kLSEyMBX0XXGWRx606SIdV6QwlU58c2X5FoaWbRw/wmI= X-Received: by 2002:a25:cbc3:0:b0:65c:7ab5:6ed3 with SMTP id b186-20020a25cbc3000000b0065c7ab56ed3mr23522452ybg.23.1654475117721; Sun, 05 Jun 2022 17:25:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alan Tyree Date: Mon, 6 Jun 2022 10:24:41 +1000 Message-ID: Subject: Re: How to debug a CSL problem To: "Bruce D'Arcus" Cc: emacs-orgmode Content-Type: multipart/alternative; boundary="000000000000ae7cf705e0bc81c0" Received-SPF: pass client-ip=2607:f8b0:4864:20::b36; envelope-from=alantyree@gmail.com; helo=mail-yb1-xb36.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654475222; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=frFJv4u7L7+ZT1O77x1pRjO2sr3KzX9lE8560ehG968=; b=YwgpYN9rkMLtgWSUrM/Pfg2yi/3kA4Nb5S57VvkIedHp4L6eQ+1ZjEXpX1snFGqwAfZkp5 1BC/HGXnn6iUsfNKN6azCZCZX+ZNt5JUC0CTib+THJa49bgHMs2KmuxL5787/v8Ag+5DX0 SG8hbEmFqI8rc1vi/lUp9MlwjhDOf+73RNn7k7GToiqE/CQ8PGrP4OJYbnCqMN4VlRBgJR z3THA2G3PLsPcOexs1XEBBiaPJL0G8Edsl3VDkKXLBifv7j4NHVeD5XWqZ2arJq1LQvs4H LoA+eDC6zJSxARnGehGYC7UDeSl4NdIbiGZuQ+kov4y7oUquxKuSz4LOpNfvEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654475222; a=rsa-sha256; cv=none; b=ovJIZKRS3bp4Wx6vai8fxBKCRsqJj8sYdjEsgle7uzvARWFJuSJU3V9K1BcWIz9+3iGG4D AhSRthDdWkRL4PWgofWP4F7EXLKlUU1/2AWxg5jTtEt32MRllPlXBomk8fbS73p3tzykW6 KZroh1kSgvygKNPdGj4OBy0Ilejw/cy6RmdW2CNA/esCFTunUnZA5bOGgC+O8ml1iMCFQ+ Okw6vH63tjHJLJf7JNyNdJRZTYuK+gUiJ+/aSR50nUUzBl/fzFStbKhBXttGAohONJOe/7 A+18wvTMpF3C/XHclHGfnb1gcrORAmcLWlGw3UVmgZt/sGKKkp/eOxH8UfguSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jPwkjIAf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jPwkjIAf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7B9C6BBC1 X-Spam-Score: -2.51 X-Migadu-Scanner: scn1.migadu.com X-TUID: GOMmvXOrj3uu --000000000000ae7cf705e0bc81c0 Content-Type: text/plain; charset="UTF-8" Thanks for the prompt reply, Bruce. I guess the bad news is that the csl file validates. I also should have mentioned that everything parses properly with pandoc, so I guess it is a cireproc-el glitch. >From the brief error report, it must just be choking on a specific bibtex entry, so it would still be helpful to be able to find it. Cheers, Alan On Mon, 6 Jun 2022 at 09:15, Bruce D'Arcus wrote: > On Sun, Jun 5, 2022 at 6:48 PM Alan Tyree wrote: > > > I need some help with a debugging problem: > > > > I'm using > > > > #+cite_export: csl ~/Templates/csl/AGLC-intext.csl > > > > where AGLC-intext.csl is a custom csl file. > > I'm not sure if citeproc-el checks validity before running, but have > you confirmed it's a valid style? > > This is the easiest way to do that, if you don't have a relax ng > validator setup, with the schemas and such. > > https://validator.citationstyles.org/ > > If yes, and it is valid, I would report it to the citeproc-el issue > tracker. > > If your bib file(s) work fine with other CSL styles, it seems likely > it's something with the style or the style and citeproc-el. > > Bruce > -- Alan L Tyree http://www2.austlii.edu.au/~alan --000000000000ae7cf705e0bc81c0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for the prompt reply, Bruce.

I guess the bad news is that the csl file validates. I also should = have mentioned that everything parses properly with pandoc, so I guess it i= s a cireproc-el glitch.

From the brief error = report, it must just be choking=C2=A0 on a specific bibtex entry, so it wou= ld still be helpful to be able to find it.

Cheers,=
Alan

On Mon, 6 Jun 2022 at 09:15, Bruce D'Arcus <= ;bdarcus@gmail.com> wrote:
<= /div>
On Sun, Jun 5, 2022 = at 6:48 PM Alan Tyree <alantyree@gmail.com> wrote:

> I need some help with a debugging problem:
>
> I'm using
>
> #+cite_export: csl ~/Templates/csl/AGLC-intext.csl
>
> where AGLC-intext.csl is a custom csl file.

I'm not sure if citeproc-el checks validity before running, but have you confirmed it's a valid style?

This is the easiest way to do that, if you don't have a relax ng
validator setup, with the schemas and such.

https://validator.citationstyles.org/

If yes, and it is valid, I would report it to the citeproc-el issue tracker= .

If your bib file(s) work fine with other CSL styles, it seems likely
it's something with the style or the style and citeproc-el.

Bruce


--
Alan L Tyree=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 h= ttp://www2.austlii.edu.au/~alan

--000000000000ae7cf705e0bc81c0--