[NTG-context] line number overwriting

Pierre-Fran├žois Bonnefoi bonnefoi at unilim.fr
Wed Apr 29 17:00:30 CEST 2015


Thank you very much for your solution.

When using it into a paragraph, the line number disappears :

\defineframed[numeroLigneCode][location=low,width=fit,strut=yes,frame=off,rightframe=on]

\definetyping[code][numbering=line,page=yes,bodyfont=9pt,tab=2]                                      

\setuplinenumbering[code][location=text,align=left,style={\switchtobodyfont[9pt,tt]},command=\numeroLigneCode,distance=-.5em,width=2em]

\defineparagraphs[TwoCols][n=2,before=,after=]

\starttext
\startTwoCols
\startcode
one
two
three
\stopcode
\TwoCols
hum
\stopTwoCols
\stoptext

I've tried to use the command "\definelinenumbering" without success.

I don't know what happened...

> On 29 Apr 2015, at 16:40, Wolfgang Schuster <schuster.wolfgang at gmail.com> wrote:
> 
> \defineframed[numeroLigneCode][location=low,width=fit,strut=yes,frame=off,rightframe=on]
> 
> \definetyping[code][numbering=line,page=yes,bodyfont=9pt,tab=2]                                      
> 
> \setuplinenumbering[code][location=text,align=left,style={\switchtobodyfont[9pt,tt]},command=\numeroLigneCode,distance=-.5em,width=2em]

-- 
Bonnefoi Pierre-Francois                |    E-mail : bonnefoi at unilim.fr http://libpfb.so/
Universite de Limoges, Laboratoire XLIM |       Tel : 06 28 18 03 38
123 av Albert Thomas                    |  Mrs. Peel, we're needed...
87060 Limoges CEDEX - FRANCE            |                 The Avengers.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150429/41645a1e/attachment.html>


More information about the ntg-context mailing list