[NTG-context] \definefontalternative breaks font switches in math

2010-12-08 Thread Florian Wobbe
Dear typescript experts,

in an earlier Email I reported, that the font switches did not work in math 
mode. E.g.,

$\bf a=\alpha$
$\bi a=\alpha$

did not display bold math. It turned out that this happens when I invoke 
\definefontalternative.

Normaly \bf is defined like this:

*\show\bf
 \bf=\protected macro:
-\ifmmode \mathbf \else \normalbf \fi .
* \show\bf

After using \definefontalternative it looks different:

*\show\bf
 \bf=\protected macro:
-\setcurrentfontalternative {bf}.
* \show\bf

Minimal example:

% \definefontalternative [sb] % -- uncomment me to break bold math
\starttext
  $\bf 3x^2+7x$
\stoptext

How to avoid this? Thanks for advice,
Florian

___
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] bib problems

2010-12-08 Thread Robert Blackstone
On Tue, Dec 7, 2010 at 8:10 PM,  Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:
 Send ntg-context mailing list submissions to

 I have a tiny feature request.

 I would like to have a separate bibliography for, say, list of
 figures. Basically all I ask for is the ability to have a separate
 named bibliography as opposed to a single list.

I too would be very happy with the possibility to produce a
Bibliography with various sections. In my case separate sections would
be needed for Manuscript Sources and Early printed versions, where the
data concern mostly Libraries or Museums and things like catalogue
numbers and shelf marks, and for Music (with Composer instead of
Author and the possibility to indicate the whereabouts of manuscripts
or early prints, and/or the name of the copyist).
Incidentally, there must be many others with similar wishes, for in
the past few years I have seen this topic several times on this list.

Best regards,
Robert Blackstone
___
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] bib problems

2010-12-08 Thread Robert Blackstone
On Tue, Dec 7, 2010 at 2:00 PM,  thomas.schm...@uni-bonn.de wrote:

 I've begun summarizing the bibliography problems. Could you all see if your 
 particular problem is mentioned here? If I missed something, please send your 
 test files to the list or to me, please use the sample.bib which is now 
 included in the minimals, and please make the test cases as short as possible.

Hi,
I have another problem: the ELECTRONIC publication, hh2010, never gets
returned or printed, even with \placepublications[criterium=all].
I noted however that ConTeXt somehow is aware of this item since it
leaves an open space where this item should have been.
This is my test file, identical to that of example 1 except for the
addition of \cite[hh2010].

\setuppublications[state=start,refcommand=authoryear]
\setupbibtex[database=sample]

\starttext
\section{Test}
This \cite[hh2010a]

and that \cite[Eijkhout1991]

and also this one \cite[hh2010].

\section{References}
\placepublications[criterium=all]
\stoptext

Best regards,
Robert Blackstone
___
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] Is setupspacing configurableļ¼Ÿ

2010-12-08 Thread Hans Hagen

On 8-12-2010 6:58, seasoul wrote:

I am setting up the space after a period.
 From the context manual, it is said that
Default a space is placed after a period that ends a sentence. In some
countries it is custom to stretch the space after a period. ... One can
however change this spacing

\setupspacing[...]
broad packed

if this argument is set as 'broad', what is the exact space? Let's say I
want two spaces after the period, how to set this?


something like:

\def\myfrenchspacing{\setfrenchspacing{2000}}

\definespacingmethod[myfrenchspacing]{\mynewfrenchspacing}

\setupspacing[myfrenchspacing]

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


Re: [NTG-context] \definefontalternative breaks font switches in math

2010-12-08 Thread Hans Hagen

On 8-12-2010 9:18, Florian Wobbe wrote:

Dear typescript experts,

in an earlier Email I reported, that the font switches did not work in math 
mode. E.g.,

$\bf a=\alpha$
$\bi a=\alpha$

did not display bold math. It turned out that this happens when I invoke 
\definefontalternative.

Normaly \bf is defined like this:

*\show\bf

\bf=\protected macro:

-\ifmmode \mathbf \else \normalbf \fi .
*  \show\bf

After using \definefontalternative it looks different:

*\show\bf

\bf=\protected macro:

-\setcurrentfontalternative {bf}.
*  \show\bf

Minimal example:

% \definefontalternative [sb] %-- uncomment me to break bold math
\starttext
   $\bf 3x^2+7x$
\stoptext



fixed in next beta

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