Re: [NTG-context] Unicode character for \,?

2012-01-16 Thread Hans Hagen

On 15-1-2012 23:27, Peter Münster wrote:

On Sun, Jan 15 2012, Wolfgang Schuster wrote:


\|\sixperemspace\|


No, there is a line break:

\starttext
\hsize1pt
bla\sixperemspace bla
\stoptext


well, it's a space and therefore a valid breakpoint (i.e. it's not 
\sixperemnonbreakspace)


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
___


Re: [NTG-context] Unicode character for \,?

2012-01-16 Thread Peter Münster
On Mon, Jan 16 2012, Hans Hagen wrote:

 well, it's a space and therefore a valid breakpoint (i.e. it's not
 \sixperemnonbreakspace)

So the answer is no, there is no unicode equivalent for \, ?

What about NARROW NO-BREAK SPACE ?  About 1 or 2 years ago, it was the
same width as \, but now it's much smaller. Is the actual version the
correct one?

Comment from http://www.fileformat.info/info/unicode/char/202f/ :
  a narrow form of a no-break space, typically the width of a thin space
   or a mid space

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


Re: [NTG-context] Unicode character for \,?

2012-01-16 Thread Hans Hagen

On 16-1-2012 19:53, Peter Münster wrote:

On Mon, Jan 16 2012, Hans Hagen wrote:


well, it's a space and therefore a valid breakpoint (i.e. it's not
\sixperemnonbreakspace)


So the answer is no, there is no unicode equivalent for \, ?

What about NARROW NO-BREAK SPACE ?  About 1 or 2 years ago, it was the
same width as \, but now it's much smaller. Is the actual version the
correct one?

Comment from http://www.fileformat.info/info/unicode/char/202f/ :
   a narrow form of a no-break space, typically the width of a thin space
or a mid space


all those lovely incompatible names ... anyhow, so you want em/8 instead 
of space/8 ..


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
___


Re: [NTG-context] Unicode character for \,?

2012-01-16 Thread Peter Münster
On Mon, Jan 16 2012, Hans Hagen wrote:

 all those lovely incompatible names ... anyhow, so you want em/8 instead of
 space/8 ..

It would be nice. But probably, you had a reason to change it to
space/8, didn't you?

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


Re: [NTG-context] Unicode character for \,?

2012-01-16 Thread Hans Hagen

On 16-1-2012 23:08, Peter Münster wrote:

On Mon, Jan 16 2012, Hans Hagen wrote:


all those lovely incompatible names ... anyhow, so you want em/8 instead of
space/8 ..


It would be nice. But probably, you had a reason to change it to
space/8, didn't you?


Not really ... some time ago the code dealing with those spaces was 
adapted to deal with tagging and at that point some decisions were made 
(after  all, these things were not available in mkii so untill code gets 
cleaned up and stabelizes antything can happen).


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
___


Re: [NTG-context] Unicode character for \,?

2012-01-16 Thread Peter Münster
On Mon, Jan 16 2012, Hans Hagen wrote:

 Not really ... some time ago the code dealing with those spaces was adapted to
 deal with tagging and at that point some decisions were made (after  all,
 these things were not available in mkii so untill code gets cleaned up and
 stabelizes antything can happen).

No problem. I can continue using \,, the source looks just a bit
uglier... ;)

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


Re: [NTG-context] Unicode character for \,?

2012-01-15 Thread Wolfgang Schuster

Am 15.01.2012 um 22:19 schrieb Peter Münster:

 Hello,
 
 What Unicode character can replace \,?
 
 NARROW NO-BREAK SPACE is too small:
 
 \starttext
 \|\,\| \type{\,}\par
 \| \| THIN SPACE (U+2009) (why smaller than \type{\,}?)\par
 \| \| NARROW NO-BREAK SPACE (U+202F) (why almost nothing?)\par
 \|\| nothing\par
 \|~\| \type{~}\par
 \| \| NO-BREAK SPACE (U+00A0) (seems ok to me)
 \stoptext

\starttext
\startlines
\|\|
\|\,\|
\|\sixperemspace\|
\stoplines
\stoptext

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

Re: [NTG-context] Unicode character for \,?

2012-01-15 Thread Peter Münster
On Sun, Jan 15 2012, Wolfgang Schuster wrote:

 \|\sixperemspace\|

No, there is a line break:

\starttext
\hsize1pt
bla\sixperemspace bla
\stoptext

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


Re: [NTG-context] Unicode Character Problem

2007-01-16 Thread Johannes Graumann
Mojca Miklavec wrote:

 I'm having trouble defining a new unicode character:

 'versuch.tex' reads:
   \defineXMLentity[\#9633]  {\symbol[8]}
 
 It should be
  \defineXMLentity[9633]  {\symbol[8]}
That's not right. I verify my xml with kxmleditor and '#9633;' is accepted,
while '9633;' causes an error to be thrown.

 XeTeX is already there (and your square sample is also working there
 out-of-the-box once you set a proper font).
I'll look into that. 

Thanks, Joh

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Unicode Character Problem

2007-01-16 Thread Mojca Miklavec
On 1/16/07, Johannes Graumann wrote:
 Mojca Miklavec wrote:

  I'm having trouble defining a new unicode character:
 
  'versuch.tex' reads:
\defineXMLentity[\#9633]  {\symbol[8]}
 
  It should be
   \defineXMLentity[9633]  {\symbol[8]}
 That's not right. I verify my xml with kxmleditor and '#9633;' is accepted,
 while '9633;' causes an error to be thrown.

No, you don't need to modify XML, only the definition in ConTeXt:

This example works here:

\defineXMLentity[9633]{\symbol[8]}
\starttext
\startXMLdata
#9633;
\stopXMLdata
\stoptext

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Unicode Character Problem

2007-01-11 Thread Mojca Miklavec
On 1/8/07, Johannes Graumann wrote:
 Hello,

 I'm having trouble defining a new unicode character:

 'versuch.tex' reads:
   \defineXMLentity[\#9633]  {\symbol[8]}

It should be
 \defineXMLentity[9633]  {\symbol[8]}

 'versuch.xml' reads:
   #9633;

 Trying to compile this like so:
   texmfstart texexec --environment=versuch.tex versuch.xml

 I think I figured this out: '9633' is not in a unicode block as predefined in
 unic-xxx.tex

 So this doesn't work ... looks like I have to wait for LuaTeX ...

XeTeX is already there (and your square sample is also working there
out-of-the-box once you set a proper font).

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Unicode Character Problem

2007-01-09 Thread Johannes Graumann
I think I figured this out: '9633' is not in a unicode block as predefined in
unic-xxx.tex

So this doesn't work ... looks like I have to wait for LuaTeX ...

Joh


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context