From: "Rick Lupton" <mail@ricklupton.name>
To: emacs-orgmode@gnu.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, 08 Apr 2022 20:51:01 +0100 [thread overview]
Message-ID: <ad227fb6-b595-4544-9b61-06712ffa46f5@www.fastmail.com> (raw)
In-Reply-To: <20220408191058.6mm3rxosg5uoi3hp@sintefpc7170>
I also found this recently. The reason is that BibTeX-dialect is set by org-cite-basic--parse-bibliography in oc-basic.el based on the file extension. Renaming your bibliography file to end in “.bibtex” instead of “.bib” should make it be parsed using the bibtex rather than biblatex dialect.
I did find this surprising, as I’ve always just used “.bib” for both dialects, and unless I was missing something it seemed to be incompatible with the bibtex program which seemed to expect a .bib extension.
Generally the cite export is working well, thank you.
Best
Rick
On Fri, 8 Apr 2022, at 8:10 PM, Olaf Trygve Berglihn wrote:
> Thanks for the info. I do get that e.g. TechReport is in
> bibtex-entry-alist, but it does not work still. I also tried to remove
> any ${HOME}/.emacs.d stuff to ensure no interaction.
>
> bibtex-entry-alist is only populated after an explicit call to
> (load-library "bibtex")
> or by first visiting a bibtex buffer.
>
> #+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 |
>
>
> bibtex-dialect is a variable defined in ‘bibtex.el’.
> Its value is ‘BibTeX’
>
> Unfortunately, my elisp and org knowledge is limited, so I'm currently
> not able to provide more details, trace, or debugging info without some
> guidance.
>
> Thanks for your help.
>
> -Olaf
>
> --
> Olaf Trygve Berglihn <olafb@pvv.org>
next prev parent reply other threads:[~2022-04-08 19:52 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
2022-04-08 19:10 ` Olaf Trygve Berglihn
2022-04-08 19:51 ` Rick Lupton [this message]
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=ad227fb6-b595-4544-9b61-06712ffa46f5@www.fastmail.com \
--to=mail@ricklupton.name \
--cc=emacs-orgmode@gnu.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).