[NTG-context] how to insert symbols into document?

2015-04-12 Thread Csikos Bela
Hello context users:

I would like to insert symbols into my document, especially black-diamond and 
losenge
symbols. I read symbols page at contextgarden but still don't know how to do it.

I also tried \showsymbolset[was] etc but the symbols but I did not find these 
(and many
other symbols either) in the output pages.

I found that symb-imp-mis.mkiv file defines this symbol (line 49) but I don't 
know how to
make it show. Do I have to load specific symbol fonts? If yes how can I find 
out which font has the given symbols? 

What I tried so far included:

% begin code
\usesymbols[imp-mis]
\starttext

◆

\blackdiamond

\symbol [blackdiamond]
% end code

None of these show anything.

Thanks in advance,

bcsikos
___
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] how to insert symbols into document?

2015-04-12 Thread Otared Kavian
Hi,

You can use the mathmode to access those characters, as in the following 
example:

\starttext
This is \type{$\blacklozenge$} $\blacklozenge$

This is \type{$\lozenge$} $\lozenge$
\stoptext

If you want to know the name of some specific characters you can use the 
following code, typeset in mkii.
(Unfortunately in mkiv the command \showmathcharacters is made unavailable… 
There is another command which gives a huge amount of informations on all such 
characters, but not a simple table like the one you get in mkii).

 begin show-math-mkii.tex
% To see all the math characters available in a font
% typeset this in mkii
\starttext
\showmathcharacters
\stoptext
 begin show-math-mkii.tex


Best regards: OK


 On 13 Apr 2015, at 01:29, Csikos Bela bcsikos...@freemail.hu wrote:
 
 Hello context users:
 
 I would like to insert symbols into my document, especially black-diamond and 
 losenge
 symbols. I read symbols page at contextgarden but still don't know how to do 
 it.
 
 I also tried \showsymbolset[was] etc but the symbols but I did not find these 
 (and many
 other symbols either) in the output pages.
 
 I found that symb-imp-mis.mkiv file defines this symbol (line 49) but I don't 
 know how to
 make it show. Do I have to load specific symbol fonts? If yes how can I find 
 out which font has the given symbols? 
 
 What I tried so far included:
 
 % begin code
 \usesymbols[imp-mis]
 \starttext
 
 ◆
 
 \blackdiamond
 
 \symbol [blackdiamond]
 % end code
 
 None of these show anything.
 
 Thanks in advance,
 
 bcsikos
 ___
 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
___

[NTG-context] test for new page

2015-04-12 Thread Alan BRASLAU
Can someone indicate how one can easily test for a new page in a list
environment (or, indeed, anywhere else)?

In one implementation of a listing, repeated sequential items or
elements of items are suppressed, but I would like to repeat them when
they occur at the top of a new page. I imagine that there could be an
easy test for a new page or the text line number.

Thanks, in advance, for any hints.

Alan
___
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] test for new page

2015-04-12 Thread Hans Hagen

On 4/12/2015 10:42 AM, Alan BRASLAU wrote:

Can someone indicate how one can easily test for a new page in a list
environment (or, indeed, anywhere else)?

In one implementation of a listing, repeated sequential items or
elements of items are suppressed, but I would like to repeat them when
they occur at the top of a new page. I imagine that there could be an
easy test for a new page or the text line number.


sometimes this info is available in the low level data so it depends 
where you use it for


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
___