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 ms0.migadu.com with LMTPS id Q4XmAAYgUGLRbgAAgWs5BA (envelope-from ) for ; Fri, 08 Apr 2022 13:44:06 +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 iHfbMwUgUGK0LAAAG6o9tA (envelope-from ) for ; Fri, 08 Apr 2022 13:44:05 +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 31D4D170C9 for ; Fri, 8 Apr 2022 13:44:04 +0200 (CEST) Received: from localhost ([::1]:54848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncn22-0006lm-Th for larch@yhetil.org; Fri, 08 Apr 2022 07:44:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncmyi-0006lc-84 for emacs-orgmode@gnu.org; Fri, 08 Apr 2022 07:40:36 -0400 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:47057) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncmyf-0008Az-GY for emacs-orgmode@gnu.org; Fri, 08 Apr 2022 07:40:35 -0400 Received: by mail-ed1-x52d.google.com with SMTP id w18so9683508edi.13 for ; Fri, 08 Apr 2022 04:40:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andrew.cmu.edu; s=google-2021; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qbzUK+mNBwgbtsigdn1+5hNy6D+Txq0YpQfKhf7zfCI=; b=PkYW+ZIMX+qvybJQu3mSRXtG6rGyrU++KTqSfpQ8llUyWyCfGWHqITjX9HfdnbPo3V S7Qk/eA51pnKpoZvCC+YpRVHukvI8KU14RP1bPh/hLe4NdUOBcguw6XHxASr8BXBWXM3 J+qSKzmr5ntXQq5f1qCRRm3SQ/ppE9mLOlMpvvJjbdbzE8HDWAjqkIu5ayU7sVngNG4C KN7JGTG3gVCs1KNdf0wG4GnD+JQBeuHUBaE5Yg3Us3onVwDgGykqCD8MIWlzegQLM0Iv UWps0laYebCc8EoOfIZYoHId+GIltAfbHhn8hiAj9diVB9UoyHnk5pE5e9qVpbFpAtzT 9UWQ== 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=qbzUK+mNBwgbtsigdn1+5hNy6D+Txq0YpQfKhf7zfCI=; b=fKpgEyxvvZQpvh+/sPhOtGIdfBpGvBU0UBUhyl1io212AIZ6u45PVTpPFto2FKdeuC oRP3Ewapq/2Z7LX4QjX50RGaSTvLV/FH5HHZGQ2CeCVUxVQT1k8COgWgJClBqIBoNBQ7 g7S1z6K48VOFdZLCMGFMwVI+dPWIo4hEpb+BuE4sZp/Egk9qkEYZ4wnZDiHDbz8teBHH txtCNfH61fxxzS3VFOaoSn5GJ3TpLnUK9aZLeqY8Q5EsuqgWlX5u9Jut3SpWvmCOL/5X dED28hgBLct5TSL64iV1lU+wNjKDM4a7+e9NyVdIhkssncCaQmPte9W3cRJEwFzcRyxK I/+g== X-Gm-Message-State: AOAM531ShV1ftxaVZG+onsECdAIAXSTYTgZFcKw9YYFnaNOAgJL+edPL 1if/CgIXF3S3pcSV9nfFiWu64HB8CAHJXpVFJ2GPtgzzLUI= X-Google-Smtp-Source: ABdhPJzOP7rhrMQOl57kP+Ap7dCRSZPQ0VYztm/3Mep6o+jeylDnY3p5jWF2JIVzymkVVf3H2zamu+2MpEbpwt6ySjc= X-Received: by 2002:a05:6402:524c:b0:419:4d8c:e959 with SMTP id t12-20020a056402524c00b004194d8ce959mr19212364edd.398.1649418030635; Fri, 08 Apr 2022 04:40:30 -0700 (PDT) MIME-Version: 1.0 References: <20220407224420.2mnldyz6cat75rk6@sintefpc7170> <87tub3ltlf.fsf@ucl.ac.uk> In-Reply-To: <87tub3ltlf.fsf@ucl.ac.uk> From: John Kitchin Date: Fri, 8 Apr 2022 07:40:19 -0400 Message-ID: Subject: Re: [BUG] org-cite does not support techreport, mastersthesis, phdthesis, and conference entries [9.5.2 (release_9.5.2-426-gf6813d @ /usr/share/emacs/site-lisp/org/)] To: Org Mode List Content-Type: multipart/alternative; boundary="000000000000cd5c9f05dc230f4b" Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=johnrkitchin@gmail.com; helo=mail-ed1-x52d.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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=no 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: , Cc: Olaf Trygve Berglihn 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=1649418245; 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=qbzUK+mNBwgbtsigdn1+5hNy6D+Txq0YpQfKhf7zfCI=; b=egpd0iqvvjSOdaMGfD3LNUWKuYf5ETszaMj9uPr9mkIhrbYfjVNew7HCzaBeu1dh7sF+t0 moIzjIEuSl5xNxHaNjYWkCiOJCLj0gjPF1FMHwGFWC9+Bb6DWgOFasPDDL10VWucPlztaN /pARtTJ9FXrro0i183d9sgAHRYzgSMsyneb7v65gTOTrlc3MgqWGKiieuY8nG5gKXLtjPv sCiPILVSzwWiwQ6GoGluP96nmeGtvMrNuYUgL3zkwUT7hpxQug2q6vNFoRVp27sYrqVL3P MiTkkX8IAtVyXY63c8HIZ/3/NVVEs6Jbz9C74HPIG+2Wnw8OZSPirW0SmxqT8A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649418245; a=rsa-sha256; cv=none; b=YqOEw9F5CTNdl1uV61a/ClORusFXRX+M7LgYjybN+oTWkEgssbEpgCnihUOLiw168ACM3J g3qaq+UPKcGdhBazOaTv8ildrZoZl/TwiiUemSFbjYYvjJUJ/TZthJWlyTPTnriNbSUm3A rGS1B7/Dzu54zWQE+J4s46uyedKRrZorc3TIXHqu96ymVmAoHLfut0TFX3oqmvxyExcovy AJVCrcaSgW/qXVFUWgfI8ZElrZQUw7q3qzQCmdwxqu60tQNw/dI6fJwydsKxX7XlvoeKgn vSOSXGgJancAHPUAtdN/19EvgZvO97JONPf0/oW/8bdttdVUr49A+aYdSuO+sA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=PkYW+ZIM; dmarc=pass (policy=none) header.from=andrew.cmu.edu; 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: -8.87 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=andrew.cmu.edu header.s=google-2021 header.b=PkYW+ZIM; dmarc=pass (policy=none) header.from=andrew.cmu.edu; 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: 31D4D170C9 X-Spam-Score: -8.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: dthTulp57ura --000000000000cd5c9f05dc230f4b Content-Type: text/plain; charset="UTF-8" I guess this could be related to the dialect of the bibtex file. If it is BibTeX, then org-cite-basic--parse-bibtex finds conference and masterthesis for me, and probably anything defined in bibtex-entry-alist. Things that are not in that list would probably be ignored. This is outsourced to bibtex.el. #+BEGIN_SRC emacs-lisp (mapcar 'car bibtex-entry-alist) #+END_SRC #+RESULTS: | Article | InProceedings | Conference | InCollection | InBook | Proceedings | Book | Booklet | PhdThesis | MastersThesis | TechReport | Manual | Unpublished | Misc | if the file has a biblatex dialect then these are the entries that can be parsed. #+BEGIN_SRC emacs-lisp (mapcar 'car bibtex-biblatex-entry-alist) #+END_SRC #+RESULTS: | Article | Book | MVBook | InBook | BookInBook | SuppBook | Booklet | Collection | MVCollection | InCollection | SuppCollection | Dataset | Manual | Misc | Online | Patent | Periodical | SuppPeriodical | Proceedings | MVProceedings | InProceedings | Reference | MVReference | InReference | Report | Software | Thesis | Unpublished | If you open your bibtex file and type C-h v bibtex-dialect, or check that in the Entry-Types menu you can see what the dialect is. John ----------------------------------- Professor John Kitchin (he/him/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Fri, Apr 8, 2022 at 7:10 AM Eric S Fraga wrote: > On Friday, 8 Apr 2022 at 00:44, Olaf Trygve Berglihn wrote: > > When using the @techreport, @mastersthesis, @phdthesis, and @conference > org-cite > > fails to find the entry. Export to some formats fails due to this. > > I have tried this and it is true that org cite fails but only for > mastersthesis and conference, in my case, with org up to date as of a > few minutes ago. > > According to https://www.bibtex.com/e/entry-types/, conference as a type > was only included for compatibility with Scribe (as either proceedings > or inproceedings do the job) but the others are definitely in the list > and should be supported, I guess. > > -- > : Eric S Fraga, with org release_9.5.2-426-gf6813d in Emacs 29.0.50 > > --000000000000cd5c9f05dc230f4b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I guess this could be related to the dialect of the bibtex= file. If it is BibTeX, then=C2=A0org-cite-basic--parse-bibtex finds confer= ence and masterthesis for me, and probably anything defined in=C2=A0bibtex-= entry-alist. Things that are not in that list would probably be ignored. Th= is is outsourced to bibtex.el.

#+BEGIN_SRC emacs-lisp
(mapcar 'car bibtex-entry-alist)
#+END_SRC

#+RESU= LTS:
| Article | InProceedings | Conference | InCollection | InBook | Pr= oceedings | Book | Booklet | PhdThesis | MastersThesis | TechReport | Manua= l | Unpublished | Misc |

if the file has a biblatex dialect then the= se are the entries that can be parsed.

#+BEGIN_SRC emacs-lisp=
(mapcar 'car bibtex-biblatex-entry-alist)
#+END_SRC

#+RES= ULTS:
| Article | Book | MVBook | InBook | BookInBook | SuppBook | Bookl= et | Collection | MVCollection | InCollection | SuppCollection | Dataset | = Manual | Misc | Online | Patent | Periodical | SuppPeriodical | Proceedings= | MVProceedings | InProceedings | Reference | MVReference | InReference | = Report | Software | Thesis | Unpublished |

If you = open your bibtex file and type C-h v bibtex-dialect, or check that in the E= ntry-Types menu you can see what the dialect is.

John

--------------= ---------------------
Professor John Kitchin (he/him/his)
Doherty Hal= l A207F
Department of Chemical Engineering
Carnegie Mellon University=
Pittsburgh, PA 15213
412-268-7803


On Fri, Apr 8, 2022 at 7:10 AM Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
On Friday,=C2=A0 8 Apr 2022 at 00:44, Olaf Tr= ygve Berglihn wrote:
> When using the @techreport, @mastersthesis, @phdthesis, and @conferenc= e org-cite
> fails to find the entry.=C2=A0 Export to some formats fails due to thi= s.

I have tried this and it is true that org cite fails but only for
mastersthesis and conference, in my case, with org up to date as of a
few minutes ago.

According to https://www.bibtex.com/e/entry-types/, confere= nce as a type
was only included for compatibility with Scribe (as either proceedings
or inproceedings do the job) but the others are definitely in the list
and should be supported, I guess.

--
: Eric S Fraga, with org release_9.5.2-426-gf6813d in Emacs 29.0.50

--000000000000cd5c9f05dc230f4b--