From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52072 Path: news.gmane.org!not-for-mail From: Helmut Schwertner Newsgroups: gmane.comp.tex.context Subject: Problem with \definetextbackground Date: Tue, 04 Aug 2009 16:46:01 +0200 Message-ID: <4A7849A9.7070505@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249397182 9745 80.91.229.12 (4 Aug 2009 14:46:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2009 14:46:22 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 04 16:46:13 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from [195.12.62.10] (helo=balder.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MYLHG-0004ul-7f for gctc-ntg-context-518@m.gmane.org; Tue, 04 Aug 2009 16:46:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 33949C9BAE; Tue, 4 Aug 2009 16:46:08 +0200 (CEST) Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jHsgDPB8LSlE; Tue, 4 Aug 2009 16:46:07 +0200 (CEST) Original-Received: from balder.elvenkind.com (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BB62CC9B8C; Tue, 4 Aug 2009 16:46:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 14079C9B8C for ; Tue, 4 Aug 2009 16:46:06 +0200 (CEST) Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vHOeX7+LBGWP for ; Tue, 4 Aug 2009 16:46:06 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by balder.ntg.nl (Postfix) with SMTP id E98F9C9B7E for ; Tue, 4 Aug 2009 16:46:05 +0200 (CEST) Original-Received: (qmail invoked by alias); 04 Aug 2009 14:46:03 -0000 Original-Received: from p5489EEFD.dip.t-dialin.net (EHLO [192.168.0.2]) [84.137.238.253] by mail.gmx.net (mp066) with SMTP; 04 Aug 2009 16:46:03 +0200 X-Authenticated: #30144521 X-Provags-ID: V01U2FsdGVkX1+o5L4OxtGoHEcbGydmXzwPIopbVN/Fgp6cxW/+zf zdhtMfGuM7qRjS User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.53 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Broken-Reverse-DNS: no host name found for IP address 195.12.62.10 Xref: news.gmane.org gmane.comp.tex.context:52072 Archived-At: Hello, I have a problem with the following file: %%%%%%%%%%%%%%%%test.tex%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setupcolors[state=start] \definetextbackground[verbatim] [background=color,backgroundcolor=yellow,backgroundoffset=0cm,offset=0.5cm,frame=on,framecolor=black,location=paragraph,color=black] \setuptyping[typing][margin=1cm,bodyfont=8.0pt,before={\starttextbackground[verbatim]},after={\stoptextbackground}] \starttext \starttyping This is the first line. This is the second line. \stoptyping \stoptext %%%%%%%%%%%%%%%%test.tex%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% I use contextminimals (latest version) with mkii (texexec testfile) and get the sign of interrogation: color : system rgb is global activated (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) ! Undefined control sequence. \initializeparbackgrounds ...e \enableparposition \fi ...page \initializeparbackgrounds \loadctxpreplist \checkref... \doateverystarttext ->\the \everystarttext \global \everystarttext \emptytoks \starttext ->\doateverystarttext \ifcase \textlevel \registerfileinfo [begin... l.22 \starttext ? (./test.tuo) ... When I press the "return"-button all works fine and I get the pdf-document as I want it. What can I do to get the pdf without stop? When I use mkiv (context test) I get the following message without any pdf: mplib : initializing instance 'metafun' using format 'metafun' mplib : loading 'metafun.mp' from 'C:/context/tex/texmf-cache/luatex-c ache/context/2fea56f92e5267d7cc9662e4d5f52e1e/formats/cont-en-metafun.mem' ! Emergency stop. ...ore.mp ; fi ; ;;;]===], false)} \processMPgraphic ...s ;\!!es , \MPaskedfigure )}} \egroup \global \MPinstanc... \useMPpositiongraphic ...tartMPcode #3\stopMPcode \egroup \doMPpositiongraphic ...riables \getvalue {MPG:#1} } \doMPpositiongraphic ...fined {MPG:#1}\donothing } \removelastspace }\smashbo... \dohandleMPpositiongraphicrange ...raphic {#3}{#4} \fi \fi ... l.27 \stoptext ! ==> Fatal error occurred, no output PDF file produced!MTXrun | fatal error, r eturn code: 1 What can I do? Thanks a lot! Helmut -- ******************************************************** Helmut Schwertner Kirchweg 154 28201 Bremen Phone: 0421 528 58 22 Mobil: 01577 195 37 78 eMail: helmut.schwertner@gmx.de ___________________________________________________________________________________ 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 ___________________________________________________________________________________