all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Citations and basic processor: examples of some things that don't work
@ 2023-11-28 20:22 William Denton
  2023-11-29 10:08 ` Ihor Radchenko
  0 siblings, 1 reply; 7+ messages in thread
From: William Denton @ 2023-11-28 20:22 UTC (permalink / raw)
  To: emacs-orgmode

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

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)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-bibtex; name=Basic.bib, Size: 480 bytes --]

@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}
}

[-- Attachment #3: Type: text/plain, Size: 1822 bytes --]

#+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:

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-12-07 14:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-28 20:22 Citations and basic processor: examples of some things that don't work William Denton
2023-11-29 10:08 ` Ihor Radchenko
2023-11-29 15:03   ` William Denton
2023-12-06 14:53     ` Ihor Radchenko
2023-12-06 21:17       ` William Denton
2023-12-07 10:34         ` Ihor Radchenko
2023-12-07 14:16           ` William Denton

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.