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

Joel uaru99 at yahoo.com
Sun Jan 29 18:07:37 CET 2023

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.

   On Thursday, January 26, 2023 at 11:44:07 PM MST, Hans Hagen via ntg-context <ntg-context at ntg.nl> 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 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20230129/a97acbc4/attachment-0001.htm>

More information about the ntg-context mailing list