ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \| should give two || and not one
@ 2013-02-15 10:14 Mikael P. Sundqvist
  2013-02-15 12:42 ` Wim W. Wilhelm
  2013-02-15 16:19 ` luigi scarso
  0 siblings, 2 replies; 17+ messages in thread
From: Mikael P. Sundqvist @ 2013-02-15 10:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

\starttext
$\|v\|$
\stoptext

I expect two vertical bars on each side of v, but see only one.

Tested with the latest beta.

/Mikael
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: \| should give two || and not one
  2013-02-15 10:14 \| should give two || and not one Mikael P. Sundqvist
@ 2013-02-15 12:42 ` Wim W. Wilhelm
  2013-02-15 12:55   ` Mikael P. Sundqvist
  2013-02-15 16:19 ` luigi scarso
  1 sibling, 1 reply; 17+ messages in thread
From: Wim W. Wilhelm @ 2013-02-15 12:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

use $\Vert v \Vert$

Wim W. Wilhelm

> Dear list,
>
> \starttext
> $\|v\|$
> \stoptext
>
> I expect two vertical bars on each side of v, but see only one.
>
> Tested with the latest beta.
>
> /Mikael
> ___________________________________________________________________________________
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 


___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: \| should give two || and not one
  2013-02-15 12:42 ` Wim W. Wilhelm
@ 2013-02-15 12:55   ` Mikael P. Sundqvist
  2013-02-15 15:26     ` Wim W. Wilhelm
  0 siblings, 1 reply; 17+ messages in thread
From: Mikael P. Sundqvist @ 2013-02-15 12:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Feb 15, 2013 at 1:42 PM, Wim W. Wilhelm <ww.wilhelm@kpnmail.nl> wrote:
> use $\Vert v \Vert$
>
> Wim W. Wilhelm
>
>> Dear list,
>>
>> \starttext
>> $\|v\|$
>> \stoptext
>>
>> I expect two vertical bars on each side of v, but see only one.
>>
>> Tested with the latest beta.
>>
>> /Mikael
>>

Thank you for your reply, Wim. I guess most/some people writing
mathematics are used to write \| to get double bars from LaTeX, and if
I remember correctly it was also like this in ConTeXt some time ago.

If this is changed on purpose I can very well use \Vert instead.

/Mikael
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: \| should give two || and not one
  2013-02-15 12:55   ` Mikael P. Sundqvist
@ 2013-02-15 15:26     ` Wim W. Wilhelm
  2013-02-15 15:37       ` Mikael P. Sundqvist
  0 siblings, 1 reply; 17+ messages in thread
From: Wim W. Wilhelm @ 2013-02-15 15:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear Mikael,

It is TEX.

Wim W. Wilhelm


> On Fri, Feb 15, 2013 at 1:42 PM, Wim W. Wilhelm <ww.wilhelm@kpnmail.nl> 
> wrote:
>> use $\Vert v \Vert$
>>
>> Wim W. Wilhelm
>>
>>> Dear list,
>>>
>>> \starttext
>>> $\|v\|$
>>> \stoptext
>>>
>>> I expect two vertical bars on each side of v, but see only one.
>>>
>>> Tested with the latest beta.
>>>
>>> /Mikael
>>>
>
> Thank you for your reply, Wim. I guess most/some people writing
> mathematics are used to write \| to get double bars from LaTeX, and if
> I remember correctly it was also like this in ConTeXt some time ago.
>
> If this is changed on purpose I can very well use \Vert instead.
>
> /Mikael
> ___________________________________________________________________________________
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 


___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: \| should give two || and not one
  2013-02-15 15:26     ` Wim W. Wilhelm
@ 2013-02-15 15:37       ` Mikael P. Sundqvist
  2013-02-15 15:47         ` Mikael P. Sundqvist
  0 siblings, 1 reply; 17+ messages in thread
From: Mikael P. Sundqvist @ 2013-02-15 15:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Feb 15, 2013 at 4:26 PM, Wim W. Wilhelm <ww.wilhelm@kpnmail.nl> wrote:
> Dear Mikael,
>
> It is TEX.
>
> Wim W. Wilhelm
>
>
>> On Fri, Feb 15, 2013 at 1:42 PM, Wim W. Wilhelm <ww.wilhelm@kpnmail.nl>
>> wrote:
>>>
>>> use $\Vert v \Vert$
>>>
>>> Wim W. Wilhelm
>>>
>>>> Dear list,
>>>>
>>>> \starttext
>>>> $\|v\|$
>>>> \stoptext
>>>>
>>>> I expect two vertical bars on each side of v, but see only one.
>>>>
>>>> Tested with the latest beta.
>>>>
>>>> /Mikael
>>>>
>>
>> Thank you for your reply, Wim. I guess most/some people writing
>> mathematics are used to write \| to get double bars from LaTeX, and if
>> I remember correctly it was also like this in ConTeXt some time ago.
>>
>> If this is changed on purpose I can very well use \Vert instead.
>>
>> /Mikael
>>
>> ___________________________________________________________________________________
>> 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://tex.aanhet.net
>> archive  : http://foundry.supelec.fr/projects/contextrev/
>> wiki     : http://contextgarden.net
>>
>> ___________________________________________________________________________________
>>
>
>
> ___________________________________________________________________________________
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

Dear Wim,

oh, sorry. I did not know that TeX set \| to \vert and not \Vert. Then
probably my memory fails me that \| gave \Vert in earlier versions of
ConTeXt aswell. I'll have to get used to \Vert, I guess.

/Mikael
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: \| should give two || and not one
  2013-02-15 15:37       ` Mikael P. Sundqvist
@ 2013-02-15 15:47         ` Mikael P. Sundqvist
  0 siblings, 0 replies; 17+ messages in thread
From: Mikael P. Sundqvist @ 2013-02-15 15:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Feb 15, 2013 at 4:37 PM, Mikael P. Sundqvist <mickep@gmail.com> wrote:
> On Fri, Feb 15, 2013 at 4:26 PM, Wim W. Wilhelm <ww.wilhelm@kpnmail.nl> wrote:
>> Dear Mikael,
>>
>> It is TEX.
>>
>> Wim W. Wilhelm
>>
>>
>>> On Fri, Feb 15, 2013 at 1:42 PM, Wim W. Wilhelm <ww.wilhelm@kpnmail.nl>
>>> wrote:
>>>>
>>>> use $\Vert v \Vert$
>>>>
>>>> Wim W. Wilhelm
>>>>
>>>>> Dear list,
>>>>>
>>>>> \starttext
>>>>> $\|v\|$
>>>>> \stoptext
>>>>>
>>>>> I expect two vertical bars on each side of v, but see only one.
>>>>>
>>>>> Tested with the latest beta.
>>>>>
>>>>> /Mikael
>>>>>
>>>
>>> Thank you for your reply, Wim. I guess most/some people writing
>>> mathematics are used to write \| to get double bars from LaTeX, and if
>>> I remember correctly it was also like this in ConTeXt some time ago.
>>>
>>> If this is changed on purpose I can very well use \Vert instead.
>>>
>>> /Mikael
>>>
>>> ___________________________________________________________________________________
>>> 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://tex.aanhet.net
>>> archive  : http://foundry.supelec.fr/projects/contextrev/
>>> wiki     : http://contextgarden.net
>>>
>>> ___________________________________________________________________________________
>>>
>>
>>
>> ___________________________________________________________________________________
>> 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://tex.aanhet.net
>> archive  : http://foundry.supelec.fr/projects/contextrev/
>> wiki     : http://contextgarden.net
>> ___________________________________________________________________________________
>
> Dear Wim,
>
> oh, sorry. I did not know that TeX set \| to \vert and not \Vert. Then
> probably my memory fails me that \| gave \Vert in earlier versions of
> ConTeXt aswell. I'll have to get used to \Vert, I guess.
>
> /Mikael

Dear Wim,

funny thing is that now that I had a look in my copy of the TeXBook I see

\let\|=\Vert

on page 361.

/Mikael
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: \| should give two || and not one
  2013-02-15 10:14 \| should give two || and not one Mikael P. Sundqvist
  2013-02-15 12:42 ` Wim W. Wilhelm
@ 2013-02-15 16:19 ` luigi scarso
  2013-02-18  9:23   ` Mikael P. Sundqvist
  1 sibling, 1 reply; 17+ messages in thread
From: luigi scarso @ 2013-02-15 16:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Feb 15, 2013 at 11:14 AM, Mikael P. Sundqvist <mickep@gmail.com> wrote:
> Dear list,
>
> \starttext
> $\|v\|$
> \stoptext
>
> I expect two vertical bars on each side of v, but see only one.
>
> Tested with the latest beta.
>
For what I see

\starttext
 $\|v\|$

 $\Vert v\Vert$

 $\vert v\vert$

 $‖v‖$

\stoptext

|𝑣|
‖𝑣‖
|𝑣|
‖𝑣‖


--
luigi
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: \| should give two || and not one
  2013-02-15 16:19 ` luigi scarso
@ 2013-02-18  9:23   ` Mikael P. Sundqvist
  2013-02-18  9:42     ` luigi scarso
  0 siblings, 1 reply; 17+ messages in thread
From: Mikael P. Sundqvist @ 2013-02-18  9:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Indeed, luigi, but is that what you expect?

/Mikael

On Fri, Feb 15, 2013 at 5:19 PM, luigi scarso <luigi.scarso@gmail.com> wrote:
> On Fri, Feb 15, 2013 at 11:14 AM, Mikael P. Sundqvist <mickep@gmail.com> wrote:
>> Dear list,
>>
>> \starttext
>> $\|v\|$
>> \stoptext
>>
>> I expect two vertical bars on each side of v, but see only one.
>>
>> Tested with the latest beta.
>>
> For what I see
>
> \starttext
>  $\|v\|$
>
>  $\Vert v\Vert$
>
>  $\vert v\vert$
>
>  $‖v‖$
>
> \stoptext
>
> |𝑣|
> ‖𝑣‖
> |𝑣|
> ‖𝑣‖
>
>
> --
> luigi
> ___________________________________________________________________________________
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: \| should give two || and not one
  2013-02-18  9:23   ` Mikael P. Sundqvist
@ 2013-02-18  9:42     ` luigi scarso
  2013-02-18  9:51       ` Mikael P. Sundqvist
  0 siblings, 1 reply; 17+ messages in thread
From: luigi scarso @ 2013-02-18  9:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Feb 18, 2013 at 10:23 AM, Mikael P. Sundqvist <mickep@gmail.com> wrote:
> Indeed, luigi, but is that what you expect?
Hm, hard to say for me.
I find natural to use \vert and \Vert or, if possible, | and ‖ .
LaTeXt users find natural that  \| is ‖, but I don't see, as a ConTeXt
user,  a particular meaning in \| .



--
luigi
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: \| should give two || and not one
  2013-02-18  9:42     ` luigi scarso
@ 2013-02-18  9:51       ` Mikael P. Sundqvist
  2013-02-19  7:36         ` Keith J. Schultz
  0 siblings, 1 reply; 17+ messages in thread
From: Mikael P. Sundqvist @ 2013-02-18  9:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Feb 18, 2013 at 10:42 AM, luigi scarso <luigi.scarso@gmail.com> wrote:
> On Mon, Feb 18, 2013 at 10:23 AM, Mikael P. Sundqvist <mickep@gmail.com> wrote:
>> Indeed, luigi, but is that what you expect?
> Hm, hard to say for me.
> I find natural to use \vert and \Vert or, if possible, | and || .
> LaTeXt users find natural that  \| is ||, but I don't see, as a ConTeXt
> user,  a particular meaning in \| .
>

I think that since \| is defined as \Vert in the TeXbook and everyone
writing mathematics in LaTeX are used to \| to mean \Vert there is no
reason to have different behaviour in ConTeXt.

/Mikael
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: \| should give two || and not one
  2013-02-18  9:51       ` Mikael P. Sundqvist
@ 2013-02-19  7:36         ` Keith J. Schultz
  2013-02-19  9:29           ` Hans Hagen
  0 siblings, 1 reply; 17+ messages in thread
From: Keith J. Schultz @ 2013-02-19  7:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi All,

In a way, it is correct that for compatibility reasons and and convert
it is good to keep the old syntax.

Yet, ConTeXt is suppose to be more natural. 

Personally, I find some of the names used in TeX and LaTeX often
hard to find. Whenever, I needed a function or symbol I to often
go look it up. I mean that \vert and \Vert are still cryptic. They can stand
for abs, for all in, etc. ..

Me, I prefer names that reflect the their functions, 

regards
	Keith.

Am 18.02.2013 um 10:51 schrieb Mikael P. Sundqvist <mickep@gmail.com>:

> On Mon, Feb 18, 2013 at 10:42 AM, luigi scarso <luigi.scarso@gmail.com> wrote:
>> On Mon, Feb 18, 2013 at 10:23 AM, Mikael P. Sundqvist <mickep@gmail.com> wrote:
>>> Indeed, luigi, but is that what you expect?
>> Hm, hard to say for me.
>> I find natural to use \vert and \Vert or, if possible, | and || .
>> LaTeXt users find natural that  \| is ||, but I don't see, as a ConTeXt
>> user,  a particular meaning in \| .
>> 
> 
> I think that since \| is defined as \Vert in the TeXbook and everyone
> writing mathematics in LaTeX are used to \| to mean \Vert there is no
> reason to have different behaviour in ConTeXt.
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: \| should give two || and not one
  2013-02-19  7:36         ` Keith J. Schultz
@ 2013-02-19  9:29           ` Hans Hagen
  2013-02-19  9:50             ` Mikael P. Sundqvist
  2013-02-19 12:09             ` Mojca Miklavec
  0 siblings, 2 replies; 17+ messages in thread
From: Hans Hagen @ 2013-02-19  9:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 2/19/2013 8:36 AM, Keith J. Schultz wrote:
> Hi All,
>
> In a way, it is correct that for compatibility reasons and and convert
> it is good to keep the old syntax.
>
> Yet, ConTeXt is suppose to be more natural.

I consider the \{ \} \| etc to be escapes for tex characters. In fact, 
if one wants || in math then it's more natural to support || directly.

> Personally, I find some of the names used in TeX and LaTeX often
> hard to find. Whenever, I needed a function or symbol I to often
> go look it up. I mean that \vert and \Vert are still cryptic. They can stand
> for abs, for all in, etc. ..

a next step (already partially done) is that we organize the names in 
dictionaries as in open math (a bit of work)

> Me, I prefer names that reflect the their functions,

me too and i wonder if we should have proper names as well i.e. use 
verbose names as default (in char-def.lua) and define the short ones as 
synonyms (in a tex file)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: \| should give two || and not one
  2013-02-19  9:29           ` Hans Hagen
@ 2013-02-19  9:50             ` Mikael P. Sundqvist
  2013-02-19 10:56               ` Keith J. Schultz
  2013-02-19 11:06               ` luigi scarso
  2013-02-19 12:09             ` Mojca Miklavec
  1 sibling, 2 replies; 17+ messages in thread
From: Mikael P. Sundqvist @ 2013-02-19  9:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Feb 19, 2013 at 10:29 AM, Hans Hagen <pragma@wxs.nl> wrote:
> On 2/19/2013 8:36 AM, Keith J. Schultz wrote:
>>
>> Hi All,
>>
>> In a way, it is correct that for compatibility reasons and and convert
>> it is good to keep the old syntax.
>>
>> Yet, ConTeXt is suppose to be more natural.
>
>
> I consider the \{ \} \| etc to be escapes for tex characters. In fact, if
> one wants || in math then it's more natural to support || directly.
>
>
>> Personally, I find some of the names used in TeX and LaTeX often
>> hard to find. Whenever, I needed a function or symbol I to often
>> go look it up. I mean that \vert and \Vert are still cryptic. They can
>> stand
>> for abs, for all in, etc. ..
>
>
> a next step (already partially done) is that we organize the names in
> dictionaries as in open math (a bit of work)
>
>
>> Me, I prefer names that reflect the their functions,
>
>
> me too and i wonder if we should have proper names as well i.e. use verbose
> names as default (in char-def.lua) and define the short ones as synonyms (in
> a tex file)
>
> Hans
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>                                              | 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

Fine. In principal I've nothing against typing || for double bars
(even though people moving from TeX/LaTeX probably will be used to |
for one bar and \| for two bars). Some questions:

* Can one expect to get the right (that is the same as \Vert gives)
spacing by typing || (two bars) in ConTeXt in the future?
* Sometimes one would like to write absoulte value of z times absolute
value of w, i.e. |z| times |w|. What if one writes |z||w|, will the
double bar in the middle be equivalent to \Vert? (That is not wanted)
* Will it be possible to write \Bigl|| and \Bigr|| to scale both bars
to other sizes?
* What if one would like to have three bars with the same spacing
between the bars as in \Vert?

/Mikael
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: \| should give two || and not one
  2013-02-19  9:50             ` Mikael P. Sundqvist
@ 2013-02-19 10:56               ` Keith J. Schultz
  2013-02-19 11:06               ` luigi scarso
  1 sibling, 0 replies; 17+ messages in thread
From: Keith J. Schultz @ 2013-02-19 10:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Mikeal,


Am 19.02.2013 um 10:50 schrieb Mikael P. Sundqvist <mickep@gmail.com>:

> On Tue, Feb 19, 2013 at 10:29 AM, Hans Hagen <pragma@wxs.nl> wrote:
>> 
[snip, snip]

>> a next step (already partially done) is that we organize the names in
>> dictionaries as in open math (a bit of work)
>> 
>> 
>>> Me, I prefer names that reflect the their functions,
>> 
>> 
>> me too and i wonder if we should have proper names as well i.e. use verbose
>> names as default (in char-def.lua) and define the short ones as synonyms (in
>> a tex file)
>> 
>> Hans
> 
[snip, snip]

> Fine. In principal I've nothing against typing || for double bars
> (even though people moving from TeX/LaTeX probably will be used to |
> for one bar and \| for two bars). Some questions:
> 
> * Can one expect to get the right (that is the same as \Vert gives)
> spacing by typing || (two bars) in ConTeXt in the future?
	I think we need to find a between input shortcuts and 
	feasiblity. One could just use unicode 02016 and \Vert.
	In unicodemath you also have \Vvert for three bars.

> * Sometimes one would like to write absoulte value of z times absolute
> value of w, i.e. |z| times |w|. What if one writes |z||w|, will the
> double bar in the middle be equivalent to \Vert? (That is not wanted)
	The proper way to lay this out is with a little whitspace between
	the to values, so input should be |z| |w| and not as |z||w| !

> * Will it be possible to write \Bigl|| and \Bigr|| to scale both bars
> to other sizes?
> * What if one would like to have three bars with the same spacing
> between the bars as in \Vert?
	See above!

regards
	Keith.

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: \| should give two || and not one
  2013-02-19  9:50             ` Mikael P. Sundqvist
  2013-02-19 10:56               ` Keith J. Schultz
@ 2013-02-19 11:06               ` luigi scarso
  1 sibling, 0 replies; 17+ messages in thread
From: luigi scarso @ 2013-02-19 11:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Feb 19, 2013 at 10:50 AM, Mikael P. Sundqvist <mickep@gmail.com> wrote:
> On Tue, Feb 19, 2013 at 10:29 AM, Hans Hagen <pragma@wxs.nl> wrote:
>> On 2/19/2013 8:36 AM, Keith J. Schultz wrote:
> Fine. In principal I've nothing against typing || for double bars
> (even though people moving from TeX/LaTeX probably will be used to |
> for one bar and \| for two bars). Some questions:
hm I mean  a single ‖ (unicode 2012, DOUBLE VERTICAL LINE) , not two ||, i.e.
a single unicode 0007C VERTICAL LINE inserted two times.

--
luigi
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: \| should give two || and not one
  2013-02-19  9:29           ` Hans Hagen
  2013-02-19  9:50             ` Mikael P. Sundqvist
@ 2013-02-19 12:09             ` Mojca Miklavec
  2013-02-19 14:00               ` Hans Hagen
  1 sibling, 1 reply; 17+ messages in thread
From: Mojca Miklavec @ 2013-02-19 12:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Feb 19, 2013 at 10:29 AM, Hans Hagen wrote:
> On 2/19/2013 8:36 AM, Keith J. Schultz wrote:
>>
>> Hi All,
>>
>> In a way, it is correct that for compatibility reasons and and convert
>> it is good to keep the old syntax.
>>
>> Yet, ConTeXt is suppose to be more natural.
>
> I consider the \{ \} \| etc to be escapes for tex characters. In fact, if
> one wants || in math then it's more natural to support || directly.

Except that braces actually need an escape, while bars don't. I don't
see any advantage of "\|" representing a single vertical bar, it only
breaks compatibility and helps confuse those who used "\|" in other
flavours of TeX. There is a nice thread on SX:
    http://tex.stackexchange.com/questions/498/mid-vert-lvert-rvert

As others have already written, one should use the appropriate unicode
character, not two bars. (Two bars are a separate symbol - I guess
that you probably don't want to recognise two subsequent bars are
replace them with a different glyph?) And even then there is a problem
with typographical conventions: whether the symbol is used as
left/right delimiter, as a binary operator, ...

Mojca
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: \| should give two || and not one
  2013-02-19 12:09             ` Mojca Miklavec
@ 2013-02-19 14:00               ` Hans Hagen
  0 siblings, 0 replies; 17+ messages in thread
From: Hans Hagen @ 2013-02-19 14:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

On 2/19/2013 1:09 PM, Mojca Miklavec wrote:

> that you probably don't want to recognise two subsequent bars are
> replace them with a different glyph?) And even then there is a problem

then you don't want to know what we i do with primes already

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-02-19 14:00 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-15 10:14 \| should give two || and not one Mikael P. Sundqvist
2013-02-15 12:42 ` Wim W. Wilhelm
2013-02-15 12:55   ` Mikael P. Sundqvist
2013-02-15 15:26     ` Wim W. Wilhelm
2013-02-15 15:37       ` Mikael P. Sundqvist
2013-02-15 15:47         ` Mikael P. Sundqvist
2013-02-15 16:19 ` luigi scarso
2013-02-18  9:23   ` Mikael P. Sundqvist
2013-02-18  9:42     ` luigi scarso
2013-02-18  9:51       ` Mikael P. Sundqvist
2013-02-19  7:36         ` Keith J. Schultz
2013-02-19  9:29           ` Hans Hagen
2013-02-19  9:50             ` Mikael P. Sundqvist
2013-02-19 10:56               ` Keith J. Schultz
2013-02-19 11:06               ` luigi scarso
2013-02-19 12:09             ` Mojca Miklavec
2013-02-19 14:00               ` Hans Hagen

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).