[NTG-context] handling fonts with missing math (was: math signs in itemize)

2011-09-26 Thread Mojca Miklavec
On Sat, Sep 24, 2011 at 11:29, R. Ermers wrote:

 Snippets from log file:

 ! Math error: parameter \Umathquad\displaystyle is not set.

Independent of everything else that has been said in that thread:
wouldn't it be nice to simply fall back on Latin Modern for math when
some font doesn't provide accompanying math glyphs instead of giving
up in the middle of the run? Of course that will give suboptimal
result (in particular everything inside $math$ will be in LM as
opposed to original font), but at least it won't complain about a
missing $\bullet$ and one can always use $\frac{\text{1}}{\text{2}}$
or something similar :).

Mojca
___
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] math signs in itemize

2011-09-26 Thread Wolfgang Schuster

Am 26.09.2011 um 00:23 schrieb Aditya Mahajan:

 On Mon, 26 Sep 2011, R. Ermers wrote:
 
 My one and only math item -- $\frac1{40}$ -- does cause a problem though. 
 Apparently there is no math fallback.
 
 Hard to say without an example.
 
 Any suggestions?
 
 Use text mode fractions! \frac{1}{40}.

This is still typeset in math mode. A alternative is to write the fraction as 
“1/40”.

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
___


Re: [NTG-context] [Layout] Problem with ConTeXt mkII

2011-09-26 Thread luigi scarso
2011/9/25 Pierre-François Bonnefoi bonne...@unilim.fr:
 Hello,

 I use extensively ConTeXt for my work as a teacher.

 I run into this problem :

 I've defined the following layout for giving work for my students :

 \setuptolerance[verytolerant,stretch]
 \setuppapersize[A4][A4]

 \setuplayout[
 backspace=3cm, topspace=1.5cm,
 rightmargin=0cm,leftmargin=1.3cm,
 width=15cm,
 leftmargindistance=0.2cm,
 height=26.7cm,
 header=0cm, footer=1cm
 ]

 \definelayout[1][
 topspace=5.2cm,
 height=23cm, textheight=22cm]

 \definelayout[2][reset]

 The purpose is to give some space on the first page to put a layer with a big 
 title (it's for a document full of exercices, an example could be found at 
 http://ishtar.msi.unilim.fr/uploads/media/Reseaux_I_TD_1_2011_2012.pdf).

 But, after having the correct layout for the first page, the second page 
 gives me a reduced textheight : the text don't flow on the lower part of the 
 page.

 That could be explain as the textheight variable is not computed for the 
 second page.

 This is very annoying.

 I've found a workaround by using the same layout for the whole document and 
 put some blank lines on the first page.

 I use the following version ConTeXt  ver: 2011.05.18 18:04 MKII  fmt: 
 2011.8.31  int: english/english.

 Thank you for your help,

 Pierre-François.

Hm, usually it's better to say
height=fit
or
height=middle
(try \showlayout.)
Do you have a small complete example ?

PS
Resp. UE : P-F. Bonnefoi, http://ishtar.msi.unilim.fr/, « Fiche TD n1
» version du 12 septembre 2011, rédigé avec ConTEXt – Don’t Panic !
nice footer :-)



-- 
luigi
___
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] math signs in itemize

2011-09-26 Thread Alan Braslau
On Mon, Sep 26, 2011 at 09:34:45AM +0200, Wolfgang Schuster wrote:
  Any suggestions?
  
  Use text mode fractions! \frac{1}{40}.
 
 This is still typeset in math mode. A alternative is to write the fraction as 
 “1/40”.

¼÷10, 0.025.

How about:
\definetypeface [xits] [mm] [math] [xits] [default]

Alan
___
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] postion graphics

2011-09-26 Thread Hans van der Meer
I was using something like
\setMPpositiongraphic{A1}{syllabus:arrow}{to=B1,bxoff=\celloff}
and
\hpos{A1}{}\VB \VB \VB \VB \hpos{B1}{}\CR

for the placement of arrows (defined with \startMPpositiongraphic on the page. 
That was mkII.
Now the arrows are not placed at the proper position but at the left of the 
page.

Question: has something changed here in ConTeXt mkIV that I didn't notice? The 
only change I can imagine here is that from mkII to mkIV.

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] math signs in itemize

2011-09-26 Thread Wolfgang Schuster

Am 26.09.2011 um 10:49 schrieb Alan Braslau:

 On Mon, Sep 26, 2011 at 09:34:45AM +0200, Wolfgang Schuster wrote:
 Any suggestions?
 
 Use text mode fractions! \frac{1}{40}.
 
 This is still typeset in math mode. A alternative is to write the fraction 
 as “1/40”.
 
 ¼÷10, 0.025.

\definefontfeature[frac][frac=yes,script=latn]

\setupbodyfont[cambria]

\starttext
1/40 {\setff{frac}1/40} \m{\frac{1}{40}}
\stoptext

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
___


Re: [NTG-context] math signs in itemize

2011-09-26 Thread Paul Menzel
Am Montag, den 26.09.2011, 11:01 +0200 schrieb Wolfgang Schuster:
 \definefontfeature[frac][frac=yes,script=latn]
 
 \setupbodyfont[cambria]

Is there a font in Standalone which can be used to demonstrate the
behavior?

 \starttext
 1/40 {\setff{frac}1/40} \m{\frac{1}{40}}

With `{\setff{frac}1/40}` the output is like ¼0. Using `{40}` also does
not help.

 \stoptext


Thanks,

Paul


signature.asc
Description: This is a digitally signed message part
___
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] Missing booktitle in incollection bib-entries

2011-09-26 Thread Stefan Müller
Thank you very much Pont.  My fault, I found the problem.  I had set the 
crossref-key in my bib-entry, which obviously causes that the 
booktitle is not in the bbl file.  Now I also understand the .bst 
files there.  Indeed, with the crossref set I don't really need the 
booktitle in the reference, but it could be useful to have the booktitle 
also available, in case of a custom style...


Stefan

On 25.09.2011 21:27, Pontus Lurcock wrote:

On Sun 25 Sep 2011, Stefan Müller wrote:


I have an @incollection-entry with booktitle set in a bib-file used in
a ConTeXt document.  Unfortunately there is no \title, generated from
booktitle, in the respective .bbl file.  Only \arttitle, generated
from the bib-key title, is present.  Guess it's a bug(?)


Hmm, can't reproduce here. Here's what I'm using:

file test.tex:

\setupbibtex[database=test]
\starttext
\cite[ernst1989anisotropy]
\placepublications[criterium=cite]
\stoptext

file test.bib:

@incollection{ernst1989anisotropy,
   title = {Averaging of anisotropy of magnetic susceptibility data},
   author = {Ernst, R. E. and Pearce, G. W.},
   booktitle = {Statistical Applications in the Earth Sciences},
   editor = {Agterberg, F. P. and Bonham-Carter, G. F.},
   note = {Paper 89-9},
   pages = {297--305},
   year = {1989},
   publisher = {Geological Survey of Canada}
}

produces the following test.bbl:

\setuppublicationlist[samplesize={EP89},totalnumber=1]

\startpublication[k=ernst1989anisotropy,t=incollection,
a={{Ernst},{Pearce}},y=1989,
n=1,s=EP89]
\artauthor[]{R.~E.}[R.~E.]{}{Ernst}
\artauthor[]{G.~W.}[G.~W.]{}{Pearce}
\pubyear{1989}
\arttitle{Averaging of anisotropy of magnetic susceptibility data}
\editor[]{F.~P.}[F.~P.]{}{Agterberg}
\editor[]{G.~F.}[G.~F.]{}{Bonham-Carter}
\title{Statistical Applications in the Earth Sciences}
\pages{297--305}
\pages{297--305}
\pubname{Geological Survey of Canada}
\note{Paper 89-9}
\stoppublication

... and the PDF shows both the article and book title. This works with
MkIV 2011.02.25 and 2011.09.20.

Pont

___
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] math signs in itemize

2011-09-26 Thread Khaled Hosny
On Mon, Sep 26, 2011 at 11:31:09AM +0200, Paul Menzel wrote:
 Am Montag, den 26.09.2011, 11:01 +0200 schrieb Wolfgang Schuster:
  \definefontfeature[frac][frac=yes,script=latn]
  
  \setupbodyfont[cambria]
 
 Is there a font in Standalone which can be used to demonstrate the
 behavior?

XITS, but you will get output as you describe below, which I know is
buggy since the font lacks generalised frac feature.

  \starttext
  1/40 {\setff{frac}1/40} \m{\frac{1}{40}}
 
 With `{\setff{frac}1/40}` the output is like ¼0. Using `{40}` also does
 not help.

Looks like frac here is a simple ligature of few predefined fractions.

Regards,
 Khaled

-- 
 Khaled Hosny
 Egyptian
 Arab


signature.asc
Description: Digital signature
___
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] StretchedBox broken in mkiv

2011-09-26 Thread Michael Guravage
Several years ago Hans cooked up a fix using \CapStretch that allowed me to
stretch words. That early version of \stretchedbox appeared in later ConTeXt
versions as \StretchedBox as described in strc-sec.mkii and strc-ren.mkiv.
This feature worked in the ConTeXt version dated 2011.07.26, but does not
work in my current ConTeXt version dated 2011.09.10. I have attached an
example file that works with mkii and with earlier mkiv versions, but not
with the current mkiv.

I am curious to know what has changed to break this functionality.
Initially, I thought it had to do with \setuphead's definition of
'deeptextcommand', but since there are no difference in the files
strc-sec-mkii and strc-ren.mkiv between these two releases, the reason must
lie elsewhere. If anyone can explain what has changed, an more importantly
how to reinstate it, I would be most grateful.

With kind regards,

Michael Guravage


stretchMe.tex
Description: TeX document
___
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] [Layout] Problem with ConTeXt mkII

2011-09-26 Thread Pierre-François Bonnefoi
Hello Luigi,

Thanks for the footer ;-)
But, currently, I've some difficulties to commit to the Don't panic !

I've tried the following :

%%
\setuptolerance[verytolerant,stretch]
\setuppapersize[A4][A4]

\setuplayout[ 
backspace=3cm, topspace=1.5cm,
rightmargin=0cm,leftmargin=1.3cm,
width=15cm,
leftmargindistance=0.2cm,
height=fit, 
header=0cm, footer=1cm, textheight=25.7cm
]

And I obtain this (with \showlayout) :

topspace1.49979cm
height  26.6962cm
header  0.0cm
headerdistance  0.0cm
textheight  25.69635cm
footer  0.99985cm
footerdistance  0.0cm
%%

BUT, when I add the following :
%%
\definelayout[1][
topspace=5.2cm,
height=fit,
textheight=23.7cm
]
\definelayout[2][reset]

For the page (1):
topspace5.19925cm
height  19.29726cm
header  0.0cm
headerdistance  0.0cm
textheight  18.2974cm
footer  0.99985cm
footerdistance  0.0cm

For the page (2) and the following :
topspace1.49979cm
height  26.6962cm
header  0.0cm
headerdistance  0.0cm
textheight  18.2974cm
footer  0.99985cm
footerdistance  0.0cm
%%

The textheight is blocked to an unexpected value : 18.3cm for the whole 
document.

I've read and re-read the manual, but I've not found my error...

Thank you for your help,
Pierre-François.

-- 
Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr
Universite de Limoges, Laboratoire XLIM |   Tel : 06 28 18 03 38
83, rue d'Isle  |  Mrs. Peel, we're needed...
87000 Limoges - FRANCE  | The Avengers.



smime.p7s
Description: S/MIME cryptographic signature
___
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] xml processing in lua

2011-09-26 Thread Thomas A. Schmitz

Hi all,

after boring people with xml processing in TeX at the meeting in 
Bassenge, I'm looking for new challenges and am trying my hand at 
processing xml in lua. But so far, even the simplest things escape me. 
Here's an example:


\startbuffer[test]
a
  bOne/b
  cTwo/c
/a
\stopbuffer

\startxmlsetups xml:setups
\xmlsetsetup{main}{a|b|c}{xml:*}
\stopxmlsetups

\xmlregistersetup{xml:setups}

% \startxmlsetups xml:a
%   \xmltext{#1}{/c}
% \stopxmlsetups

\startxmlsetups xml:a
\startluacode
  context(xml.text(#1, /b))
\stopluacode
\stopxmlsetups

\starttext
\xmlprocessbuffer{main}{test}{}
\stoptext

From what I thought I understood from the source, I believed that ll. 
14-16 (the commented part) and ll. 18-22 should be exactly equivalent, 
but that's not the case. A little hint might get me started...


All best, and thanks

Thomas
___
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] [Layout] Problem with ConTeXt mkII

2011-09-26 Thread Wolfgang Schuster

Am 26.09.2011 um 20:18 schrieb Pierre-François Bonnefoi:

 Hello Luigi,
 
 Thanks for the footer ;-)
 But, currently, I've some difficulties to commit to the Don't panic !


This is caused by a bug in the core (page-lay.mkiv), part of the code wasn’t
adapted to recent changes in the parameterhandler.

\unprotect

\def\checkcurrentoddlayout
  {\ifcsname\namedlayouthash\v!odd\c!state\endcsname
 \doif{\namedlayoutparameter\v!odd\c!state}\v!start{\changetolayout\v!odd}%
   \fi}

\def\checkcurrentevenlayout
  {\ifcsname\namedlayouthash\v!even\c!state\endcsname
 
\doif{\namedlayoutparameter\v!even\c!state}\v!start{\changetolayout\v!even}%
   \fi}

\def\checkcurrentlayout % public and used in naw, so keep this name
  {\ifcsname\namedlayouthash\realfolio\c!state\endcsname
 
\doif{\namedlayoutparameter\realfolio\c!state}\v!start{\changetolayout\realfolio}%
   \else\ifcsname\namedlayouthash\reverserealfolio\c!state\endcsname
 
\doif{\namedlayoutparameter\reverserealfolio\c!state}\v!start{\changetolayout\reverserealfolio}%
   \else\ifcsname\namedlayouthash\v!current\c!state\endcsname
 \changetolayout\v!current % no start test ?
   \else
 \doifoddpageelse\checkcurrentoddlayout\checkcurrentevenlayout
   \fi\fi\fi}

\protect

\definelayout[current][topspace=2cm,height=middle]
\definelayout[1]  [topspace=8cm,height=14cm]

\starttext
\dorecurse{10}{\input knuth\par}
\stoptext

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
___


Re: [NTG-context] xml processing in lua

2011-09-26 Thread Wolfgang Schuster

Am 26.09.2011 um 20:57 schrieb Thomas A. Schmitz:

 Hi all,
 
 after boring people with xml processing in TeX at the meeting in Bassenge, 
 I'm looking for new challenges and am trying my hand at processing xml in 
 lua. But so far, even the simplest things escape me. Here's an example:
 
 \startbuffer[test]
 a
  bOne/b
  cTwo/c
 /a
 \stopbuffer
 
 \startxmlsetups xml:setups
   \xmlsetsetup{main}{a|b|c}{xml:*}
 \stopxmlsetups
 
 \xmlregistersetup{xml:setups}
 
 % \startxmlsetups xml:a
 % \xmltext{#1}{/c}
 % \stopxmlsetups
 
 \startxmlsetups xml:a
 \startluacode
  context(xml.text(#1, /b))

context(lxml.text(#1,/b))

or

context.xmltext(#1,/b)

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
___


Re: [NTG-context] xml processing in lua

2011-09-26 Thread Aditya Mahajan

On Mon, 26 Sep 2011, Thomas A. Schmitz wrote:


Hi all,

after boring people with xml processing in TeX at the meeting in Bassenge, 
I'm looking for new challenges and am trying my hand at processing xml in 
lua. But so far, even the simplest things escape me. Here's an example:


\startbuffer[test]
a
 bOne/b
 cTwo/c
/a
\stopbuffer

\startxmlsetups xml:setups
\xmlsetsetup{main}{a|b|c}{xml:*}
\stopxmlsetups

\xmlregistersetup{xml:setups}

% \startxmlsetups xml:a
%   \xmltext{#1}{/c}
% \stopxmlsetups

\startxmlsetups xml:a
\startluacode
 context(xml.text(#1, /b))
\stopluacode
\stopxmlsetups

\starttext
\xmlprocessbuffer{main}{test}{}
\stoptext

From what I thought I understood from the source, I believed that ll. 14-16 
(the commented part) and ll. 18-22 should be exactly equivalent, but that's 
not the case. A little hint might get me started...


Untested ... you can try context.xmltext(#1, /b)

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] xml processing in lua

2011-09-26 Thread Thomas A. Schmitz

On 09/26/2011 09:15 PM, Aditya Mahajan wrote:

On Mon, 26 Sep 2011, Thomas A. Schmitz wrote:


Hi all,

after boring people with xml processing in TeX at the meeting in
Bassenge, I'm looking for new challenges and am trying my hand at
processing xml in lua. But so far, even the simplest things escape me.
Here's an example:

\startbuffer[test]
a
bOne/b
cTwo/c
/a
\stopbuffer

\startxmlsetups xml:setups
\xmlsetsetup{main}{a|b|c}{xml:*}
\stopxmlsetups

\xmlregistersetup{xml:setups}

% \startxmlsetups xml:a
% \xmltext{#1}{/c}
% \stopxmlsetups

\startxmlsetups xml:a
\startluacode
context(xml.text(#1, /b))
\stopluacode
\stopxmlsetups

\starttext
\xmlprocessbuffer{main}{test}{}
\stoptext

From what I thought I understood from the source, I believed that ll.
14-16 (the commented part) and ll. 18-22 should be exactly equivalent,
but that's not the case. A little hint might get me started...


Untested ... you can try context.xmltext(#1, /b)

Aditya


Aditya, Wolfgang,

thanks a lot for your solutions, both work. With Wolfgang at Bassenge, 
and the network there being flaky, others had a chance of being faster

than him, but now he's back and rules with an iron fist :-)

All best

Thomas
___
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] intelligent commas in math (in LaTeX)

2011-09-26 Thread Mojca Miklavec
http://tug.org/pracjourn/2011-1/beccari.html
___
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] math signs in itemize

2011-09-26 Thread R. Ermers
Thanks all, for your reactions.

I tried them all, but the process still stops at the \frac, which I changed now 
into \frac{1}{40}, whatever I do.


The gentium font does not load properly; the file is typeset in Times instead. 
I get these strange references to gentium instead.

Regards,

Robert

\*gentium10ptrmtf* (-20) .t\*gentium10ptrmtf* (-15) e\*gentium10ptrmtf* (-20) 
l\*gentium10ptrmtf* (-15) eg\*gentium10ptrmtf* (-20) r\*gentium10ptrmtf* (-15) 
aa\*gentium10ptrmtf* (-20) f.\*gentium10ptrmtf* (-15) n\*gentium10ptrmtf* (-20) 
l/\*gentium10ptrmtf* (-15) b\*gentium10ptrmtf* (-20) i\*gentium10ptrmtf* (-15) 
nnen\*gentium10ptrmtf* (-20) l\*gentium10ptrmtf* (-15) and\*gentium10ptrmtf* 
(-20) /\*gentium10ptrmtf* (-15) 3\*gentium10ptrmtf* (-20) 7\*gentium10ptrmtf* 
(-15) 3\*gentium10ptrmtf* (-20) 0\*gentium10ptrmtf* (-15) 6\*gentium10ptrmtf* 
(-20) 4\*gentium10ptrmtf* (-15) 9\*gentium10ptrmtf* (-20) /_J\*gentium10ptrmtf* 
(-15) eugdzo\*gentium10ptrmtf* (-20) r\*gentium10ptrmtf* (-15) 
g\*gentium10ptrmtf* (-20) _\*gentium10ptrmtf* (-15) gedoog\*gentium10ptrmtf* 
(-20) t

another snipped related to Gentium:

\hbox(6.84+2.18)x203.05038, direction TLT
.\*gentium10ptrmtf* (-20) .
.\*gentium10ptrmtf* (-20) t
.\*gentium10ptrmtf* (-15) e
.\*gentium10ptrmtf* (-20) l
.\*gentium10ptrmtf* (-15) e
.etc.

...

)/prog2/context2/tex/texmf/fonts/opentype/public/lm/lmmono10-regular.otf/prog2/context2/tex/texmf-fonts/fonts/data/opentype/public/tex-gyre/texgyretermes-regular.otf/prog2/context2/tex/texmf-fonts/fonts/data/opentype/public/tex-gyre/texgyretermes-italic.otf/prog2/context2/tex/texmf-fonts/fonts/data/opentype/public/tex-gyre/texgyretermes-bold.otf/prog2/context2/tex/texmf-fonts/fonts/data/opentype/public/tex-gyre/texgyretermes-regular.otf



Op 26 sep 2011, om 15:59 heeft Khaled Hosny het volgende geschreven:

 On Mon, Sep 26, 2011 at 11:31:09AM +0200, Paul Menzel wrote:
 Am Montag, den 26.09.2011, 11:01 +0200 schrieb Wolfgang Schuster:
 \definefontfeature[frac][frac=yes,script=latn]
 
 \setupbodyfont[cambria]
 
 Is there a font in Standalone which can be used to demonstrate the
 behavior?
 
 XITS, but you will get output as you describe below, which I know is
 buggy since the font lacks generalised frac feature.
 
 \starttext
 1/40 {\setff{frac}1/40} \m{\frac{1}{40}}
 
 With `{\setff{frac}1/40}` the output is like ¼0. Using `{40}` also does
 not help.
 
 Looks like frac here is a simple ligature of few predefined fractions.
 
 Regards,
 Khaled
 
 -- 
 Khaled Hosny
 Egyptian
 Arab
 ___
 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
 ___

___
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] StretchedBox broken in mkiv

2011-09-26 Thread Wolfgang Schuster

Am 26.09.2011 um 19:56 schrieb Michael Guravage:

 
 Several years ago Hans cooked up a fix using \CapStretch that allowed me to 
 stretch words. That early version of \stretchedbox appeared in later ConTeXt 
 versions as \StretchedBox as described in strc-sec.mkii and strc-ren.mkiv. 
 This feature worked in the ConTeXt version dated 2011.07.26, but does not 
 work in my current ConTeXt version dated 2011.09.10. I have attached an 
 example file that works with mkii and with earlier mkiv versions, but not 
 with the current mkiv. 
 
 I am curious to know what has changed to break this functionality. Initially, 
 I thought it had to do with \setuphead's definition of 'deeptextcommand', but 
 since there are no difference in the files strc-sec-mkii and strc-ren.mkiv 
 between these two releases, the reason must lie elsewhere. If anyone can 
 explain what has changed, an more importantly how to reinstate it, I would be 
 most grateful.

Use \kerncharacters etc. instead of \stretchednormalcase.

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
___


Re: [NTG-context] postion graphics

2011-09-26 Thread Wolfgang Schuster

Am 26.09.2011 um 10:51 schrieb Hans van der Meer:

 I was using something like
   \setMPpositiongraphic{A1}{syllabus:arrow}{to=B1,bxoff=\celloff}
 and
   \hpos{A1}{}\VB \VB \VB \VB \hpos{B1}{}\CR
 
 for the placement of arrows (defined with \startMPpositiongraphic on the 
 page. That was mkII.
 Now the arrows are not placed at the proper position but at the left of the 
 page.
 
 Question: has something changed here in ConTeXt mkIV that I didn't notice? 
 The only change I can imagine here is that from mkII to mkIV.

Do you have a example?

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
___


Re: [NTG-context] postion graphics

2011-09-26 Thread Meer, H. van der
Thanks. But after having a closer look I decided to abandon the mechanism. It 
looks fairly sophisticated: finding positions in the TeX-result and producing 
overlays for them. Because I used it solely inside table-like structures for 
pointing from one cell to another, I can replace them by MetaPost pictures. It 
seems more robust that way. So you do not need spending your time on it.

Hans van der Meer

On 26 sep. 2011, at 22:37, Wolfgang Schuster wrote:

 
 Am 26.09.2011 um 10:51 schrieb Hans van der Meer:
 
 I was using something like
  \setMPpositiongraphic{A1}{syllabus:arrow}{to=B1,bxoff=\celloff}
 and
  \hpos{A1}{}\VB \VB \VB \VB \hpos{B1}{}\CR
 
 for the placement of arrows (defined with \startMPpositiongraphic on the 
 page. That was mkII.
 Now the arrows are not placed at the proper position but at the left of the 
 page.
 
 Question: has something changed here in ConTeXt mkIV that I didn't notice? 
 The only change I can imagine here is that from mkII to mkIV.
 
 Do you have a example?
 
 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
 ___

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