From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83577 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Inserting verbatim text in a figure and framed. Date: Tue, 30 Jul 2013 23:03:32 +0200 Message-ID: References: <20130730151110.1070203b@wexfordpress> <87li4nrgl1.fsf@micropit.couberia.selfip.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1375218253 10750 80.91.229.3 (30 Jul 2013 21:04:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jul 2013 21:04:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 30 23:04:16 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 1V4H5X-00063g-GR for gctc-ntg-context-518@m.gmane.org; Tue, 30 Jul 2013 23:04:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F0F1B101E9; Tue, 30 Jul 2013 23:03:41 +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 jCaqsfIrthtB; Tue, 30 Jul 2013 23:03:30 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E7E08101E5; Tue, 30 Jul 2013 23:03:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 63E86101E5 for ; Tue, 30 Jul 2013 23:03:28 +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 tpD+qn6eTNkH for ; Tue, 30 Jul 2013 23:03:07 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id A52A6101E4 for ; Tue, 30 Jul 2013 23:03:07 +0200 (CEST) Original-Received: from mail-ee0-x232.google.com (mail-ee0-x232.google.com [IPv6:2a00:1450:4013:c00::232]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r6UL3Zcc009520 for ; Tue, 30 Jul 2013 23:03:35 +0200 Original-Received: by mail-ee0-f50.google.com with SMTP id d51so2366403eek.23 for ; Tue, 30 Jul 2013 14:03:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=2dWIVAlAFxIMy97j9189owjgwTiSuCjAU0IFKy+sKfw=; b=jgd5uN8D+CJaLPSSJqYxcjaikMswHOjN1a1TGZUSnkqjYFf5qKgzd88jllO7F+zPqu vJ6jdS9rpW7II/oCTaPqTVsxUCFQk8JcWY6kL9ZdJcA0kyp37+hEpolxEvwW4ALYWmjz HlY8kdnTNRAcnFTaK/mAt9uAYjGurTsjOnCvQOThN4WTpWAo1GsauSlLu1ElTMj7fx9u /EzqIH3xPqMt6gNoWKqRumnI/IjpmlqiD1rHbM3N7+QMKovVnw/e35nz80u5kjJRnQou zZa6h8+FXZ0hLeh/fWbtz8bcNMEWyK45CLFGWgC31P6fpT79HvtoTlFkf5ge61gonnFL +thg== X-Received: by 10.14.22.71 with SMTP id s47mr33739941ees.95.1375218215217; Tue, 30 Jul 2013 14:03:35 -0700 (PDT) Original-Received: from keima.localdomain (x2f23095.dyn.telefonica.de. [2.242.48.149]) by mx.google.com with ESMTPSA id bb14sm12324149eeb.17.2013.07.30.14.03.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Jul 2013 14:03:34 -0700 (PDT) In-Reply-To: <87li4nrgl1.fsf@micropit.couberia.selfip.net> X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::232; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07K6J3zB6 - 3bd98986243f - 20130730 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:83577 Archived-At: Am 30.07.2013 um 21:30 schrieb Peter M=FCnster : > 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=3D.75\textwidth]}} > \stoptext > --8<---------------cut here---------------end--------------->8--- Why do you use a buffer? \starttext \startplacefigure[reference=3Dfig:ex1,title=3DExample 1] \framed[align=3Dflushleft,width=3D.75\textwidth]{\typefile{test.tex}} \stopplacefigure \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________