\setlayerframed align-option causes shift
Hi Hans, setting the align-option of \setlayerframed causes a small (but visible) right shift. \definelayer[page][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=page] \starttext \showframe \setlayerframed [page] [x=\backspace,y=\topspace] [width=broad,height=\headerheight,align=right] {Not OK} % [width=broad,height=\headerheight] {OK} \page[empty] \stoptext Regards Andreas
Hi, I uploaded a new beta ... hopefully not too many renaming side effects 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 02.01.2012, at 17:28, Hans Hagen wrote:
Hi,
I uploaded a new beta ... hopefully not too many renaming side effects
• xtables \starttext \startxtable \startxrow \startxcell test \stopxcell \stopxrow \stopxtable \stoptext ! LuaTeX error ...-old/tex/texmf-context/tex/context/base/tabl-xtb.lua:913: incorrect index value -1 for tex.getcount() • drawoptions + textext() \startMPpage[offset=1ex] drawoptions(withcolor red) ; draw textext("test") ; \stopMPpage ! TeX capacity exceeded, sorry [input stack size=10000]. Greeting Andreas
On 2-1-2012 18:46, Andreas Harder wrote:
! LuaTeX error ...-old/tex/texmf-context/tex/context/base/tabl-xtb.lua:913: incorrect index value -1 for tex.getcount() ! TeX capacity exceeded, sorry [input stack size=10000].
fixed ----------------------------------------------------------------- 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 02.01.2012, at 19:41, Hans Hagen wrote:
On 2-1-2012 18:46, Andreas Harder wrote:
! LuaTeX error ...-old/tex/texmf-context/tex/context/base/tabl-xtb.lua:913: incorrect index value -1 for tex.getcount() ! TeX capacity exceeded, sorry [input stack size=10000].
fixed
Thanks!
On 02.01.2012, at 19:41, Hans Hagen wrote:
On 2-1-2012 18:46, Andreas Harder wrote:
! LuaTeX error ...-old/tex/texmf-context/tex/context/base/tabl-xtb.lua:913: incorrect index value -1 for tex.getcount() ! TeX capacity exceeded, sorry [input stack size=10000].
fixed
• \processxtablebuffer[…] \starttext \startbuffer[table] \startxtable \startxrow \startxcell test \stopxcell \stopxrow \stopxtable \stopbuffer \processxtablebuffer[table] % \getbuffer[table] % OK \stoptext ! File ended while scanning use of \next. Andreas
On 02.01.2012, at 21:06, Andreas Harder wrote:
On 02.01.2012, at 19:41, Hans Hagen wrote:
On 2-1-2012 18:46, Andreas Harder wrote:
! LuaTeX error ...-old/tex/texmf-context/tex/context/base/tabl-xtb.lua:913: incorrect index value -1 for tex.getcount() ! TeX capacity exceeded, sorry [input stack size=10000].
fixed
• \processxtablebuffer[…]
\starttext \startbuffer[table] \startxtable \startxrow \startxcell test \stopxcell \stopxrow \stopxtable \stopbuffer \processxtablebuffer[table] % \getbuffer[table] % OK \stoptext
! File ended while scanning use of \next.
Fixed, thank you! Probably the last for today. \defineinterlinespace[heads][line=2ex] \setuphead[chapter][interlinespace=heads] \starttext \chapter{Some long chapter head. Some long chapter head.} \stoptext ! Undefined control sequence. Andreas
On 01/02/2012 05:28 PM, Hans Hagen wrote:
Hi,
I uploaded a new beta ... hopefully not too many renaming side effects
Hi Hans, all best for the New Year! And thanks for the wonderful New Year's card - I received two of them and could appreciate the full randomness of it all... In the latest beta, the file hand-ini.mkiv is gone, so \enableprotruding is no longer defined. An oversight, I guess? Other than that, the parameters mechanism appears to have changed, so it baulks at our simpleslides module which uses this all over the place. I'll have to make a minimal example later. I keep 2011.11.29 around, for when I need urgent results... All best Thomas
Am 02.01.2012 um 20:51 schrieb Thomas A. Schmitz:
On 01/02/2012 05:28 PM, Hans Hagen wrote:
Hi,
I uploaded a new beta ... hopefully not too many renaming side effects
Hi Hans,
all best for the New Year! And thanks for the wonderful New Year's card - I received two of them and could appreciate the full randomness of it all...
In the latest beta, the file hand-ini.mkiv is gone,
I can’t reproduce this because I have the file on my system.
so \enableprotruding is no longer defined. An oversight, I guess? Other than that, the parameters mechanism appears to have changed, so it baulks at our simpleslides module which uses this all over the place. I'll have to make a minimal example later. I keep 2011.11.29 around, for when I need urgent results…
Protrusion and font expansion are enabled with \setupalign[hanging] and \setupalign[hz] (or “align=hanging” and “align=hz” for \framed). Wolfgang
On 01/02/2012 09:08 PM, Wolfgang Schuster wrote:
In the latest beta, the file hand-ini.mkiv is gone, I can’t reproduce this because I have the file on my system.
That may be the case, but the question is how it got there. Not by running first-setup.sh - I just did a test run into an empty directory, and it's not there.
so \enableprotruding is no longer defined. An oversight, I guess? Other than that, the parameters mechanism appears to have changed, so it baulks at our simpleslides module which uses this all over the place. I'll have to make a minimal example later. I keep 2011.11.29 around, for when I need urgent results… Protrusion and font expansion are enabled with \setupalign[hanging] and \setupalign[hz] (or “align=hanging” and “align=hz” for \framed).
Is \enableprotruding obsolete, then? Thomas
Am 02.01.2012 um 21:19 schrieb Thomas A. Schmitz:
On 01/02/2012 09:08 PM, Wolfgang Schuster wrote:
In the latest beta, the file hand-ini.mkiv is gone, I can’t reproduce this because I have the file on my system.
That may be the case, but the question is how it got there. Not by running first-setup.sh - I just did a test run into an empty directory, and it's not there.
I deleted the texmf-context folder and hand-ini.mkiv was downloaded when I run first-setup.sh, it’s also included in the cont-tmf archive from Hans.
so \enableprotruding is no longer defined. An oversight, I guess? Other than that, the parameters mechanism appears to have changed, so it baulks at our simpleslides module which uses this all over the place. I'll have to make a minimal example later. I keep 2011.11.29 around, for when I need urgent results… Protrusion and font expansion are enabled with \setupalign[hanging] and \setupalign[hz] (or “align=hanging” and “align=hz” for \framed).
Is \enableprotruding obsolete, then?
Yes, it’s now a internal command with the name \font_expansion_enable (the _ means it’s a internal command). Wolfgang
On 01/02/2012 09:29 PM, Wolfgang Schuster wrote:
I deleted the texmf-context folder and hand-ini.mkiv was downloaded when I run first-setup.sh, it’s also included in the cont-tmf archive from Hans.
Hmm, maybe system-dependent? I'm on linux-64; I'll try with my OS X box. Thomas
On 2-1-2012 21:19, Thomas A. Schmitz wrote:
On 01/02/2012 09:08 PM, Wolfgang Schuster wrote:
In the latest beta, the file hand-ini.mkiv is gone, I can’t reproduce this because I have the file on my system.
That may be the case, but the question is how it got there. Not by running first-setup.sh - I just did a test run into an empty directory, and it's not there.
so \enableprotruding is no longer defined. An oversight, I guess? Other than that, the parameters mechanism appears to have changed, so it baulks at our simpleslides module which uses this all over the place. I'll have to make a minimal example later. I keep 2011.11.29 around, for when I need urgent results… Protrusion and font expansion are enabled with \setupalign[hanging] and \setupalign[hz] (or “align=hanging” and “align=hz” for \framed).
Is \enableprotruding obsolete, then?
One can wonder if it ever was solete 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 01/02/2012 09:45 PM, Hans Hagen wrote:
Is \enableprotruding obsolete, then? One can wonder if it ever was solete
Hans
OK, I see :-) Must have been a leftover from the olden days, when we had to compile our context documents with a magnetized needle and a steady hand directly on the hard disk, remember those days? So anyway: I just found hand-ini.mkiv even on my linux installation, I had just not looked hard enough. The command is gone, and after replacing \enableprotruding with the proper new command, the document compiles (without protrusion, but that's another story...) Thanks, and all best Thomas
Am 02.01.2012 um 23:23 schrieb Thomas A. Schmitz:
On 01/02/2012 09:45 PM, Hans Hagen wrote:
Is \enableprotruding obsolete, then? One can wonder if it ever was solete
Hans
OK, I see :-) Must have been a leftover from the olden days, when we had to compile our context documents with a magnetized needle and a steady hand directly on the hard disk, remember those days? So anyway: I just found hand-ini.mkiv even on my linux installation, I had just not looked hard enough. The command is gone, and after replacing \enableprotruding with the proper new command, the document compiles (without protrusion, but that's another story…)
You have \definefontfeature[default][default][protrusion=quality] or a similar setting in your document? Wolfgang
On 2-1-2012 20:51, Thomas A. Schmitz wrote:
all best for the New Year! And thanks for the wonderful New Year's card - I received two of them and could appreciate the full randomness of it all...
Thanks for your calendar .. always impressive to read how active your kids are
In the latest beta, the file hand-ini.mkiv is gone, so \enableprotruding
That's a low level thing ... never meant to be used by users .. it's: \setupalign[hanging]
is no longer defined. An oversight, I guess? Other than that, the parameters mechanism appears to have changed, so it baulks at our simpleslides module which uses this all over the place. I'll have to make a minimal example later. I keep 2011.11.29 around, for when I need urgent results...
well, not really changed, but extended ... depends on how you use it ... I'm busy changing all namespaces and renaming low level code .. but regular parameter code should work (unless you use real low level never meant to be used code) ... what is the message? 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 01/02/2012 09:44 PM, Hans Hagen wrote:
Other than that, the parameters mechanism appears to have changed, so it baulks at our simpleslides module which uses this all over the place. I'll have to make a minimal example later. I keep 2011.11.29 around, for when I need urgent results...
well, not really changed, but extended ... depends on how you use it ... I'm busy changing all namespaces and renaming low level code .. but regular parameter code should work (unless you use real low level never meant to be used code) ... what is the message?
Here it is: ! Undefined control sequence. system > tex > error on line 214 in file archaik.run: Undefined control sequence ... <argument> \??vars :simpleslides:title: \dousestylehashparameter #1#2->\ifcsname #1 #2\endcsname \expandafter \douses... \dostartattributes ...estylehashparameter {#1}{#2} \dousecolorhashparameter {... \placeTitle ...pleslides:title:}\c!style \c!color \simpleslidestitlecomponen... \006>:xml:presentation ...{#1}{date}}]\placeTitle \xmltext {#1}{content} \pa... l.214 } But don't spend time on it, unless it immediately rings a bell, I'll try and come up with a simple example tomorrow. Thomas
Am 02.01.2012 um 23:25 schrieb Thomas A. Schmitz:
On 01/02/2012 09:44 PM, Hans Hagen wrote:
Other than that, the parameters mechanism appears to have changed, so it baulks at our simpleslides module which uses this all over the place. I'll have to make a minimal example later. I keep 2011.11.29 around, for when I need urgent results...
well, not really changed, but extended ... depends on how you use it ... I'm busy changing all namespaces and renaming low level code .. but regular parameter code should work (unless you use real low level never meant to be used code) ... what is the message?
Here it is:
! Undefined control sequence.
system > tex > error on line 214 in file archaik.run: Undefined control sequence ...
<argument> \??vars :simpleslides:title: \dousestylehashparameter #1#2->\ifcsname #1 #2\endcsname \expandafter \douses... \dostartattributes ...estylehashparameter {#1}{#2} \dousecolorhashparameter {... \placeTitle ...pleslides:title:}\c!style \c!color \simpleslidestitlecomponen... \006>:xml:presentation ...{#1}{date}}]\placeTitle \xmltext {#1}{content} \pa... l.214 }
But don't spend time on it, unless it immediately rings a bell, I'll try and come up with a simple example tomorrow.
Hans changed many of the namespaces from short to longer forms and what you did in your simple slides module isn’t good style anymore simpleslides-s-default.tex: \def\simpleslidestitlecomponent#1% {\simpleslidestitleparameter{\c!before#1} \startalignment[\simpleslidestitleparameter{#1\c!align}] \doattributes{\??vars:simpleslides:title:}{#1\c!style}{#1\c!color} {\getvariable{simpleslides:title}{#1}} \stopalignment \simpleslidestitleparameter{\c!after#1}} The best is to replace your \setvariables based setup commands with a \getparameters based variant, for mkiv there are many helper functions in mult-aux.mkiv. Wolfgang
participants (4)
-
Andreas Harder
-
Hans Hagen
-
Thomas A. Schmitz
-
Wolfgang Schuster