emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-cite and text/Unicode export
Date: Sat, 2 Apr 2022 21:50:07 +0700	[thread overview]
Message-ID: <t29nr1$6ro$1@ciao.gmane.io> (raw)

Hi.

I spent some time playing with org-cite just to get some impression and 
I noticed some issues with plain text export. The only reason why I used 
text is that it is fast and the result contains no additional markup 
like for LaTeX or HTML buffers. Since it was a test example rather than 
a real life use case, it is low priority issue and perhaps may be ignored.

I am unsure to what degree it is Org issue, it may be partially 
citeproc.el or CSL style issues.

--- >8 ---
A citation [1].

[1] A. L. Schawlow and C. H. Townes, [“Infrared and optical masers,]”
/Phys. rev./, vol. 112, pp. 1940–1949, Dec. 1958.


[“Infrared and optical masers,]
<https://doi.org/10.1103/PhysRev.112.1940>
--- 8< ---

- No "Bibliography" (or "References") section
- Emphasis markers "/Phys. rev./"
- Hyperlink outside of the bibliography entry, it is partially due to 
CSL style selection, for e.g. american-physics-society.csl result is better.
- Rather strange hyperlink marker including opening quote and trailing 
comma, but not closing quote character.

With annales.csl the result looks even more strange, but it is footnote 
style, so it is unlikely suitable for plain text export.

Source file:
--- >8 ---
#+options: toc:nil
#+bibliography: obt.bib
#+cite_export: csl ieee.csl

A citation [cite:@schawlow1958iao].

#+print_bibliography:

# Local Variables:
# org-cite-csl-styles-dir: "/usr/share/citation-style-language/styles"
# End:
--- 8< ---

obt.bib file:
--- >8 ---
@ARTICLE{schawlow1958iao,
   author = {Schawlow, Arthur Leonard and Townes, Charles Hard},
   title = {Infrared and Optical Masers},
   journal = {Phys. Rev.},
   year = {1958},
   volume = {112},
   pages = {1940--1949},
   month = {Dec},
   doi = {10.1103/PhysRev.112.1940},
   issue = {6},
   publisher = {American Physical Society},
}
--- 8< ---



             reply	other threads:[~2022-04-02 14:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-02 14:50 Max Nikulin [this message]
2022-04-02 15:06 ` org-cite and text/Unicode export Bruce D'Arcus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='t29nr1$6ro$1@ciao.gmane.io' \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).