Of course, you have to escape the percent character if you do not want
it to be interpreted as a comment... however, in the example below, the
URL does not get rendered properly, nor does using \letterpercent, so
there is something that we need to fix in our treatment of URLs.

\startbuffer[references]

@misc{kraft,
  author = "Kraft, Nathan",
  title = "Mr Kraft's Virtual Filing Cabinet",
  year = "2015",
  url = "http://mrkraft.wikispaces.com/Mr+Kraft\%27s+Virtual+Filing+Cabinet";
}

\stopbuffer

\usebtxdefinitions[apa]
\usebtxdataset[references.buffer]

\starttext

\nocite[kraft]

\placelistofpublications

\showbtxdatasetcompleteness

\stoptext



On Tue, 9 May 2017 09:44:01 +1200
Henri Menke <henrime...@gmail.com> wrote:

> Dear list,
> 
> The percent character in btx field is taken as a comment characters
> which leads to the rest of the field being discarded.  In the MWE
> below, the URL is cut off at the % sign and everything after it is
> lost.
> 
> Cheers, Henri
> 
> 
> ---
> 
> 
> \startbuffer[references]
> @misc{kraft,
>   author = "Kraft, Nathan",
>   title = "Mr Kraft's Virtual Filing Cabinet",
>   year = "2015",
>   url =
> "http://mrkraft.wikispaces.com/Mr+Kraft%27s+Virtual+Filing+Cabi net"
> }
> \stopbuffer
> 
> \usebtxdataset[references.buffer]
> \usebtxdefinitions[apa]
> 
> \starttext
> 
> \nocite[kraft]
> \placelistofpublications
> 
> \stoptext
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


-- 
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS UMR 3680
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:alan.bras...@cea.fr
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to