Attached (I think attachments work on this list) is a small Org file that has a table that sets out all the various options possible with the basic processor for citations. Most work, but not the author style, and the caps and bare-caps variants never do.

To test try changing parentheses to square brackets, for example (cite/t/c:@friends) to [cite/t/c:@friends], and exporting. From what I see in oc-basic.el, everything in the table should work. Changing the processor to use CSL, they all do.


Thanks,

Bill

--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada
CO₂: 421.47 ppm (Mauna Loa Observatory, 2023-11-24)
@book{chassellIntro,
  title = {An Introduction to Programming in {{Emacs Lisp}}},
  author = {Chassell, Robert},
  date = {2023},
  publisher = {{GNU Press}},
  location = {Boston},
  url = {https://www.gnu.org/software/emacs/manual/eintr.html}
}

@book{friends,
  title = {{{LaTeX}} and Friends},
  author = {van Dongen, M.R.C.},
  date = {2012},
  location = {Berlin},
  publisher = {Springer},
  doi = {10.1007/978-3-642-23816-1},
  isbn = {9783642238161}
}
#+title: Org citations with the basic processor
#+author:
#+date:

#+startup: showall align
#+options: num:nil ^:nil  toc:nil

#+bibliography: Basic.bib

#+cite_export: basic

Something like =(cite//c:@friends)= is a citation that does not work.  Test by 
changing the parentheses to square brackets and exporting.

#+attr_latex: :environment longtable
| style         | variant        | cite    | result                |
|---------------+----------------+---------+-----------------------|
|               |                | :       | [cite:@friends]       |
|               | b (bare)       | //b:    | [cite//b:@friends]    |
|               | c (caps)       | //c:    | (cite//c:@friends)    |
| a (author)    |                | /a:     | (cite/a:@friends)     |
| a (author)    | c (caps)       | /a/c:   | (cite/a/c:@friends)   |
| ft (note)     |                | /ft:    | [cite/ft:@friends]    |
| ft (note)     | b (bare)       | /ft/b:  | [cite/ft/b:@friends]  |
| ft (note)     | bc (bare-caps) | /ft/bc: | (cite/ft/bc:@friends) |
| ft (note)     | c (caps)       | /ft/c:  | (cite/ft/c:@friends)  |
| n (nocite)    |                | /n:     | [cite/n:@friends]     |
| na (noauthor) |                | /na:    | [cite/na:@friends]    |
| na (noauthor) | b (bare)       | /na/b:  | [cite/na/b:@friends]  |
| nb (numeric)  |                | /nb:    | [cite/nb:@friends]    |
| t (text)      |                | /t:     | [cite/t:@friends]     |
| t (text)      | b (bare)       | /t/b:   | [cite/t/b:@friends]   |
| t (text)      | bc (bare-caps) | /t/bc:  | (cite/t/bc:@friends)  |
| t (text)      | c (caps)       | /t/c:   | (cite/t/c:@friends)   |

* Bibliography

# You can specify "plain" or "numeric," and anything else turns into 
author-year.
#+print_bibliography:

Reply via email to