ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henri Menke <henrimenke@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Question about a link in a footnote to cite
Date: Fri, 5 Aug 2016 17:24:51 +0200	[thread overview]
Message-ID: <81e06869-ea9c-1895-971f-24f7dadfbccd@gmail.com> (raw)
In-Reply-To: <000501d1ef27$1322dd30$39689790$@univie.ac.at>

Hi Uschi,

you should perhaps read the slides from Alan talk about bibliographies [1] for a quick start and the official manual »Bibliographies
the ConTeXt Way«, because I have the feeling that you ask the same questions over and over again.

To solve your problem, you have to bring the reference into correct format.  That means, you have to identify author, title, url, etc.  In the reference format the order of these does not matter.  What you also have to do is, give the reference a unique identifier (FirstAuthorYear, here Truman1949 is common).  To cite a website you should use the @electronic category.  By default only @article and @book are available so you need to load a style which has it, e.g. apa.

You find the example below.

Cheers, Henri

[1] http://meeting.contextgarden.net/2014/talks/2014-09-09-alan-bibtex/From_BibTeX_to_ConTeXt_MKVI.pdf
[2] http://pragma-ade.nl/general/manuals/mkiv-publications.pdf

---

\startbuffer[biblio]
@electronic{Truman1949,
  author = {Truman, Harry},
  title = {Inaugural Address},
  year = {1949},
  note = {Letzter Zugriff: 10.07.2013},
  url = {http:// www.presidency.ucsb.edu/ws/?pid=13282},
}
\stopbuffer

\setupinteraction[state=start] % enable hyperlinks

\mainlanguage[en]
\usebtxdataset[biblio.buffer]
\usebtxdefinitions[apa]

\starttext

\startbodymatter
  \startchapter[title={Me}]
    That's me \footnote{\cite[alternative=entry][Truman1949]}
  \stopchapter
\stopbodymatter

\startbackmatter
  \startchapter[title={Bibliography}]
    \placelistofpublications
  \stopchapter
\stopbackmatter

\stoptext


On 08/05/2016 04:38 PM, Ursula Hermann wrote:
> Hello list!
> 
>  
> 
> I would like to know:
> 
> If I have this in a footnote \footnote\cite Truman, Harry: /Inaugural //Address./1949. Letzter Zugriff: 10.07.2013, http:// www.presidency.ucsb.edu/ws/?pid=13282 <http://www.presidency.ucsb.edu/ws/?pid=13282>. [Hervorhebung I.G.]
> 
>  whats the right way?  
> 
> \startbuffer[biblio]
> 
> @url and I have an author and a year, do I have to write it here?
> 
>  
> 
> }
> 
> \stopbuffer
> 
>  
> 
> \mainlanguage[en]
> 
> \usebtxdataset[biblio.buffer]
> 
>  
> 
> \starttext
> 
>  
> 
> \startbodymatter
> 
>   \startchapter[title={Me}]
> 
>     That’s me
> 
> \footnote{\cite[url, author, year]?
> 
>   \stopchapter
> 
> \stopbodymatter
> 
>  
> 
> \startbackmatter
> 
>   \startchapter[title={Bibliography}]
> 
>     \placelistofpublications
> 
>   \stopchapter
> 
> \stopbackmatter
> 
>  
> 
> \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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 

___________________________________________________________________________________
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
___________________________________________________________________________________

      reply	other threads:[~2016-08-05 15:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-05 14:38 Ursula Hermann
2016-08-05 15:24 ` Henri Menke [this message]

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=81e06869-ea9c-1895-971f-24f7dadfbccd@gmail.com \
    --to=henrimenke@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).