ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Steffen Wolfrum <context@st.estfiles.de>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: solution for missing bookmark (minimal example)
Date: Thu, 23 Feb 2012 09:53:22 +0100	[thread overview]
Message-ID: <DA1D6D49-9B42-49C1-B14F-3431A68BEE48@st.estfiles.de> (raw)
In-Reply-To: <4F43D1BD.7040607@wxs.nl>

Hi Hans

I managed to narrow down my example to just one bibliography, no index, no register, nothing fancy.
If I run this example with a pre-Feb.2012 version (say 2012.01.16), then the bookmarks FIVE, SIX and SEVEN do not work.

If you run this minimal example with all your tracing magic, can't you find where the bug hides (that was part of MkIV at least since May 2011 and vanished no more than with your experimental February 2012 versions)?

Steffen
-------


\setuppublications[state=start,refcommand=author]

\setupcite   [author]   [pubsep={},    lastpubsep={},    inbetween={},    left={},    right={},    andtext={|::|}, otherstext={ \tf et al.}]

\newbibfield[shorttitle]
\newbibfield[shortauthor]

\unexpanded\def\mycite
{\dodoubleempty\domycite}

\def\domycite[#1][#2]#3%
 {\bgroup
  \nocite[#3]%
   \getcitedata[shortauthor][#3] to \myshortauthor%
   \getcitedata[shorttitle][#3] to \myshorttitle%
   \getcitedata[title][#3] to \mytitle%
   \getcitedata[journal][#3] to \myjournal%
  \doifsomethingelse{#2}
   {{\em #1} in: \doifsomethingelse{\myshortauthor}{\myshortauthor}{\cite[#3]},
   \doifsomethingelse{\myshorttitle}{\myshorttitle}{\mytitle}\doifsomethingelse{#1}{, #2}{}}
   {{\em\doifsomethingelse{\myshortauthor}{\myshortauthor}{\cite[#3]}}, \doifsomethingelse{\myjournal}{{\doifsomethingelse{\myshorttitle}{\myshorttitle}{\doifsomethingelse{\myjournal}{\myjournal\doifsomethingelse{\myvolume}{\ \myvolume\ [\mypubyear]}{\ \mypubyear}}{\mytitle}}}}{\doifsomethingelse{\myshorttitle}{\myshorttitle}{\mytitle}}\doifsomethingelse{#1}{, #1}{}}%
  \egroup}

\setuppublicationlist[samplesize={DDBD08},totalnumber=2]

\startpublication[k=Duetz2008,t=book,
a={{Dütz}},y=2009,
n=53,s=Düt09]
\title{Arbeitsrecht}
\stoppublication

% --------------------------------------------------------

\starttext

\setupinteraction
   [state=start,style=,color=black]

\placebookmarks
[chapter,section,subsection,subsubsection]
[chapter,section,subsection,subsubsection][force=yes] 


\chapter{ONE}

\section{TWO}
 
\input tufte \footnote{\input ward}

\subsection{THREE}

\subsubsection{FOUR}

Text.\footnote{%
Siehe
\cite{Duetz2008}; 
\mycite[Rn. 556 ff.]{Duetz2008}; 
\mycite[Rn. 556 ff.]{Duetz2008}; 
}


\dorecurse{5}{\input tufte \footnote{\input ward}}

\subsubsection{FIVE}

{\input tufte \footnote{\input ward}}

\subsection{SIX}

\subsubsection{SEVEN}

{\input tufte \footnote{\input ward}}

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


       reply	other threads:[~2012-02-23  8:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4F43B07F.9040207@wxs.nl>
     [not found] ` <9387EAD9-1687-4A68-A7A6-E27DB0EAB2B6@st.estfiles.de>
     [not found]   ` <4F43CE23.2070901@wxs.nl>
     [not found]     ` <5378E390-249E-4656-813A-B323F74E8399@st.estfiles.de>
     [not found]       ` <4F43D1BD.7040607@wxs.nl>
2012-02-23  8:53         ` Steffen Wolfrum [this message]
2012-02-23 13:19           ` luigi scarso
2012-02-23 13:45             ` Steffen Wolfrum
2012-02-23 13:53               ` luigi scarso
2012-02-23 14:48               ` Philipp Gesang
2012-02-23 15:01                 ` Steffen Wolfrum
2012-02-25  9:32           ` Steffen Wolfrum
2012-02-27 22:21             ` Hans Hagen
2012-02-28  8:19               ` Steffen Wolfrum
2012-02-28  8:30                 ` luigi scarso

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=DA1D6D49-9B42-49C1-B14F-3431A68BEE48@st.estfiles.de \
    --to=context@st.estfiles.de \
    --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).