ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bug in \doattributed[box|copy]
@ 2007-12-30 14:09 Peter Rolf
  2007-12-30 17:01 ` luigi scarso
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Rolf @ 2007-12-30 14:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

Hi,

compilation still breaks in case of a vbox. Minimal example attached.

Best wishes and a happy new year,

Peter


-------------------------------------------------------------
Among the maxims on Lord Naoshige's wall there was this one:
"Matters of great concern should be treated lightly."
Master Ittei commented,
"Matters of small concern should be treated seriously." [..]

						(Hagakure)

[-- Attachment #2: test.tex --]
[-- Type: text/plain, Size: 132 bytes --]

% engine=luatex
\starttext

\enableattributeinheritance

\setbox\scratchbox\vbox{foo}
\attributedbox\scratchbox

\stoptext

[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: bug in \doattributed[box|copy]
  2007-12-30 14:09 bug in \doattributed[box|copy] Peter Rolf
@ 2007-12-30 17:01 ` luigi scarso
  2007-12-30 17:37   ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: luigi scarso @ 2007-12-30 17:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Dec 30, 2007 3:09 PM, Peter Rolf <indiego@gmx.net> wrote:
> Hi,
>
> compilation still breaks in case of a vbox. Minimal example attached.
Confirm with last mkiv
This is LuaTeX, Version snapshot-0.20.2-2007121721 (Web2C 7.5.6)
ConTeXt  ver: 2007.12.29 22:30 MKIV  fmt: 2007.12.30  int: english/english

With hbox compilation is ok.

-- 
luigi
http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007
....
it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: bug in \doattributed[box|copy]
  2007-12-30 17:01 ` luigi scarso
@ 2007-12-30 17:37   ` Wolfgang Schuster
  2007-12-30 18:49     ` luigi scarso
  2007-12-30 21:30     ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2007-12-30 17:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Dec 30, 2007 6:01 PM, luigi scarso <luigi.scarso@gmail.com> wrote:
> On Dec 30, 2007 3:09 PM, Peter Rolf <indiego@gmx.net> wrote:
> > Hi,
> >
> > compilation still breaks in case of a vbox. Minimal example attached.
> Confirm with last mkiv
> This is LuaTeX, Version snapshot-0.20.2-2007121721 (Web2C 7.5.6)
> ConTeXt  ver: 2007.12.29 22:30 MKIV  fmt: 2007.12.30  int: english/english
>
> With hbox compilation is ok.

Easy to fix.

% engine=luatex

\def\dodoattributedcopy
  {\startinheritattributes\ifvbox\attributeboxcount\vbox\else\hbox\fi
     {\ifvbox\attributeboxcount\unvcopy\else\unhcopy\fi\attributeboxcount}%
   \stopinheritattributes}

\def\dodoattributedbox
  {\startinheritattributes\ifvbox\attributeboxcount\vbox\else\hbox\fi
     {\ifvbox\attributeboxcount\unvbox\else\unhbox\fi\attributeboxcount}%
   \stopinheritattributes}

\starttext

\enableattributeinheritance

\setbox\scratchbox\vbox{foo}
\attributedbox\scratchbox

\stoptext

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: bug in \doattributed[box|copy]
  2007-12-30 17:37   ` Wolfgang Schuster
@ 2007-12-30 18:49     ` luigi scarso
  2007-12-30 21:30     ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: luigi scarso @ 2007-12-30 18:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

> Easy to fix.
>
> % engine=luatex
>
> \def\dodoattributedcopy
>   {\startinheritattributes\ifvbox\attributeboxcount\vbox\else\hbox\fi
>      {\ifvbox\attributeboxcount\unvcopy\else\unhcopy\fi\attributeboxcount}%
>    \stopinheritattributes}
>
> \def\dodoattributedbox
>   {\startinheritattributes\ifvbox\attributeboxcount\vbox\else\hbox\fi
>      {\ifvbox\attributeboxcount\unvbox\else\unhbox\fi\attributeboxcount}%
>    \stopinheritattributes}
>
> \starttext
>
> \enableattributeinheritance
>
> \setbox\scratchbox\vbox{foo}
> \attributedbox\scratchbox
>
> \stoptext
>
> Wolfgang

Compilation ok with last mkiv
This is LuaTeX, Version snapshot-0.20.2-2007121721 (Web2C 7.5.6)
ConTeXt  ver: 2007.12.29 22:30 MKIV  fmt: 2007.12.30  int: english/english
-- 
luigi
http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007
....
it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: bug in \doattributed[box|copy]
  2007-12-30 17:37   ` Wolfgang Schuster
  2007-12-30 18:49     ` luigi scarso
@ 2007-12-30 21:30     ` Hans Hagen
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2007-12-30 21:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster wrote:

> Easy to fix.

ok, will be fixed in next upload


-----------------------------------------------------------------
                                           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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2007-12-30 21:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-30 14:09 bug in \doattributed[box|copy] Peter Rolf
2007-12-30 17:01 ` luigi scarso
2007-12-30 17:37   ` Wolfgang Schuster
2007-12-30 18:49     ` luigi scarso
2007-12-30 21:30     ` Hans Hagen

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).