Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add org-mode markup to citar-insert-reference #836

Open
leinfink opened this issue Jul 9, 2024 · 1 comment
Open

Add org-mode markup to citar-insert-reference #836

leinfink opened this issue Jul 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@leinfink
Copy link

leinfink commented Jul 9, 2024

Some CSL styles such as Chicago italicize some parts of the reference, usually the containing book or journal. This information is currently lost when inserting a reference using citar-insert-reference. If the current major-mode is org mode, would it be possible to use org mode markup to retain that information?

@leinfink leinfink added the enhancement New feature or request label Jul 9, 2024
@bdarcus
Copy link
Contributor

bdarcus commented Jul 9, 2024

A few things:

First, that command is intended to be a lightweight thing, where you just want a quickly formatted reference.

Second, it's configurable. By default, it uses the citar template system, and pulls the data from the cache. Per other thread, that data is stripped of markup, as it's optimized for display, and we support multiple input formats.

The other included option uses citeproc.el for the formatting, which allows you to use CSL for styling there. But that function is still relying on the cached data for performance.

So at minimum, you of course have to be more specific about which function.

EDIT: see also #742, and linked issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants