Re: [NTG-context] Midsentence alias

2018-02-11 Thread Idris Samawi Hamid ادريس سماوي حامد

On Sun, 11 Feb 2018 09:56:40 -0700, Hans Hagen  wrote:


On 2/11/2018 5:20 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:

Is there an analogous symbol for a midsentence, which requires a mark  
only at its beginning?

|=|


Excellent!
--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512
___
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
___

Re: [NTG-context] Midsentence alias

2018-02-11 Thread Hans Hagen

On 2/11/2018 5:20 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:

Is there an analogous symbol for a midsentence, which requires a mark 
only at its beginning?

|=|

-
  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 / 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
___

[NTG-context] Midsentence alias

2018-02-11 Thread Idris Samawi Hamid ادريس سماوي حامد

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

scratch.pdf
Description: Adobe PDF document


scratch.tex
Description: TeX document
___
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
___