.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ categories | tags | search ]
ox-hugo Test Site

This is the test site for the ox-hugo package for Emacs/Org-mode.

It is updated automatically after each commit to the ox-hugo repo. It was last updated on Mar 05, 2024 19:24 UTC.


This page was created/modified in commit 5a24d8f "perf: Better way to auto-inject bibliography heading" on 2022-05-19.
Markdown source of this page

Org Cite Basic Example

tags: citations org-cite


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 VariableValue
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
page.Data{} (type:page.Data)
NextPageOrg Babel Results
PrevPageOrg TODO keywords with double-underscores
NextInSectionOrg Babel Results
PrevInSectionOrg TODO keywords with double-underscores

Page Params (Debug)

KeyTypeValue
descriptionstring "Basic example of using [cite:@xyz] citation."
draftbool false
iscjklanguagebool false
lastmodtime.Time 2022-05-19 22:11:26 -0400 -0400
tags[]string "citations" "org-cite"
titlestring "Org Cite Basic Example"

File Object (Debug)

FileInfo VariableValue
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"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.101.0 (commit 466fa43c16709b4483689930a4f9ac8add5c9f66) . This site is powered by Netlify.
[Test Site home | ox-hugo home]