Re: [NTG-context] CharisSIL doesn't load

2010-08-02 Thread Martin Althoff
> > \usetypescriptfile has changed. Earlier it used to
> load file.tex, but now it loads file.mkiv and therefore,
> none of the typescripts from the typescript module work. A
> short-term work around is to add

Ok, so a more fundamental problem. 

Both suggestions you made, work for me:

%workaround1
\ReadFile{type-charissil}
\setupbodyfont[charissil]

%workaround 2
%\usemodule[simplefonts]
%\setmainfont[Charis Sil]

Saves me copying my "fixed" and combined mkiv file after every update.

Best,
Martin



___
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] CharisSIL doesn't load

2010-08-02 Thread Martin Althoff
Thanks Luigi, I note that down. But it didn't do the trick to solve the 
problem. Guess it is as Aditya said: there is a problem in principle at this 
point in time. 

Best, Martin


> luatools --generate
> mtxrun --script fonts --reload
> context --make
> 




___
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] Minimals on windows 32 bit fails ?

2010-08-02 Thread luigi scarso
It seems that there is an error with
patterns while building formats -- can someone check it ?

-- 
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] CharisSIL doesn't load

2010-08-02 Thread Aditya Mahajan

On Tue, 3 Aug 2010, Aditya Mahajan wrote:


On Mon, 2 Aug 2010, Martin Althoff wrote:


>  There is a typo in the last line of type-charissil.tex:
>  Change
> 
>  \loadmarkfile{charissil}
> 
>  to
> 
>  \loadmarkfile{type-charissil}
> 
>  Aditya
> 


 Aditya, thanks for that -- hope that typo gets fixed in the sources.




 Unfortunately that did not fix the problem. Despite runs of


\usetypescriptfile has changed. Earlier it used to load file.tex, but now it 
loads file.mkiv and therefore, none of the typescripts from the typescript 
module work. A short-term work around is to add


\ReadFile{type-charissil}

somewhere befoer \setupbodyfont. (you loose all the fancy loading of 
\usetypescirptfile, but for one-off typescripts that is not too bad).


In the long term, all the typescripts in the typescript module need to be 
modified. (At present, it appears that \usetypescript does not load .mkii 
file in mkii, but I did not test extensively).


Another option is to use simplefonts module.

\usemodule[simplefonts]
\setmainfont[Charis Sil]

should work.

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] CharisSIL doesn't load

2010-08-02 Thread Aditya Mahajan

On Mon, 2 Aug 2010, Martin Althoff wrote:


There is a typo in the last line of type-charissil.tex:
Change

\loadmarkfile{charissil}

to

\loadmarkfile{type-charissil}

Aditya



Aditya, thanks for that -- hope that typo gets fixed in the sources.




Unfortunately that did not fix the problem. Despite runs of


\usetypescriptfile has changed. Earlier it used to load file.tex, but now 
it loads file.mkiv and therefore, none of the typescripts from the 
typescript module work. A short-term work around is to add


\ReadFile{type-charissil}

somewhere befoer \setupbodyfont. (you loose all the fancy loading 
of \usetypescirptfile, but for one-off typescripts that is not too bad).


In the long term, all the typescripts in the typescript module need to be 
modified. (At present, it appears that \usetypescript does not load .mkii 
file in mkii, but I did not test extensively).


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] CharisSIL doesn't load

2010-08-02 Thread luigi scarso
On Tue, Aug 3, 2010 at 7:43 AM, Martin Althoff  wrote:
>> There is a typo in the last line of type-charissil.tex:
>> Change
>>
>> \loadmarkfile{charissil}
>>
>> to
>>
>> \loadmarkfile{type-charissil}
>>
>> Aditya
>>
>
> Aditya, thanks for that -- hope that typo gets fixed in the sources. 
> Unfortunately that did not fix the problem. Despite runs of
>
> mtxrun --script font --reload
> context --generate
luatools --generate
mtxrun --script fonts --reload
context --make

-- 
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] CharisSIL doesn't load

2010-08-02 Thread Martin Althoff
> There is a typo in the last line of type-charissil.tex:
> Change
> 
> \loadmarkfile{charissil}
> 
> to
> 
> \loadmarkfile{type-charissil}
> 
> Aditya
> 

Aditya, thanks for that -- hope that typo gets fixed in the sources. 
Unfortunately that did not fix the problem. Despite runs of  

mtxrun --script font --reload
context --generate





___
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] CharisSIL doesn't load

2010-08-02 Thread Aditya Mahajan

On Mon, 2 Aug 2010, Martin Althoff wrote:


Using the typescript for CharisSIL as given doesn't work for me. "Modern" is 
substituted (as should be). It appears to load the mkiv file, but not the fonts, What am 
I doing wrong? Example below.

(on Mac: MTXrun | current version: 2010.07.30 11:35, LuaTeX, Version 
beta-0.61.0-2010072816)

-- I have adapted to the type-charissil.mkiv to fit the font names as reported 
on my system  and set 
OSFONTDIR=/System/Library/Fonts;~/FontLib/opensource;/Library/Fonts;~/FontLib/context-use;


There is a typo in the last line of type-charissil.tex: Change

\loadmarkfile{charissil}

to

\loadmarkfile{type-charissil}

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
___


[NTG-context] minimals update issues

2010-08-02 Thread Martin Althoff
Just ran ./first-setup.sh (yesterday it ran fine, now=5:20AM GMT 3.Aug) and it 
ends very ungracefully:
  

A section from some the first (of more) failure. Am I doing something wrong?


MTXrun | run: texexec --make --all --fast --pdftex cont-nl cont-enTeXExec | 
using search method 'kpsewhich'
TeXExec | using existing database
TeXExec | using tex engine pdftex
TeXExec | using tex format path 
/Users/martin/contextMini/tex/texmf-osx-intel/web2c/pdftex
TeXExec | generating tex format cont-nl
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (INITEX)
 \write18 enabled.
 (/Users/martin/contextMini/tex/texmf-context/web2c/natural.tcx)
entering extended mode
(/Users/martin/contextMini/tex/texmf-context/tex/context/base/cont-nl.tex
(/Users/martin/contextMini/tex/texmf-context/tex/context/base/context.tex




taal: geen afbreekpatronen gr voor gr (n=31,e=ec,m=ec) (lang-gr.pat
,lang-gr.pat)
taal: geen afbreekdefinities gr voor gr (n=31,e=ec,m=ec)
taal: afbreekpatronen agr voor agr geladen (n=32,e=agr,m=agr)
(/Users/martin/contextMini/tex/texmf-context/tex/context/patterns/lang-agr.pat
! Duplicate pattern.
l.137 ΐ1
  
? 




___
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] CharisSIL doesn't load

2010-08-02 Thread Martin Althoff
Using the typescript for CharisSIL as given doesn't work for me. "Modern" is 
substituted (as should be). It appears to load the mkiv file, but not the 
fonts, What am I doing wrong? Example below.

(on Mac: MTXrun | current version: 2010.07.30 11:35, LuaTeX, Version 
beta-0.61.0-2010072816)

-- I have adapted to the type-charissil.mkiv to fit the font names as reported 
on my system  and set 
OSFONTDIR=/System/Library/Fonts;~/FontLib/opensource;/Library/Fonts;~/FontLib/context-use;


mtxrun --script font --list --all --name --pattern=charis

charissil charissil 
/Users/martin/FontLib/opensource/CharisSIL/CharisSILR.ttf
charissilbold charissilbold 
/Users/martin/FontLib/opensource/CharisSIL/CharisSILB.ttf
charissilbolditalic   charissilbolditalic   
/Users/martin/FontLib/opensource/CharisSIL/CharisSILBI.ttf
charissilitalic   charissilitalic   
/Users/martin/FontLib/opensource/CharisSIL/CharisSILI.ttf
charissilnormal   charissilitalic   
/Users/martin/FontLib/opensource/CharisSIL/CharisSILI.ttf


The output shows that the the mkiv file is certainly found:
(/Users/martin/contextMini/tex/texmf-context/tex/context/third/typescripts/type-charissil.mkiv)
 


It _will_ work perfectly fine, i.e. work-around, if I combine the 
type-charissil.tex and type-charissil.mkiv into a single file! See my working 
type-charissil.mkiv below. I also hide the .tex file!




Example:

\setupbodyfont[charissil,12pt]
\starttext
\showbodyfont
\input tufte
\stoptext



Working type-charissil.mkiv

%D \module
%D   [   file=type-charissil,
%Dversion=2008.04.21,
%D  title=\CONTEXT\ Typescript Macros,
%D   subtitle=Charis SIL Font Definitions,
%D author=Wolfgang Schuster,
%D   date=\currentdate,
%D  copyright=Wolfgang Schuster]
%C
%C Copyright 2009 Wolfgang Schuster.
%C This file may be distributed under the GNU General Public License v. 2.0.
\starttypescript [serif] [charissil]
\setups[font:fallback:serif]
\definefontsynonym [Serif]   [CharisSIL-Regular]
[features=default]
\definefontsynonym [SerifItalic] [CharisSIL-Italic] 
[features=default]
\definefontsynonym [SerifBold]   [CharisSIL-Bold]   
[features=default]
\definefontsynonym [SerifBoldItalic] [CharisSIL-BoldItalic] 
[features=default]
\stoptypescript

\starttypescript [charissil]
\definetypeface [charissil] [rm] [serif] [charissil] [default]
\stoptypescript

\starttypescript [serif] [charissil]
\definefontsynonym [CharisSIL-Regular][name:charissil] 
[features=default]
\definefontsynonym [CharisSIL-Italic] [name:charissilitalic]  
[features=default]
\definefontsynonym [CharisSIL-Bold]   [name:charissilbold]
[features=default]
\definefontsynonym [CharisSIL-BoldItalic] [name:charissilbolditalic] 
[features=default]
\stoptypescript

\endinput




___
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] no indent after blank

2010-08-02 Thread Hans Hagen

On 2-8-2010 9:09, Wolfgang Schuster wrote:


you forgot the comma before '##2'.


Ok, fixed. I also need to add \detokenized...parameter an maybe more. 
But at least we have something to discuss (apart from \ namespaces).


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
___


Re: [NTG-context] latest current

2010-08-02 Thread Thomas Schmitz

On Mon, 02 Aug 2010 21:21:00 +0200
 Wolfgang Schuster  
wrote:




You don't need \setupnote:

\setupnotedefinition[footnote][location=serried,hang=1,width=1.5em,headalign=flushleft]


Ah I see, there's now support in the core. That's great!




\input{tufte}


This is LaTeX syntax.

Oops. Won't happen again!

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] Palatino math in MKII/XeTeX?

2010-08-02 Thread Riobard
You'll these few lines:


\usetypescript[palatino]
\definetypeface[palatino][rm][serif][palatino][default]
\definetypeface[palatino][mm][math][palatino][default]
 \setupbodyfont[palatino,11pt]


then modify as suggested by Hans. Works for me with the latest beta of
minimals.


On Mon, Aug 2, 2010 at 7:58 PM, Mojca Miklavec
 wrote:
> On Mon, Aug 2, 2010 at 16:00, Hans Hagen wrote:
>> On 2-8-2010 3:35, Riobard wrote:
>>>
>>> Hi,
>>>
>>> I'm wondering how I can use Palatino for math in MKII/XeTeX? The following
>>> works in MKIV but not in MKII (still get Computer Modern for Math, though
>>> main text is in Palatino). Thanks very much!
>>
>> in type-otf.mkii, search for xmath and add the following in that section
>>
>>    \starttypescript [math] [palatino] [name]
>>        \definefontsynonym [MathRoman]     [Palatino-Roman-Upright]
> ...
>
> In TeX Live that doesn't work and in minimals it has no influence.
>
> \usetypescript[palatino]
> \setupbodyfont[palatino]
>
>
> kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi
> 600 uplri8a.pfb
> mktexpk: don't know how to create bitmap font for uplri8a.pfb.
> mktexpk: perhaps uplri8a.pfb is missing from the map file.
> kpathsea: Appending font creation commands to missfont.log.
>
> ** WARNING ** Could not locate a virtual/physical font for TFM "rpxpplri".
> ** WARNING ** >> This font is mapped to a physical font "uplri8a.pfb".
> ** WARNING ** >> Please check if kpathsea library can find this font:
> uplri8a.pfb
> ** ERROR ** Cannot proceed without .vf or "physical" font for PDF output...
>
> 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
> ___
>
___
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] latest current

2010-08-02 Thread Wolfgang Schuster

 Am 02.08.10 21:02, schrieb Thomas Schmitz:
Thanks Hans. Here's another small problem I have noticed which I think 
started with the latest current and is still there in the beta: 
aligning footnumbers numbers (instead of footnote text) at the left 
margin as described in the wiki doesn't work any longer. Example:


\setupnote[footnote][margindistance=0em,command=\myfootnotecommand]
\setupnotedefinition[footnote][location=left,hang=1]


You don't need \setupnote:

\setupnotedefinition[footnote][location=serried,hang=1,width=1.5em,headalign=flushleft]


\input{tufte}


This is LaTeX syntax.

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] no indent after blank

2010-08-02 Thread Wolfgang Schuster

 Am 02.08.10 16:41, schrieb Hans Hagen:

there is an experimental mult-aux.mkiv file in the beta


looks interesting, can't test it today but there a few things which are 
not right


\unexpanded\def\doinstallparameterhandler#1#2#3#4#5#6#7#8#9% \??aa 
{whatever} \current..

  {\def#3##1{\csname#6{#1#2}{##1}\endcsname}%
   \def#4##1{#7{#1#2}{##1}}%
-  \def#5##1##2{\csname#6{#1##2}{##1}\endcsname}%
+  \def#5##1##2{\csname#6{#1##1}{##2}\endcsname}%
   
\def#6##1##2{\ifcsname##1##2\endcsname##1##2\else\expandafter#8\csname##1\s!parent\endcsname{##2}\fi}%
   \def#7##1##2{\ifcsname##1##2\endcsname   
##1\else\expandafter#9\csname##1\s!parent\endcsname{##2}\fi}%

   \def#8##1##2{\ifx##1\relax\s!empty\else#6{##1}{##2}\fi}%
   \def#9##1##2{\ifx##1\relax\else#7{##1}{##2}\fi}}

For \named...parameter it's better to use the first argument the name of 
the environment

and the second for the key, e.g. \namedwhateverparameter{command}{width}


Here

\unexpanded\def\doinstallcommandhandler#1#2#3#4#5#6#7#8%
  {...
   \def#5[##1][##2]%
 {\edef#4{##1}%
  \ifsecondargument
\getparameters[#1#4][\s!parent=#1##2]%
  \else
\getparameters[#1#4][\s!parent=#3]%
  \fi
   ...}

you forgot the comma before '##2'.

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] latest current

2010-08-02 Thread Thomas Schmitz
Thanks Hans. Here's another small problem I have noticed 
which I think started with the latest current and is still 
there in the beta: aligning footnumbers numbers (instead 
of footnote text) at the left margin as described in the 
wiki doesn't work any longer. Example:


\setupnote[footnote][margindistance=0em,command=\myfootnotecommand]
\setupnotedefinition[footnote][location=left,hang=1]

\def\myfootnotecommand#1{\hbox to 1.5em{#1}}

\showframe

\starttext

\input{tufte}\footnote{Look, a footnote}

\stoptext

(no pesky utf characters this time).

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
___


Re: [NTG-context] 4th ConTeXt Meeting, update

2010-08-02 Thread Alan BRASLAU
On Monday 02 August 2010 19:04:45 Hans Hagen wrote:
> On 2-8-2010 6:52, Alan BRASLAU wrote:
> > That is unfair for those *unable* to attend.
> 
> Hey you *do* attend ... (and you can leak info as no one will check it)
> 

But last year I *couldn't* attend.

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
___


Re: [NTG-context] Palatino math in MKII/XeTeX?

2010-08-02 Thread Mojca Miklavec
On Mon, Aug 2, 2010 at 16:00, Hans Hagen wrote:
> On 2-8-2010 3:35, Riobard wrote:
>>
>> Hi,
>>
>> I'm wondering how I can use Palatino for math in MKII/XeTeX? The following
>> works in MKIV but not in MKII (still get Computer Modern for Math, though
>> main text is in Palatino). Thanks very much!
>
> in type-otf.mkii, search for xmath and add the following in that section
>
>    \starttypescript [math] [palatino] [name]
>        \definefontsynonym [MathRoman]     [Palatino-Roman-Upright]
...

In TeX Live that doesn't work and in minimals it has no influence.

\usetypescript[palatino]
\setupbodyfont[palatino]


kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi
600 uplri8a.pfb
mktexpk: don't know how to create bitmap font for uplri8a.pfb.
mktexpk: perhaps uplri8a.pfb is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.

** WARNING ** Could not locate a virtual/physical font for TFM "rpxpplri".
** WARNING ** >> This font is mapped to a physical font "uplri8a.pfb".
** WARNING ** >> Please check if kpathsea library can find this font:
uplri8a.pfb
** ERROR ** Cannot proceed without .vf or "physical" font for PDF output...

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] 4th ConTeXt Meeting, update

2010-08-02 Thread Khaled Hosny
On Mon, Aug 02, 2010 at 06:38:05PM +0200, Hans Hagen wrote:
> On 2-8-2010 5:53, Jano Kula wrote:
> >On 08/02/2010 04:16 PM, Khaled Hosny wrote:
> >
> >>Any love for people who are unable to make it into the meeting, like
> >>video recordings or something?
> >
> >We will do our best and see the results after the meeting. Sometimes it
> >is difficult even to get all slides together. But nothing can compensate
> >for the personal experience, if somebody can make it and is still in
> >doubts.
> 
> indeed, and those present will get a half-year edge on the all those
> new and interesting things to come so the recording will have those
> beeps and fuzzed parts of view as soon as secrets show up

As if I need more teasing.

-- 
 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] 4th ConTeXt Meeting, update

2010-08-02 Thread Hans Hagen

On 2-8-2010 7:09, Patrick Gundlach wrote:


Am 02.08.2010 um 19:04 schrieb Hans Hagen:


On 2-8-2010 6:52, Alan BRASLAU wrote:


That is unfair for those *unable* to attend.


Hey you *do* attend ... (and you can leak info as no one will check it)


I had to sign an NDA before I was allowed to register  Why may he leak any 
news? :)


We have different rooms with different levels of security and you may 
enter them all -)


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
___


Re: [NTG-context] ConTeXt vs. LaTeX -> XML/MathML -> XHTML/SVG/PNG -> ePub

2010-08-02 Thread Aditya Mahajan

On Mon, 2 Aug 2010, Grant W. Petty wrote:


On Mon, Aug 2, 2010 at 10:10 AM, Grant W. Petty  wrote:

I am trying out ConTeXt for the very first time, hoping to assess
whether it's worth re-tooling from LaTeX for authoring scientific
textbooks.



To elaborate on this comment which I made in another thread, I have
written and self-published two university-level atmospheric science
textbooks in LaTeX which are doing quite well by the standards of my
small field.   I am now also contracting to publish textbooks for
other authors.

I am very interested in eventually reformatting my own existing books,
as well as future books, as documents that can be both printed as
professional-quality bound textbooks as well as distributed as e-books
-- for example  ePub format and/or XHTML.   The principle technical
hurdle seems to be posed by the heavy use of mathematical equations.
I want the math in the electronic versions to be very clean and
scalable (e.g., SVG; eventually MathML as e-readers do a better job of
supporting it).




While there are programs like TeX4HT and LaTeXML that convert LaTeX
source to XML/MathML, they seem to have trouble with unfamiliar
packages and macros, and the math rendering seems quite imperfect as
well (though I can't yet tell whether that's a problem with the
conversion to MathML or rather with current e-readers imperfect
support for MathML).


I think that it is better to test mathml on a recent web browser rather 
than ereaders.



My question is whether anyone has insight into the relative strengths
of LaTeX vs. ConTeXt as an authoring environment in the specific case
that the author wants high-quality multi-format outputs for  print and
electronic distribution.  An example workflow I could imagine would be

ConTeXT or LaTeX source   ->   XML/MathML  (DocBook?)  ->  PDF or
XHTML with math encoded as MathML and/or SVG and/or PNG -> ePub with
high-quality math readable on various commercial readers

I'm quite new to this subject matter, having only begun to learn about
e-publishing formats a couple of weeks ago, so I'll welcome any
advice, however basic.


Context/latex to xml will never work unless you are willing to restrict 
yourself to a subset of supported input syntax. If you are willing to do 
that, then a cleaner alternative to is to *input* all your 
text as XML. For plain text XML is not too verbose, but MathML is a pain 
to type by hand. There are various libraries that convert tex math markup 
to mathml that may ease the task.


If the math is not too complicated, one option is to use asciimath. 
ConTeXt has some basic support for asciimath, and I believe that it is 
possible to convert asciimath to mathml.


Another option is to explore Microsoft's linear math format. It has a 
well defined grammer, so in principle it will be much easier to convert it 
to latex/context/mathml input.


The big advantage of using such a setup is that you can use the same 
source to display the document on web (or epub, which is essentially 
zipped xml files) and to generate pdf (context handles xml input very 
well). One less toolchain to debug.



It's my impression, by the way, that ConTeXT does not directly support
AMSMath, which might mean having to not only rewrite a lot of existing
source but also to re-learn how to write math.


You can start by looking at 
http://dl.contextgarden.net/myway/context-latex-math.pdf


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] Page number conversion not working in MKIV?

2010-08-02 Thread Hans Hagen

On 2-8-2010 5:28, Riobard wrote:

Hi,

The following code is expected to produce roman numerals "i" in the footer. I always get 
the number "1" instead. Anybody knows what I'm doing wrong? Thanks very much!

\starttext
\setuppagenumber[number=1]
\setuppagenumbering[conversion=romannumerals,location=footer]
some text
\stoptext


\setupuserpagenumber[numberconversion=romannumerals]


-
  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] 4th ConTeXt Meeting, update

2010-08-02 Thread Patrick Gundlach

Am 02.08.2010 um 19:04 schrieb Hans Hagen:

> On 2-8-2010 6:52, Alan BRASLAU wrote:
> 
>> That is unfair for those *unable* to attend.
> 
> Hey you *do* attend ... (and you can leak info as no one will check it)

I had to sign an NDA before I was allowed to register  Why may he leak any 
news? :)


Patrick

___
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] 4th ConTeXt Meeting, update

2010-08-02 Thread Hans Hagen

On 2-8-2010 6:52, Alan BRASLAU wrote:


That is unfair for those *unable* to attend.


Hey you *do* attend ... (and you can leak info as no one will check it)

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
___


Re: [NTG-context] 4th ConTeXt Meeting, update

2010-08-02 Thread Alan BRASLAU
On Monday 02 August 2010 18:38:05 Hans Hagen wrote:
> On 2-8-2010 5:53, Jano Kula wrote:
> > On 08/02/2010 04:16 PM, Khaled Hosny wrote:
> >> Any love for people who are unable to make it into the meeting, like
> >> video recordings or something?
> > 
> > We will do our best and see the results after the meeting. Sometimes it
> > is difficult even to get all slides together. But nothing can compensate
> > for the personal experience, if somebody can make it and is still in
> > doubts.
> 
> indeed, and those present will get a half-year edge on the all those new
> and interesting things to come so the recording will have those beeps
> and fuzzed parts of view as soon as secrets show up
> 

That is unfair for those *unable* to attend.

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
___


Re: [NTG-context] 4th ConTeXt Meeting, update

2010-08-02 Thread Hans Hagen

On 2-8-2010 5:53, Jano Kula wrote:

On 08/02/2010 04:16 PM, Khaled Hosny wrote:


Any love for people who are unable to make it into the meeting, like
video recordings or something?


We will do our best and see the results after the meeting. Sometimes it
is difficult even to get all slides together. But nothing can compensate
for the personal experience, if somebody can make it and is still in
doubts.


indeed, and those present will get a half-year edge on the all those new 
and interesting things to come so the recording will have those beeps 
and fuzzed parts of view as soon as secrets show up


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] ConTeXt vs. LaTeX -> XML/MathML -> XHTML/SVG/PNG -> ePub

2010-08-02 Thread Grant W. Petty
On Mon, Aug 2, 2010 at 10:10 AM, Grant W. Petty  wrote:
> I am trying out ConTeXt for the very first time, hoping to assess
> whether it's worth re-tooling from LaTeX for authoring scientific
> textbooks.
>

To elaborate on this comment which I made in another thread, I have
written and self-published two university-level atmospheric science
textbooks in LaTeX which are doing quite well by the standards of my
small field.   I am now also contracting to publish textbooks for
other authors.

I am very interested in eventually reformatting my own existing books,
as well as future books, as documents that can be both printed as
professional-quality bound textbooks as well as distributed as e-books
-- for example  ePub format and/or XHTML.   The principle technical
hurdle seems to be posed by the heavy use of mathematical equations.
I want the math in the electronic versions to be very clean and
scalable (e.g., SVG; eventually MathML as e-readers do a better job of
supporting it).

While there are programs like TeX4HT and LaTeXML that convert LaTeX
source to XML/MathML, they seem to have trouble with unfamiliar
packages and macros, and the math rendering seems quite imperfect as
well (though I can't yet tell whether that's a problem with the
conversion to MathML or rather with current e-readers imperfect
support for MathML).

My question is whether anyone has insight into the relative strengths
of LaTeX vs. ConTeXt as an authoring environment in the specific case
that the author wants high-quality multi-format outputs for  print and
electronic distribution.  An example workflow I could imagine would be

ConTeXT or LaTeX source   ->   XML/MathML  (DocBook?)  ->  PDF or
XHTML with math encoded as MathML and/or SVG and/or PNG -> ePub with
high-quality math readable on various commercial readers

I'm quite new to this subject matter, having only begun to learn about
e-publishing formats a couple of weeks ago, so I'll welcome any
advice, however basic.

It's my impression, by the way, that ConTeXT does not directly support
AMSMath, which might mean having to not only rewrite a lot of existing
source but also to re-learn how to write math.

Thanks,
Grant
___
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] Errors with MacTeX/TeXLive installation

2010-08-02 Thread Grant W. Petty
Thanks for the advice.  I'm glad to hear the problem I described was
not just a manifestation of my own incompetence!

I'm taking the suggestion of downloading MacTeX 2010 and will try that
out as soon as it finishes downloading.

 - Grant
___
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] 4th ConTeXt Meeting, update

2010-08-02 Thread Jano Kula

On 08/02/2010 04:16 PM, Khaled Hosny wrote:


Any love for people who are unable to make it into the meeting, like
video recordings or something?


We will do our best and see the results after the meeting. Sometimes it 
is difficult even to get all slides together. But nothing can compensate 
for the personal experience, if somebody can make it and is still in doubts.


Jano
http://meeting.contextgarden.net/2010/

___
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] Errors with MacTeX/TeXLive installation

2010-08-02 Thread Arthur Reutenauer
> You may prefer to install MacTeX 2010 (this is just a link to testing
> page, but that's more or less what will get burnt into DVDs):
> http://ftp.cstug.cz/pub/tex/local/tlpretest/
> http://wiki.contextgarden.net/TeX_Live_2010

  (Following up to my previous message)

  ... or 3. Do what Mojca suggests, indeed :-)

  TeX Live 2010 being so close to the release is all the more reason not
to tamper with your current installation.

Arthur
___
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] Errors with MacTeX/TeXLive installation

2010-08-02 Thread Arthur Reutenauer
> I am using a fresh installation of TeX Live 2009 (installed via MacTex
> on a MacBook running Mac OS X 10.6)

  ConTeXt doesn't work in TeX Live 2009 (it will in the 2010 release
that is being finalized).  The culprit is that, as you have read, the
LuaTeX binary (the program that is actually being run) doesn't match the
version of the ConTeXt files.  You have the choice between, either:

  1. Replacing the LuaTeX program with a more recent version which you
can download from http://www.luatex.org/download.html or

  2. Installing the “Minimals” distribution 
(http://wiki.contextgarden.net/ConTeXt_Minimals).

  Option 1 may seem simpler, but you will need a few steps to get
started, and it can have side effects on the rest of your TeX Live
installation, which is why I'd recommend you install the Minimals.

Arthur
___
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] Palatino math in MKII/XeTeX?

2010-08-02 Thread Riobard
Sorry, the example is here (forgot to paste it; my bad):



\usetypescript[palatino]
\definetypeface[palatino][rm][serif][palatino][default]
\definetypeface[palatino][mm][math][palatino][default]
 \setupbodyfont[palatino,11pt]



On Mon, Aug 2, 2010 at 3:57 PM, Taco Hoekwater  wrote:
>
>
> Riobard wrote:
>> Hi,
>>
>> I'm wondering how I can use Palatino for math in MKII/XeTeX? The
>> following works in MKIV but not in MKII (still get Computer Modern
>> for Math, though main text is in Palatino). Thanks very much!
>
> [example missing]
>
> Best wishes,
> Taco
> ___
> 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
___


[NTG-context] Page number conversion not working in MKIV?

2010-08-02 Thread Riobard
Hi, 

The following code is expected to produce roman numerals "i" in the footer. I 
always get the number "1" instead. Anybody knows what I'm doing wrong? Thanks 
very much! 

\starttext
\setuppagenumber[number=1]
\setuppagenumbering[conversion=romannumerals,location=footer]
some text
\stoptext




Rio
___
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] Errors with MacTeX/TeXLive installation

2010-08-02 Thread Mojca Miklavec
On Mon, Aug 2, 2010 at 17:10, Grant W. Petty wrote:
>
> I am using a fresh installation of TeX Live 2009 (installed via MacTex
> on a MacBook running Mac OS X 10.6),

You may prefer to install MacTeX 2010 (this is just a link to testing
page, but that's more or less what will get burnt into DVDs):
http://ftp.cstug.cz/pub/tex/local/tlpretest/
http://wiki.contextgarden.net/TeX_Live_2010

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
___


[NTG-context] Errors with MacTeX/TeXLive installation

2010-08-02 Thread Grant W. Petty
I am trying out ConTeXt for the very first time, hoping to assess
whether it's worth re-tooling from LaTeX for authoring scientific
textbooks.

I am using a fresh installation of TeX Live 2009 (installed via MacTex
on a MacBook running Mac OS X 10.6), and I'm trying to process a
sample file I downloaded from one of the ConTeXt web pages.
Unfortunately, the process generates a couple of cryptic warnings
("Lua binary way out of date")  and a fatal error ("can't find
...dcc/formats/cont-en.luc").  I wonder if someone can examine the
input file and the log file (both attached) to help me understand what
I have to do to clean things up and, if possible, why the TeX Live
ConTeXt configuration doesn't work correctly "right out of the box" to
begin with.

  Thanks,
  Grant
% interface=en output=pdftex

% Choose a font
\usetypescript [palatino][\defaultencoding]
\setupbodyfont [palatino,12pt]

% Be tolerant with paragraph building
\setuptolerance [horizontal,verytolerant,stretch]

% Choose a language, and associated hyphenation rules.
\language [en]

% No page number
\setuppagenumbering [state=off]

% White space between paragraphs
\setupwhitespace [big]

% Paper size
\setuppapersize [a4]

% On the grid please
\setuplayout
  [grid=yes,
   footer=0.5\footerheight,
   header=0.5\headerheight]

% Enable colors and activate hyperlinks
\setupcolors [state=start]
\definecolor[lightBlue][r=0.5, g=0.5, b=1.0]
\setupinteraction [state=start, color=lightBlue]
\setupurl[style=small, space=yes]

% Enumerate the URLs
\useURL [pragma] [{www.pragma-ade.com}]
\useURL [contextgarden] [{contextgarden.net}]
\useURL [ntg-context] [{www.ntg.nl/mailman/listinfo/ntg-context}]
\useURL [literatesolutions] 
[{literatesolutions.com/Members/guravage/tpj/askNelly/context.tex}]
\useURL [mge] [{mailto:i...@literatesolutions.com}][][\tfx 
i...@literatesolutions.com]

\starttext

\midaligned{\tfb Ask Nelly: What is ConTeXt?}

\midaligned{\tfx Michael Guravage}

\ConTeXt\ is a macro package for \TeX\ written by Hans Hagen and Ton
Otten of Pragma ADE in the Netherlands. Like \LaTeX\, \ConTeXt\ is
applicable to most typesetting needs.  Unlike \LaTeX\, \ConTeXt\ is
monolithic, by which I mean it is designed, implemented, and
distributed as a whole. Its completeness is evident in the breath of
its concepts and consistency of its syntax.

Forged in the crucible of the educational publishing world, \ConTeXt\
has grown to accommodate the most advanced and demanding typesetting
needs. The practical upshot of this is that if you need a particular
feature, it probably is already implemented. A few of its most noteworthy
features include:

\startitemize[packed,n]
  \item multiple language interfaces including: English, German, and Dutch
  \item a font naming scheme that allows you mix and match different typefaces
  \item a native XML parser
  \item a native XML-FO support
  \item native MathML support
  \item integrated graphics with \MetaPost
  \item full color support in both {\sc rgb} or {\sc cmyk}
  \item direct access to and control over the interactive capabilities of PDF
\stopitemize

I would not say that \ConTeXt\ has a steep learning curve but rather a
long one.  Thankfully, there is sufficient documentation, and a
vibrant development community to offer support.

Visit the Pragma website at \from[pragma] to learn more about
\ConTeXt.  There you will find both examples to whet your appetite and
manuals to answer your questions. I recommend you start by reading the
introductory `\ConTeXt\ an Excursion' and then move onto the full
\ConTeXt\ manual.  You will find additional examples of, discussions
about, and documentation for \ConTeXt\ on the community wiki at:
\from[contextgarden].  Finally, you can subscribe to the \ConTeXt\
mailing list at: \from[ntg-context].

Michael Guravage is a consultant who specializes in content management
and document engineering. He can be reached at \from[mge].

\stoptext

% finis


context.log
Description: Binary data
___
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] latest current

2010-08-02 Thread Arthur Reutenauer
> {\agr\hyphenatedword{φιλοσοφούμενα}}

  Err, you realize you posted the e-mail using HTML entities?  Your
mailer may be responsible for that, but if they were in the source file,
it's to be expected that doesn't work well ;-)

Arthur
___
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] latest current

2010-08-02 Thread Hans Hagen

On 2-8-2010 4:39, Thomas Schmitz wrote:

Hi all,

for some reason, hyphenation for ancient Greek isn't
working in the latest current. test file:

\usetypescript[type-gentium]
\setupbodyfont[gentium,12pt]

\starttext

\hyphenatedword{allegorical}

{\fr\hyphenatedword{détoxication}}

{\agr\hyphenatedword{φιλοσοφούμενα}}


can you send me a zipped test file ?

-
  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] no indent after blank

2010-08-02 Thread Hans Hagen

On 31-7-2010 3:00, Aditya Mahajan wrote:

On Sat, 31 Jul 2010, Hans Hagen wrote:


[1] http://bitbucket.org/wolfs/fancybreak/src


I'll have a more detailed look at it later (remind me that we need to
formalize this \ namespace for modules issue; we might need \???
for the core soon as we run out of \??'s).


I have started use \??whatever?? to avoid clashing with Wolfgang :-)


As you write nice and clean modules that are perfect examples for
others, we should take some time at the context conference and see if
we can derive some 'module writing conventions'.


+1


I wonder if I should finaly make a definer for \fancybreakparameter
like cases. I had one once but it looked quite horrible and there are
subtle differences between all cases but I'll give it a try some day
soon.


Wolfgang taught me how to use them and now I use
(http://github.com/adityam/filter/blob/master/t-filter.tex)

\def\externalfilterparameter
#1{\csname\docheckparentparameter{\??externalfilter??\currentexternalfilter}#1\endcsname}


\def\docheckparentparameter
#1#2{\ifcsname#1#2\endcsname#1#2\else\expandafter\redocheckparentparameter\csname#1\s!parent\endcsname#2\fi}


\def\redocheckparentparameter#1#2{\ifx#1\relax\s!empty\else\docheckparentparameter#1#2\fi}


I am pretty sure this does not cover all the situations that arise in
the core.


there is an experimental mult-aux.mkiv file in the 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
___


[NTG-context] latest current

2010-08-02 Thread Thomas Schmitz

Hi all,

for some reason, hyphenation for ancient Greek isn't
working in the latest current. test file:

\usetypescript[type-gentium]
\setupbodyfont[gentium,12pt]

\starttext

\hyphenatedword{allegorical}

{\fr\hyphenatedword{détoxication}}

{\agr\hyphenatedword{φιλοσοφούμενα}}

\stoptext

I looked at lang-grk.tex but couldn't find anything
obvious, and according to the log file, all languages are
loaded,

mkiv lua stats : loaded patterns   - agr:gr:31
en::2 fr::15


so I'm a bit puzzled.

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] 4th ConTeXt Meeting, update

2010-08-02 Thread Khaled Hosny
On Mon, Aug 02, 2010 at 11:26:27AM +0200, Taco Hoekwater wrote:
> Hi All!
> 
> Jano Kula wrote:
> > 
> > There are few weeks left till the 4th ConTeXt Meeting on September
> > 13-18, 2010 in Brejlov, Czech Republic.
> > 
> > We have collected interesting talks and tutorials (25+) on ConTeXt,
> > LuaTeX, Lua, fonts, OpenType math, Metapost and more:
> > http://meeting.contextgarden.net/2010/abstracts.shtml
> 
> Later today, I will send out the preliminary programme to the
> people that have already registered. At the moment, we have
> 35 talks, 9 discussions, 7 workshops and 2 q&a sessions planned
> from 15 different speakers.
> 
> There will be workshops about:
> 
> * installing the latest context (by Mojca/Hans)
> * document structure (by Hans)
> * Xml processing in mkiv (by Hans)
> * Using the letter module (by Wolfgang)
> * Lua for beginners (by Taco)
> * Lua for font lovers (by Taco)
> * Arranging pages and creating a flyer (by Willi)
> 
> and more workshops can be added if there are specific requests.
> 
> I hope to see you all in Brejlov!

Any love for people who are unable to make it into the meeting, like
video recordings or something?

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] Palatino math in MKII/XeTeX?

2010-08-02 Thread Hans Hagen

On 2-8-2010 3:35, Riobard wrote:

Hi,

I'm wondering how I can use Palatino for math in MKII/XeTeX? The following 
works in MKIV but not in MKII (still get Computer Modern for Math, though main 
text is in Palatino). Thanks very much!


in type-otf.mkii, search for xmath and add the following in that section

\starttypescript [math] [palatino] [name]
\definefontsynonym [MathRoman] [Palatino-Roman-Upright]
\definefontsynonym [MathExtension] [Palatino-Math-Extension]
\definefontsynonym [MathItalic][Palatino-Math-Italic]
\definefontsynonym [MathSymbol][Palatino-Math-Symbols]
\definefontsynonym [MathAlpha] [Palatino-Math-SymbolsA]
\definefontsynonym [MathBeta]  [Palatino-Math-SymbolsB]
\stoptypescript

\starttypescript [math] [palatino] [name]
\definefontsynonym [OldStyle] [MathItalic]
\definefontsynonym [Fraktur]  [eufm10]
\definefontsynonym [Blackboard]   [MathBeta]
\definefontsynonym [Gothic]   [eufm10]
\definefontsynonym [Calligraphic] [eusm10]
\stoptypescript

\starttypescript [math] [times] [name]
\definefontsynonym [MathRoman] [Times-Roman-Upright]
\definefontsynonym [MathExtension] [Times-Math-Extension]
\definefontsynonym [MathItalic][Times-Math-Italic]
\definefontsynonym [MathSymbol][Times-Math-Symbols]
\definefontsynonym [MathAlpha] [Times-Math-SymbolsA]
\definefontsynonym [MathBeta]  [Times-Math-SymbolsB]
\stoptypescript

\starttypescript [math] [times] [name]
\definefontsynonym [OldStyle] [MathItalic]
\definefontsynonym [Fraktur]  [eufm10]
\definefontsynonym [Blackboard]   [MathBeta]
\definefontsynonym [Gothic]   [eufm10]
\definefontsynonym [Calligraphic] [eusm10]
\stoptypescript




-
  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] Palatino math in MKII/XeTeX?

2010-08-02 Thread Taco Hoekwater


Riobard wrote:
> Hi,
> 
> I'm wondering how I can use Palatino for math in MKII/XeTeX? The
> following works in MKIV but not in MKII (still get Computer Modern
> for Math, though main text is in Palatino). Thanks very much!

[example missing]

Best wishes,
Taco
___
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] Palatino math in MKII/XeTeX?

2010-08-02 Thread Riobard
Hi, 

I'm wondering how I can use Palatino for math in MKII/XeTeX? The following 
works in MKIV but not in MKII (still get Computer Modern for Math, though main 
text is in Palatino). Thanks very much! 


Rio

___
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] Placing footnotes in right margin en bloc at bottom of page

2010-08-02 Thread Oliver Heins
Sorry for posting a german message to the list, it was intended as a
private mail.  I should check the To-header, next time.

 olli

-- 
Oliver Heins he...@sopos.org  http://www.sopos.org/olli
GPG: F27A BA8C 1CFB B905 65A8  2544 0F07 B675 9A00 D827
1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827
Please avoid sending me Word or PowerPoint attachments:
http://www.gnu.org/philosophy/no-word-attachments.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
___


[NTG-context] Pagebreak without background

2010-08-02 Thread Julian Becker
I'm working on a document with page backgrounds. I got them working now,
using

...
...
\defineoverlay[left page] [\useMPgraphic{left page}]
\defineoverlay[right page][\useMPgraphic{right page}]
\setupbackgrounds[leftpage] [background=left page]
\setupbackgrounds[rightpage][background=right page]

But now I have them on every page.
I don't want those to appear on certain pages. E.g. I want to start chapters
on the right page and want the left page to be completely empty.
For my chapters I currently have

\definepagebreak[chapterpagebreak][yes,header,right]
\setuphead[chapter][page=chapterpagebreak]

Which still gives me the background on the blank left page before each new
chapter. So I tried blank in definepagebreak, but it doesn't seem to give me
the desired result, since it only removes the background on the page to
follow (that is the right page on which my chapter starts).

Anybody know how to do this?
regards,
Julian


-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_bec...@uni-muenster.de

"Keep thy heart with all diligence; for it is the wellspring of life."
___
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] 4th ConTeXt Meeting, update

2010-08-02 Thread Taco Hoekwater
Hi All!

Jano Kula wrote:
> 
> There are few weeks left till the 4th ConTeXt Meeting on September
> 13-18, 2010 in Brejlov, Czech Republic.
> 
> We have collected interesting talks and tutorials (25+) on ConTeXt,
> LuaTeX, Lua, fonts, OpenType math, Metapost and more:
> http://meeting.contextgarden.net/2010/abstracts.shtml

Later today, I will send out the preliminary programme to the
people that have already registered. At the moment, we have
35 talks, 9 discussions, 7 workshops and 2 q&a sessions planned
from 15 different speakers.

There will be workshops about:

* installing the latest context (by Mojca/Hans)
* document structure (by Hans)
* Xml processing in mkiv (by Hans)
* Using the letter module (by Wolfgang)
* Lua for beginners (by Taco)
* Lua for font lovers (by Taco)
* Arranging pages and creating a flyer (by Willi)

and more workshops can be added if there are specific requests.

I hope to see you all in Brejlov!

Best wishes,
Taco




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

2010-08-02 Thread Patrick Gundlach
Am 02.08.2010 um 09:51 schrieb Hans Hagen:

> I attached a test file: merge-002 has pages from merge-001.

I am really impressed. (Well, I am always impressed by your additions, but this 
time I think the possibilities of epdf are far more then I expect at the 
moment.)

Patrick

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