From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 Xo3jDDdcnWKlKgEAbAwnHQ (envelope-from ) for ; Mon, 06 Jun 2022 03:45:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CCfaCjdcnWIUgwAAG6o9tA (envelope-from ) for ; Mon, 06 Jun 2022 03:45:27 +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 B43A3D75E for ; Mon, 6 Jun 2022 03:45:26 +0200 (CEST) Received: from localhost ([::1]:44502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ny1o4-0001L9-TY for larch@yhetil.org; Sun, 05 Jun 2022 21:45:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ny1nX-0001L0-Ik for emacs-orgmode@gnu.org; Sun, 05 Jun 2022 21:44:51 -0400 Received: from mail-yw1-x112d.google.com ([2607:f8b0:4864:20::112d]:44050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ny1nV-0001NX-Tg for emacs-orgmode@gnu.org; Sun, 05 Jun 2022 21:44:51 -0400 Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-30ec2aa3b6cso129349947b3.11 for ; Sun, 05 Jun 2022 18:44:49 -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=iKrtYIvPZ9SXBCCezu60HAUDr6kVo+LPBkoLZMIshU8=; b=LCAQ5Wjr5dbSV63ooPBtoqmF8lApfH9W+rwJBlamm0HxWckdNEoxa9N3F3LHyuWBuc Ou8MibnHU/S725YTBCURthljXNnUytoyWiKvTOaxT0xeuf8v10adOEebNQ4EY3bO4ijK 0KsDYayXMBYG8QWz1mfSsRMppQZMcqL6miPcP1tXDrLUZTe16C/itOeheCRQ2cyLwlM4 04SmuhZ8f0IXQnI41xKcPbnZl2uEObZeKm8R305lY48Hw9LWaPBQcfmLaEAKbYuOOtsl yoAmEowmIY0U4oCJW3e4AYEQBceTMPHWTHLNYL3f0qfhv9uH0OUZmgWJpu4QpUdkqu8/ oR1A== 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=iKrtYIvPZ9SXBCCezu60HAUDr6kVo+LPBkoLZMIshU8=; b=BvpIz95qbTuHUKrNITAtX1w361yPowxZio6/PC1a0W/NzwyquN3jFGjEse/FgxvBit YvXs3d/BIhoqGVR5nQVl9HMkpJ6P5/uKmKXmFH8KfXQR348vcpzgHukJ3OW2qQD0hI3H +z3Xd4v556jpt0HBg+b0ITfkmQCZbLvdqBOFCSspRiljrwJLCPtkX52EAKcEkGhPNmQU YBb/DWro3RvYwWKEl4DRTHq0NS5v/diddCKEWdPN6LhfRIkPtR20DppZfwKQY0vKNrxL GzVj3HD47JKtvP5VikSHopXCrreHbN5RMJW8sCNJA2Bb9IU51ioUjOl3uR0LXWJmzyvk fukg== X-Gm-Message-State: AOAM531QrhwTgtIFjrcEI6quu6xc/6C1Rfbrry7ekiTdHOHlTke9BinM 8TlDZGdX/3Zsfi98DmP4xSXN6WCOrlq+yerSuBQ= X-Google-Smtp-Source: ABdhPJz/1RZP962dgIFqn+m0mWUjaALsYb2E0dT5Ce92gcNc3QTgQTlkoJfoS/wgbRVkpEbefTueYLrLDBc++TdgXd8= X-Received: by 2002:a81:4905:0:b0:30c:1d7d:b61e with SMTP id w5-20020a814905000000b0030c1d7db61emr23242308ywa.174.1654479888846; Sun, 05 Jun 2022 18:44:48 -0700 (PDT) MIME-Version: 1.0 References: <87r1424n7v.fsf@localhost> In-Reply-To: <87r1424n7v.fsf@localhost> From: Alan Tyree Date: Mon, 6 Jun 2022 11:44:12 +1000 Message-ID: Subject: Re: How to debug a CSL problem To: Ihor Radchenko Cc: "Bruce D'Arcus" , emacs-orgmode Content-Type: multipart/alternative; boundary="00000000000010125005e0bd9efd" Received-SPF: pass client-ip=2607:f8b0:4864:20::112d; envelope-from=alantyree@gmail.com; helo=mail-yw1-x112d.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=1654479926; 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=iKrtYIvPZ9SXBCCezu60HAUDr6kVo+LPBkoLZMIshU8=; b=RvWcMcieGpKv7Rn7wYnn5NqBc64TFWokZS6S0wXHVDTGqVESzW9I0yLbDWNFv9G4ZuSCNc hqvNZlz+IiLrFfNextC6KADpVH3w+q90Ga8uiSYi/LzjJD+I9gXLV8G3yOn7djMcqqM6Uh Coo3OY4dEAEHv2R9vWpukWpJ5FX1YJYMRHnUVM9AgmvstxYCexKNYCpTu2jFSjQwwDvROy ZA5687y9+HKvD1TPbuMMjGLpeNJ+PlTXQuAQqMNuptNrixpvm1cBSIFVnK4gNl7tUm0c+n RPqkarJteUZn1s6zP+QbWyktxiU0DtkPFi4UONLu9KEOiC24BFqzXJuRVw6ZEQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654479926; a=rsa-sha256; cv=none; b=XV7sgHfqDPaco2baXpW7ckV+kJuEQyb64QWIn5YmKmW7XpDf0LZMWbtah+keyVdkCuPwIY kTf9X0zGRmzehRt+Y3HS1SayLsBo32XMSh/aCYlyFrhcTCoNCKQtZxOG38Vqy8d9zFPpNe YDXaxPbw4KliDF/olG6CYGwBKKZp+tRsUiTijPzt/xNgkpyOJRhkkQFVhxIkzGtQ/IvmLp 0xfT/qiHf9cjaRZ9/MSRlHXpW49I/yo/R3GIR++vFxO0uDWDdRk/BPpRSS3wBaEZg0ynhP eG4DFBvFOswvT+i8sPjI0skh0PknDO/Ivme9dQRU1aqPmtLDLjT/WE9rtZq0/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=LCAQ5Wjr; 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=LCAQ5Wjr; 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: B43A3D75E X-Spam-Score: -2.51 X-Migadu-Scanner: scn1.migadu.com X-TUID: OemmpL3xe+5N --00000000000010125005e0bd9efd Content-Type: text/plain; charset="UTF-8" Thanks, Ihor. That found it. The bibtex entry had: author = {BIS}, Change to: author = {{Bank for International Settlements}}, and it all works a treat. A short random test shows that the export chokes when there is a single name for an author. Again an example: author = {{Wolfsberg Group}} works fine; author = {{Wolfsberg}} chokes. Thanks to you and to Bruce for the help. Cheers, Alan On Mon, 6 Jun 2022 at 11:03, Ihor Radchenko wrote: > Alan Tyree writes: > > > 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. > > Run M-x toggle-debug-on-error and then try to trigger the error. Then, > you will be able to see the whole backtrace and potentially find out the > problematic BiBTeX entry. If backtrace does not help, you may need to > use M-x debug-on-entry and use debugger (See 19.1 The Lisp Debugger in > Elisp manual). > > Best, > Ihor > -- Alan L Tyree http://www2.austlii.edu.au/~alan --00000000000010125005e0bd9efd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks, Ihor. That found it.

The bibtex entry had:
author =3D {BIS},

Change to:
author =3D {{Bank for International Settlements}},

and it all works a treat.

A short random test shows that the export chokes when there is a single = name for an author. Again an example:
author =3D {{Wolfsberg Grou= p}} works fine;
author =3D {{Wolfsberg}} chokes.

Thanks to you and to Bruce for the help.

= Cheers,
Alan




On Mon, 6 Jun 2022 at 11:03, Ihor Radchenko <yantar92@gmail.com> wrote:
Alan Tyree <alantyree@gmail.com> writes:

> I guess the bad news is that the csl file validates. I also should hav= e
> 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 specif= ic bibtex
> entry, so it would still be helpful to be able to find it.

Run M-x toggle-debug-on-error and then try to trigger the error. Then,
you will be able to see the whole backtrace and potentially find out the problematic BiBTeX entry. If backtrace does not help, you may need to
use M-x debug-on-entry and use debugger (See 19.1 The Lisp Debugger in
Elisp manual).

Best,
Ihor


--
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

--00000000000010125005e0bd9efd--