From: taco <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: urls longer than 57 characters fail in the bibliography
Date: Thu, 27 May 2010 22:40:34 +0200 [thread overview]
Message-ID: <4BFED8C2.20907@elvenkind.com> (raw)
In-Reply-To: <AANLkTinBQe6VQp-afpbf9F9_RGt0xV-GrvHSOe_ZDKYj@mail.gmail.com>
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
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2010-05-27 20:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-27 20:27 Michael Saunders
2010-05-27 20:40 ` taco [this message]
2010-05-29 22:52 ` Martin Schröder
2010-05-30 6:48 ` Taco Hoekwater
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BFED8C2.20907@elvenkind.com \
--to=taco@elvenkind.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).