From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Bib module and prefix=+
Date: Wed, 07 Feb 2007 09:14:11 +0100 [thread overview]
Message-ID: <45C98A53.3080008@elvenkind.com> (raw)
In-Reply-To: <7a884c7c0702060546k36d752b5ya8c5ec783765e38@mail.gmail.com>
Dave wrote:
> Hi Robin,
>
> This sounds quite similar to the problem I posted yesterday where:
>
> \setuphead[chapter][ownnumber=yes]
>
> makes
>
> \placepublications[criterium=chapter]
>
> fail silently. Taco has taken a look at it and written me off the list but
> there isn't a solution yet.
I narrowed this down to my redefinition of the \dosetfilterlevel macro.
But I need that redefinition, because otherwise \cite in frontmatter
and appendices (where the numbers are alphabetic or romannumerals)
doesn't work.
Can you both try to see if this version fixes the problems?
(one new line)
\unprotect
\def\patcheddosetfilterlevel#1#2%
{\bgroup
\let\@@shortsectionnumber\@@sectionvalue % NEW
\ignoresectionconversion
\edef\askedlevel{#1}%
\edef\askedfilter{#2}%
\ifx\askedlevel\v!current
\dosetcurrentlevel\askedlevel
\else\ifx\askedlevel\v!previous
\dosetpreviouslevel\askedlevel
\else\ifx\askedlevel\v!all
\global\chardef\alltoclevels\plusone
\else\ifx\askedlevel\v!text
\global\chardef\alltoclevels\plusone
\else
\edef\byaskedlevel{\csname\??by\askedlevel\endcsname}%
\ifx\byaskedlevel\v!text
\dosettextlevel\askedlevel
\else
\dosetotherlevel\askedlevel
\fi
\fi\fi\fi\fi
\ifx\askedfilter\empty \else
\xdef\currentlevel{\currentlevel\sectionseparator\askedfilter}%
\fi
\egroup}
\protect
Best, Taco
next prev parent reply other threads:[~2007-02-07 8:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-06 13:00 Robin Kirkham
2007-02-06 13:46 ` Dave
2007-02-07 8:14 ` Taco Hoekwater [this message]
2007-02-07 12:56 ` Robin Kirkham
2007-02-07 13:40 ` Dave
2007-02-07 14:22 ` Dave
2008-12-19 2:25 ` Dave
2008-12-19 8:52 ` Taco Hoekwater
2008-12-19 12:15 ` Dave
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=45C98A53.3080008@elvenkind.com \
--to=taco@elvenkind.com \
--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).