From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aBFkCVvAjGH/UQEAgWs5BA (envelope-from ) for ; Thu, 11 Nov 2021 08:03:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yKj4BFvAjGEzbAAAbx9fmQ (envelope-from ) for ; Thu, 11 Nov 2021 07:03:55 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 766712C35F for ; Thu, 11 Nov 2021 08:03:54 +0100 (CET) Received: from localhost ([::1]:33268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ml47k-0008Ix-Eu for larch@yhetil.org; Thu, 11 Nov 2021 02:03:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ml46z-0008Gi-EE for emacs-orgmode@gnu.org; Thu, 11 Nov 2021 02:03:05 -0500 Received: from mout-p-102.mailbox.org ([80.241.56.152]:49300) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1ml46v-0003D0-3H for emacs-orgmode@gnu.org; Thu, 11 Nov 2021 02:03:03 -0500 Received: from smtp102.mailbox.org (smtp102.mailbox.org [80.241.60.233]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4HqXjL4S5XzQk3V for ; Thu, 11 Nov 2021 08:02:46 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=guelker.eu; s=MBO0001; t=1636614164; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WGZrgrXIRQ2jxIjt6VB9Wvwx6+34FXfWCXo6ZXdrtcc=; b=AsliAhkEDCET1j9Eei3rPgnfP7P8ejhTTX+8WJl4tLr2oKcPUWImJLKwT/kkZXgRSlePQG IjYufbNVG9VYr4waRysKmxvuWK9bqHz2pg/X8W/WtX0uRYEOevGssMCW9I3YHXsbFv9Qz1 sMnhCjITVzkR8KLwWLfi9y4Tvvzp0SE2P4EseaePFJL8xBhfyJrH0F5m05ZPvUBkrXCL+c UJd3IfBrKAk3G8lNTagfYKOiSbPJK4tMSzXYenHYjjeentfEjz096VCkekb9/GCfVwCCne 9kxAgE64dDR6iR0+jJo6AdPny23DzP9eaEB4FllKZHcoQDqxCVc0xtCRn9VAdw== From: M. =?utf-8?B?4oCYcXVpbnR1c+KAmSBHw7xsa2Vy?= To: emacs-orgmode@gnu.org Subject: [BUG] Citations: Locator treated as prefix [9.5 (release_9.5-225-g494c20 @ /home/quintus/.emacs.d/org-mode/lisp/)] Mail-Followup-To: emacs-orgmode@gnu.org Date: Thu, 11 Nov 2021 08:02:39 +0100 Message-ID: <87ee7nkwds.fsf@atlantis> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=80.241.56.152; envelope-from=post+orgmodeml@guelker.eu; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636614234; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WGZrgrXIRQ2jxIjt6VB9Wvwx6+34FXfWCXo6ZXdrtcc=; b=dcd96pTC2AAODv0gRRy92NsdcqCQx4PGBUYf6ryPqNCAxbqQVxTbK433shnslTgGYt0K7U 2F/q1LdZqC/ze1UzG1uleK4RP/FKBJlxt6R8RSKpeK9ptDbp9VHIFZafSO41OntzYdkx/a JgLvqBVqvqw8zu3JNgxcmvFY2uhM0ayZ2+/EpIUo1zWbI6Pxg6R6Pb/x6ksaMf27DqudD8 FKO5kSK5irITcYyjjuYCfI1arQR+ZVfAD7w/B6BbcQLRV5A91yAB403HDO08Nyh0KxtEVE rzaIluZ7XhmVpvbzJ2Nm6fV9wO0OrKzPx+G4q5J42I6Ze3nwhmJ6RP7aZnlT+w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636614234; a=rsa-sha256; cv=none; b=V9rZlSVHPRV8sI35GfwMeRdzAX5hlWlV80ymq4YK4oXZIiuTmfW18BOOe62xviUYT6PT+3 HkSWqykx5/X25ghyskcUWCKdjkTEMKp9ivv1+X53Kdst/ZdYxqS6563HyLRP8j7lar3res cQ/etdCI84rHRn3WW2Y1cV8F20vnf9DQJrWyI36CIzL3IXOtbVeFGghsmR5w6J1xC2eRCN Ozz2rkYdlgrmzfATrxRxZ+4wS81zmJ56diIwtHaVuxxw6/XEQSPdt2UFQLf8B9n44QcM5M 8yRe74rwXsCbuH2ABURNuB1DxRktkAGEKrSSlRdGVLdWXGr2N2BGGs1bwYUKMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=guelker.eu header.s=MBO0001 header.b=AsliAhkE; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=guelker.eu header.s=MBO0001 header.b=AsliAhkE; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 766712C35F X-Spam-Score: -3.12 X-Migadu-Scanner: scn1.migadu.com X-TUID: gNrnymfJl9hk Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ Dear all, I originally reported this at https://github.com/andras-simonyi/citeproc-el/issues/68, but was directed here. take this org file `mwe.org': #+TITLE: Test #+AUTHOR: Testauthor #+LANGUAGE: de #+bibliography: /tmp/mwe/mwe.bib #+cite_export: csl /tmp/mwe/juristische-schulung.csl Das ist ein Test [cite:@redeker2020itr Kap. A Rn. 72, Suffixtext hier] with this `mwe.bib' Biblatex file: @Book{redeker2020itr, author =3D {Helmut Redeker}, title =3D {IT-Recht}, year =3D {2020}, edition =3D {7}, publisher =3D {C.H. Beck}, location =3D {M=C3=BCnchen}, langid =3D {ngerman}} `juristische-schulung.el' is https://github.com/citation-style-language/sty= les/blob/e22b8a566bad9b4c7f52720f60dd875057a5d210/juristische-schulung.csl When this is exported to HTML, the locator `Kap. A Rn. 72' is split and partly taken as the prefix. It exports to this: 1 Kap. A Rn. Redeker, IT-Recht, 7. Aufl. (2020), 72 Suffixtext hier This is incorrect; it should export to: 1 Redeker, IT-Recht, 7. Aufl. (2020), Kap. A Rn. 72 Suffixtext hier Org mode version 9.5 (release_9.5-225-g494c20 @ /home/quintus/.emacs.d/org-= mode/lisp/) citeproc.el at e6b3f160dbe87d035cbee6c61bcfdd063f56b1cb -quintus Emacs : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24= , cairo version 1.16.0) of 2021-03-28, modified by Debian Package: Org mode version 9.5 (release_9.5-225-g494c20 @ /home/quintus/.ema= cs.d/org-mode/lisp/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-confi= gure-edit-buffer) org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-fu= nction org-odt-format-headline-function 'org-odt-format-headline-default-function org-persist-before-write-hook '(org-element--cache-persist-before-write) org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-mode-hook '((closure (org-agenda-skip-regexp org-table1-hline-regexp org-table-tab-recognize= s-table\.el org-table-dataline-regexp org-table-any-border-regexp org-agenda-restriction-lock-overlay org-agenda-overriding-restriction org-agenda-diary-file org-complex-heading-regexp t) nil (setq imenu-create-index-function 'org-imenu-get-tree)) (closure (org--rds reftex-docstruct-symbol org-element-greater-elements visual-fill-column-width org-clock-history org-agenda-current-date org= -with-time org-defdecode org-def org-read-date-inactive org-ans2 org-ans1 org-columns-current-fmt-compiled org-clock-current-task org-clock-effo= rt org-agenda-skip-function org-agenda-skip-comment-trees org-agenda-arch= ives-mode org-end-time-was-given org-time-was-given org-log-note-extra org-log-n= ote-purpose org-log-post-message org-last-inserted-timestamp org-last-changed-time= stamp org-entry-property-inherited-from org-blocked-by-checkboxes org-state org-agenda-headline-snapshot-before-repeat org-agenda-buffer-name org-agenda-start-on-weekday org-agenda-buffer-tmp-name org-priority-re= gexp org-mode-abbrev-table org-mode-syntax-table org-element-use-cache org-element-cache-persistent buffer-face-mode-face org-tbl-menu org-or= g-menu org-struct-menu org-entities org-last-state org-id-track-globally org-clock-start-time texmathp-why remember-data-file org-agenda-tags-todo-honor-ignore-options iswitchb-temp-buflist calc-embedded-open-mode calc-embedded-open-formula calc-embedded-close= -formula align-mode-rules-list org-emphasis-alist org-emphasis-regexp-components org-export-registered-backends org-modules crm-separator org-babel-loa= d-languages org-id-overriding-file-name org-indent-indentation-per-level org-element-paragraph-separate org-agenda-buffer-name org-inlinetask-m= in-level t) nil (add-hook 'change-major-mode-hook 'org-show-all 'append 'local)) (closure (org-src-window-setup *this* org-babel-confirm-evaluate-answer-no org-babel-tangle-uncomment-comments org-src-preserve-indentation org-src-lang-modes org-edit-src-content-indentation org-babel-library-= of-babel t) nil (add-hook 'change-major-mode-hook #'org-babel-show-result-all 'appe= nd 'local)) org-babel-result-hide-spec org-babel-hide-all-hashes) org-odt-format-drawer-function '(closure (hfy-user-sheet-assoc hfy-html-quote-regex hfy-html-quote-map hfy-face-to-css hfy-begin-span-handler hfy-end-span-handler archive-zip-extract nxml-auto-insert-xml-declaration-flag t) (_name contents) contents) org-archive-hook '(org-attach-archive-delete-maybe) org-persist-before-read-hook '(org-element--cache-persist-before-read) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-persist-after-read-hook '(org-element--cache-persist-after-read) org-bibtex-headline-format-function '(closure (org-id-locations org-agenda-search-view-always-boolean org-agenda-overriding-header t) (entry) (cdr (assq :title entry))) org-latex-format-drawer-function '(closure (t) (_ contents) contents) org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-a= rg-expand) org-ascii-format-drawer-function '(closure (t) (_name contents _width) con= tents) org-agenda-loop-over-headlines-in-active-region nil org-occur-hook '(org-first-headline-recenter) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers o= rg-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-speed-command-hook '(org-speed-command-activate org-babel-speed-comman= d-activate) org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-func= tion org-export-before-parsing-hook '(org-attach-expand-links) org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-follow :complete or= g-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow org-eww-open :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org= -irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :st= ore org-docview-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("doi" :follow org-link-doi-open :export org-link-doi-export) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("elfeed" :follow elfeed-link-open :store elfeed-link-store-link) = ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow (closure ((scheme . "news") (--dolist-tail--) org-ts-regexp org-time-stamp-forma= ts org-src-source-file-name org-outline-regexp-bol org-inhibit-startup org-id-link-to-org-use-id org-highlight-links org-comment-string org-agenda-buffer-name clean-buffer-list-kill-buffer-names t) (url arg) (browse-url (concat scheme ":" url) arg)) ) ("mailto" :follow (closure ((scheme . "mailto") (--dolist-tail--) org-ts-regexp org-time-stamp-for= mats org-src-source-file-name org-outline-regexp-bol org-inhibit-startup org-id-link-to-org-use-id org-highlight-links org-comment-string org-agenda-buffer-name clean-buffer-list-kill-buffer-names t) (url arg) (browse-url (concat scheme ":" url) arg)) ) ("https" :follow (closure ((scheme . "https") (--dolist-tail--) org-ts-regexp org-time-stamp-form= ats org-src-source-file-name org-outline-regexp-bol org-inhibit-startup org-id-link-to-org-use-id org-highlight-links org-comment-string org-agenda-buffer-name clean-buffer-list-kill-buffer-names t) (url arg) (browse-url (concat scheme ":" url) arg)) ) ("http" :follow (closure ((scheme . "http") (--dolist-tail--) org-ts-regexp org-time-stamp-forma= ts org-src-source-file-name org-outline-regexp-bol org-inhibit-startup org-id-link-to-org-use-id org-highlight-links org-comment-string org-agenda-buffer-name clean-buffer-list-kill-buffer-names t) (url arg) (browse-url (concat scheme ":" url) arg)) ) ("ftp" :follow (closure ((scheme . "ftp") (--dolist-tail--) org-ts-regexp org-time-stamp-formats org-src-source-file-name org-outline-regexp-bol org-inhibit-startup org-id-link-to-org-use-id org-highlight-links org-comment-string org-agenda-buffer-name clean-buffer-list-kill-buffer-names t) (url arg) (browse-url (concat scheme ":" url) arg)) ) ("help" :follow org-link--open-help :store org-link--store-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp)) org-latex-format-headline-function 'org-latex-format-headline-default-func= tion org-link-elisp-confirm-function 'yes-or-no-p org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-= function org-html-format-drawer-function '(closure (htmlize-buffer-places org-html-format-table-no-css htmlize-css-name-prefix htmlize-output-type htmlize-output-type htmlize-css-name-prefix t) (_name contents) contents) org-html-format-headline-function 'org-html-format-headline-default-functi= on ) --=20 Dipl.-Jur. M. G=C3=BClker | https://mg.guelker.eu | PGP: Siehe Webseite Passau, Deutschland | kontakt@guelker.eu | O<