ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Dave <confused.scientist@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Bib module and prefix=+
Date: Wed, 7 Feb 2007 09:22:12 -0500	[thread overview]
Message-ID: <7a884c7c0702070622o7a10045fxd2de7efda1ab6ab1@mail.gmail.com> (raw)
In-Reply-To: <7a884c7c0702070540w71bbd3fck14e0c95a46f87ce9@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 3367 bytes --]

Sorry Taco, I wrote before consuming my second mug of coffee.  I updated my
test.zip file when I intended to overwrite it and obviously didn't actually
look at the PDF output.  The fix _does_ work for me (both in my test
directory and for my original project).  From the attached:

  texexec --pdf test_bib
  texexec --pdf cmp_test_bib
  texexec --pdf prd_test

I tried with '\setuphead[chapter][prefix=+]' (i.e. Robin's issue) and
\placepublications still silently fails.

  texexec --pdf test_bib_robin

Cheers,
Dave

Attached: test.zip
  test_bib_robin.tex (deflated 57%)
  test_bib.tex (deflated 57%)
  prj_test.tex (deflated 59%)
  prd_test.tex (deflated 53%)
  cmp_test_bib.tex (deflated 46%)
  test.bib (deflated 52%)

On 2/7/07, Dave <confused.scientist@gmail.com> wrote:
>
> Hi Taco,
>
> Sorry, no luck here as well.  I tried the same as Robin... patched
> t-bib.tex without the 'protect' and also tried locally in the attached
> component.
>
> Thanks Taco,
> Dave
>
> On 2/7/07, Robin Kirkham <robin.kirkham@csiro.au> wrote:
> >
> > Hi Taco,
> >
> > I tried this (in t-bib.tex and separately my test file) and I'm
> > afraid it did not fix my problem (no change at all). Please let me
> > know if there is anything else I should try.
> >
> > Robin
> >
> >
> > > Author: Taco Hoekwater
> > > Date: 2007-02-07 19:14 +1100
> > > To: mailing list for ConTeXt users
> > > Subject: Re: [NTG-context] Bib module and prefix=+
> > >
> > > 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
> > >
> > _______________________________________________
> > ntg-context mailing list
> > ntg-context@ntg.nl
> > http://www.ntg.nl/mailman/listinfo/ntg-context
> >
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 5318 bytes --]

[-- Attachment #2: test.zip --]
[-- Type: application/zip, Size: 3311 bytes --]

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2007-02-07 14:22 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
2007-02-07 12:56 ` Robin Kirkham
2007-02-07 13:40   ` Dave
2007-02-07 14:22     ` Dave [this message]
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=7a884c7c0702070622o7a10045fxd2de7efda1ab6ab1@mail.gmail.com \
    --to=confused.scientist@gmail.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).