Re: [NTG-context] Line Numbering and References

2009-10-16 Thread Hans Hagen

Wolfgang Schuster wrote:


Am 14.10.2009 um 11:54 schrieb Andreas Harder:


Hello all,

I have a problem with referencing from a line numbered text.

In page-lin.mkiv I've found the \inline-command, but I can't make use 
of it:


solved in next beta. btw, this mechanism has to be extended abit

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] Line Numbering and References

2009-10-14 Thread Andreas Harder

Hello all,

I have a problem with referencing from a line numbered text.

In page-lin.mkiv I've found the \inline-command, but I can't make use  
of it:


\starttext
\startlinenumbering
  Hello \textreference[ref]{} World!
\stoplinenumbering
\inline[ref] % output: line ??
\stoptext

What I really want to achieve is something like the following:

\starttext

\startlinenumbering
  This ist a long transcription from an interview with line  
numbers.   % #1

  \startMyCite[test]
This ist a long transcription from an interview with line  
numbers. % #2
This ist a long transcription from an interview with line  
numbers. % #3

  \stopMyCite
  This ist a long transcription from an interview with line  
numbers.   % #4

\stoplinenumbering

And now \getMyCite[test] should output:

\startblockquote
  This ist a long transcription from an interview with line numbers.  
% #2
  This ist a long transcription from an interview with line numbers.  
% #3

\stopblockquote (lines 2--3)

\stoptext

Is something like this possible in ConTeXt and if yes how?

Thanks for your help!

Greetings,
Andreas

___
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] Line Numbering and References

2009-10-14 Thread Wolfgang Schuster


Am 14.10.2009 um 11:54 schrieb Andreas Harder:


Hello all,

I have a problem with referencing from a line numbered text.

In page-lin.mkiv I've found the \inline-command, but I can't make  
use of it:


When I interpret the source correct this should be the correct form
but there is something wrong with the \mksomelinereference command
and 'ctxlua' with it's argument appears in the text.

\starttext

\startlinenumbering
Thus, I came to the conclusion that the designer of a new system
must not only be the implementer and first large--scale user;\someline 
[here]

the designer should also write the first user manual.

The separation of any of these four components would have hurt
\TeX\ significantly. If I had not participated fully in all these
activities, literally hundreds of improvements would never have 
\someline[there]

been made, because I would never have thought of them or perceived
why they were important.

But a system \startline[range] cannot be successful if it is too  
strongly influenced

by a single person. Once the initial design is complete and fairly
robust, the real test begins as people with many different \stopline 
[range] viewpoints

undertake their own experiments.
\stoplinenumbering

see at \inline{line}[here], \inline{line}[there] and also at \inline 
[range]


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


Re: [NTG-context] Line Numbering and References

2009-10-14 Thread Andreas Harder


Am 14.10.2009 um 14:23 schrieb Wolfgang Schuster:



Am 14.10.2009 um 11:54 schrieb Andreas Harder:


Hello all,

I have a problem with referencing from a line numbered text.

In page-lin.mkiv I've found the \inline-command, but I can't make  
use of it:


When I interpret the source correct this should be the correct form
but there is something wrong with the \mksomelinereference command
and 'ctxlua' with it's argument appears in the text.


Thank you Wolfgang. I hope it can be fixed soon …


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