ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* URLs break bib export
@ 2018-07-27  3:17 Rik Kabel
  2018-07-27 16:18 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Rik Kabel @ 2018-07-27  3:17 UTC (permalink / raw)
  To: ntg-context

The new tagged biblography export is very nice, but there is a routine 
(marked UGLY in the source) that causes processing to fail with 
otherwise-valid input. The failure message is

...eXt/tex/texmf-context/tex/context/base/mkiv/back-exp.lua:3889: invalid capture index
stack traceback:
         [C]: in function 'gsub'
         ...eXt/tex/texmf-context/tex/context/base/mkiv/back-exp.lua:3889: in function <...eXt/tex/texmf-context/tex/context/base/mkiv/back-exp.lua:3747>
         (...tail calls...)

and two URLs which cause this problem are:

    url         = {http://www.jerwood-no.org.uk/pdf/Dunning%20Kruger.pdf},
    url         = {http://oll.libertyfund.org/?option=com_staticxt&staticfile=show.php\%3Fcollection=46&Itemid=27},

These URLs caused no problem with PDF output  or in the previous 
exports, although they were not printed and exist only in the bibliography.

Do I need to protect the special characters in the bib file, or is this 
a problem with the UGLY code?

-- 
Rik

___________________________________________________________________________________
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-07-27 16:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-27  3:17 URLs break bib export Rik Kabel
2018-07-27 16:18 ` Hans Hagen

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