ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \Context seems to be broken
@ 2014-12-30 21:10 Idris Samawi Hamid ادريس سماوي حامد
  2014-12-30 21:58 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2014-12-30 21:10 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 421 bytes --]

Dear gang,

ConTeXt  ver: 2014.12.30 09:48 MKIV beta
This is LuaTeX, Version beta-0.79.2 (TeX Live 2014/W32TeX)

The following gives a very strange result:

\starttext
\Context
\stoptext

See attached, there is a spurious '.8', and the rest of the definition  
seems to have changed as well. Please advise!

Best wishes
Idris
-- 
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523

[-- Attachment #2: test-context.pdf --]
[-- Type: application/pdf, Size: 5565 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: \Context seems to be broken
  2014-12-30 21:10 \Context seems to be broken Idris Samawi Hamid ادريس سماوي حامد
@ 2014-12-30 21:58 ` Wolfgang Schuster
  2014-12-31 19:32   ` Idris Samawi Hamid ادريس سماوي حامد
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2014-12-30 21:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 30.12.2014 um 22:10 schrieb Idris Samawi Hamid ادريس سماوي حامد <ishamid@colostate.edu>:
> 
> Dear gang,
> 
> ConTeXt  ver: 2014.12.30 09:48 MKIV beta
> This is LuaTeX, Version beta-0.79.2 (TeX Live 2014/W32TeX)
> 
> The following gives a very strange result:
> 
> \starttext
> \Context
> \stoptext
> 
> See attached, there is a spurious '.8', and the rest of the definition seems to have changed as well. Please advise!

I sent a fix to the developers list. You fix it yourself by adding \getscaledglyph as shown below to the definition of the command in cont-log.miv.

\unexpanded\def\Context % wrong usage of \getscaledglyph
  {\dontleavehmode
   \begingroup
-  C\kern -.0667\emwidth{.8}\empty{O\kern -.0667\emwidth N\kern
+  C\kern -.0667\emwidth\getscaledglyph{.8}\empty{O\kern -.0667\emwidth N\kern
   -.0549\emwidth T\doifitalicelse{\kern-.1\emwidth}{\kern-.1667\emwidth}\lower.5\exheight\hbox
   {E}\doifitalicelse\empty{\kern-.11em}X\kern-.055\emwidth T}%
   \endgroup}

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
___________________________________________________________________________________

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

* Re: \Context seems to be broken
  2014-12-30 21:58 ` Wolfgang Schuster
@ 2014-12-31 19:32   ` Idris Samawi Hamid ادريس سماوي حامد
  0 siblings, 0 replies; 3+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2014-12-31 19:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, 30 Dec 2014 14:58:17 -0700, Wolfgang Schuster  
<schuster.wolfgang@gmail.com> wrote:

> I sent a fix to the developers list. You fix it yourself by adding  
> \getscaledglyph as shown below to the definition of the command in  
> cont-log.miv.
> \unexpanded\def\Context % wrong usage of \getscaledglyph
>   {\dontleavehmode
>    \begingroup
> -  C\kern -.0667\emwidth{.8}\empty{O\kern -.0667\emwidth N\kern
> +  C\kern -.0667\emwidth\getscaledglyph{.8}\empty{O\kern -.0667\emwidth  
> N\kern
>    -.0549\emwidth  
> T\doifitalicelse{\kern-.1\emwidth}{\kern-.1667\emwidth}\lower.5\exheight\hbox
>    {E}\doifitalicelse\empty{\kern-.11em}X\kern-.055\emwidth T}%
>    \endgroup}

Thanks, Wolfgang. At first I didn't realize that I had to take out the  
line preceded by '-', there are so many minuses in that def -)

Best wishes
Idris
-- 
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2014-12-31 19:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-30 21:10 \Context seems to be broken Idris Samawi Hamid ادريس سماوي حامد
2014-12-30 21:58 ` Wolfgang Schuster
2014-12-31 19:32   ` Idris Samawi Hamid ادريس سماوي حامد

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