From: William Denton <wtd@pobox.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Citations and basic processor: examples of some things that don't work
Date: Wed, 6 Dec 2023 16:17:04 -0500 (EST) [thread overview]
Message-ID: <alpine.DEB.2.22.394.2312061556360.227834@shell3.miskatonic.org> (raw)
In-Reply-To: <87jzprl6vl.fsf@localhost>
[-- Attachment #1: Type: text/plain, Size: 1119 bytes --]
Thanks for digging into this, Ihor. It exports now, but I'm afraid it's
doing too much capitaliztion.
A name like "van Dongen" should become "Van Dongen" when cited with a caps
variant, for example [cite/a/c:@friends]. This is turning it into "VAN DONGEN",
upcasing the whole string when it should just be doing the first letter.
I looked into how the CSL versions handles it. In citeproc-el's
citeproc-site.el there's this: "CAPITALIZE-FIRST is non-nil if the first word
of the rendered citation should be capitalized." That goes with this in
oc-csl.el in the definition of org-cite-csl--create-structure-params for doing a
/a/c author-caps citation:
((or "caps" "c") '(:mode author-only :capitalize-first t))
So for the basic exporter to do what the CSL one does, it should just capitalize
the first letter. I hope you don't mind opening up that file one last time for
this fix ...
Thanks,
Bill
--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada
CO₂: 420.04 ppm (Mauna Loa Observatory, 2023-12-01)
next prev parent reply other threads:[~2023-12-06 21:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-28 20:22 Citations and basic processor: examples of some things that don't work William Denton
2023-11-29 10:08 ` Ihor Radchenko
2023-11-29 15:03 ` William Denton
2023-12-06 14:53 ` Ihor Radchenko
2023-12-06 21:17 ` William Denton [this message]
2023-12-07 10:34 ` Ihor Radchenko
2023-12-07 14:16 ` William Denton
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.22.394.2312061556360.227834@shell3.miskatonic.org \
--to=wtd@pobox.com \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@posteo.net \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.