From: "Idris Samawi Hamid ادريس سماوي حامد" <Idris.Hamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Midsentence alias
Date: Sun, 11 Feb 2018 09:20:51 -0700 [thread overview]
Message-ID: <op.zd941acgejo439@desktop-mt1m160> (raw)
[-- Attachment #1: Type: text/plain, Size: 1649 bytes --]
Dear gang,
Midsentences in the ConTeXt sense are quite common. Consider the following:
=======
\setuplanguage[en]
[leftsentence={{} \endash\nobreakspace},
rightsentence={{} \endash\nobreakspace},
leftsubsentence={{} \textbar\nobreakspace},
rightsubsentence={{} \textbar\nobreakspace},
midsentence={{} \endash\nobreakspace}]
\starttext
This is a sentence|<|this is a subsentence|>|that includes a subsentence.
\blank
This is a sentence|<|this is a subsentence|<|this is a nested
subsentence|>|that includes a nested subsentence|>|that includes a
subsentence.
\blank
This is a sentence that ends in a midsentence\midsentence Here is the
midsentence.
\stoptext
=======
A primary subsentence or nested subsentence is marked off by |<| and |>|
respectively.
Is there an analogous symbol for a midsentence, which requires a mark only
at its beginning?
If not, how can I make a private one? For example:
This is a sentence that ends in a midsentence|<>|Here is the midsentence.
How can I properly define |<>| to be an alias for \midsentence, in a way
consistent with the rest of the subsentence mechanism?
Note: Could only find one reference to midsentence in the sources:
lang-ini.mkiv, line 354
If this is not already supported, would like to propose that |<>| be added
to ConTeXt as an alias for \midsentence.
BTW: It may appear that one can just use |<| to mark a midsentence, but
then the next subsentence in the document will be treated as a nested
subsentence.
Thank you in advance!
Best wishes
Idris
--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512
[-- Attachment #2: scratch.pdf --]
[-- Type: application/pdf, Size: 6408 bytes --]
[-- Attachment #3: scratch.tex --]
[-- Type: application/x-tex, Size: 600 bytes --]
[-- Attachment #4: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2018-02-11 16:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-11 16:20 Idris Samawi Hamid ادريس سماوي حامد [this message]
2018-02-11 16:56 ` Hans Hagen
2018-02-11 17:01 ` Idris Samawi Hamid ادريس سماوي حامد
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=op.zd941acgejo439@desktop-mt1m160 \
--to=idris.hamid@colostate.edu \
--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).