* Modifying the place of the year in APA.
@ 2019-05-16 19:30 Dmitry Starostin
2019-05-16 20:46 ` Alan Braslau
0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Starostin @ 2019-05-16 19:30 UTC (permalink / raw)
To: ntg-context
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-16 20:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-16 19:30 Modifying the place of the year in APA Dmitry Starostin
2019-05-16 20:46 ` Alan Braslau
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).