[NTG-context] fontname

2016-01-14 Thread dr. Hans van der Meer
I want to display the name of the current (body)font.
\fontname{#1} should do the trick but what parameter to use?
\currentfont
\bodyfont
\currentbodyfont
are all wrong.

Eevn the book "fonts in context" didn't help me out.

What to use?

Hans van der Meer

___
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] fontname

2016-01-14 Thread Herbert Voss

Am 14.01.2016 um 12:15 schrieb dr. Hans van der Meer:

I want to display the name of the current (body)font.
\fontname{#1} should do the trick but what parameter to use?
\currentfont
\bodyfont
\currentbodyfont
are all wrong.


\starttext
\truefontname{Regular}
\stoptext


Herbert


___
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] fontname

2016-01-14 Thread massifr
> I want to display the name of the current (body)font.
> \fontname{#1} should do the trick but what parameter to use?
> \currentfont
> \bodyfont
> \currentbodyfont
> are all wrong.
> 
Try \fontname\font

\purefontname\font should show only its name, not the size, 
but this does not work for me (version 2015.05.18 included in Debian)

Greetings,
Massi
___
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
___