ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <hraban@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: dictionary
Date: Wed, 23 Dec 2009 22:08:03 +0100	[thread overview]
Message-ID: <E7556016-DDA1-4786-9283-C77E7B7BFDFB@fiee.net> (raw)
In-Reply-To: <4B3212B6.4090203@jhnet.nl>

Am 2009-12-23 um 13:53 schrieb Jelle Huisman:

>> I made a marking from each entry in the dictionary and its works,  
>> but there is a problem because the entry printed is the second, not  
>> the first.
>
> See the example at http://texshow.contextgarden.net/cmd/en/ 
> getmarking and use the correct option: [first] [last] [previous]  
> [both] [all] [current] (I usually get it right after a couple of  
> experiments ;-)

I tried something similar for my addressbook, but it doesn't work:

\definemarking[MNam]

\setupheadertexts[][{\getmarking[MNam][first]--\getmarking[MNam][last]}]

\def\Name#1{\bf #1\marking[MNam]{\FirstNCharacters{4}{#1}}}

(following lots of lines with \Name{Somebody})

There's no output besides "–" in the header.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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:[~2009-12-23 21:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-22 17:51 dictionary Horacio Suarez
2009-12-22 18:01 ` dictionary Hans Hagen
2009-12-23  3:45 ` dictionary Horacio Suarez
2009-12-23 12:53   ` dictionary Jelle Huisman
2009-12-23 21:08     ` Henning Hraban Ramm [this message]
2009-12-23 21:20       ` dictionary Wolfgang Schuster
2009-12-23 21:58         ` dictionary Henning Hraban Ramm
2009-12-23 21:24   ` dictionary Horacio Suarez
2009-12-25 20:39     ` dictionary Horacio Suarez

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=E7556016-DDA1-4786-9283-C77E7B7BFDFB@fiee.net \
    --to=hraban@fiee.net \
    --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).