emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Citations: non-page locators placed in front of citation
@ 2021-10-10  8:33 M. ‘quintus’ Gülker
  2021-10-10 10:17 ` Nicolas Goaziou
  0 siblings, 1 reply; 16+ messages in thread
From: M. ‘quintus’ Gülker @ 2021-10-10  8:33 UTC (permalink / raw)
  To: emacs-orgmode

Dear all,

apologies for my frequent e-mails. It’s just that I am evaluating the
citations facility for me.

This time it’s about non-page locators. Take the following document:

    #+TITLE: Test
    #+AUTHOR: testauthor
    #+LANGUAGE: de
    #+bibliography: /tmp/mwe/mwe.bib
    #+cite_export: csl /tmp/mwe/juristische-schulung.csl

    Das ist ein Test [cite:@saenger2013gsr § 12 Rn. 488].

juristische-schulung.csl is
https://github.com/citation-style-language/styles/blob/e22b8a566bad9b4c7f52720f60dd875057a5d210/juristische-schulung.csl.

This is mwe.bib:

    @Book{saenger2013gsr,
      author       = {Ingo Saenger},
      title        = {Gesellschaftsrecht},
      year      = {2013},
      edition   = {2},
      publisher = {Franz Vahlen},
      location  = {München},
      langid    = {ngerman}}

Note how this work is not cited by page, but instead (which is common
among German judicial literature) by section number (§) plus margin number
(Rn.). Exporting this e.g. to HTML yields in Footnote 1:

    §  Saenger, Gesellschaftsrecht, 2. Aufl. (2013), 12 Rn. 488

That is rather unexpected. It has pulled the § sign in front of the
citation. The citation should have looked like this:

    Saenger, Gesellschaftsrecht, 2. Aufl. (2013), § 12 Rn. 488

If I replace the citation in the document with

    Das ist ein Test [cite:@saenger2013gsr p. 245].

then it produces the expected

    Saenger, Gesellschaftsrecht, 2. Aufl. (2013), 245

(the page locator label, "S." in German, is intentionally suppressed by
the CSL style, so this is not a bug. However, the § locator has to
appear and is not suppressed by the CSL style).

If I export with the default "bare" processor, the citation comes out
fine as "(Ingo Saenger, 2013 § 12 Rn. 488)".

I conclude from this that org somehow mistreats the locator if it is not
a page number. I used org 9.5 from MELPA and Citeproc.el from commit
34e66583d95a8d80fb5b9f2960f3382ca0e6d3ab.

Is it a bug or (again) my error?

  -quintus

-- 
Dipl.-Jur. M. Gülker | https://mg.guelker.eu | PGP: Siehe Webseite
Passau, Deutschland  | kontakt@guelker.eu    | O<


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

end of thread, other threads:[~2021-10-12 17:16 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-10  8:33 Citations: non-page locators placed in front of citation M. ‘quintus’ Gülker
2021-10-10 10:17 ` Nicolas Goaziou
2021-10-10 17:50   ` M. ‘quintus’ Gülker
2021-10-10 20:10     ` Nicolas Goaziou
2021-10-10 20:31       ` M. ‘quintus’ Gülker
2021-10-10 20:53       ` András Simonyi
2021-10-11  5:19         ` M. ‘quintus’ Gülker
2021-10-11  9:36           ` Nicolas Goaziou
2021-10-11 17:55             ` M. ‘quintus’ Gülker
2021-10-11 18:09               ` Bruce D'Arcus
2021-10-11 19:34                 ` M. ‘quintus’ Gülker
2021-10-11 22:02                   ` Nicolas Goaziou
2021-10-12  5:42                     ` M. ‘quintus’ Gülker
2021-10-12 10:31                       ` András Simonyi
2021-10-12 17:14                         ` M. ‘quintus’ Gülker
2021-10-11  9:35         ` Nicolas Goaziou

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