From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19421 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: line wrap marker Date: Tue, 29 Mar 2005 01:22:40 +0200 Message-ID: <424891C0.1090400@wxs.nl> References: <1111611031.10057.15.camel@vision> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1112085803 24792 80.91.229.2 (29 Mar 2005 08:43:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2005 08:43:23 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 29 10:43:20 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DGCJA-0001Iq-Oo for gctc-ntg-context-518@m.gmane.org; Tue, 29 Mar 2005 10:42:44 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CCA4412898; Tue, 29 Mar 2005 10:43:25 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00830-06-3; Tue, 29 Mar 2005 10:43:24 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BE4B1128A1; Tue, 29 Mar 2005 10:06:23 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0D2D312898 for ; Tue, 29 Mar 2005 10:06:22 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32756-06-5 for ; Tue, 29 Mar 2005 10:06:20 +0200 (CEST) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 42CE812859 for ; Tue, 29 Mar 2005 10:06:20 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j2T86IId030087 for ; Tue, 29 Mar 2005 10:06:18 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 928C036003; Tue, 29 Mar 2005 09:48:06 +0200 (CEST) Original-Received: from [10.100.1.54] (unknown [10.100.1.54]) by server-1.pragma-net.nl (Postfix) with ESMTP id 11AEB36008 for ; Tue, 29 Mar 2005 07:47:57 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <1111611031.10057.15.camel@vision> X-Virus-Scanned: ClamAV 0.80/705/Fri Feb 11 17:51:32 2005 clamav-milter version 0.80j on mailrelay02 X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:19421 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19421 Stuart Jansen wrote: > We have lines of text that shouldn't be wrapped. If one line must be > wrapped onto the next, we'd like to insert a visual mark at the end of > the line and (hopefully) indent the next line slightly. Obviously, > there's the potential for wrapping over multiple lines. > > I've dug around TeX, LaTeX and ConTeXt, and none appear to support this > yet. So far, ConTeXt has been the most enjoyable to work with, so I'm > okay with a ConTeXt only answer. > > How hard will this be to implement? Where should I start looking to > figure out how to do this? I'm hoping for an answer along the lines of > "this set of macros will probably be helpful". just to get you some (wikiable) ideas: \startreusableMPgraphic{return} drawarrow (0,0)-- (1EmWidth,0)-- (1EmWidth,-.5ExHeight)-- (.5EmWidth,-.5ExHeight) ; \stopreusableMPgraphic \definesymbol[return][\reuseMPgraphic{return}] \setupcolors[state=start] \starttext \def\vcrlf{\symbol[return]\crlf\strut\kern1em\strut\ignorespaces} \setuptyping[option=commands] \starttyping test test test /vcrlf test test \stoptyping \setuptyping[option=color] \installnewpretty r \vcrlf \starttyping test \test{test} %%\ r test test \stoptyping \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------