From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10741 invoked from network); 30 Jul 2023 15:54:18 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 30 Jul 2023 15:54:18 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 1587C482AD6 for ; Sun, 30 Jul 2023 17:52:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MLsFfSj0ZIjH for ; Sun, 30 Jul 2023 17:52:51 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id AD7EC482C07 for ; Sun, 30 Jul 2023 17:52:28 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 4B01C482A56 for ; Sun, 30 Jul 2023 17:52:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MaJ93uel7rSd for ; Sun, 30 Jul 2023 17:52:00 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 182B5482A53 for ; Sun, 30 Jul 2023 17:52:00 +0200 (CEST) MIME-Version: 1.0 From: "Calvin Ross" To: ntg-context@ntg.nl Date: Sun, 30 Jul 2023 15:52:00 -0000 Message-ID: <169073232008.1135734.3777695434557078870@cgl.ntg.nl> User-Agent: HyperKitty on http://mailman.ntg.nl/ Message-ID-Hash: LJZ6G75WBQ53C3MHBTXOXXPTF5PVLPCK X-Message-ID-Hash: LJZ6G75WBQ53C3MHBTXOXXPTF5PVLPCK X-MailFrom: calvinjayross@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Reinserting a section title followed by (continued) after a page break List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 ___________________________________________________________________________________