ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* labeling doesn't work
@ 2002-06-07 12:37 Uwe Koloska
  2002-06-07 16:14 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Koloska @ 2002-06-07 12:37 UTC (permalink / raw)


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

! Undefined control sequence.
l.10 Ein Test mit der Literaturstelle \labeling
                                                [reference]

Here is the minimal test I wrote:

\definelabel[bib]

\starttext

Ein Test mit der Literaturstelle \labeling[reference]

\bib[reference] {\it a little work about WORK}

\stoptext

Yours
Uwe

-- 
voiceINTERconnect www.voiceinterconnect.de
... smart speech applications from germany


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: labeling doesn't work
  2002-06-07 12:37 labeling doesn't work Uwe Koloska
@ 2002-06-07 16:14 ` Hans Hagen
  2002-06-07 20:48   ` Uwe Koloska
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2002-06-07 16:14 UTC (permalink / raw)
  Cc: ntg-context

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
>
>! Undefined control sequence.
>l.10 Ein Test mit der Literaturstelle \labeling
>                                                [reference]
>
>Here is the minimal test I wrote:
>
>
>\definelabel[bib]
>
>\starttext
>
>Ein Test mit der Literaturstelle \labeling[reference]

\in[reference]

\at[reference]

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: labeling doesn't work
  2002-06-07 16:14 ` Hans Hagen
@ 2002-06-07 20:48   ` Uwe Koloska
  2002-06-10  7:38     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Koloska @ 2002-06-07 20:48 UTC (permalink / raw)


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?

yours
Uwe Koloska

-- 
voiceINTERconnect www.voiceinterconnect.de
... smart speech applications from germany


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: labeling doesn't work
  2002-06-07 20:48   ` Uwe Koloska
@ 2002-06-10  7:38     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2002-06-10  7:38 UTC (permalink / raw)
  Cc: ntg-context

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-06-10  7:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-07 12:37 labeling doesn't work Uwe Koloska
2002-06-07 16:14 ` Hans Hagen
2002-06-07 20:48   ` Uwe Koloska
2002-06-10  7:38     ` Hans Hagen

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).