emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Org Mode List <emacs-orgmode@gnu.org>
Cc: Olaf Trygve Berglihn <olafb@pvv.org>
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/)]
Date: Fri, 8 Apr 2022 07:40:19 -0400	[thread overview]
Message-ID: <CAJ51ETpfCRvniprO4g2bhjptbTVhRtjRZ2pxsYxxoC5XnHgeqg@mail.gmail.com> (raw)
In-Reply-To: <87tub3ltlf.fsf@ucl.ac.uk>

[-- Attachment #1: Type: text/plain, Size: 2226 bytes --]

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 <e.fraga@ucl.ac.uk> 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
>
>

[-- Attachment #2: Type: text/html, Size: 3051 bytes --]

  reply	other threads:[~2022-04-08 11:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-07 22:44 [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/)] Olaf Trygve Berglihn
2022-04-08 11:09 ` Eric S Fraga
2022-04-08 11:40   ` John Kitchin [this message]
2022-04-08 19:10     ` Olaf Trygve Berglihn
2022-04-08 19:51       ` Rick Lupton
2022-04-08 20:10         ` Bruce D'Arcus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ51ETpfCRvniprO4g2bhjptbTVhRtjRZ2pxsYxxoC5XnHgeqg@mail.gmail.com \
    --to=jkitchin@andrew.cmu.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=olafb@pvv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).