ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Calvin Ross" <calvinjayross@gmail.com>
To: ntg-context@ntg.nl
Subject: [NTG-context] Reinserting a section title followed by (continued) after a page break
Date: Sun, 30 Jul 2023 15:52:00 -0000	[thread overview]
Message-ID: <169073232008.1135734.3777695434557078870@cgl.ntg.nl> (raw)

I'm trying to use ConTeXt for playwriting, and I think it would be best to use
sections for dialog. However, if a dialog's text is interrupted by a page
break, it is customary to restate the character name followed by (continued) on
the following page:

    --- open ---

        John
My name is John, and I seek help with my

    --- page break ---

        John (cont'd)
typesetting needs...

    --- end ---

Maybe what I need is instead a mark? Here's a catch though, I will also need
this to work for simultaneous dialog as well. This kind of dialog is
represented by having dialog sections in columns:

    --- open ---

        Alice                          Bob
John, you fool.                John, you imbecile.

    --- page break ---

        Alice (cont'd)
Don't you know that
everyone uses Word
to typeset their plays?

    --- end ---

How can I do this kind of thing in ConTeXt? At the moment, I've been looking
into adding a hook to shipout to prepend a section header with the last custom
mark I've set. Even still, I don't know if this would work, or how to go about
achieving this. If columns would be too difficult to implement, I'd be fine
with living without (continued) support in them since they are pretty rare.
___________________________________________________________________________________
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-07-30 15:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-30 15:52 Calvin Ross [this message]
2023-09-04  3:55 ` [NTG-context] " Calvin Ross
2023-09-04  7:53   ` Hans Hagen via ntg-context

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=169073232008.1135734.3777695434557078870@cgl.ntg.nl \
    --to=calvinjayross@gmail.com \
    --cc=ntg-context@ntg.nl \
    /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).