Re: [NTG-context] Paragraph numbering

2014-12-12 Thread MANUEL GONZALEZ SUAREZ
Thanks very much, Wolfgang?

Manuel.


De: ntg-context ntg-context-boun...@ntg.nl en nombre de Wolfgang Schuster 
schuster.wolfg...@gmail.com
Enviado: jueves, 11 de diciembre de 2014 19:10
Para: mailing list for ConTeXt users
Asunto: Re: [NTG-context] Paragraph numbering


Am 11.12.2014 um 11:15 schrieb MANUEL GONZALEZ SUAREZ 
gonzalezsman...@uniovi.esmailto:gonzalezsman...@uniovi.es:

Hello everyone.
I have a small question about paragraphs numbering. With LaTeX we have the 
possibility of numbering \paragraph and \subparagraph. With ConTeXt we have 
commands \subsubject, etc. What I like to do is number one paragraph in middle 
of the text, with the possibility of making a reference to it, with no spaces 
before or after. Something like this:

[1] Text of the first paragraph. [2] Text of the second paragraph ...

Should I use the \label or another command?

\starttext
\startitemize[n,text][lefttext={[},righttext={]},stopper=]
\item Text of the first paragraph.
\item Text of the second paragraph
\stopitemize
\stoptext

Wolfgang

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

[NTG-context] Paragraph numbering

2014-12-11 Thread MANUEL GONZALEZ SUAREZ
Hello everyone.
I have a small question about paragraphs numbering. With LaTeX we have the 
possibility of numbering \paragraph and \subparagraph. With ConTeXt we have 
commands \subsubject, etc. What I like to do is number one paragraph in middle 
of the text, with the possibility of making a reference to it, with no spaces 
before or after. Something like this:

[1] Text of the first paragraph. [2] Text of the second paragraph ...

Should I use the \label or another command?
Thanks.

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

Re: [NTG-context] Paragraph numbering

2014-12-11 Thread Wolfgang Schuster

 Am 11.12.2014 um 11:15 schrieb MANUEL GONZALEZ SUAREZ 
 gonzalezsman...@uniovi.es:
 
 Hello everyone.
 I have a small question about paragraphs numbering. With LaTeX we have the 
 possibility of numbering \paragraph and \subparagraph. With ConTeXt we have 
 commands \subsubject, etc. What I like to do is number one paragraph in 
 middle of the text, with the possibility of making a reference to it, with no 
 spaces before or after. Something like this:
 
 [1] Text of the first paragraph. [2] Text of the second paragraph ...
 
 Should I use the \label or another command?

\starttext
\startitemize[n,text][lefttext={[},righttext={]},stopper=]
\item Text of the first paragraph.
\item Text of the second paragraph
\stopitemize
\stoptext

Wolfgang

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

[NTG-context] paragraph numbering

2011-12-29 Thread Herbert Voss

current beta:

\starttext
Some text.

\setupparagraphnumbering[state=start]
first numbered paragraph.

This is another numbered paragraph. It's long enough to wrap around onto 
more
than one line, so as to show that these are paragraph numbers and not 
line numbers.\par


A third numbered paragraph.
\setupparagraphnumbering[state=stop]

a paragraph
\stoptext

Herbert


! Undefined control sequence.

system   tex  error on line 5 in file 05-04-1.ctxcrop: 
Undefined control sequence ...


 1 \starttext
 2 Some text.
 3
 4 \setupparagraphnumbering[state=start]
 5   first numbered paragraph.
 6
 7 This is another numbered paragraph. It's long enough to wrap 
around onto more
 8 than one line, so as to show that these are paragraph numbers 
and not line numbers.\par

 9
10 A third numbered paragraph.
11 \setupparagraphnumbering[state=stop]
12
13 a paragraph
14 \stoptext
15

argument \tf \dousestyleparameter \@phstyle
  \dousecolorparameter 
\@phcolor...

\doifelsenothing #1-\edef \!!stringa {#1
 }\ifx \!!stringa \empty 
\expandafte...

\dodomargindata ...a [#1]\fi \doifelsenothing {#3}
  \donefalse \donetrue 
\ifdo...

everypar ...eckindentation \showparagraphnumber

\restoreinterlinepenalty \...
to be read again
   f
l.5 f
 irst numbered paragraph.
___
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
___


[NTG-context] paragraph numbering in[..] with paragraph resolution

2007-04-20 Thread Henning Haeske
Hi,

as I am still new to context I really have no idea how to realize following:

After each paragraph I like to have at the right bottom corner a small number. 
This number shout increase with every paragraph. The counting should restart 
after every heading (doesn't care which level).

How can I realize this?

Additionaly I like to use this number with the in-command: Instead of 
referering only to the heading number (e.g. 2.3.1) I want to refer to the 
paragraph (e.g. 2.3.1 / 16). But it should also be possible to refer to a 
group of paragraphs (e.g. 2.3.1 / 16-18 or 2.3.1 / 16, 21). Maybe with the 
possibility to exchange the / with anything else (e.g. 2.3.1 Abs. 17).

I am really happy for any hint, tip, implementing strategy to realize this. Of 
course: if I have finally a working solution i will enter it into the 
context-wiki.

Thanks, H.

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] paragraph numbering in[..] with paragraph resolution - semantic refering

2007-04-19 Thread Henning Haeske
Hi,

as I am still new to context I really have no idea how to realize following:

After each paragraph I like to have at the right bottom corner a small number. 
This number shout increase with every paragraph. The counting should restart 
after every heading (doesn't care which level).

How can I realize this?

Additionaly I like to use this number with the in-command: Instead of 
referering only to the heading number (e.g. 2.3.1) I want to refer to the 
paragraph (e.g. 2.3.1 / 16). But it should also be possible to refer to a 
group of paragraphs (e.g. 2.3.1 / 16 - 18 or 2.3.1 / 16, 21). Maybe with the 
possibility to exchange the / with anything else (e.g. 2.3.1 Abs. 17).

I am really happy for any hint, tip, implementing strategy to realize this. Of 
course: if I have finally a working solution i will enter it into the 
context-wiki.

Thanks, H.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Paragraph numbering

2005-05-16 Thread piskala upendran
Thanks Taco, 

It works perfectly works as desired. with the addition
of \doglobal with paragraph enumeration, it is solved.



__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] paragraph numbering

2005-04-18 Thread Patrick Gundlach
---BeginMessage---
How can i add paragraph number in context. some thing
like this.
 Example

1. This is test.

2. This is another paragraph. This is another
paragraph. this is another paragraph.


end of example 

can you help me out. a package parano.sty exits for
latex.

thanks




__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

---End Message---
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] paragraph numbering

2005-04-18 Thread Taco Hoekwater
Like so?

Patrick Gundlach wrote:

Subject:
[despammed] paragraph numbering
From:
piskala upendran [EMAIL PROTECTED]
Date:
Sun, 17 Apr 2005 09:22:46 -0700 (PDT)
How can i add paragraph number in context. some thing
like this.
 Example
1. This is test.
2. This is another paragraph. This is another
paragraph. this is another paragraph.
end of example 

can you help me out. a package parano.sty exits for
latex.
thanks

		
__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


para.tex
Description: TeX document
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] paragraph numbering

2005-04-14 Thread piskala upendran
How can I number the paragraphs in ConTeXt similar to
the latex parano.sty.?



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context