ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Yury G. Kudryashov" <urkud@ya.ru>
To: ntg-context@ntg.nl
Subject: Re: referenceformat, text
Date: Mon, 09 Aug 2010 02:22:11 +0400	[thread overview]
Message-ID: <i3naml$hd8$1@dough.gmane.org> (raw)
In-Reply-To: <4C5F1554.1000106@wxs.nl>

Hans Hagen wrote:

> On 8-8-2010 7:40, Yury G. Kudryashov wrote:
> 
>>> this is only one case (we also need labels, content, left and right to
>>> work ok)
> 
> I uploaded a beta that handles the following as intended.
> 
> \starttext
> 
> \definereferenceformat [intesta] [left=(,right=),text=Whatever~]
> \definereferenceformat [intestb] [left=(,right=),label=figure]
> 
> \placeformula[x]\startformula a \stopformula
> 
> \starttabulate[|||||]
> \NC \in     [x] \NC \in     {left}[x] \NC \in     {}{right}[x] \NC \in
>     {left}{right}[x] \NC \NR
I see no "left" or "right" in the first string in PDF output. Just 
"1\t1\t1\t1".

Other strings work as expected except for "~" in text= field. In the earlier 
versions ~ was inserted automatically. For example, 
http://wiki.contextgarden.net/References suggests

\definereferenceformat[insec][text=section]

Am I right that the main difference between "text" and "label" (in the new 
version) is that context automatically uppercases "label" and adds ~ after 
it?

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


  parent reply	other threads:[~2010-08-08 22:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-08 12:44 Yury G. Kudryashov
2010-08-08 16:45 ` Hans Hagen
2010-08-08 17:19   ` Yury G. Kudryashov
2010-08-08 17:30     ` Hans Hagen
2010-08-08 17:40       ` Yury G. Kudryashov
2010-08-08 20:36         ` Hans Hagen
2010-08-08 20:55           ` Aditya Mahajan
2010-08-08 22:22           ` Yury G. Kudryashov [this message]
2010-08-08 22:48             ` Wolfgang Schuster
2010-08-08 22:52             ` Hans Hagen
2010-08-09  7:17               ` Yury G. Kudryashov
2010-08-09  7:57                 ` Hans Hagen
2010-08-09  8:21                   ` Yury G. Kudryashov

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='i3naml$hd8$1@dough.gmane.org' \
    --to=urkud@ya.ru \
    --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).