From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/33974 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Semi-verbatim Date: Tue, 27 Mar 2007 14:00:19 +0200 Message-ID: <46090753.5090403@elvenkind.com> References: <200703251720.11549.john@wexfordpress.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1174996855 19590 80.91.229.12 (27 Mar 2007 12:00:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Mar 2007 12:00:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 27 14:00:45 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 1HWALu-0004jj-FM for gctc-ntg-context-518@m.gmane.org; Tue, 27 Mar 2007 14:00:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CF2C92025C; Tue, 27 Mar 2007 14:00:32 +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 32280-01; Tue, 27 Mar 2007 14:00:26 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BE73A20212; Tue, 27 Mar 2007 14:00:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 84E7720212 for ; Tue, 27 Mar 2007 14:00:23 +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 29473-08 for ; Tue, 27 Mar 2007 14:00:20 +0200 (CEST) Original-Received: from lochside.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with ESMTP id 95F33201F0 for ; Tue, 27 Mar 2007 14:00:20 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by lochside.elvenkind.com (Postfix) with ESMTP id 223E26E25D for ; Tue, 27 Mar 2007 14:00:20 +0200 (CEST) Original-Received: from lochside.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29670-08 for ; Tue, 27 Mar 2007 14:00:19 +0200 (CEST) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by lochside.elvenkind.com (Postfix) with ESMTP id C8C986E25A for ; Tue, 27 Mar 2007 14:00:19 +0200 (CEST) User-Agent: Thunderbird 1.5.0.9 (X11/20070111) In-Reply-To: <200703251720.11549.john@wexfordpress.com> X-Virus-Scanned: by amavisd-new at elvenkind.net 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:33974 Archived-At: John R. Culleton wrote: > I have a situation where I wish to import a file and have the line > endings and the spaces honored as in \typefile. But I want any font > changes (e.g. \it) honored as well. I tried the plain TeX commands > \obeylines and \obeyspaces. The line endings and typeface changes > were honored but the spaces were not. > > Is there a convenient way to do this? I can preprocess the file > through e.g. sed to patch in \crlf and hard spaces but this seems a > bit clumsy. You could try with \processingverbatimtrue . If you are lucky, that will trigger \obeyspaces into outputting \hboxes instead of actual spaces. Good luck, Taco