ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: fonts --list --info
       [not found] <mailman.771.1242244554.3589.ntg-context@ntg.nl>
@ 2009-05-13 19:59 ` Vyatcheslav Yatskovsky
  2009-05-13 21:18 ` Font switch \x does not work Vyatcheslav Yatskovsky
  1 sibling, 0 replies; 5+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-05-13 19:59 UTC (permalink / raw)
  To: ntg-context

fonts.otf.version = fonts.otf.version or 2.623
works for me. thanks! :)

Vyatcheslav

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


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

* Font switch \x does not work
       [not found] <mailman.771.1242244554.3589.ntg-context@ntg.nl>
  2009-05-13 19:59 ` fonts --list --info Vyatcheslav Yatskovsky
@ 2009-05-13 21:18 ` Vyatcheslav Yatskovsky
  2009-05-13 21:24   ` Hans Hagen
  2009-05-13 22:14   ` Aditya Mahajan
  1 sibling, 2 replies; 5+ messages in thread
From: Vyatcheslav Yatskovsky @ 2009-05-13 21:18 UTC (permalink / raw)
  To: ntg-context

Hello,

Font switching described in sec.5.3 of the manual, does not work in mkiv.

{\x some text }

! Undefined control sequence.
l.48 {\x
          some text }
?
! Emergency stop.

Regards,
Vaytcheslav
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Font switch \x does not work
  2009-05-13 21:18 ` Font switch \x does not work Vyatcheslav Yatskovsky
@ 2009-05-13 21:24   ` Hans Hagen
  2009-05-13 22:14   ` Aditya Mahajan
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2009-05-13 21:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Vyatcheslav Yatskovsky wrote:
> Hello,
> 
> Font switching described in sec.5.3 of the manual, does not work in mkiv.
> 
> {\x some text }
> 
> ! Undefined control sequence.
> l.48 {\x
>          some text }
> ?
> ! Emergency stop.

indeed: \x \xi \v etx are dropped in mkiv


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Font switch \x does not work
  2009-05-13 21:18 ` Font switch \x does not work Vyatcheslav Yatskovsky
  2009-05-13 21:24   ` Hans Hagen
@ 2009-05-13 22:14   ` Aditya Mahajan
  2009-05-13 22:20     ` Aditya Mahajan
  1 sibling, 1 reply; 5+ messages in thread
From: Aditya Mahajan @ 2009-05-13 22:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 531 bytes --]

On Thu, 14 May 2009, Vyatcheslav Yatskovsky wrote:

> Hello,
>
> Font switching described in sec.5.3 of the manual, does not work in mkiv.
>
> {\x some text }
>
> ! Undefined control sequence.
> l.48 {\x
>         some text }
> ?
> ! Emergency stop.

This has been removed from mkiv. There was a discussion about it a few 
weeks back which concluded with a suggestion that we should have a 
compatibility module for mkiv. I guess we should start filling in 
m-mkii.mkiv.

Hans, here is a version that takes care of \x, etc.

Aditya

[-- Attachment #2: Type: TEXT/PLAIN, Size: 430 bytes --]

% todo

% Compatibility for font-ini
\let\normalxi=\xi

\definebodyfontswitch [xii]  [\!!twelvepoint]
\definebodyfontswitch [xi]   [\!!elevenpoint]
\definebodyfontswitch [x]    [\!!tenpoint]
\definebodyfontswitch [ix]   [\!!ninepoint]
\definebodyfontswitch [viii] [\!!eightpoint]
\definebodyfontswitch [vii]  [\!!sevenpoint]
\definebodyfontswitch [vi]   [\!!sixpoint]

\def\xi{\ifmmode\normalxi\else\elevenpoint\fi}

[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

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

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

* Re: Font switch \x does not work
  2009-05-13 22:14   ` Aditya Mahajan
@ 2009-05-13 22:20     ` Aditya Mahajan
  0 siblings, 0 replies; 5+ messages in thread
From: Aditya Mahajan @ 2009-05-13 22:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, 13 May 2009, Aditya Mahajan wrote:

> On Thu, 14 May 2009, Vyatcheslav Yatskovsky wrote:
>
>> Hello,
>> 
>> Font switching described in sec.5.3 of the manual, does not work in mkiv.
>> 
>> {\x some text }
>> 
>> ! Undefined control sequence.
>> l.48 {\x
>>         some text }
>> ?
>> ! Emergency stop.
>
> This has been removed from mkiv. There was a discussion about it a few weeks 
> back which concluded with a suggestion that we should have a compatibility 
> module for mkiv. I guess we should start filling in m-mkii.mkiv.
>
> Hans, here is a version that takes care of \x, etc.

which should be surrounded by \unprotect and \protect.

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


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

end of thread, other threads:[~2009-05-13 22:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.771.1242244554.3589.ntg-context@ntg.nl>
2009-05-13 19:59 ` fonts --list --info Vyatcheslav Yatskovsky
2009-05-13 21:18 ` Font switch \x does not work Vyatcheslav Yatskovsky
2009-05-13 21:24   ` Hans Hagen
2009-05-13 22:14   ` Aditya Mahajan
2009-05-13 22:20     ` Aditya Mahajan

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