From: Dmitry Starostin <starostin.dmitry@gmail.com>
To: ntg-context@ntg.nl
Subject: Modifying the place of the year in APA.
Date: Thu, 16 May 2019 22:30:46 +0300 [thread overview]
Message-ID: <CAEXD3vbazvSPDExy0daYEtHJUAGRdVzbdF=4b8wWnN55aS=xJA@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 899 bytes --]
In the publ-imp-apa.mkvi (is it already VI?) I found the key line which I
would like to modify:
\startsetups btx:apa:list:book
\texdefinition{btx:apa:authoryear}
\texdefinition{btx:apa:title-if-not-placed}
...
\stopsetups
This, as I understand, determines the order in which the items are listed.
I need to: 1. place the year in the end 2. remove parentheses.
Do I start with btx:apa:authoryear and redefine it?
Do I use \texdefinition{btx:apa:suffixedyear} separately?
and:
in the following, where is the parenthesis?
\starttexdefinition unexpanded btx:apa:suffixedyear
\btxdoifelse {year} {
\btxflush{year}
\btxflushsuffix
\btxdoif {month} { % month and day optional in publ-imp-apa.lua
\btxcomma
\btxflush{month}
\btxdoif {day} {
\btxspace
\btxflush{day}
}
}
}
[-- Attachment #1.2: Type: text/html, Size: 1444 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2019-05-16 19:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-16 19:30 Dmitry Starostin [this message]
2019-05-16 20:46 ` Alan Braslau
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='CAEXD3vbazvSPDExy0daYEtHJUAGRdVzbdF=4b8wWnN55aS=xJA@mail.gmail.com' \
--to=starostin.dmitry@gmail.com \
--cc=ntg-context@ntg.nl \
/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).