ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Joel via ntg-context <ntg-context@ntg.nl>
To: Joel via ntg-context <ntg-context@ntg.nl>
Cc: Joel <uaru99@yahoo.com>
Subject: Re: Can ConTeXt print specific paragraph and sentences from an input file?
Date: Sun, 29 Jan 2023 17:07:37 +0000 (UTC)	[thread overview]
Message-ID: <1580453736.587073.1675012058004@mail.yahoo.com> (raw)
In-Reply-To: <b9a9776c-4837-a998-2155-d0dbe8e0d4a0@freedom.nl>


[-- Attachment #1.1: Type: text/plain, Size: 1910 bytes --]

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 <ntg-context@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

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

[-- Attachment #1.2: Type: text/html, Size: 3995 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

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

      reply	other threads:[~2023-01-29 17:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2089107815.121593.1674789727856.ref@mail.yahoo.com>
2023-01-27  3:22 ` Joel via ntg-context
2023-01-27  6:42   ` Hans Hagen via ntg-context
2023-01-29 17:07     ` Joel via ntg-context [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1580453736.587073.1675012058004@mail.yahoo.com \
    --to=ntg-context@ntg.nl \
    --cc=uaru99@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).