ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Kip Warner <kip@thevertigo.com>
To: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Broken Nightly (2012.02.18)
Date: Sun, 26 Feb 2012 19:32:35 -0800	[thread overview]
Message-ID: <1330313555.2820.38.camel@kip-laptop> (raw)
In-Reply-To: <4B1806FD-64B7-458D-98DA-DF29D966ED02@googlemail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2050 bytes --]

On Fri, 2012-02-24 at 05:34 +0100, Wolfgang Schuster wrote:
> You should make a minimal example with \starttextbackground which produces the same error as your document.

As a minimal, it seems to work. But as part of my book, it bails with
the following:

graphics        > invalid region for 'tbg:1'
! LuaTeX error /usr/share/texmf/tex/context/base/anch-pgr.lua:530:
attempt to index field 'list' (a nil value)
stack traceback:
	/usr/share/texmf/tex/context/base/anch-pgr.lua:530: in function
'fetchmultipar'
	/usr/share/texmf/tex/context/base/anch-pgr.lua:569: in function
'fetchmultipar'
	<main ctx instance>:1: in main chunk.
\ctxcommand ...\directlua \zerocount {commands.#1}
                                                  
<argument> ...tipars {\MPvar {self}}{\MPanchorid }
                                                   ; \includeMPgraphic
{\MPv...
\meta_process_graphic ...graphicformat ", \!!bs #1
                                                  ;\!!es , \!!bs
\meta_flush...
\anch_positions_meta_graphic_use ...#3\stopMPcode 
                                                  \endgroup 
\anch_positions_meta_graphic_nested ...graphic #2}
                                                  \endgroup 
\anch_positions_meta_graphic_direct_indeed ...ame 

\removelastspace }\smashbo...
...
l.206


I am using it as such:
\starttextbackground[CodeExampleFrame]
...
\stoptextbackground

And the background is defined as such:
\definetextbackground[CodeExampleFrame]
   [corner=round,
    frame=on,
    before={
        \blank[2*big]
    },
    after={
        \blank[2*big]
    },
    color=color_text,
    background=color,
    backgroundcolor=colour_page,
    framecolor=colour_text,
    location=paragraph,
    topoffset=0.5cm,
    bottomoffset=0.5cm,
    leftoffset=0.5cm,
    rightoffset=0.5cm]

This is with ConTeXt version 2012.02.21 14:02 MKIV  fmt: 2012.2.26.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2012-02-27  3:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-21  4:03 Kip Warner
2012-02-21  4:32 ` Wolfgang Schuster
2012-02-21 19:22   ` Kip Warner
2012-02-21 22:21   ` Kip Warner
2012-02-22 21:08     ` Wolfgang Schuster
2012-02-22 21:17       ` Kip Warner
2012-02-22 21:21         ` Wolfgang Schuster
2012-02-24  0:12           ` Kip Warner
2012-02-24  4:34             ` Wolfgang Schuster
2012-02-27  3:32               ` Kip Warner [this message]
2012-02-28 12:20             ` Hans Hagen
2012-02-29  0:37               ` Kip Warner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1330313555.2820.38.camel@kip-laptop \
    --to=kip@thevertigo.com \
    --cc=ntg-context@ntg.nl \
    --cc=schuster.wolfgang@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).