ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Why is [left=(, right=)] ignored when using the aps btx rendering specification?
@ 2018-01-03  8:38 Dr. Thomas Möbius
  2018-01-04 14:20 ` Dr. Thomas Möbius
  0 siblings, 1 reply; 2+ messages in thread
From: Dr. Thomas Möbius @ 2018-01-03  8:38 UTC (permalink / raw)
  To: ConTeXt Mailing List

Why is [left=(, right=)] ignored in \setupbtx when using the aps btx 
rendering specification?


This works:

\usebtxdataset
     [default]
     [../bibliography/bibliography]

\setupbtx
     [default:cite:num]
     [left=(,right=)]

\setupbtx
     [default:list]
     [left=(,right=),authorconversion=invertedshort]

\starttext

\cite[Carp:2012a, Carp:2012b]
\cite[Weishaupt:2014]
\cite[Knecht:2003]
\cite[Jansen:2006b]

\subject{References}

\placelistofpublications

\stoptext


So, why does this not work?

\usebtxdataset
     [default]
     [../bibliography/bibliography]

\usebtxdefinitions[aps]

\setupbtx
     [aps:cite:num]
     [left=(,right=)]

\setupbtx
     [aps:list]
     [left=(,right=),authorconversion=invertedshort]

\starttext

\cite[Carp:2012a, Carp:2012b]
\cite[Weishaupt:2014]
\cite[Knecht:2003]
\cite[Jansen:2006b]

\subject{References}

\placelistofpublications

\stoptext

Thank you for your help.
___________________________________________________________________________________
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: Why is [left=(, right=)] ignored when using the aps btx rendering specification?
  2018-01-03  8:38 Why is [left=(, right=)] ignored when using the aps btx rendering specification? Dr. Thomas Möbius
@ 2018-01-04 14:20 ` Dr. Thomas Möbius
  0 siblings, 0 replies; 2+ messages in thread
From: Dr. Thomas Möbius @ 2018-01-04 14:20 UTC (permalink / raw)
  To: ConTeXt Mailing List

To answer my own question, it must be

\usebtxdefinitions[aps]

\setupbtxlist
   [aps]
   [alternative=b,
    after=,
    before=]

\definebtx
   [aps:cite:num]
   [left={(},
    right={)}]

\definebtx
   [aps:list:numbering]
   [aps:list]
   [left={(},
    right={)}]



Am 03.01.2018 um 09:38 schrieb Dr. Thomas Möbius:
> Why is [left=(, right=)] ignored in \setupbtx when using the aps btx 
> rendering specification?
> 
> 
> This works:
> 
> \usebtxdataset
>      [default]
>      [../bibliography/bibliography]
> 
> \setupbtx
>      [default:cite:num]
>      [left=(,right=)]
> 
> \setupbtx
>      [default:list]
>      [left=(,right=),authorconversion=invertedshort]
> 
> \starttext
> 
> \cite[Carp:2012a, Carp:2012b]
> \cite[Weishaupt:2014]
> \cite[Knecht:2003]
> \cite[Jansen:2006b]
> 
> \subject{References}
> 
> \placelistofpublications
> 
> \stoptext
> 
> 
> So, why does this not work?
> 
> \usebtxdataset
>      [default]
>      [../bibliography/bibliography]
> 
> \usebtxdefinitions[aps]
> 
> \setupbtx
>      [aps:cite:num]
>      [left=(,right=)]
> 
> \setupbtx
>      [aps:list]
>      [left=(,right=),authorconversion=invertedshort]
> 
> \starttext
> 
> \cite[Carp:2012a, Carp:2012b]
> \cite[Weishaupt:2014]
> \cite[Knecht:2003]
> \cite[Jansen:2006b]
> 
> \subject{References}
> 
> \placelistofpublications
> 
> \stoptext
> 
> Thank you for your help.
> ___________________________________________________________________________________ 
> 
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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:[~2018-01-04 14:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-03  8:38 Why is [left=(, right=)] ignored when using the aps btx rendering specification? Dr. Thomas Möbius
2018-01-04 14:20 ` Dr. Thomas Möbius

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).