From: Jaroslav Hajtmar <hajtmar@gyza.cz>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Bug in ConTeXt? Conflict in titles, sections and bibliography (was bibliography problems)
Date: Sat, 03 Mar 2012 09:44:00 +0100 [thread overview]
Message-ID: <4F51D9D0.4090202@gyza.cz> (raw)
Hello ConTeXist.
I present an bug with which I have been seeing over the last few
versions of Context.
In collaboration with Thomas, who helped me find the perfect minimal
example, I managed to finally find out what is the core of my problem.
But it is perhaps deeper than at first glance. Bibliographic system is
today (last version of standalone) in conflict with results of \title
and \section commands.
I show in the example below, how strange it works ConTeXt, while using
inserting of the bibliography together with title and section commands.
I want show three cases of behavior of ConTeXt:
As you see below then:
1. When document is both without Title and without Section (both
commands are commented) then you see a problem with list of bibliography
- list of figures and list of bibliography are mixed.
2. When document is with Title (uncomment \title command) then you see
that bibliography is not working. You get errors in bibliography links
and ConTeXt do not include list of bibliography.
3. When document is with Section (uncomment \section command) then you
see that all is working now without any problems - links are right and
list of bibliography is correct too.
Additionally, you can track down and how it behaves ConTeXt when
inserting figure with or without captions (in case 1).
It really is a bug somewhere or doing something wrong?
Thanx Jaroslav
Here is minimal example:
\setupbibtex[database=sample]
\setuppublications[alternative=ams, sorttype=cite]
\starttext
%\section{Section} % When you uncomment this line you see, that
everything is OK, both bibliography links and list of bibliography works
fine
\title{Title} % When you uncomment this line you see, that bibliobraphy
links are broken and ConTeXt do not include list of bibliography
Citations are \cite[hh2010b] and \cite[hh2010a].
\placefigure[force][fig1]{Caption of figure \cite[Eijkhout1991] with
citation} % get "mixing" problem
{\externalfigure[fig1]}
% \placefigure[force, none][fig1]{} % Figure without caption - no
problem with bibliography (both links and "mixing")
% {\externalfigure[fig1]}
%\placefigure[force][fig1]{Caption of figure without citation} % you
see, that problem does not depend on whether the citation is inserted or not
% {\externalfigure[fig1]}
\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-03-03 8:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-03 8:44 Jaroslav Hajtmar [this message]
2012-03-05 16:57 ` Hans Hagen
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=4F51D9D0.4090202@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).