ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Fine-tuning of aps style
@ 2019-04-14 15:30 Dmitry Starostin
  2019-04-14 22:04 ` Alan Braslau
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Starostin @ 2019-04-14 15:30 UTC (permalink / raw)
  To: ntg-context


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

To cite like [1, p. 101]

\cite[righttext={\nbsp p.~101}][Hankins:2014]

works, but has no comma

\cite[righttext={, p.~101}][Hankins:2014]

produces no page

\cite[righttext={,\nbsp p.~101}][Hankins:2014]

gives no page at all

\cite[righttext={\nbsp, p.~101}][Hankins:2014]

gives no page at all.

righttext seems to be reluctant over the initial comma right after the
reference number.

[-- Attachment #1.2: Type: text/html, Size: 722 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

* Re: Fine-tuning of aps style
  2019-04-14 15:30 Fine-tuning of aps style Dmitry Starostin
@ 2019-04-14 22:04 ` Alan Braslau
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Braslau @ 2019-04-14 22:04 UTC (permalink / raw)
  To: Dmitry Starostin; +Cc: mailing list for ConTeXt users

On Sun, 14 Apr 2019 18:30:11 +0300
Dmitry Starostin <starostin.dmitry@gmail.com> wrote:

> To cite like [1, p. 101]
> 
> \cite[righttext={\nbsp p.~101}][Hankins:2014]
> 
> works, but has no comma
> 
> \cite[righttext={, p.~101}][Hankins:2014]
> 
> produces no page
> 
> \cite[righttext={,\nbsp p.~101}][Hankins:2014]
> 
> gives no page at all
> 
> \cite[righttext={\nbsp, p.~101}][Hankins:2014]
> 
> gives no page at all.
> 
> righttext seems to be reluctant over the initial comma right after the
> reference number.

As you can have multiple references:

\cite[righttext={p.~101,p.301}[Hankins2014,Starostin2019]

If one wants an explicit comma in the text for each citation,
one needs to add extra grouping:

\cite[righttext={{, p.~101}}][Hankins:2014]

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-14 22:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-14 15:30 Fine-tuning of aps style Dmitry Starostin
2019-04-14 22:04 ` 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).