Hi, I uploaded a beta. New is: - enhanced inheritance in layouts - reimplemented page markings - \setupmathrendering[fontclass][it=somevariant] - upgrade of (content) mathml - prelude to more structured math - a couple of small fixes - a few adaptions to texlive integration - probably some more Also some time has been spend on the export backend: - partially rewritten export code (aka epub pet project) - next iteration of math(ml) export - metadata and ignored content in export (Later I will look again in tagged pdf.) 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 -----------------------------------------------------------------
On 06/08/11 19:45, Hans Hagen wrote:
Hi,
I uploaded a beta. New is:
- enhanced inheritance in layouts - reimplemented page markings - \setupmathrendering[fontclass][it=somevariant] - upgrade of (content) mathml
That is including an update of general/manuals/mmlprime.pdf Best wishes, Taco
On 8-6-2011 8:54, Taco Hoekwater wrote:
On 06/08/11 19:45, Hans Hagen wrote:
Hi,
I uploaded a beta. New is:
- enhanced inheritance in layouts - reimplemented page markings - \setupmathrendering[fontclass][it=somevariant] - upgrade of (content) mathml
That is including an update of general/manuals/mmlprime.pdf
i uploaded a bit newer (todays) 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 -----------------------------------------------------------------
Hi Hans and Taco, Updating the minimals resulted for me in an error message: This is MetaPost, version 1.504 (kpathsea version 6.0.0) ! I can't open file `metafun'. <*> metafun Please type another input file name: However upon aborting the process with <ctrl>-C, I have an updated ConTeXt version 2011.06.08 19:06, which works apparently fine under mkiv, but does not work with mkii, even with the simplest \starttext Hello Hans \stoptext The typesetting stops with the following error message: ! Font \*7ptmmmrrm*:=rm-lmr7 not loadable: Metric (TFM) file not found. <to be read again> \relax \definefontlocal ...ndcsname \lastfontname \relax \expandafter \let \expanda... I just report the issue to let you know (I have still the previous version at hand…). Best regards: OK On 8 juin 2011, at 21:22, Hans Hagen wrote:
On 8-6-2011 8:54, Taco Hoekwater wrote:
On 06/08/11 19:45, Hans Hagen wrote:
Hi,
I uploaded a beta. New is:
- enhanced inheritance in layouts - reimplemented page markings - \setupmathrendering[fontclass][it=somevariant] - upgrade of (content) mathml
That is including an update of general/manuals/mmlprime.pdf
i uploaded a bit newer (todays)
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 ___________________________________________________________________________________
%%%%%%%%%%%%%%%%%% Otared Kavian Département de Mathématiques Université de Versailles Saint-Quentin Bâtiment Fermat 45 avenue des Etats Unis 78035 Versailles cedex Téléphone: +33 1 39 25 46 42 Secrétariat: +33 1 39 25 46 44 Secrétariat: +33 1 39 25 46 46 e-mail: Otared.Kavian@math.uvsq.fr
2011/6/8 Otared Kavian
Hi Hans and Taco,
Updating the minimals resulted for me in an error message:
This is MetaPost, version 1.504 (kpathsea version 6.0.0)
! I can't open file `metafun'.
<*> metafun
Please type another input file name:
However upon aborting the process with <ctrl>-C, I have an updated ConTeXt version 2011.06.08 19:06, which works apparently fine under mkiv, but does not work with mkii, even with the simplest \starttext Hello Hans \stoptext The typesetting stops with the following error message: ! Font \*7ptmmmrrm*:=rm-lmr7 not loadable: Metric (TFM) file not found. <to be read again> \relax \definefontlocal ...ndcsname \lastfontname \relax \expandafter \let \expanda...
I just report the issue to let you know (I have still the previous version at hand…).
Best regards: OK
Same here. Vedran
On 8-6-2011 11:50, Vedran Miletić wrote:
I just report the issue to let you know (I have still the previous version at hand…).
A side effect of a change in cnf files (related to tex live) ... I'll have a look at it. For the moment generate the formats manually. 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 -----------------------------------------------------------------
On 8-6-2011 11:43, Otared Kavian wrote:
Hi Hans and Taco,
Updating the minimals resulted for me in an error message:
This is MetaPost, version 1.504 (kpathsea version 6.0.0)
! I can't open file `metafun'.
can you check again? ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On 08/06/11 19:21, Hans Hagen wrote:
On 8-6-2011 11:43, Otared Kavian wrote:
Hi Hans and Taco,
Updating the minimals resulted for me in an error message:
This is MetaPost, version 1.504 (kpathsea version 6.0.0)
! I can't open file `metafun'.
can you check again?
The newest version fixes the problem for me. Jelle
Hi, here is another problem with the latest beta - this used to work, but maybe Hans has developed a different mechanism for it? \startbuffer[test] <a>Hello&thinspace;World</a> \stopbuffer \startxmlsetups xml:testsetups \xmlsetsetup{\xmldocument}{a}{xml:*} \stopxmlsetups \xmlregistersetup{xml:testsetups} \startxmlsetups xml:a \xmlflush{#1} \stopxmlsetups \xmlsetentity{thinspace}{\,} \starttext \xmlprocessbuffer{main}{test}{} \stoptext looks like something is going wrong with the catcodes in translating the xml, the \, is written to the output instead of processed. All best Thomas
On 9-6-2011 10:21, Thomas A. Schmitz wrote:
Hi,
here is another problem with the latest beta - this used to work, but maybe Hans has developed a different mechanism for it?
\startbuffer[test] <a>Hello&thinspace;World</a> \stopbuffer
\startxmlsetups xml:testsetups \xmlsetsetup{\xmldocument}{a}{xml:*} \stopxmlsetups
\xmlregistersetup{xml:testsetups}
\startxmlsetups xml:a \xmlflush{#1} \stopxmlsetups
\xmlsetentity{thinspace}{\,}
\starttext \xmlprocessbuffer{main}{test}{} \stoptext
looks like something is going wrong with the catcodes in translating the xml, the \, is written to the output instead of processed.
Its a chicken-egg problem when to expand some of them. I uploaded a beta that makes a destinction: \startbuffer[test] <a> Hello&thinspace-a;World Hello&thinspace-b;World </a> \stopbuffer \startxmlsetups xml:testsetups \xmlsetsetup{#1}{*}{xml:*} \stopxmlsetups \xmlregistersetup{xml:testsetups} \startxmlsetups xml:a \xmlflush{#1} \stopxmlsetups \xmlsetentity{thinspace-a}{\,} \xmltexentity{thinspace-b}{\,} \starttext \xmlprocessbuffer{main}{test}{} \stoptext ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On Jun 9, 2011, at 12:56 PM, Hans Hagen wrote:
Its a chicken-egg problem when to expand some of them. I uploaded a beta that makes a destinction:
\xmlsetentity{thinspace-a}{\,} \xmltexentity{thinspace-b}{\,}
Great, xmltexentity does what I need - it's just that the interface has changed, so I need to adapt a few dozens xml styles... Thanks, and all best Thomas
2011/6/9 Hans Hagen
Hi,
I uploaded a beta.
The luatex-plain format has been broken. I use the following file to generate format. \input plain \directlua {tex.enableprimitives('', tex.extraprimitives())} \pdfoutput=1 \everyjob \expandafter {% \the\everyjob \input luatex-basics\relax \input luatex-fonts\relax \input luatex-mplib\relax } \edef\fmtversion{\fmtversion+luatex} \dump During luatex run I get an error: ! LuaTeX error ...pt/context/tex/texmf-context/tex/generic/context/luatex-fonts-merged.lua:2655: unexpected symbol near '. I think "local table.setmetatableindex(t,f)" in the luatex-fonts-merged.lua should be "local function table.setmetatableindex(t,f)". After I modified as above, some simple examples can be compiled. However I get an error again when I try to use CJK fonts. For example: \font\song=AdobeSongStd-Light \bye The error message is "! LuaTeX error ...-context/tex/generic/context/luatex-fonts-merged.lua:4466: attempt to index local 'unicodevector' (a nil value).". -- Best regards, Li Yanrui
On 9-6-2011 3:38, Li Yanrui (李延瑞) wrote:
2011/6/9 Hans Hagen
: Hi,
I uploaded a beta.
The luatex-plain format has been broken. I use the following file to generate format.
\input plain \directlua {tex.enableprimitives('', tex.extraprimitives())} \pdfoutput=1 \everyjob \expandafter {% \the\everyjob \input luatex-basics\relax \input luatex-fonts\relax \input luatex-mplib\relax } \edef\fmtversion{\fmtversion+luatex} \dump
During luatex run I get an error:
! LuaTeX error ...pt/context/tex/texmf-context/tex/generic/context/luatex-fonts-merged.lua:2655: unexpected symbol near '.
you should take luatex-plain.tex as example 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 -----------------------------------------------------------------
2011/6/9 Hans Hagen
On 9-6-2011 3:38, Li Yanrui (李延瑞) wrote:
2011/6/9 Hans Hagen
: Hi,
I uploaded a beta.
The luatex-plain format has been broken. I use the following file to generate format.
\input plain \directlua {tex.enableprimitives('', tex.extraprimitives())} \pdfoutput=1 \everyjob \expandafter {% \the\everyjob \input luatex-basics\relax \input luatex-fonts\relax \input luatex-mplib\relax } \edef\fmtversion{\fmtversion+luatex} \dump
During luatex run I get an error:
! LuaTeX error ...pt/context/tex/texmf-context/tex/generic/context/luatex-fonts-merged.lua:2655: unexpected symbol near '.
you should take luatex-plain.tex as example
It seems that luatex-plain.tex has been not exist in minimals for a long time. -- Best regards, Li Yanrui
On 9-6-2011 1:15, Li Yanrui (李延瑞) wrote:
It seems that luatex-plain.tex has been not exist in minimals for a long time.
ah, i see; on my machine it's called luatex.tex; will be in the next beta \input plain \directlua {tex.enableprimitives('', tex.extraprimitives())} \pdfoutput=1 \everyjob \expandafter {% \the\everyjob \input luatex-basics\relax \input luatex-fonts\relax \input luatex-mplib\relax } \edef\fmtversion{\fmtversion+luatex} \dump 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 -----------------------------------------------------------------
2011/6/9 Li Yanrui (李延瑞)
2011/6/9 Hans Hagen
: Hi,
I uploaded a beta.
The luatex-plain format has been broken. I use the following file to generate format.
\input plain \directlua {tex.enableprimitives('', tex.extraprimitives())} \pdfoutput=1 \everyjob \expandafter {% \the\everyjob \input luatex-basics\relax \input luatex-fonts\relax \input luatex-mplib\relax } \edef\fmtversion{\fmtversion+luatex} \dump
During luatex run I get an error:
! LuaTeX error ...pt/context/tex/texmf-context/tex/generic/context/luatex-fonts-merged.lua:2655: unexpected symbol near '.
I think "local table.setmetatableindex(t,f)" in the luatex-fonts-merged.lua should be "local function table.setmetatableindex(t,f)".
After I modified as above, some simple examples can be compiled. However I get an error again when I try to use CJK fonts. For example:
\font\song=AdobeSongStd-Light \bye
The error message is "! LuaTeX error ...-context/tex/generic/context/luatex-fonts-merged.lua:4466: attempt to index local 'unicodevector' (a nil value).".
I have updated the beta to 2011.06.11 and used luatex-plain.tex to generate the format but the same problems still exist. -- Best regards, Li Yanrui (李延瑞)
2011/6/12 Li Yanrui (李延瑞)
2011/6/9 Li Yanrui (李延瑞)
: 2011/6/9 Hans Hagen
: Hi,
I uploaded a beta.
The luatex-plain format has been broken. I use the following file to generate format.
\input plain \directlua {tex.enableprimitives('', tex.extraprimitives())} \pdfoutput=1 \everyjob \expandafter {% \the\everyjob \input luatex-basics\relax \input luatex-fonts\relax \input luatex-mplib\relax } \edef\fmtversion{\fmtversion+luatex} \dump
During luatex run I get an error:
! LuaTeX error ...pt/context/tex/texmf-context/tex/generic/context/luatex-fonts-merged.lua:2655: unexpected symbol near '.
I think "local table.setmetatableindex(t,f)" in the luatex-fonts-merged.lua should be "local function table.setmetatableindex(t,f)".
After I modified as above, some simple examples can be compiled. However I get an error again when I try to use CJK fonts. For example:
\font\song=AdobeSongStd-Light \bye
The error message is "! LuaTeX error ...-context/tex/generic/context/luatex-fonts-merged.lua:4466: attempt to index local 'unicodevector' (a nil value).".
I have updated the beta to 2011.06.11 and used luatex-plain.tex to generate the format but the same problems still exist.
i get to know what the problem is. 1. "local table.setmetatableindex(t,f)" in luatex-basics-gen.lua (or luatex-fonts-merged.lua) should be "function table.setmetatableindex(t,f)" otherwise it causes unexpected symbol error. 2. unicodes table in font-agl.lua is empty now. it causes unicodevector table is nil in font-map.lua (or luatex-fonts-merged.lua). -- Best regards, Li Yanrui (李延瑞)
On 14-6-2011 8:10, Li Yanrui (李延瑞) wrote:
1. "local table.setmetatableindex(t,f)" in luatex-basics-gen.lua (or luatex-fonts-merged.lua) should be "function table.setmetatableindex(t,f)" otherwise it causes unexpected symbol error.
fixed in next beta ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (7)
-
Hans Hagen
-
Jelle Huisman
-
Li Yanrui (李延瑞)
-
Otared Kavian
-
Taco Hoekwater
-
Thomas A. Schmitz
-
Vedran Miletić