From: "M. ‘quintus’ Gülker" <post+orgmodeml@guelker.eu>
To: "András Simonyi" <andras.simonyi@gmail.com>
Cc: Ihor Radchenko <yantar92@posteo.net>, emacs-orgmode@gnu.org
Subject: Re: [PATCH][oc-csl] Improve reference parsing
Date: Thu, 19 Jan 2023 09:21:35 +0100 [thread overview]
Message-ID: <87wn5isz00.fsf@guelker.eu> (raw)
In-Reply-To: <CAOWRwxC62=3BK=3j7F7ve0srz6VcZZuzAJrJBO7F7GK0t-vNWQ@mail.gmail.com>
Am Donnerstag, dem 19. Januar 2023 schrieb András Simonyi:
> apologies for replying that late. If I understand the situation
> correctly, we could handle the question of allowing macros in
> citations independently of the handling of other constructs, because
> macros are resolved before processing citations, so they have no
> effect on the input of Citeproc-el. In light of this, maybe there
> could be a separate patch for just allowing macros?
I am not sure this targets the usecase I am pursuing, which is to use
macros to produce @@latex: escape constructs in order to have small-caps
markup in the citation footnotes:
#+MACRO: name @@latex:\textsc{$1}@@@@html:<span class="name">$1</span>@@
If the macro resolves, but the @@latex construct does not, that would be
problematic. That being said, I /found/ an alternative that works,
albeit it is a bit ugly. I can create an explicit footnote, use a
[cite/default/bare:] construct (to suppress the terminal period) within
it and terminate the citation before the macro begins. That way, the
macro is outside of the citation construct. This construction is however
unfortunate when I want to cite multiple sources and have the macro used
on an earlier one, e.g.:
[fn:1] [cite/default/bare:@foo p. 5], countering {{{name(Doe’s)}}} argument; [cite/default/bare:@bar p. 37].
It would be nicer if I could just write into the main text
[cite:@foo p. 5, countering {{{name(Doe’s)}}} argument;@bar p. 37]
I can however live with the more elaborate construction, if nothing
else.
-quintus
--
Dipl.-Jur. M. Gülker | https://mg.guelker.eu | PGP: Siehe Webseite
Passau, Deutschland | kontakt@guelker.eu | O<
next prev parent reply other threads:[~2023-01-19 9:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-26 15:40 [PATCH][oc-csl] Improve reference parsing András Simonyi
2022-10-27 4:10 ` Ihor Radchenko
2022-11-01 15:02 ` András Simonyi
2022-11-02 6:29 ` Ihor Radchenko
2022-11-02 17:58 ` András Simonyi
2022-11-03 6:34 ` Ihor Radchenko
2023-01-07 12:50 ` M. ‘quintus’ Gülker
2023-01-15 8:56 ` Ihor Radchenko
2023-01-18 23:08 ` András Simonyi
2023-01-19 8:21 ` M. ‘quintus’ Gülker [this message]
2023-01-19 9:35 ` András Simonyi
2023-01-19 9:59 ` Ihor Radchenko
2023-01-19 10:11 ` M. ‘quintus’ Gülker
2023-01-25 22:44 ` András Simonyi
2023-01-19 9:56 ` Ihor Radchenko
[not found] ` <CAOWRwxD3pSfao7+G145naE=jaAz6=m2BjvUX0rj_c4r8qeu7rQ@mail.gmail.com>
2023-01-26 9:43 ` Ihor Radchenko
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=87wn5isz00.fsf@guelker.eu \
--to=post+orgmodeml@guelker.eu \
--cc=andras.simonyi@gmail.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 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).