Re: [NTG-context] Modifying the place of the year in APA.

2019-05-16 Thread Alan Braslau
On Thu, 16 May 2019 22:30:46 +0300
Dmitry Starostin  wrote:

> I need to: 1. place the year in the end 2. remove parentheses.

That would no longer be APA style...

--
Alan
___
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
___


[NTG-context] Modifying the place of the year in APA.

2019-05-16 Thread Dmitry Starostin
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}
}
}
}
___
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
___