ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: labeling doesn't work
Date: Mon, 10 Jun 2002 09:38:26 +0200	[thread overview]
Message-ID: <5.1.0.14.1.20020610093803.039b7a00@server-1> (raw)
In-Reply-To: <3D011C35.2060800@voiceinterconnect.de>

At 10:48 PM 6/7/2002 +0200, Uwe Koloska wrote:
>Hans Hagen wrote:
> > At 02:37 PM 6/7/2002 +0200, you wrote:
> >
> >> Hello Hans, hello all,
> >>
> >> I just tried to make a quick and dirty bibliography
> >> (deadline is near ...) and used labeling but it doesn't
> >> work.  TeX bails out with
>
>to make them more like cites I have setup the labeling to use []
>before and after and to make the label stand out from the text I
>have used "location=inmargin" -- and this was the problem.  In the screen 
>version of my document there is no margin :-(( but the [] showed in the 
>text thus suggesting me that the inmargin was ignored ...
>
>\definelabel
>   [bib]
>   [before={[},after={]},
>    location=inmargin,
>    way=bytext,text=test]
>
>with 'inmargin' "test #" is printed in the margin (if there is a margin) 
>and the braces (or brackets or what?) are printed in the 
>textarea.  Without 'inmargin' the intended "[test #]" is printed in the 
>text. (where "test" was only for testing).
>
> > \in[reference]
> >
> > \at[reference]
>
>This works okay and gives "[#]" -- but without "test" is this the intended 
>behaviour?

maybe you want (copied from core-ref):

%D \starttypen
%D \definereferenceformat[informula]  [left=(,right=),text=formula]
%D \definereferenceformat[informulas] [left=(,right=),text=formulas]
%D \definereferenceformat[andformula] [left=(,right=),text=and]
%D \definereferenceformat[andformulas][left=(,right=),text=and]
%D
%D \informula [b] and \informula [for:c]
%D the \informula {formulas}[b] \informula {and} [for:c]
%D the \informulas {formulas}[b] \informula {and} [for:c]
%D the \informulas [b] \informula {en} [for:c]
%D the \informulas [b] \andformula [for:c]
%D \stoptypen
%D
%D Instead of a text, one can specify a label, which should
%D be defined with \type {\setuplabeltext}.
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


      reply	other threads:[~2002-06-10  7:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-07 12:37 Uwe Koloska
2002-06-07 16:14 ` Hans Hagen
2002-06-07 20:48   ` Uwe Koloska
2002-06-10  7:38     ` Hans Hagen [this message]

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=5.1.0.14.1.20020610093803.039b7a00@server-1 \
    --to=pragma@wxs.nl \
    --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).