\usemodule[bib] \newcommand{\myurl}[2]{\useURL[#1][#2][][\hyphenatedurl{#2}]{\ss\from[#1]}} \starttext \cite[test] \placepublications[criterium=all] \stoptext works with: @BOOK{test, title = {test title}, publisher = {test title}, year = {2010}, author = {test author}, note = {\myurl{testurl}{123456789012345678901234567890123456789012345678901234567}} } but fails with: note = {\myurl{testurl}{1234567890123456789012345678901234567890123456789012345678}} however, this \myurl statement works in the body.
Michael Saunders wrote:
\usemodule[bib]
\newcommand{\myurl}[2]{\useURL[#1][#2][][\hyphenatedurl{#2}]{\ss\from[#1]}}
\starttext \cite[test] \placepublications[criterium=all] \stoptext
works with:
@BOOK{test, title = {test title}, publisher = {test title}, year = {2010}, author = {test author}, note = {\myurl{testurl}{123456789012345678901234567890123456789012345678901234567}} }
but fails with:
note = {\myurl{testurl}{1234567890123456789012345678901234567890123456789012345678}}
however, this \myurl statement works in the body.
this is a bibtex bug (just look at the generated bbl file and you will see what happened). I don't think there is anything that can be done about the bibtex output, so you will probably have to define the url as a macro outside of the bib file Best wishes, Taco
Martin Schröder wrote:
2010/5/27 taco
: this is a bibtex bug (just look at the generated bbl file and you will see
Which may be fixed in BibTeX 0.99d (included in TL2010).
What's more: TeXLive will also include 'bibtexu' which supports utf-8, solving the 'invalid UTF-8 character' error you can get with normal bibtex when using non-ascii characters in names. I haven't tested that yet, but it sounds promising. Best wishes, Taco
participants (4)
-
Martin Schröder
-
Michael Saunders
-
taco
-
Taco Hoekwater