ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Meer, Hans van der" <H.vanderMeer@uva.nl>
To: NTG ConTeXt <ntg-context@ntg.nl>
Subject: citations
Date: Wed, 20 Jan 2016 12:07:40 +0000	[thread overview]
Message-ID: <E61C8AC7-8571-4198-83E6-3ACCB1B0F615@uva.nl> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1738 bytes --]

In this version:
  ConTeXt  ver: 2015.12.22 10:50 MKIV beta  fmt: 2015.12.27  int: english/english
I was able to typeset my bibtex citations with \cite.
But in the version of ConTeXt-beta I downloaded recently \cite results in blank.
There might have been a mention about this recently, but that is all I can remember.

What should I change? I am using \module[oldbibtex] at the moment.

My usage is through the macros I add for convenience, it might be them causing the problem

Hans van der Meer


% Custom setup ================================================================

\def\bibentry#1{% start each reference on the next line
\breaktemp\def\breaktemp{\hfill\break}%
\noexpand\bibentrypar\cite[data][#1]\strut}

% Usage: \footnotecite[citation,citation,.. ][optional text]
%        \footnotecite[citation,citation,..,][optional text on new line]
%        \footnotecite[citation,,citation,..][optional text] white within
\def\footnotecite{\dodoubleargument\dofootnotecite}

% footnotes or endnotes
\def\mycitenote{\endnote}

% Standard form of citations.
\def\breaktemp{}
\def\Adofootnotecite[#1][#2]{%
\def\bibentrypar{\def\bibentrypar{\par}}%
\def\breaktemp{}%
\unskip\mycitenote{\processcommalist[#1]\bibentry
\doifnotempty{#2}{\space#2\strut\par}}}

% Disabling citations altogether.
\def\Cdofootnotecite[#1][#2]{\ignorespaces}%

% Citations switched on.
\def\enablecitations{%
\writestatus{HVDM-ONDERWIJS}{citations enabled}%
\let\dofootnotecite\Adofootnotecite}

% Citations switched off.
\def\disablecitations{%
\writestatus{HVDM-ONDERWIJS}{citations disabled}%
\let\dofootnotecite\Cdofootnotecite}

% By default citations are off.
\let\dofootnotecite\Cdofootnotecite



[-- Attachment #1.2: Type: text/html, Size: 4629 bytes --]

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

___________________________________________________________________________________
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-01-20 12:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E61C8AC7-8571-4198-83E6-3ACCB1B0F615@uva.nl \
    --to=h.vandermeer@uva.nl \
    --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).