Re: [NTG-context] Can ConTeXt print specific paragraph and sentences from an input file?

2023-01-29 Thread Joel via ntg-context
I've tried to keep all of the input files entirely plain text, as much as 
possible. The exception is two custom macros used to mark citations that are in 
the text, \turabian{}{}{} and \ibid{}{}{}. I could find no way of getting 
around including that in the text, as legally I must include the citations. The 
rest of the text is plain text with no other ConTeXt markup, or at leave hardly 
any.
--Joel

   On Thursday, January 26, 2023 at 11:44:07 PM MST, Hans Hagen via ntg-context 
 wrote:  
 
 On 1/27/2023 4:22 AM, Joel via ntg-context wrote:
> Assuming I have an input file with an essay:
> 
> \starttext
> 
> \input essay
> 
> \stoptext
> 
> 
> Is there any command to tell ConTeXt to print a specific sentence, e.g. 
> the first sentence from paragraph 2, or the last sentence from paragraph 
> 1, etc?
depends on the kind of input, coding etc .. how reliable is is to 
recognize a sentence and such, but given that tex is a programing 
environment all is possible in the end

Hans

-
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki    : https://contextgarden.net
___
  ___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Can ConTeXt print specific paragraph and sentences from an input file?

2023-01-26 Thread Hans Hagen via ntg-context

On 1/27/2023 4:22 AM, Joel via ntg-context wrote:

Assuming I have an input file with an essay:

\starttext

\input essay

\stoptext


Is there any command to tell ConTeXt to print a specific sentence, e.g. 
the first sentence from paragraph 2, or the last sentence from paragraph 
1, etc?
depends on the kind of input, coding etc .. how reliable is is to 
recognize a sentence and such, but given that tex is a programing 
environment all is possible in the end


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Can ConTeXt print specific paragraph and sentences from an input file?

2023-01-26 Thread Joel via ntg-context
Assuming I have an input file with an essay:
\starttext
\input essay
\stoptext

Is there any command to tell ConTeXt to print a specific sentence, e.g. the 
first sentence from paragraph 2, or the last sentence from paragraph 1, etc?
--Joel
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___