Re: [NTG-context] new beta

2010-09-25 Thread Jano Kula

Hello Hans,

thank you for implementing multilingual indexing.

Is there a way to turn off case sensitivity? I would expect the result 
as written in the minimal example below. This is not wanted in every 
case (should be a switch).


The Oo oo Öo öo part is probably tricky then, so I've sorted it as 
usual with xindy plus my custom module and I've got


oá öb Oč Öď Oo oo Öo öo Öq öř Oš oů

so the Oo, oo, Öo, öo part could probably depend on available methods 
(before, after, last, first). In practice, one hardly gets same 
lettering with the different accents.


Thank you,

Jano



% tricky-003.tex:

\setuplayout[topspace=1cm,height=middle]

\setupbodyfont[11pt]

\starttext

wanted result:

\blank

oá öb Oč Öď Oo Öo oo öo Öq öř Oš oů

\subject{before : Oo Öo oo öo}
\placeregister[index][language=en,method=before] \par
\subject{after  : oo öo Oo Öo}
\placeregister[index][language=en,method=after]  \par
\subject{first  : Oo oo Öo öo}
\placeregister[index][language=en,method=last]   \par
\subject{last   : oo Oo öo Öo}
\placeregister[index][language=en,method=first]  \par

\dorecurse {3} {
   \page \recurselevel:
   \index{oá}  \index{öb}  \index{Oč}  \index{Öď}
   \index{oo}  \index{öo}  \index{Oo}  \index{Öo}
   \index{Öq}  \index{öř}  \index{Oš}  \index{oů}
   done
}

\stoptext

___
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] index: xml in mkiv

2010-09-25 Thread Jano Kula

Hello Hans,

just to remind the other issues. The code from xml-mkiv.pdf doesn't work 
as expected. Only in \TestMode=2 the index is rendered as supposed.


demo.tex + demo.xml below

Jano



%%
% demo.tex
\newcount\TestMode
\TestMode=0 % expansion=xml
%\TestMode=1 % expansion=yes, index, setup
%\TestMode=2 % expansion=yes

\startxmlsetups xml:mysetups
  \xmlsetsetup{\xmldocument}{demo|index|content|chapter|title|em}{xml:*}
\stopxmlsetups

\xmlregistersetup{xml:mysetups}

% main document
\startxmlsetups xml:demo
  \xmlflush{#1}
  \subject{contents}
  \placelist[chapter][criterium=all]
  \subject{index}
  \placeregister[index][criterium=all]
  \page % else buffer is forgotten when placing header
\stopxmlsetups


\startxmlsetups xml:chapter
  \ifcase \TestMode
% xml code travels around
\setuphead[chapter][expansion=xml]
\startchapter[title=eh: \xmltext{#1}{title}]
  \or
% index is used for access via setup
\setuphead[chapter][expansion=yes,xmlsetup=xml:title:flush]
\startchapter[title=\xmlgetindex{#1}]
  \or
% tex call to xml using index is used
\setuphead[chapter][expansion=yes]
\startchapter[title=hm: \xmlreference{#1}{xml:title:flush}]
  \fi
  \xmlfirst{#1}{content}
  \stopchapter
\stopxmlsetups

\startxmlsetups xml:title:flush
  \xmltext{#1}{title}
\stopxmlsetups

% We need to deal with emphasis and the content of the chapter.
\startxmlsetups xml:em
  \begingroup\em\xmlflush{#1}\endgroup
\stopxmlsetups

\startxmlsetups xml:content
  \xmlflush{#1}
\stopxmlsetups


%A similar approach is followed with the index entries. Watch how we use 
the numbered entries variant (in this case we could also have used just 
entries and keys.

\startxmlsetups xml:index
  \ifcase \TestMode
\setupregister[index][expansion=xml,xmlsetup=]
\setstructurepageregister
  [index]
  [entries:1=\xmlfirst{#1}{content},
  keys:1=\xmltext{#1}{key}]
  \or
\setupregister[index][expansion=yes,xmlsetup=xml:index:flush]
\setstructurepageregister
  [index]
  [entries:1=\xmlgetindex{#1},
  keys:1=\xmltext{#1}{key}]
  \or
\setupregister[index][expansion=yes,xmlsetup=]
\setstructurepageregister
  [index]
  [entries:1=\xmlreference{#1}{xml:index:flush},
  keys:1=\xmltext{#1}{key}]
  \fi
\stopxmlsetups

\startxmlsetups xml:index:flush
  \xmlfirst{#1}{content}
\stopxmlsetups


% The file is processed by:
\starttext
  \xmlprocessfile{main}{demo.xml}{}
\stoptext


% additional control
%\startxmlsetups xml:ctx:sectionentry
%\xmlflush{#1}
%\stopxmlsetups
%\startxmlsetups xml:ctx:registerentry
%\xmlflush{#1}
%\stopxmlsetups


%%
% demo.xml
?xml version='1.0' ?
demo
chapter
titleSome emshort/em title/title
content
zeta
index
keyzeta/key
contentzeta again/content
/index
alpha
index
keyalpha/key
contentalpha emagain/em/content
/index
gamma
index
keygamma/key
contentgamma/content
/index
beta
index
keybeta/key
contentbeta/content
/index
delta
index
keydelta/key
contentdelta/content
/index
done!
/content
/chapter
/demo



___
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] Euler font and context minimals

2010-09-25 Thread Mathieu Boespflug
Hi everyone,

I'm using ConTeXt for my PhD thesis and as I'm getting sick of writing
up I've been trying to tweak the appearance a bit. I'd like to switch
to using Palatino font for main body and Euler font for math. So I
tried

\setupbodyfont[pagella-euler]

\starttext


test $f(x) = x^2$.

\stoptext

But I get errors during processing such as:

MTXrun | run 1: luatex
--fmt=/home/mboes/src/context/tex/texmf-cache/luatex-cache/context/9076a3f5a9f873039eaa5d3001a4c6ac/formats/cont-en
--lua=/home/mboes/src/context/tex/texmf-cache/luatex-cache/context/9076a3f5a9f873039eaa5d3001a4c6ac/formats/cont-en.lui
--backend=pdf ./chap-one.texThis is LuaTeX, Version
beta-0.63.0-2010090921
 \write18 enabled.
(chap-one.tex
jobcontrol   resuming randomizer with 0.20642945552544

ConTeXt  ver: 2010.09.24 11:40 MKIV  fmt: 2010.9.25  int: english/english

system  : cont-new loaded
(/home/mboes/src/context/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/home/mboes/src/context/tex/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(/home/mboes/src/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(/home/mboes/src/context/tex/texmf-context/tex/context/user/cont-sys.rme
(/home/mboes/src/context/tex/texmf-context/tex/context/base/type-def.mkiv)
(/home/mboes/src/context/tex/texmf-context/tex/context/base/type-lua.mkiv)
(/home/mboes/src/context/tex/texmf-context/tex/context/base/type-siz.mkiv)
(/home/mboes/src/context/tex/texmf-context/tex/context/base/type-otf.mkiv))
system  : cont-err loaded
(/home/mboes/src/context/tex/texmf-context/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
)
system  : chap-one.top loaded
(chap-one.top)
fonts   : preloading latin modern fonts
{/home/mboes/src/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/mboes/src/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{/home/mboes/src/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
bodyfont: 12pt rm is loaded
language: language en is active
define fonts forced type otf of euler not found
define fonts font with name euler is not found
define fonts unknown font euler, loading aborted
define fonts unable to define euler.otf as \*pagella-euler7ptmmmr33*
define fonts forced type otf of euler not found
define fonts font with name euler is not found
define fonts unknown font euler, loading aborted
define fonts unable to define euler.otf as \*pagella-euler9ptmmmr22*
define fonts forced type otf of euler not found
define fonts font with name euler is not found
define fonts unknown font euler, loading aborted
define fonts unable to define euler.otf as \*pagella-euler12ptmmmr11*

[...]

I noticed that in my (recent) ConTeXt minimals tree, there was no
euler.odf, so I grabbed one from somewhere in the tree in
http://minimals.contextgarden.net/minimals/current, and placed it
$CONTEXTROOT/tex/texmf-fonts, but to no avail. I still get the same
error messages. I also ran luatools --generate and that doesn't make a
difference. I read through the typography and fonts chapters of the
manual but I didn't find specific information about installing fonts.
Am I doing it right? How can I get ConTeXt to recognize this standard
font?

Many thanks,

Mathieu
___
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] \definenamespace and module setup (was: Info about creating modules for beginners.)

2010-09-25 Thread Philipp Gesang
On 2010-09-23 23:43:15, Wolfgang Schuster wrote:
 These are namespaces but you don't need these constructs
 anymore in mkiv because there is now a \definenamespace command
 which takes care of this.

Hi Wolfgang,

following your fancybreak module I put together dummy module.

··8·
\startmodule[test]

\unprotect

\startinterface all
  \setinterfacevariable {TEST} {TEST}
\stopinterface

\definenamespace[testns] [
  type=module,
  name=TEST,
  command=yes,
  setup=list,
]

\unexpanded\def\typetest{%
  \TESTparameter{teststyle}
  This is a test.%
}

\defineTEST[\v!TEST]

\setupTEST[
  teststyle=\sc
]

\protect
\endinput
··8·

When called like:
  \usemodule[test] \starttext \typetest \stoptext
it works as expected.

Could you please explain what these other parameters do:
  style=yes,
  parent=fb
Also, what other values would the parameter ‘setup’ accept
besides ‘list’?


 BTW: The two letter namespaces are reserved for Hams and me but
 you’re free to use longer ones (we should collect them on a page
 at the wiki).

What information should go into this list? In my dummy, the
namespace ‘testns’ declares the \defineXX and \setupXX commands,
where XX=name and name=TEST. Thus if I am not mistaken, namespace
clashes might occur both a) among the \…, and b) among the
\setup…|\define… commands.

A table on the wiki will need at least three columns:

+---++-+
| Namespace | Setup  | Reserved for module |
+===++=+
| fb| fancybreak | Fancy Break |
+---++-+
| … | …  | …   |

Is this OK so far? Anything critical I missed?

Philipp


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


pgppN1u82gG5F.pgp
Description: PGP 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
___


Re: [NTG-context] Euler font and context minimals

2010-09-25 Thread Wolfgang Schuster

Am 25.09.2010 um 16:51 schrieb Mathieu Boespflug:

 I noticed that in my (recent) ConTeXt minimals tree, there was no
 euler.odf, so I grabbed one from somewhere in the tree in
 http://minimals.contextgarden.net/minimals/current, and placed it
 $CONTEXTROOT/tex/texmf-fonts, but to no avail.

The correct path for the font is $CONTEXTROOT/tex/texmf-fonts/fonts/data

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] export

2010-09-25 Thread Vyatcheslav Yatskovsky

Hi Patric,

Can you (or someone else in charge) can fix the link?

http://wiki.contextgarden.net/Reference/en/setupbackeds


There is a typo in the link: it should be setupbackends and not
setupbackeds. The command is fine though.


--
Best Regards,
Vyatcheslav Yatskovsky
___
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] new beta (index)

2010-09-25 Thread Hans Hagen

On 24-9-2010 5:53, Steffen Wolfrum wrote:


Am 22.09.2010 um 16:52 schrieb Hans Hagen:


On 22-9-2010 3:22, Alan BRASLAU wrote:


Nice, but something is broken
(of course, my minimal examples work, but not my 700+ page test file!):
(thanks to Taco, I now understand the luatex error message)


hm, so some word in the index is triggering this ... no minimal example I guess



btw:

does the MkIV-structure-idea also provide an xml-alike start/stop for index 
marks?


index
termSchlüsselwort/term
/index


we have an experimental \setregisterentry [index] [specification][userdata]


(I assume \startregister[index]{keyword}...\stopregister is meant for something 
different:
a MkII command for index ranges?)


those are ranges indeed

Hans

-
  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] Fwd: Re: New beta 2010-09-22 and xits fonts

2010-09-25 Thread Hans Hagen



 Original Message 
Subject: Re: [NTG-context] New beta 2010-09-22 and xits fonts
Date: Sat, 25 Sep 2010 11:03:13 +0200
From: Otared Kavian ota...@gmail.com
To: Hans Hagen pra...@wxs.nl


On 24 sept. 2010, at 12:00, Hans Hagen wrote:


[…]
I uploaded a new beta. As a side effect of the changed table loader some info 
was missing.

Hans


Hi,

Many thanks Hans: now xits fonts work as before (with ConTeXt  ver: 
2010.09.24 11:40 MKIV  fmt: 2010.9.24).
However, for some reason it seems that the white space (or should I say 
the glue?) between some operators such as \int and the following 
characters is too big.

For instance the following

 begin xits-int.tex
\starttext

\startbuffer[Test]
Since $F(u)={\rm e}^{x/n}$, it is clear that
\startformula
\int {\rm e}^x = F(u)^n.
\stopformula
\stopbuffer

\getbuffer[Test]
\switchtobodyfont[xits]
\getbuffer[Test]
\stoptext
 end xits-int.tex

results in the attached PDF: notice the difference between the integral 
sign in LM and in xits.


I am just reporting the issue for debugging, since one may always write 
\int\!\!\! to add a manual correction, but this is not a « solution ».


Best and warmest regards: OK



xits-int.pdf
Description: Adobe PDF 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] Fwd: Re: New beta 2010-09-22 and xits fonts

2010-09-25 Thread Andreas Harder

Am 25.09.2010 um 18:07 schrieb Hans Hagen:

 
 
  Original Message 
 Subject: Re: [NTG-context] New beta 2010-09-22 and xits fonts
 Date: Sat, 25 Sep 2010 11:03:13 +0200
 From: Otared Kavian ota...@gmail.com
 To: Hans Hagen pra...@wxs.nl
 
 
 On 24 sept. 2010, at 12:00, Hans Hagen wrote:
 
 […]
 I uploaded a new beta. As a side effect of the changed table loader some 
 info was missing.
 
 Hans
 
 Hi,
 
 Many thanks Hans: now xits fonts work as before (with ConTeXt  ver: 
 2010.09.24 11:40 MKIV  fmt: 2010.9.24).
 However, for some reason it seems that the white space (or should I say the 
 glue?) between some operators such as \int and the following characters is 
 too big.
 For instance the following
 
  begin xits-int.tex
 \starttext
 
 \startbuffer[Test]
 Since $F(u)={\rm e}^{x/n}$, it is clear that
 \startformula
 \int {\rm e}^x = F(u)^n.
 \stopformula
 \stopbuffer
 
 \getbuffer[Test]
 \switchtobodyfont[xits]
 \getbuffer[Test]
 \stoptext
  end xits-int.tex
 
 results in the attached PDF: notice the difference between the integral sign 
 in LM and in xits.
 
 I am just reporting the issue for debugging, since one may always write 
 \int\!\!\! to add a manual correction, but this is not a « solution ».

Another problem is 

\setupbodyfont[xits]
\startTEXpage[offset=1ex]
$k\choose n$
\stopTEXpage

Greeting
Andreas
___
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] \definenamespace and module setup (was: Info about creating modules for beginners.)

2010-09-25 Thread Wolfgang Schuster

Am 25.09.2010 um 17:07 schrieb Philipp Gesang:

 Could you please explain what these other parameters do:
  style=yes,
  parent=fb
 Also, what other values would the parameter ‘setup’ accept
 besides ‘list’?

I’ll come back to this later.

 BTW: The two letter namespaces are reserved for Hams and me but
 you’re free to use longer ones (we should collect them on a page
 at the wiki).
 
 What information should go into this list? In my dummy, the
 namespace ‘testns’ declares the \defineXX and \setupXX commands,
 where XX=name and name=TEST. Thus if I am not mistaken, namespace
 clashes might occur both a) among the \…, and b) among the
 \setup…|\define… commands.

- namespace (the first argument of \definenamespace)
- the value for the “name” key
- the name of the module (e.g. t-fancybreak)
- a short description (e.g. fancybreak is a module to insert thought breaks)

+---++--+-+
| Namespace | Name   | File | Description |
+---+-+
| fb| fancybreak | t-fancybreak | …   |
+---++--+-+
| … | …  | …| …   |


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
___


[NTG-context] Justifying last line of paragraph

2010-09-25 Thread Elias Oltmanns
Hi there,

what I'm trying to achieve is splitting a paragraph into two -- from
TeX's point of view -- that still look like one single paragraph. To
this end, I have to make sure that the last line of the first paragraph
is justified just like all the surrounding lines, so, in the pdf output
one couldn't tell that this is actually the end of a paragraph. so, How
can I force the last line to be justified as well?

In order to see the reason for my question, consider the following
example:

\setupwhitespace[big]
\setupalign[line]
\starttext
\dorecurse{3}{\input knuth\par}
\placefigure[right][fig:test1]{Basically just a bit of empty space.}
{\framed[width=0.5\textwidth,height=0.4\textheight,offset=none]{Test}}
{\input tufte\par}
\stoptext

The first couple of lines of the paragraph beginning on page two should
really go on the previous page. Since the hang mechanism of \placefigure
doesn't work due to the page break, I'd like to split this paragraph
into two logical entities, so TeX can put the first on the first page
and treat the second as a separate paragraph flowing around the picture.
However, the reader should not be aware of this split.

Any help much appreciated,

Elias
___
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] unicode error

2010-09-25 Thread Alan BRASLAU
An obscure unicode error, minimal example:

\starttext
(≡) should be ($\equiv$)
\stoptext
___
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] unicode error

2010-09-25 Thread Mojca Miklavec
On Sat, Sep 25, 2010 at 20:25, Alan BRASLAU wrote:
 An obscure unicode error, minimal example:

 \starttext
 (≡) should be ($\equiv$)
 \stoptext

Well, this works: $≡$
(This is not to say that the character ≡ alone should not work, but it
may be that it is simply missing in the text font and no mechanism is
there that would switch to math mode.)

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] Euler font and context minimals

2010-09-25 Thread Khaled Hosny
On Sat, Sep 25, 2010 at 06:32:21PM +0200, Mathieu Boespflug wrote:
 Hi Wolfgang,
 
 thanks for the tip! It works now. I searched all  over the wiki to see
 if this is documented anywhere. It isn't so far as I can see. I can
 add a section to the Fonts page on the wiki, but shouldn't this
 information go in the manual instead?
 
 Also, I still have a problem: many types of arrows don't show up
 properly in the euler font. For example as in below:

Neo Euler does not have all math arrows at the moment, if some one can
come with a list of standard math arrows (i.e. CM and AMS ones), I'll
see if I can add them.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___
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] Fwd: Re: New beta 2010-09-22 and xits fonts

2010-09-25 Thread Khaled Hosny
On Sat, Sep 25, 2010 at 06:07:27PM +0200, Hans Hagen wrote:
 
 […]
 I uploaded a new beta. As a side effect of the changed table loader some 
 info was missing.
 
 Hans
 
 Hi,
 
 Many thanks Hans: now xits fonts work as before (with ConTeXt  ver:
 2010.09.24 11:40 MKIV  fmt: 2010.9.24).
 However, for some reason it seems that the white space (or should I
 say the glue?) between some operators such as \int and the following
 characters is too big.

Seems like another italic correction related issue. Taco, should the
italic correction be ignored if the \int does not have scripts?

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___
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] \adaptlayout obsolete?

2010-09-25 Thread Steffen Wolfrum
Hi,

the command \adaptlayout doesn't work in MkIV.
Is there a topical alternative?

Steffen
___
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] \adaptlayout obsolete?

2010-09-25 Thread Steffen Wolfrum

Am 25.09.2010 um 21:07 schrieb Steffen Wolfrum:

 Hi,
 
 the command \adaptlayout doesn't work in MkIV.


No, everything is fine with \adaptlayout. 

It was my mistake, sorry:
accidentally the layout  had a footer=0pt ...
(thus the command couldn't adapt the layout, natch)

It won't happen again
Steffen

___
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] Info about creating modules for beginners.

2010-09-25 Thread Aditya Mahajan

On Thu, 23 Sep 2010, Wolfgang Schuster wrote:



Am 23.09.2010 um 22:32 schrieb Hans Hagen:


On 23-9-2010 6:35, Jaroslav Hajtmar wrote:

Hello, masters ...
I would like create my first context mkiv module.
Can someone please steer me what the first study and where to find some
good advice for beginners?
Appropriate would be also a simple module, which was easy to read and
find out how to do everything correctly.


just take a look at wolfgang's ... they use the latest mkiv abstractions 
(module namespaces etc, something that Wolfgang, Aditya and I are working on).


fancybreak [1] is at the moment the only module with all these things but the 
other will follow


Does it make sense to copy the definition of mult-aux.mkiv to mkii? 
Everything other than \definenamespace should work in both mkii and mkiv. 
That way, I can use it in modules that target both mkii and mkiv.


BTW, I am still amused how Hans manages to write such code.  If you 
replace \expandafter with \...@ea, this code will have more # than other 
characters combined :)


\unexpanded\def\doinstallparameterhandler#1#2#3#4#5#6#7%
  {\def#3##1{\csname#4{#1#2}{##1}\endcsname}%

\def#4##1##2{\ifcsname##1##2\endcsname##1##2\else\expandafter#5\csname##1\s!parent\endcsname{##2}\fi}%
   \def#5##1##2{\ifx##1\relax\s!empty\else#4{##1}{##2}\fi}%
   \def#6##1##2{\csname#4{#1##1}{##2}\endcsname}%

\def#7##1{\detokenize\expandafter\expandafter\expandafter{\csname#1##1\endcsname}}}


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] unicode error

2010-09-25 Thread 李延瑞
2010/9/26 Alan BRASLAU alan.bras...@cea.fr:
 An obscure unicode error, minimal example:

 \starttext
 (≡) should be ($\equiv$)
 \stoptext


The character ≡ in text can be find in some CJK fonts. For example:

\definefont[song][name:adobesongstdlight]

\starttext
\song
(≡) should be ($\equiv$)
\stoptext

-- 
Best regards,

Li Yanrui (李延瑞)
___
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
___