Thanks, William
I'm not writing citation. I am studying a text, and it has citations. To
delete them all, generates friction, while to let them all be, generates
distraction. So with the help of Ihor (and chatgpt) I have added this
code to my init file, so they are shadowed:
(defun yant/apply-custom-faces ()
(add-to-list 'org-font-lock-extra-keywords
'("(\\([A-Z][a-zA-Z]*[^)]*[0-9]\\{4\\}[^)]*\\))" . (0 'shadow prepend))
'append))
(add-hook 'org-font-lock-set-keywords-hook #'yant/apply-custom-faces)
About citations: A time ago I learned to use org-ref, but my PC is not
very powerful, so Emacs turned to be too slow. Then I stopped working
with citations.
By now I am adding bibtex properties to my headlines, so in the future I
can use org-bibtex and probably I will learn about citation with your
tutorials: https://www.miskatonic.org/2024/01/08/org-citations-basic/
Best regards
On 14/02/2024 0:33, William Denton wrote:
On Sunday, February 11th, 2024 at 08:57, Ypo<ypun...@gmail.com> wrote:
Could it be possible to change the color of words between parentheses?
For example, in:
"mejorar su bienestar psicológico (Cronin et al., 2012; Molero, Fuster, Jetten y
Moriano, 2011; Outten, Schmitt, García y Branscombe, 2009; Pérez-Garín et al.,
2016)."
For citations in brackets, another approach might be to use Org's citation
system with the CSL export processor, and then use András Simonyi's
org-cite-csl-activate and customize the face:
https://github.com/andras-simonyi/org-cite-csl-activate
That might involve changing your whole citation process, which is a big step,
but citations are on my mind so I thought I'd mention it.
Bill
--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada
Best regards