From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36651 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: placing movies Date: Tue, 18 Sep 2007 18:56:23 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/mixed; boundary="===============0310343929==" X-Trace: sea.gmane.org 1190134699 21177 80.91.229.12 (18 Sep 2007 16:58:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2007 16:58:19 +0000 (UTC) To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 18 18:58:12 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IXgOW-0007yq-KN for gctc-ntg-context-518@m.gmane.org; Tue, 18 Sep 2007 18:57:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D96591FF86; Tue, 18 Sep 2007 18:57:50 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16367-02-3; Tue, 18 Sep 2007 18:57:34 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 876031FF7E; Tue, 18 Sep 2007 18:57:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B1E6F1FF7E for ; Tue, 18 Sep 2007 18:57:29 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16367-02-2 for ; Tue, 18 Sep 2007 18:57:21 +0200 (CEST) Original-Received: from smtp.science.uva.nl (smtp.science.uva.nl [146.50.4.84]) by ronja.ntg.nl (Postfix) with ESMTP id 4B46B1FF7C for ; Tue, 18 Sep 2007 18:57:21 +0200 (CEST) Original-Received: from 118-15.uva.surfnetthuis.nl [145.98.118.15] by smtp.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.38). id l8IGvJ423398; Tue, 18 Sep 2007 18:57:19 +0200 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: by amavisd-new X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:36651 Archived-At: --===============0310343929== Content-Type: multipart/alternative; boundary=Apple-Mail-1--773498019 --Apple-Mail-1--773498019 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Placing a movie with the following code places the static overlay a bit (too far) to the right, spilling it on the right side out of the frame: \useexternalrendering[sharkfilm][video/quicktime][shark.mp4] \defineoverlay [shark][{\externalfigure[shark-film][width=\overlaywidth,type=jpg]}] \starttext ... \midaligned{%\framed[offset=0pt, strut=no, background= {foreground,shark}]% {\placerenderingwindow[movie][sharkfilm]}}% Is there some spurious space in the code? Perhaps a missing % at the end of a line? I could not spot the culprit in the code, but I might have been looking in the wrong places. Then as an additional question: When running the movie a thin white frame line appears around it. I find it annoying but did not find out how to get rid of it. Nor have I been able to change the background color locally (when leaving out the external figure in the overlay) or get rid of the text "Screen" that appears. I found a macro \setuprenderingwindow but did not find out about the settings it understands. Can someone enlighten me? Hans van der Meer --Apple-Mail-1--773498019 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Placing a movie with the = following code places the static overlay a bit (too far) to the right, = spilling it on the right side out of the frame:

\useexternalrendering[sharkfi= lm][video/quicktime][shark.mp4]
\defineoverlay
= [shark][{\externalfigure[shark-film][width=3D\overlaywidth,type=3Dj= pg]}]
\starttext
...
\midaligned{%\framed[of= fset=3D0pt, strut=3Dno, background=3D{foreground,shark}]%
= {\placerenderingwindow[movie][sharkfilm]}}%

Is there some spurious = space in the code? Perhaps a missing % at the end of a line? I could not = spot the culprit in the code, but I might have been looking in the wrong = places.

Then = as an additional question:

When running the movie a = thin white frame line appears around it. I find it annoying but did not = find out how to get rid of it. Nor have I been able to change the = background color locally (when leaving out the external figure in the = overlay) or get rid of the text "Screen" that appears.
I found = a macro=A0\setuprenderingwindow but did not find out about the settings = it understands.

Can someone enlighten = me?

Hans van der = Meer

=

= --Apple-Mail-1--773498019-- --===============0310343929== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0310343929==--