From: Alan Braslau <braslau.list@comcast.net>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \cite not working with notes in xtables
Date: Tue, 5 Dec 2017 13:25:50 -0700 [thread overview]
Message-ID: <20171205132550.3039fcb6@zoo.hsd1.co.comcast.net> (raw)
In-Reply-To: <F2EF6D6A-1B05-4092-B4B8-B20FC0E8F3DD@arch.ethz.ch>
Hans,
Including the second \caption (note) leads to:
publications > no entry 'tufte' found in dataset 'bib'
publications > no entry 'tufte' found in dataset 'bib'
Strange...
Alan
On Tue, 5 Dec 2017 21:06:59 +0100
Michael Eidenbenz <eidenbenz@arch.ethz.ch> wrote:
> Hello List,
>
> I have this MWE that reflects my current layout where I have images
> in an xtable with captions defined as note. Both, footnotes and
> captions are set in the margin. The Example compiles correct with
> just one caption in a xcell. If there are two (as in the MWE) the
> \cite command doesnt work.
>
> Could this be a conflict on the lua side of xtables/publication
> framework?
>
> The second problem of course are the footnotes that are not placed on
> the correct side. I thought \automigrateinserts would help here. But
> it doesnt.
>
> Any hints how to solve this?
>
> Thanks Michael
>
>
> ---------------------------
> \useMPlibrary[dum]
>
> \startbuffer[bib]
> @article{tufte, author = {Edward Tufte} }
> \stopbuffer
> \definebtxdataset[bib]
> \usebtxdataset [bib][bib.buffer]
> \definebtxrendering[bib][dataset=bib]
>
> \setuplayout[backspace=80mm,width=120mm]
>
> \setupnote [footnote]
> [location={none}]
>
> \definenote [caption]
> [location={none}]
>
> \automigrateinserts
>
> \setuptexttexts
> [margin]
> [{{\vbox to\textheight%
> {\placenotes[caption]%
> \null\vfilll%
> \placenotes[footnote]}}}]
> []
>
> \starttext
>
> \input tufte
> \footnote{\cite[bib::tufte]}
> \par
>
> \startembeddedxtable[distance=10mm]
> \startxrow
> \startxcell[width=55mm]
> \externalfigure[dummy][factor=fit]
> \caption[dummy]{caption}
> \stopxcell
> \startxcell[width=55mm]
> \externalfigure[dummy][factor=fit]
> % \caption[dummy]{caption} %without this note the \cite
> command compiles \stopxcell
> \stopxrow
> \stopembeddedxtable
>
> \input tufte
> \footnote{\cite[bib::tufte]}
> \par
>
> \placebtxrendering [bib]
>
> \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://context.aanhet.net archive :
> https://bitbucket.org/phg/context-mirror/commits/ 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2017-12-05 20:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-05 20:06 Michael Eidenbenz
2017-12-05 20:25 ` Alan Braslau [this message]
2017-12-12 18:23 ` Alan Braslau
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=20171205132550.3039fcb6@zoo.hsd1.co.comcast.net \
--to=braslau.list@comcast.net \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.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).