ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: Bibliography problems
Date: Thu, 5 Jan 2006 19:03:03 +0100	[thread overview]
Message-ID: <6faad9f00601051003i1a25a58eje193b2af293bb7d7@mail.gmail.com> (raw)
In-Reply-To: <20060105165022.GA3154@despil.fi.muni.cz>

[-- Attachment #1: Type: text/plain, Size: 2015 bytes --]

On 1/5/06, David Antos wrote:
>
> I've included URL's into notes in bib file in the following format
>   note = {\useURL[http://www.obfuscation.org/ipf/]
>                  [http://www.obfuscation.org/ipf/]
>           \url[http://www.obfuscation.org/ipf/]}
>
> It used to work well, with the latest version, the finishing ']' gets
> typeset. I've tried to surround the fiinal \url macro with {} but it does
> not work.

\url was redefined (sorry, that may be my fault) for the use within bibtex.

I don't know how to remove this little "bug", but I would insert URLs
in the following way:

Inside .bib, use url= instead of note=

@Misc{compact-filter,
  key =          {Compact Filter},
  title =	 {{Compact Filter:  An IDD Based Packet Filter for Linux}},
  url = {http://www.cs.aau.dk/tilde-mixxel/cf/},
  month =	 {August},
  year =	 2005
}

See bibl-apa.tex. It doesn't include URLs by default (perhaps it
should, but I don't know if it is still possible to do that without
people complaining because of the slightly changed behaviour if they
had url in their .bib files which were ignored before; comments?).

The example above is an @Misc, so you have to adapt the style for misc
to include url as well:

\setuppublicationlayout[misc]{%
   \insertauthors{}{ }{\insertthekey{}{. }{}}%
   \insertpubyear{(}{). }{}%
   \inserttitle{\bgroup }{\egroup \insertseries{ (}{)}. }{}%
   \insertpublisher{}{. }{}%
   \insertpages{}{p. }{}%
   \inserturl{}{}{}% ADDED
   \insertnote{ }{.}{}%
}

That way you'll get the desired output with much cleaner .bib files.
You can also use
\cite[url][compact-filter]
to get an active url in the document. (Taco, what are the square
brackets doing around the url in the resulting pdf?)

(I don't know if you can make the entry on the last page active as
well. In the example you didn't have it.)

The bad news is that you would have to do that for every possible type
of publication where you use URLs, but you used it in Misc only
anyway, so no additional work is needed.

Mojca

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2006-01-05 18:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-05  9:57 David Antos
2006-01-05 13:56 ` Taco Hoekwater
2006-01-05 16:50   ` David Antos
2006-01-05 18:03     ` Mojca Miklavec [this message]
2006-01-05 19:00       ` David Antos
2006-01-05 19:46         ` Taco Hoekwater
2006-01-07 13:11           ` David Antos
2006-01-07 13:37             ` Taco Hoekwater
2014-08-26  8:34 bibliography problems Gerben Wierda
2014-08-26  8:38 ` Gerben Wierda

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=6faad9f00601051003i1a25a58eje193b2af293bb7d7@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.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).