Re: [NTG-context] Bug in ligature lookup

2014-04-14 Thread H. Özoguz

My question ist still unclear, I guess?

How to describe it better? Or, if understood, is that not solvable easily?

Thanks for help to make this font completely work with ConTeXt
Huseyin
___
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] \triangledown placed too low in Palatino

2014-04-14 Thread Sanjoy Mahajan
 I can change things but will only do that when all you mathematicians 
 have some agreement about it ...

Otared points out that the distinction between \triangle and
\bigtriangleup comes from plain TeX.  plain.tex has these definitions:

\mathchardef\triangle=0234
\mathchardef\bigtriangleup=2234

So \triangle is a math ord and \bigtriangleup a math bin.

For compatibility, that should probably stay true in ConTeXt too---even
the low placement of \bigtriangledown, which I don't understand but
which does reproduce plain TeX's placement.

 Btw, it is still on my agenda to provide a mechanism for switching
 between math dictionaries (i.e. group symbols in group switch if needed
 different properties) so that one can switch between logic,
 statistics, streetfighting or whatever math.

Hm, like different dialects of a language.  Plain TeX definitely speaks
a pure-mathematician dialect.  It would be interesting to see what
symbol groups are useful in other dialects.

-Sanjoy
___
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] frames, hrule, vfill and pagebreaks (was: Vertically stretched split table)

2014-04-14 Thread Joshua Krämer
Dear list, if somebody cares, the following solution works for me:

\hrule
\penalty1
\vfill
\penalty1
\dontleavehmode\framed{...}
\penalty1
\vfill
\penalty1
\hrule height 0pt
\par\penalty-5000

Joshua

___
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] URL macro with \bgroup ... \egroup

2014-04-14 Thread Joshua Krämer
Dear list,

I want to have better hyphenated and clickable URLs in my bibliography.
I have defined the following macro:

\define [1] \URL {\goto{\hyphenatedurl{#1}}[url(#1)]}

And I want to use it in the bibliography like that:

\setuppublicationlayout [electronic]
{
\inserturl{ URL:\ \URL\bgroup }{\egroup.}{}%
}

But the macro doesn't work with \bgroup ... \egroup, it works with
braces only.  Minimal non-working example:

\define [1] \URL {\goto{\hyphenatedurl{#1}}[url(#1)]}
\starttext
\URL \bgroup http://test.invalid\egroup
\stoptext

It complains about too many }.

How can I use my URL macro in the bibliography?

Thanks and kind regards,
Joshua Kraemer


___
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] Averaged integrals

2014-04-14 Thread Janne Junnila
Hi,

Is there a command to produce an averaged integral sign ($\int$ with a
slash drawn across it)?

On a related note: It seems to me that \ointclockwise and
\ointctrclockwise produce results opposite to what their names would
indicate.

Thanks,
Janne Junnila
___
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] Averaged integrals

2014-04-14 Thread Sanjoy Mahajan
Janne Junnila janne.junn...@gmail.com writes:

 On a related note: It seems to me that \ointclockwise and
 \ointctrclockwise produce results opposite to what their names would
 indicate.

It seems wrong to me as well.  It could be a problem in a mapping
internal to context (or maybe the font).  char-def.lua gives, for
example,

 [0x2232]={
  category=sm,
  description=CLOCKWISE CONTOUR INTEGRAL,
  direction=on,
  linebreak=al,
  mathclass=limop,
  mathname=ointclockwise,
  unicodeslot=0x2232,
 },

The Unicode slot number is correct.  If you look up that Unicode character

http://www.fileformat.info/info/unicode/char/2232/index.htm

it has a clockwise arrow.  But, as you say,

\starttext
$\ointclockwise$
\stoptext

shows an anticlockwise arrow.

-Sanjoy
___
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] Averaged integrals

2014-04-14 Thread Aditya Mahajan

On Mon, 14 Apr 2014, Sanjoy Mahajan wrote:


Janne Junnila janne.junn...@gmail.com writes:


On a related note: It seems to me that \ointclockwise and
\ointctrclockwise produce results opposite to what their names would
indicate.


It seems wrong to me as well.  It could be a problem in a mapping
internal to context (or maybe the font).  char-def.lua gives, for
example,

[0x2232]={
 category=sm,
 description=CLOCKWISE CONTOUR INTEGRAL,
 direction=on,
 linebreak=al,
 mathclass=limop,
 mathname=ointclockwise,
 unicodeslot=0x2232,
},

The Unicode slot number is correct.  If you look up that Unicode character

http://www.fileformat.info/info/unicode/char/2232/index.htm

it has a clockwise arrow.  But, as you say,

\starttext
$\ointclockwise$
\stoptext

shows an anticlockwise arrow.


I get clockwise arrow with cambria and xits, but anticlockwise arrow with 
palatino and latin modern. So, it appears to be a font bug with TeX Gyre 
fonts.


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


Re: [NTG-context] Averaged integrals

2014-04-14 Thread Hans Hagen

On 4/14/2014 4:22 PM, Aditya Mahajan wrote:

On Mon, 14 Apr 2014, Sanjoy Mahajan wrote:


Janne Junnila janne.junn...@gmail.com writes:


On a related note: It seems to me that \ointclockwise and
\ointctrclockwise produce results opposite to what their names would
indicate.


It seems wrong to me as well.  It could be a problem in a mapping
internal to context (or maybe the font).  char-def.lua gives, for
example,

[0x2232]={
 category=sm,
 description=CLOCKWISE CONTOUR INTEGRAL,
 direction=on,
 linebreak=al,
 mathclass=limop,
 mathname=ointclockwise,
 unicodeslot=0x2232,
},

The Unicode slot number is correct.  If you look up that Unicode
character

http://www.fileformat.info/info/unicode/char/2232/index.htm

it has a clockwise arrow.  But, as you say,

\starttext
$\ointclockwise$
\stoptext

shows an anticlockwise arrow.


I get clockwise arrow with cambria and xits, but anticlockwise arrow
with palatino and latin modern. So, it appears to be a font bug with TeX
Gyre fonts.


before we report this ... do we have the latest gyre fonts on the garden?


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


[NTG-context] OT: looking for a soviet font

2014-04-14 Thread Henning Hraban Ramm
Hi typographibians,

for a new project I’m looking for a body font that fits Soviet Modernism.
I’d like to have OpenType, high typographical quality, good readability as body 
text, latin and cyrillic glyphs.
Free would be great, but I’d also buy.

Do you have a hint for me?

Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

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