ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Helmut Schwertner <helmut.schwertner@gmx.de>
To: ntg-context@ntg.nl
Subject: Problem with \definetextbackground
Date: Tue, 04 Aug 2009 16:46:01 +0200	[thread overview]
Message-ID: <4A7849A9.7070505@gmx.de> (raw)

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
<inserted text> ...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.
<inserted text> ...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
___________________________________________________________________________________


                 reply	other threads:[~2009-08-04 14:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4A7849A9.7070505@gmx.de \
    --to=helmut.schwertner@gmx.de \
    --cc=ntg-context@ntg.nl \
    /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).