emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-cite and text/Unicode export
@ 2022-04-02 14:50 Max Nikulin
  2022-04-02 15:06 ` Bruce D'Arcus
  0 siblings, 1 reply; 2+ messages in thread
From: Max Nikulin @ 2022-04-02 14:50 UTC (permalink / raw)
  To: emacs-orgmode

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



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

* Re: org-cite and text/Unicode export
  2022-04-02 14:50 org-cite and text/Unicode export Max Nikulin
@ 2022-04-02 15:06 ` Bruce D'Arcus
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce D'Arcus @ 2022-04-02 15:06 UTC (permalink / raw)
  To: Max Nikulin; +Cc: org-mode-email

On Sat, Apr 2, 2022 at 10:50 AM Max Nikulin <manikulin@gmail.com> wrote:

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

One quick way to narrow this down is to run it through pandoc, which
supports org-cite.

It uses a different, haskell-based, CSL processor.

Bruce


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

end of thread, other threads:[~2022-04-02 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-02 14:50 org-cite and text/Unicode export Max Nikulin
2022-04-02 15:06 ` Bruce D'Arcus

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).