Hi, I uploaded a new beta (so the minimals will have it in about an hour): - some cleanup at the lua end as side effect of documenting lua interfacing as part of writing the cld manual - a couple of bug fixed in the lua code that crept in during some optimizations - removal of some old lua code (not needed any more or replaced by better code) - a couple of patches (or extensions) to macros (due to reports on the list); for instance, the HideLayer and VideLayer reference actions were never implemented; also, some animation code has been added (for WS) - definitions like \definedfont[file:lbr.pfb] are ok now (remapped onto afm, a few line harmless extension) - a replacement of the existing marking mechanism (as used for running headers and footers): less interference with typesetting as mark nodes are no longer part of the game; more robust synchronization of chained marks (sectioning); more robust handling of marking in columns and columnsets; experimental marking in arbitrary constructs (thomas might like that one); not all is tested but we have: the usual marking: first, last, previous, current; these are strict in the sense that they take sectioning into account some new, less strict marking: firstpage, lastpage, previouspage; these ignore sectioning related resets some experimental methods: next, nextpage; these concern parts of paragraphs that end up on the next page, so limited lookahead (in there is interest we can make that full lookahead i.e. future marks) the usual column related marking: \getmarking[chapter][first]/ \getmarking[chapter][page][first]/ \getmarking[chapter][column:first][first]/ \getmarking[chapter][column:1][first]/ \getmarking[chapter][1][first] even more expermental: \definemarking[boxmark] \setbox0\ruledvbox{ \marking[boxmark]{tufte} \input tufte \par \marking[boxmark]{ward} \input ward \par } \synchronizemarking[zerobox][0] \box0 \getmarking[boxmark][zerobox][first] \getmarking[boxmark][zerobox][last] anyhow, it might be that something is broken, but at least this implementation has more potential - the properties mechanism is obsolete and replaced by three mechanism that used them (originally properties dealt with specific engine/backend functionality); the most important ones are \defineviewerlayer[name][options] \startviewerlayer[name]....\stopviewerlayer \viewerlayer[name]{...} and \defineeffect[name][options] \starteffect[name]....\stopviewerlayer \effect[name]{...} where we have predefined (as with former properties): \defineeffect [inner] [alternative=inner,rulethickness=.25pt] \defineeffect [outer] [alternative=outer,rulethickness=.25pt] \defineeffect [both] [alternative=both, rulethickness=.25pt] \defineeffect [normal] [alternative=normal] \defineeffect [hidden] [alternative=hidden] \defineeffect [stretch] [alternative=stretch,stretch=1] the properties commands are still there but map onto these so older code should work ok (but somewhat less efficient) 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,
The symbol of \int look the same not in \displaystyle with cambria
example:
\setupbodyfont[cambria]
\starttext
$\int_a^b=I$
\startformula%\displaystyle
\int_a^b=I
\stopformula
\stoptext
--
Best Regards
Huang Ze
2010/11/13 Hans Hagen
Hi,
I uploaded a new beta (so the minimals will have it in about an hour):
- some cleanup at the lua end as side effect of documenting lua interfacing as part of writing the cld manual
- a couple of bug fixed in the lua code that crept in during some optimizations
- removal of some old lua code (not needed any more or replaced by better code)
- a couple of patches (or extensions) to macros (due to reports on the list); for instance, the HideLayer and VideLayer reference actions were never implemented; also, some animation code has been added (for WS)
- definitions like \definedfont[file:lbr.pfb] are ok now (remapped onto afm, a few line harmless extension)
- a replacement of the existing marking mechanism (as used for running headers and footers): less interference with typesetting as mark nodes are no longer part of the game; more robust synchronization of chained marks (sectioning); more robust handling of marking in columns and columnsets; experimental marking in arbitrary constructs (thomas might like that one); not all is tested but we have:
the usual marking: first, last, previous, current; these are strict in the sense that they take sectioning into account
some new, less strict marking: firstpage, lastpage, previouspage; these ignore sectioning related resets
some experimental methods: next, nextpage; these concern parts of paragraphs that end up on the next page, so limited lookahead (in there is interest we can make that full lookahead i.e. future marks)
the usual column related marking:
\getmarking[chapter][first]/ \getmarking[chapter][page][first]/ \getmarking[chapter][column:first][first]/ \getmarking[chapter][column:1][first]/ \getmarking[chapter][1][first]
even more expermental:
\definemarking[boxmark]
\setbox0\ruledvbox{ \marking[boxmark]{tufte} \input tufte \par \marking[boxmark]{ward} \input ward \par }
\synchronizemarking[zerobox][0] \box0
\getmarking[boxmark][zerobox][first] \getmarking[boxmark][zerobox][last]
anyhow, it might be that something is broken, but at least this implementation has more potential
- the properties mechanism is obsolete and replaced by three mechanism that used them (originally properties dealt with specific engine/backend functionality); the most important ones are
\defineviewerlayer[name][options] \startviewerlayer[name]....\stopviewerlayer \viewerlayer[name]{...}
and
\defineeffect[name][options] \starteffect[name]....\stopviewerlayer \effect[name]{...}
where we have predefined (as with former properties):
\defineeffect [inner] [alternative=inner,rulethickness=.25pt] \defineeffect [outer] [alternative=outer,rulethickness=.25pt] \defineeffect [both] [alternative=both, rulethickness=.25pt] \defineeffect [normal] [alternative=normal] \defineeffect [hidden] [alternative=hidden] \defineeffect [stretch] [alternative=stretch,stretch=1]
the properties commands are still there but map onto these so older code should work ok (but somewhat less efficient)
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 ___________________________________________________________________________________
On 13-11-2010 2:10, Li Yanrui (李延瑞) wrote:
2010/11/13 Hans Hagen
: Hi,
I uploaded a new beta (so the minimals will have it in about an hour):
The line 169 and 171 in strc-mar.lua exist typo. The 'setting' should be 'settings'?
ok, 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 -----------------------------------------------------------------
I get the following error message while running first-setup.sh:
------------
! I can't find file `catc-ini.mkiv'.
<to be read again>
\relax
l.42 \loadmarkfile{catc-ini}
-----------
Strange enough, I find it as
..../tex/texmf-context/tex/context/base/catc-ini.mkiv
Anything I can do about that?
Regards
Erik
2010/11/12 Hans Hagen
Hi,
I uploaded a new beta (so the minimals will have it in about an hour):
- some cleanup at the lua end as side effect of documenting lua interfacing as part of writing the cld manual
- a couple of bug fixed in the lua code that crept in during some optimizations
- removal of some old lua code (not needed any more or replaced by better code)
- a couple of patches (or extensions) to macros (due to reports on the list); for instance, the HideLayer and VideLayer reference actions were never implemented; also, some animation code has been added (for WS)
- definitions like \definedfont[file:lbr.pfb] are ok now (remapped onto afm, a few line harmless extension)
- a replacement of the existing marking mechanism (as used for running headers and footers): less interference with typesetting as mark nodes are no longer part of the game; more robust synchronization of chained marks (sectioning); more robust handling of marking in columns and columnsets; experimental marking in arbitrary constructs (thomas might like that one); not all is tested but we have:
the usual marking: first, last, previous, current; these are strict in the sense that they take sectioning into account
some new, less strict marking: firstpage, lastpage, previouspage; these ignore sectioning related resets
some experimental methods: next, nextpage; these concern parts of paragraphs that end up on the next page, so limited lookahead (in there is interest we can make that full lookahead i.e. future marks)
the usual column related marking:
\getmarking[chapter][first]/ \getmarking[chapter][page][first]/ \getmarking[chapter][column:first][first]/ \getmarking[chapter][column:1][first]/ \getmarking[chapter][1][first]
even more expermental:
\definemarking[boxmark]
\setbox0\ruledvbox{ \marking[boxmark]{tufte} \input tufte \par \marking[boxmark]{ward} \input ward \par }
\synchronizemarking[zerobox][0] \box0
\getmarking[boxmark][zerobox][first] \getmarking[boxmark][zerobox][last]
anyhow, it might be that something is broken, but at least this implementation has more potential
- the properties mechanism is obsolete and replaced by three mechanism that used them (originally properties dealt with specific engine/backend functionality); the most important ones are
\defineviewerlayer[name][options] \startviewerlayer[name]....\stopviewerlayer \viewerlayer[name]{...}
and
\defineeffect[name][options] \starteffect[name]....\stopviewerlayer \effect[name]{...}
where we have predefined (as with former properties):
\defineeffect [inner] [alternative=inner,rulethickness=.25pt] \defineeffect [outer] [alternative=outer,rulethickness=.25pt] \defineeffect [both] [alternative=both, rulethickness=.25pt] \defineeffect [normal] [alternative=normal] \defineeffect [hidden] [alternative=hidden] \defineeffect [stretch] [alternative=stretch,stretch=1]
the properties commands are still there but map onto these so older code should work ok (but somewhat less efficient)
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
___________________________________________________________________________________
On Sat, 13 Nov 2010, Erik Margraf wrote:
I get the following error message while running first-setup.sh: ------------ ! I can't find file `catc-ini.mkiv'. <to be read again> \relax l.42 \loadmarkfile{catc-ini} -----------
Strange enough, I find it as ..../tex/texmf-context/tex/context/base/catc-ini.mkiv
Anything I can do about that?
I had the same error. I am on linux-64 and the luatex binary in linux-64/bin did not have the execute permission set. So the wrong luatex was being used. But I use mtx-update directly, so do not know if this is the same reason for the error in the minimals. Aditya
Thanks! Seems, that this was the (same) reason.
I think I have now working minimals 2010.11.12 18:22
Kind regards
Erik
2010/11/14 Aditya Mahajan
On Sat, 13 Nov 2010, Erik Margraf wrote:
I get the following error message while running first-setup.sh:
------------ ! I can't find file `catc-ini.mkiv'. <to be read again> \relax l.42 \loadmarkfile{catc-ini} -----------
Strange enough, I find it as ..../tex/texmf-context/tex/context/base/catc-ini.mkiv
Anything I can do about that?
I had the same error. I am on linux-64 and the luatex binary in linux-64/bin did not have the execute permission set. So the wrong luatex was being used.
But I use mtx-update directly, so do not know if this is the same reason for the error in the minimals.
Aditya
participants (5)
-
Aditya Mahajan
-
Erik Margraf
-
Hans Hagen
-
Li Yanrui (李延瑞)
-
views63