From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83576 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: Inserting verbatim text in a figure and framed. Date: Tue, 30 Jul 2013 21:30:18 +0200 Message-ID: <87li4nrgl1.fsf@micropit.couberia.selfip.net> References: <20130730151110.1070203b@wexfordpress> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1375212635 14491 80.91.229.3 (30 Jul 2013 19:30:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jul 2013 19:30:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 30 21:30:38 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V4Fcz-00055l-VP for gctc-ntg-context-518@m.gmane.org; Tue, 30 Jul 2013 21:30:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 595D8101EC; Tue, 30 Jul 2013 21:30:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id upGb+W9ksPki; Tue, 30 Jul 2013 21:30:05 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A9F2E101E5; Tue, 30 Jul 2013 21:30:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B3E18101E5 for ; Tue, 30 Jul 2013 21:30:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id hTfWwMV1kZUS for ; Tue, 30 Jul 2013 21:29:54 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id E290B101E4 for ; Tue, 30 Jul 2013 21:29:54 +0200 (CEST) Original-Received: from smtp.smtpout.orange.fr (smtp12.smtpout.orange.fr [80.12.242.134]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r6UJUJF9019525 for ; Tue, 30 Jul 2013 21:30:22 +0200 Original-Received: from micropit.couberia.selfip.net ([2.14.212.139]) by mwinf5d35 with ME id 6jWJ1m008310nHN03jWJ8e; Tue, 30 Jul 2013 21:30:19 +0200 Original-Received: by micropit.couberia.selfip.net (Postfix, from userid 1000) id 52AE1A616F9; Tue, 30 Jul 2013 21:30:18 +0200 (CEST) Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: <20130730151110.1070203b@wexfordpress> (john Culleton's message of "Tue, 30 Jul 2013 15:11:10 -0400") User-Agent: Gnus/5.130008 (=?utf-8?Q?=E7=9C=9F?= Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.134; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06K6HujL0 - 8350b2826218 - 20130730 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83576 Archived-At: On Tue, Jul 30 2013, john Culleton wrote: > Here is my code so far. I want to show a file in verbatim form. It > compiles but here is no frame around the text and there is no caption. Hi, this works here: --8<---------------cut here---------------start------------->8--- \starttext \startbuffer[ex1] \typefile[]{test.tex} \stopbuffer \placefigure[here][fig:ex1] {Example 1} {\framed{\externalfigure[ex1.buffer][width=.75\textwidth]}} \stoptext --8<---------------cut here---------------end--------------->8--- ConTeXt version: 2013.05.28 00:36 -- Peter ___________________________________________________________________________________ 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 ___________________________________________________________________________________