emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "M. Pger" <mpger@protonmail.com>
To: Bruce D'Arcus <bdarcus@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: org-cite: only last names and et al. for more than two coauthors
Date: Tue, 28 Jun 2022 14:10:30 +0000	[thread overview]
Message-ID: <JLKUEs24hHTYM9aRE1sMQ95Mep_OQuKMqpkrSG8G4uoiZ0fxYej0CEq--tBLzrDEVGdoNRGAjYkeTWTkWskjYeulRgbS2W7ad6KLrc7Idu8=@protonmail.com> (raw)
In-Reply-To: <CAF-FPGN+Rdao6WvN2iUUdpYqLWQWJwYGqYg73VcM6OnP+yzSbA@mail.gmail.com>

Hi, thx for your answer.
Sorry for my poor understanding of org-cite. I added
```
(require 'oc-natbib)
(setq org-cite-export-processors
      '((latex natbib)
	(t basic)))
```
to my init file and then it worked smoothly. I can even put
```
#+cite_export: natbib customstylefile.bst
```
in my org file to use an extraneous bibliography style file, which is pretty nice.

A last question though: is it possible to set the 'round' option without having to insert the latex header
```
#+LATEX_HEADER: \usepackage[round]{natbib}
```
?

Thanks a lot for your work with org-cite.

Best,

M

------- Original Message -------
On Monday, June 27th, 2022 at 12:56 PM, Bruce D'Arcus <bdarcus@gmail.com> wrote:


> On Mon, Jun 27, 2022 at 1:13 AM M. Pger mpger@protonmail.com wrote:
>
> > I've recently tried to switch to org-cite, but I still have some problems with the basics.
>
>
> First, org-cite is a framework for citations. When reporting issues
> related to it, you really need to identify what processor(s) you are
> seeing the behavior with.
>
> > Consider the following entry:
> >
> > @article{akey2022,
> > title = {This is the title},
> > shorttitle = {This is the short title},
> > author = {Surname1, Name1 and Surname2, Name2 and Surname3, Name3},
> > year = {2022},
> > (truncated)
> > }
> >
> > I want to have something like: "as shown by Surname1 et al. (2022), ...", i.e. something one can get with natbib \citet command. With org-ref it worked like a charm.
> >
> > I've tried the syntax presented in https://blog.tecosaur.com/tmio/2021-07-31-citations.html#more-exporting, that is:
> > [cite/t/c:@akey2022]
> > but I ended with a 'wrong type argument' error.
> >
> > I then tried [cite/t:@akey2022]: exporting succeeds. However, I end up with "as shown by Surname1, Name1 and Surname2, Name2 and Surname3, Name3 (2022), ...".
> >
> > How can I correctly specify the options mentioned above? Is there a complete and updated tutorial available somewhere?
>
>
> [cite/t:@key] should work as you expect in natbib, biblatex, csl.
>
> Possible issues, depending on which of those you're using:
>
> - some error with the bib file; or a mismatch between the file and the
> bibtex dialect or something
> - the citation style
>
> A complete MWE would help.
>
> Bruce


  reply	other threads:[~2022-06-28 14:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-27  5:12 org-cite: only last names and et al. for more than two coauthors M. Pger
2022-06-27 10:56 ` Bruce D'Arcus
2022-06-28 14:10   ` M. Pger [this message]
2022-06-28 14:47     ` 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='JLKUEs24hHTYM9aRE1sMQ95Mep_OQuKMqpkrSG8G4uoiZ0fxYej0CEq--tBLzrDEVGdoNRGAjYkeTWTkWskjYeulRgbS2W7ad6KLrc7Idu8=@protonmail.com' \
    --to=mpger@protonmail.com \
    --cc=bdarcus@gmail.com \
    --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).