From: Jaroslav Hajtmar <hajtmar@gyza.cz>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Strange mixing of lists (figures, tables etc.) and lists of bibliography
Date: Sat, 25 Feb 2012 13:43:31 +0100 [thread overview]
Message-ID: <4F48D773.5090106@gyza.cz> (raw)
Hello ConTeXist.
Here is my next problem. You see it in minimal example.
When I put link to bibliography to caption of figure, then list of
bibliography consist caption of figure ...
What I am doing wrong?
In MKII and former versions of MKIV it worked OK.
Thanx Jaroslav Hajtmar
Here is my example:
\setupbibtex[database={samplebib}]
\setuppublications[alternative=ams]
\defineselector [caption] [max=2,n=2] % alternate {short}{long} caption
% Content of file "samplebib.bib"
%
% @STRING{hh = {Hans Hagen}}
%
% @ARTICLE{hh2010a,
% author = hh,
% title = {The Font Name Mess},
% journal = {MAPS},
% year = {2010},
% volume = {40},
% pages = {2-8},
% keywords = {context},
% }
%
% @BOOK{Eijkhout1991,
% title = {\TeX\ by Topic. A \TeX nician's Reference},
% publisher = {Addison-Wesley},
% year = {1991},
% author = {Victor Eijkhout},
% address = {London},
% keywords = {general},
% }
\startbuffer[fig1]
\useexternalfigure[fig1][fig1.jpg][type=jpg,metod=jpg,width=5cm]
\placefigure[force][fig1]
{\select{caption}
{Caption of list of capfions}
{Caption of figure with link to bibliography
\cite[hh2010a].}
}
{\externalfigure[fig1]}
\stopbuffer
\starttext
Citation one is \cite[hh2010a] and another citation is \cite[Eijkhout1991].
\getbuffer[fig1]
% When you uncomment next line, then bibliography crashed
%\section{List of citations}
Example of mixing bibliography and captions of pictures:
\placepublications[criterium=cite]
\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
___________________________________________________________________________________
next reply other threads:[~2012-02-25 12:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-25 12:43 Jaroslav Hajtmar [this message]
2012-02-27 12:42 ` Jaroslav Hajtmar
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=4F48D773.5090106@gyza.cz \
--to=hajtmar@gyza.cz \
--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).