ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \setlayerframed align-option causes shift
@ 2012-01-02 16:04 Andreas Harder
  2012-01-02 16:28 ` beta Hans Hagen
  0 siblings, 1 reply; 19+ messages in thread
From: Andreas Harder @ 2012-01-02 16:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* beta
  2012-01-02 16:04 \setlayerframed align-option causes shift Andreas Harder
@ 2012-01-02 16:28 ` Hans Hagen
  2012-01-02 17:46   ` beta Andreas Harder
  2012-01-02 19:51   ` beta Thomas A. Schmitz
  0 siblings, 2 replies; 19+ messages in thread
From: Hans Hagen @ 2012-01-02 16:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: beta
  2012-01-02 16:28 ` beta Hans Hagen
@ 2012-01-02 17:46   ` Andreas Harder
  2012-01-02 18:41     ` beta Hans Hagen
  2012-01-02 19:51   ` beta Thomas A. Schmitz
  1 sibling, 1 reply; 19+ messages in thread
From: Andreas Harder @ 2012-01-02 17:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: beta
  2012-01-02 17:46   ` beta Andreas Harder
@ 2012-01-02 18:41     ` Hans Hagen
  2012-01-02 19:23       ` beta Andreas Harder
  2012-01-02 20:06       ` beta Andreas Harder
  0 siblings, 2 replies; 19+ messages in thread
From: Hans Hagen @ 2012-01-02 18:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: beta
  2012-01-02 18:41     ` beta Hans Hagen
@ 2012-01-02 19:23       ` Andreas Harder
  2012-01-02 20:06       ` beta Andreas Harder
  1 sibling, 0 replies; 19+ messages in thread
From: Andreas Harder @ 2012-01-02 19:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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!
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: beta
  2012-01-02 16:28 ` beta Hans Hagen
  2012-01-02 17:46   ` beta Andreas Harder
@ 2012-01-02 19:51   ` Thomas A. Schmitz
  2012-01-02 20:08     ` beta Wolfgang Schuster
  2012-01-02 20:44     ` beta Hans Hagen
  1 sibling, 2 replies; 19+ messages in thread
From: Thomas A. Schmitz @ 2012-01-02 19:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: beta
  2012-01-02 18:41     ` beta Hans Hagen
  2012-01-02 19:23       ` beta Andreas Harder
@ 2012-01-02 20:06       ` Andreas Harder
  2012-01-03  0:12         ` beta Andreas Harder
  1 sibling, 1 reply; 19+ messages in thread
From: Andreas Harder @ 2012-01-02 20:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: beta
  2012-01-02 19:51   ` beta Thomas A. Schmitz
@ 2012-01-02 20:08     ` Wolfgang Schuster
  2012-01-02 20:19       ` beta Thomas A. Schmitz
  2012-01-02 20:44     ` beta Hans Hagen
  1 sibling, 1 reply; 19+ messages in thread
From: Wolfgang Schuster @ 2012-01-02 20:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: beta
  2012-01-02 20:08     ` beta Wolfgang Schuster
@ 2012-01-02 20:19       ` Thomas A. Schmitz
  2012-01-02 20:29         ` beta Wolfgang Schuster
  2012-01-02 20:45         ` beta Hans Hagen
  0 siblings, 2 replies; 19+ messages in thread
From: Thomas A. Schmitz @ 2012-01-02 20:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: beta
  2012-01-02 20:19       ` beta Thomas A. Schmitz
@ 2012-01-02 20:29         ` Wolfgang Schuster
  2012-01-02 20:30           ` beta Thomas A. Schmitz
  2012-01-02 20:45         ` beta Hans Hagen
  1 sibling, 1 reply; 19+ messages in thread
From: Wolfgang Schuster @ 2012-01-02 20:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: beta
  2012-01-02 20:29         ` beta Wolfgang Schuster
@ 2012-01-02 20:30           ` Thomas A. Schmitz
  0 siblings, 0 replies; 19+ messages in thread
From: Thomas A. Schmitz @ 2012-01-02 20:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: beta
  2012-01-02 19:51   ` beta Thomas A. Schmitz
  2012-01-02 20:08     ` beta Wolfgang Schuster
@ 2012-01-02 20:44     ` Hans Hagen
  2012-01-02 22:25       ` beta Thomas A. Schmitz
  1 sibling, 1 reply; 19+ messages in thread
From: Hans Hagen @ 2012-01-02 20:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thomas A. Schmitz

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: beta
  2012-01-02 20:19       ` beta Thomas A. Schmitz
  2012-01-02 20:29         ` beta Wolfgang Schuster
@ 2012-01-02 20:45         ` Hans Hagen
  2012-01-02 22:23           ` beta Thomas A. Schmitz
  1 sibling, 1 reply; 19+ messages in thread
From: Hans Hagen @ 2012-01-02 20:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Thomas A. Schmitz

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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: beta
  2012-01-02 20:45         ` beta Hans Hagen
@ 2012-01-02 22:23           ` Thomas A. Schmitz
  2012-01-02 22:46             ` beta Wolfgang Schuster
  0 siblings, 1 reply; 19+ messages in thread
From: Thomas A. Schmitz @ 2012-01-02 22:23 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: beta
  2012-01-02 20:44     ` beta Hans Hagen
@ 2012-01-02 22:25       ` Thomas A. Schmitz
  2012-01-02 22:54         ` beta Wolfgang Schuster
  0 siblings, 1 reply; 19+ messages in thread
From: Thomas A. Schmitz @ 2012-01-02 22:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: beta
  2012-01-02 22:23           ` beta Thomas A. Schmitz
@ 2012-01-02 22:46             ` Wolfgang Schuster
  2012-01-02 22:48               ` beta Thomas A. Schmitz
  0 siblings, 1 reply; 19+ messages in thread
From: Wolfgang Schuster @ 2012-01-02 22:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: beta
  2012-01-02 22:46             ` beta Wolfgang Schuster
@ 2012-01-02 22:48               ` Thomas A. Schmitz
  0 siblings, 0 replies; 19+ messages in thread
From: Thomas A. Schmitz @ 2012-01-02 22:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 01/02/2012 11:46 PM, Wolfgang Schuster wrote:
> You have \definefontfeature[default][default][protrusion=quality] or a similar setting in your document?
>
> Wolfgang

Now I do... Thanks Wolfgang, it works now!

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: beta
  2012-01-02 22:25       ` beta Thomas A. Schmitz
@ 2012-01-02 22:54         ` Wolfgang Schuster
  0 siblings, 0 replies; 19+ messages in thread
From: Wolfgang Schuster @ 2012-01-02 22:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: beta
  2012-01-02 20:06       ` beta Andreas Harder
@ 2012-01-03  0:12         ` Andreas Harder
  0 siblings, 0 replies; 19+ messages in thread
From: Andreas Harder @ 2012-01-03  0:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2012-01-03  0:12 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-02 16:04 \setlayerframed align-option causes shift Andreas Harder
2012-01-02 16:28 ` beta Hans Hagen
2012-01-02 17:46   ` beta Andreas Harder
2012-01-02 18:41     ` beta Hans Hagen
2012-01-02 19:23       ` beta Andreas Harder
2012-01-02 20:06       ` beta Andreas Harder
2012-01-03  0:12         ` beta Andreas Harder
2012-01-02 19:51   ` beta Thomas A. Schmitz
2012-01-02 20:08     ` beta Wolfgang Schuster
2012-01-02 20:19       ` beta Thomas A. Schmitz
2012-01-02 20:29         ` beta Wolfgang Schuster
2012-01-02 20:30           ` beta Thomas A. Schmitz
2012-01-02 20:45         ` beta Hans Hagen
2012-01-02 22:23           ` beta Thomas A. Schmitz
2012-01-02 22:46             ` beta Wolfgang Schuster
2012-01-02 22:48               ` beta Thomas A. Schmitz
2012-01-02 20:44     ` beta Hans Hagen
2012-01-02 22:25       ` beta Thomas A. Schmitz
2012-01-02 22:54         ` beta Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).