ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ben Moon via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Ben Moon <stonemonkey@gmx.de>
Subject: [NTG-context] 1: Modifying bibliography entries using lua, 2. Sort apa pubs according to year reverse author
Date: Fri, 14 Jun 2024 23:36:23 +0200	[thread overview]
Message-ID: <4971DB62-979F-4274-8482-9AD8F5197FD9@gmx.de> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 599 bytes --]

Dear List,
Here’s a beautiful example of lua checking a list of authors and conditionally formatting one:
https://www.mail-archive.com/ntg-context@ntg.nl/msg88382.html
I've dismally failed transferring the example to apa rendering style. Maybe someone can enlighten me.

Furthermore, I’ve spent quite some time trying to reverse order the rendered list of publications by using apa such as, that the newest publication with author A… is on the top. Basically, sort in reverse according to year and then with author.

As always, help is much appreciated.

Thank you very much

Ben

[-- Attachment #1.2.1: Type: text/html, Size: 3638 bytes --]

[-- Attachment #1.2.2: apple-touch-icon-114x114.png --]
[-- Type: image/png, Size: 4011 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

                 reply	other threads:[~2024-06-14 21:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4971DB62-979F-4274-8482-9AD8F5197FD9@gmx.de \
    --to=ntg-context@ntg.nl \
    --cc=stonemonkey@gmx.de \
    /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.
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 NNTP newsgroup(s).