Org Cite Basic Example
Description/Summary
Basic example of using [cite:@xyz] citation.Content
Org 9.5 is needed for this as that version introduced the new oc.el Org Cite library .
Specify Bibligraphy files #
Org Cite (oc.el
) requires the bibliography files to be specified
using one or more #+bibliography: <file.bib>
keywords or using the
org-cite-global-bibliography
variable.
Example: #+bibliography: orgcite.bib
:EXPORT_BIBLIOGRAPHY:
in subtree property drawers will not work
with Org Cite!
Citation Syntax #
Below Org snippet:
[cite:@OrgCitations]
exports to:
(org, mode and Syntax, Citation and List, Mailing and Effort, Time, 2021)
See the TMIO July 2021 blog post for more information on the cite:
syntax.
Printing Bibliography #
Below Org snippet:
#+print_bibliography:
exports to:
References #
org, mode and Syntax, Citation and List, Mailing and Effort, Time (2021). Elegant Citations with Org-Mode, Journal of Plain Text Formats.
Page (Debug)
Page Variable | Value | |
---|---|---|
Name | "Org Cite Basic Example" | |
Title | "Org Cite Basic Example" | |
ResourceType | "page" | |
Kind | "page" | |
Section | "posts" | |
Draft | false | |
Type | "posts" | |
Layout | "" | |
Permalink | "https://ox-hugo.scripter.co/test/posts/org-cite-basic-example/" | |
RelPermalink | "/posts/org-cite-basic-example/" | |
Data |
| |
NextPage | Org Babel Results | |
PrevPage | Org TODO keywords with double-underscores | |
NextInSection | Org Babel Results | |
PrevInSection | Org TODO keywords with double-underscores |
Page Params (Debug)
Key | Type | Value |
---|---|---|
description | string | "Basic example of using [cite:@xyz] citation." |
draft | bool | false |
iscjklanguage | bool | false |
lastmod | time.Time | 2022-05-19 22:11:26 -0400 -0400 |
tags | []string | "citations" "org-cite" |
title | string | "Org Cite Basic Example" |
File Object (Debug)
FileInfo Variable | Value |
---|---|
UniqueID | "487973fa115a4666cfbecca13fa7eaa6" |
BaseFileName | "org-cite-basic-example" |
TranslationBaseName | "org-cite-basic-example" |
Lang | "en" |
Section | "posts" |
LogicalName | "org-cite-basic-example.md" |
Dir | "posts/" |
Ext | "md" |
Path | "posts/org-cite-basic-example.md" |