Re: [NTG-context] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-10 Thread commb07


 Original-Nachricht 
Betreff: Re: [NTG-context] \showmathcharacters problems with TeXlive
2009 on Win 7 64bit
Von: Hans Hagen pra...@wxs.nl
An: mailing list for ConTeXt users ntg-context@ntg.nl und
comm...@googlemail.com
Datum: 09.02.2010 23:15
 On 9-2-2010 21:03, comm...@googlemail.com wrote:
 hi

 i'm on Win 7 64bit and have installed TeXlive 2009 today via the
 net-installer.
 
 best try an independent minimal, not combined with tex live
 

ok, installed context minimals via commandline.
while i can get texlive at least running, this seems not to work with
minimals. is the usage of minimals the same as for texlive, for example
texmfstart texexec.rb --bat --nonstop --pdf --interface=en --color
test1 (setuptex.bat has been run) should process test1.tex? this
does not work, output (with --verbose) is appended.
i could not find any usage instructions, can someone give me a link?

 http://minimals.contextgarden.net/texlive/beta/archive/00texlive.config.tar.xz

 did not succeed, please retry.
 
 i noticed that archives have the extension .tar.lzma on the server but
 texlivemanager is looking for .tar.xz, can i do anything about that?
 
 that's the new compressed format

ok, but is there a way i can tell texlivemanager to search for
.tar.lzma files? or is that texlive repository only supposed to work
with texlive 2008?

 
 Hans
 
 -
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
 -
 
E:\context_test\Rudintexmfstart texexec.rb --bat --nonstop --pdf --interface=en
 --color test1

E:\context_test\Rudintexmfstart --verbose texexec.rb --bat --nonstop --pdf --in
terface=en --color test1
MTXrun | fileio: variable 'SELFAUTOLOC' set to 'D:/contextminimals/tex/texmf-msw
in/bin'
MTXrun | fileio: variable 'SELFAUTODIR' set to 'D:/contextminimals/tex/texmf-msw
in'
MTXrun | fileio: variable 'SELFAUTOPARENT' set to 'D:/contextminimals/tex'
MTXrun | fileio: variable 'TEXMFCNF' set to 'D:\CONTEX~1\tex\texmf{-local,-conte
xt,}/web2c'
MTXrun | fileio: loading configuration file 'D:/CONTEX~1/tex/texmf/web2c/texmfcn
f.lua'
MTXrun | fileio: skipping 'configuration' for 'D:/CONTEX~1/tex/texmf/web2c' from
 'D:/CONTEX~1/tex/texmf-cache/luatex-cache/context/b25ffd8782dfe05910dee0343b536
fe5/trees/3e10c3ad39705068cf18cfb7eebde85e'
MTXrun | fileio: locating list of 'D:/CONTEX~1/tex/texmf-project'
MTXrun | fileio: tex locator 'D:/CONTEX~1/tex/texmf-project' not found
MTXrun | fileio: locating list of 'D:/CONTEX~1/tex/texmf-fonts'
MTXrun | fileio: tex locator 'D:/CONTEX~1/tex/texmf-fonts' not found
MTXrun | fileio: locating list of 'D:/CONTEX~1/tex/texmf-local'
MTXrun | fileio: tex locator 'D:/CONTEX~1/tex/texmf-local' found
MTXrun | fileio: hash 'D:/CONTEX~1/tex/texmf-local' appended
MTXrun | fileio: locating list of 'D:/CONTEX~1/tex/texmf-mswin'
MTXrun | fileio: tex locator 'D:/CONTEX~1/tex/texmf-mswin' found
MTXrun | fileio: hash 'D:/CONTEX~1/tex/texmf-mswin' appended
MTXrun | fileio: locating list of 'D:/CONTEX~1/tex/texmf-context'
MTXrun | fileio: tex locator 'D:/CONTEX~1/tex/texmf-context' found
MTXrun | fileio: hash 'D:/CONTEX~1/tex/texmf-context' appended
MTXrun | fileio: locating list of 'D:/CONTEX~1/tex/texmf-extra'
MTXrun | fileio: tex locator 'D:/CONTEX~1/tex/texmf-extra' not found
MTXrun | fileio: locating list of 'D:/CONTEX~1/tex/texmf'
MTXrun | fileio: tex locator 'D:/CONTEX~1/tex/texmf' found
MTXrun | fileio: hash 'D:/CONTEX~1/tex/texmf' appended
MTXrun | fileio: skipping 'files' for 'D:/CONTEX~1/tex/texmf-local' from 'D:/CON
TEX~1/tex/texmf-cache/luatex-cache/context/b25ffd8782dfe05910dee0343b536fe5/tree
s/736cea27ebd87d537c05735958ddc47b'
MTXrun | fileio: skipping 'files' for 'D:/CONTEX~1/tex/texmf-mswin' from 'D:/CON
TEX~1/tex/texmf-cache/luatex-cache/context/b25ffd8782dfe05910dee0343b536fe5/tree
s/d1ce4bfee2ea418ccceab3b552b676a4'
MTXrun | fileio: skipping 'files' for 'D:/CONTEX~1/tex/texmf-context' from 'D:/C
ONTEX~1/tex/texmf-cache/luatex-cache/context/b25ffd8782dfe05910dee0343b536fe5/tr
ees/59e8f8ec4ba50da5ee17f93ccf4ca61c'
MTXrun | fileio: skipping 'files' for 'D:/CONTEX~1/tex/texmf' from 'D:/CONTEX~1/
tex/texmf-cache/luatex-cache/context/b25ffd8782dfe05910dee0343b536fe5/trees/329b
970a3c283e29a232843f8ec38b79'
MTXrun | fileio: using given filetype 'texmfscripts'
MTXrun | fileio: no blobpath 'D:/CONTEX~1/tex/texmf-local' (texexec.rb)
MTXrun | fileio: no blobpath 'D:/CONTEX~1/tex/texmf-mswin' (texexec.rb)
MTXrun | fileio: no blobpath 'D:/CONTEX~1/tex/texmf-context' (texexec.rb)
MTXrun | fileio: no blobpath 'D:/CONTEX~1/tex/texmf' (texexec.rb)___
If your question

Re: [NTG-context] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-10 Thread commb07
well, i got the minimals running by rerunnig first-setup.bat, it seems i
installed the first time with -current which has some problems (i
thought that'd be the stable one?).

but the \showmathcharacters problems are still there, the table is empty
and i get
pdfTeX warning: pdftex.exe: no GlyphToUnicode entry has been inserted yet!

using this layout
\setuplayout[backspace=1cm, rightmargin=0.58cm, width=fit,
topspace=1cm, header=1cm, footer=1cm, height=fit]
i also get
! Dimension too large.
\setvsize ...l \vsize \nofcolumns \mcscratchdimen
  \global \pagegoal \vsize
\beginmulticolumns ...mnvsize \sethsize \setvsize
  \showcomposition
\complexstartcolumns ...nstrue \beginmulticolumns
  \fi \fi
\showmathcharacters ...\enccols ,\c!distance =2em]
   \def
\dodefinemathsymbol ...
l.6 \showmathcharacters


any ideas?

___
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] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-10 Thread Hans Hagen

On 10-2-2010 15:47, comm...@googlemail.com wrote:

well, i got the minimals running by rerunnig first-setup.bat, it seems i
installed the first time with -current which has some problems (i
thought that'd be the stable one?).

but the \showmathcharacters problems are still there, the table is empty
and i get
pdfTeX warning: pdftex.exe: no GlyphToUnicode entry has been inserted yet!

using this layout
\setuplayout[backspace=1cm, rightmargin=0.58cm, width=fit,
topspace=1cm, header=1cm, footer=1cm, height=fit]
i also get
! Dimension too large.
\setvsize ...l \vsize \nofcolumns \mcscratchdimen
   \global \pagegoal \vsize
\beginmulticolumns ...mnvsize \sethsize \setvsize
   \showcomposition
\complexstartcolumns ...nstrue \beginmulticolumns
   \fi \fi
\showmathcharacters ...\enccols ,\c!distance =2em]
\def
\dodefinemathsymbol ...
l.6 \showmathcharacters


any ideas?



can you post the complete test file?

btw, the pdftex unicode warning is harmless

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-10 Thread commb07


 Original-Nachricht 
Betreff: Re: [NTG-context] \showmathcharacters problems with TeXlive
2009 on Win 7 64bit
Von: Hans Hagen pra...@wxs.nl
An: mailing list for ConTeXt users ntg-context@ntg.nl und
comm...@googlemail.com
Datum: 10.02.2010 16:41
 On 10-2-2010 15:47, comm...@googlemail.com wrote:
 well, i got the minimals running by rerunnig first-setup.bat, it seems i
 installed the first time with -current which has some problems (i
 thought that'd be the stable one?).

 but the \showmathcharacters problems are still there, the table is empty
 and i get
 pdfTeX warning: pdftex.exe: no GlyphToUnicode entry has been inserted
 yet!

 using this layout
 \setuplayout[backspace=1cm, rightmargin=0.58cm, width=fit,
 topspace=1cm, header=1cm, footer=1cm, height=fit]
 i also get
 ! Dimension too large.
 \setvsize ...l \vsize \nofcolumns \mcscratchdimen
\global \pagegoal
 \vsize
 \beginmulticolumns ...mnvsize \sethsize \setvsize
\showcomposition
 \complexstartcolumns ...nstrue \beginmulticolumns
\fi \fi
 \showmathcharacters ...\enccols ,\c!distance =2em]
 \def
 \dodefinemathsymbol ...
 l.6 \showmathcharacters


 any ideas?
 
 
 can you post the complete test file?

sure, output pdf is in the attachment:
\mainlanguage[de]
\enableregime[windows]
\setuplayout[backspace=1cm, rightmargin=0.58cm, width=fit, topspace=1cm,
header=1cm, footer=1cm, height=fit]

\starttext

\showmathcharacters

\stoptext

 
 btw, the pdftex unicode warning is harmless

good to know, i thought the empty table had to do something with this
___
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] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-10 Thread Hans Hagen

On 10-2-2010 17:03, comm...@googlemail.com wrote:

\mainlanguage[de]
\enableregime[windows]
\setuplayout[backspace=1cm, rightmargin=0.58cm, width=fit, topspace=1cm,
header=1cm, footer=1cm, height=fit]

\starttext

\showmathcharacters

\stoptext


ok, this was the problem:

the math definition files are read and then the column width is 
calculated which is used in a second read


as the files to be used now have the mkii suffix, no file is read and we 
end up with 24 columns which is too much for tex's calculations


I now intercept that as well as fixedthe loading (to use mkii files)

Hans

--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
%D \module
%D   [ file=math-run,
%D  version=2001.23.04,
%Dtitle=\CONTEXT\ Math Macros,
%D subtitle=Runtime Macros,
%D   author=Hans Hagen,
%D date=\currentdate,
%Dcopyright=Hans Hagen \ Ton Otten]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\writestatus{loading}{ConTeXt Math Macros / Runtime Macros}

\unprotect

\ifx\showmathmodern\undefined \global\chardef\showmathmodern\zerocount \fi

\gdef\showmathcharacters% nearly \showcharacters
  {\par
   \bgroup
   
\ifcase\showmathmodern\or\ifx\modern\undefined\chardef\showmathmodern\zerocount\fi\fi
   \setuptextrules[\c!bodyfont=,\c!style=]
   \starttextrule{math characters -- \currentmathcollection}
   \whitespace
   \dontcomplain
   \forgetall
   \def\startmathcollection[##1]{}
   \let\stopmathcollection\relax
   \dimen0\zeropoint
   \dimen2\zeropoint
   \def\definemathsymbol   {\dosixtupleempty\dodefinemathsymbol}
   \def\definemathcharacter{\dosixtupleempty\dodefinemathcharacter}
   \def\definemathcommand  {\dotripleempty  \dodefinemathcommand}
   %\newcounter\mathcolor
   \def\dodefinemathsymbol[##1][##2][##3][##4][##5][##6]%
 {%\doifcolorelse{math \purefamilyhex{##3}}{}
  %  {\increment\mathcolor
  %   \definecolor[math \purefamilyhex{##3}][\mathcolor]}%
  \setbox0\hbox spread 1em{\mathematics{\getvalue{##1}{}{}{}}}%
  \ifdim\wd0\dimen0 \dimen0=\wd0 \fi
  \setbox2\hbox spread 1em{\hbox to 1em{\tttf\purefamilyhex{##3}\hss}\box0 
##1}%
  \ifdim\wd2\dimen2 \dimen2=\wd2 \fi}
   \def\dodefinemathcharacter[##1][##2][##3][##4][##5][##6]{}
   \def\dodefinemathcommand  [##1][##2][##3]##4{}
   \readsysfile{\f!mathprefix tex.mkii}\!!doneatrue\!!doneafalse
   \readsysfile{\f!mathprefix ams.mkii}\!!donebtrue\!!donebfalse
   \if!!donea
 \if!!doneb
   \edef\encwidth{\the\dimen0}
   \dimen0=\hsize
   \advance\dimen0 2em
   \advance\dimen2 2em
   \ifcase\showmathmodern\or\advance\dimen2 4em\fi
   \divide \dimen0 by \dimen2 \advance\dimen0 1sp
   \edef\enccols{\number\dimen0}
   \startcolumns[\c!n=\enccols,\c!distance=2em]
   \def\dodefinemathsymbol[##1][##2][##3][##4][##5][##6]%
 {%\localcolortrue
  %\color
  %  [math \purefamilyhex{##3}]
 {\hbox
{\ifcase\showmathmodern\or
   \hbox to 
\encwidth{\modern\let\mathcollection\nomathcollection\mathematics{\getvalue{##1}{}{}{}}\hss}%
 \fi
 \hbox to \encwidth{\mathematics{\getvalue{##1}{}{}{}}\hss}%
 \hbox to 1em{\tttf\purefamilyhex{##3}\hss}##1}\par}}
   \readsysfile{\f!mathprefix tex.mkii}\donothing\donothing
   \readsysfile{\f!mathprefix ams.mkii}\donothing\donothing
   \stopcolumns
 \else
   \par \tttf no chars in \f!mathprefix ams\par
 \fi
   \else
 \par \tttf no chars in \f!mathprefix tex\par
   \fi
   \stoptextrule
   \egroup}

% \definecolor[math \purefamilyhex{mr}] [darkred]
% \definecolor[math \purefamilyhex{mi}] [darkgreen]
% \definecolor[math \purefamilyhex{sy}] [darkblue]
% \definecolor[math \purefamilyhex{ex}] [darkmagenta]
% \definecolor[math \purefamilyhex{nn}] [darkyellow]
% \definecolor[math \purefamilyhex{ma}] [lightred]
% \definecolor[math \purefamilyhex{mb}] [lightgreen]
% \definecolor[math \purefamilyhex{mc}] [lightblue]
% \definecolor[math \purefamilyhex{md}] [lightmagenta]

\gdef\showmathtoken#1%
  {\starttabulate[|lT|lT|lT|l|]
   \NC token \NC #1 \NC \NR
   \NC collection\NC \ifcsna...@mt@\mathcollection#1\endcsname
   \mathcollection
 \else\ifcsna...@mt@\nomathcollection#1\endcsname
   \nomathcollection
 \else
   ?%
 \fi\fi \NC \NR
   \NC visualization \NC \mathematics{\getvalue{#1}} \NC \NR
   \NC definition\NC \tttf 

Re: [NTG-context] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-10 Thread Hans Hagen

btw, in mkiv you show chars with \usemodule[fnt-25] ...

\startbuffer[mathtest]
\begingroup\mm\mr\showmathfontcharacters\endgroup
\stopbuffer

\starttext
\usetypescript[cambria]   \setupbodyfont[cambria,  12pt] 
\getbuffer[mathtest]
\usetypescript[lmvirtual] \setupbodyfont[lmvirtual,12pt] 
\getbuffer[mathtest]
\usetypescript[pxvirtual] \setupbodyfont[pxvirtual,12pt] 
\getbuffer[mathtest]
\usetypescript[txvirtual] \setupbodyfont[txvirtual,12pt] 
\getbuffer[mathtest]
\usetypescript[palatino]  \setupbodyfont[palatino, 10pt] 
\getbuffer[mathtest]
\usetypescript[mathtimes] \setupbodyfont[mathtimes,12pt] 
\getbuffer[mathtest]

\stoptext

more fun

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-10 Thread commb07
nice, that solved the issue for me.

thank you very much for your time!


 Original-Nachricht 
Betreff: Re: [NTG-context] \showmathcharacters problems with TeXlive
2009 on Win 7 64bit
Von: Hans Hagen pra...@wxs.nl
An: mailing list for ConTeXt users ntg-context@ntg.nl und
comm...@googlemail.com
Datum: 10.02.2010 18:40
 On 10-2-2010 17:03, comm...@googlemail.com wrote:
 \mainlanguage[de]
 \enableregime[windows]
 \setuplayout[backspace=1cm, rightmargin=0.58cm, width=fit, topspace=1cm,
 header=1cm, footer=1cm, height=fit]

 \starttext

 \showmathcharacters

 \stoptext
 
 ok, this was the problem:
 
 the math definition files are read and then the column width is
 calculated which is used in a second read
 
 as the files to be used now have the mkii suffix, no file is read and we
 end up with 24 columns which is too much for tex's calculations
 
 I now intercept that as well as fixedthe loading (to use mkii files)
 
 Hans
 
___
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] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-09 Thread commb07
hi

i'm on Win 7 64bit and have installed TeXlive 2009 today via the
net-installer.

i can process context-files, but have some problems:
i get pdftex warning: pdftex.exe: no glyphtounicode entry has been
inserted yet if i use the command \showmathcharacters, and the table in
the pdf is empty.
in a more complex file i get ! Dimension too large. ..-error
additionally on \showmathcharacters, table is empty as well.

tried to get a recent version of context by directing texlive manger to
http://minimals.contextgarden.net/texlive/beta;, but no matter what i
try to update/install (by the way what should i do there?) , i get
00texlive.installation not found, cannot read option
available_architectures.
TLPDB::setting: no available_architectures, returning empty list ...
Fertig.
Executing action install 00texlive.config
[1/1, ??:??/??:??] install: 00texlive.config [1k]
Downloading
  
http://minimals.contextgarden.net/texlive/beta/archive/00texlive.config.tar.xz
did not succeed, please retry.

i noticed that archives have the extension .tar.lzma on the server but
texlivemanager is looking for .tar.xz, can i do anything about that?

if somebody had some hints what i could/should try/avoid, that would
help a lot..
___
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] \showmathcharacters problems with TeXlive 2009 on Win 7 64bit

2010-02-09 Thread Hans Hagen

On 9-2-2010 21:03, comm...@googlemail.com wrote:

hi

i'm on Win 7 64bit and have installed TeXlive 2009 today via the
net-installer.


best try an independent minimal, not combined with tex live


http://minimals.contextgarden.net/texlive/beta/archive/00texlive.config.tar.xz
did not succeed, please retry.



i noticed that archives have the extension .tar.lzma on the server but
texlivemanager is looking for .tar.xz, can i do anything about that?


that's the new compressed format

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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
___