From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87643 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: bug in \setuptagging? Date: Sat, 31 May 2014 14:20:03 +0200 Message-ID: <857EF4EF-24B8-4019-96B7-88EF665C195C@gmail.com> References: <53897703.7040509@gmx.es> <5389B3CF.2040708@wxs.nl> <5389BF10.5010508@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1401538834 19439 80.91.229.3 (31 May 2014 12:20:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 May 2014 12:20:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 31 14:20:28 2014 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 1WqiGx-0002hW-B8 for gctc-ntg-context-518@m.gmane.org; Sat, 31 May 2014 14:20:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CDFDA10226 for ; Sat, 31 May 2014 14:20:26 +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 HoI3hdPxr-z8 for ; Sat, 31 May 2014 14:20:26 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 8CA67101F8 for ; Sat, 31 May 2014 14:20:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8BAD9101E3 for ; Sat, 31 May 2014 14:20:18 +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 6Xl2pMxWmTKk for ; Sat, 31 May 2014 14:20:17 +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 1F793101E2 for ; Sat, 31 May 2014 14:20:11 +0200 (CEST) Original-Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s4VCK594019258 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sat, 31 May 2014 14:20:05 +0200 Original-Received: by mail-wi0-f171.google.com with SMTP id cc10so2419336wib.4 for ; Sat, 31 May 2014 05:20:06 -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; bh=pIh1geXTUtqh2uFA2hqYptlk+sCAiOiBwsObRggjYUA=; b=nZXp2sDWrprgU2qTsq7HdrrK71I1GipD25/2KkNPSP5i7RxJh0eVFYLFBiywSwZBrB XZu2ZcjpH0zCOB2sMRJ2fNXoW1p1ssaQfmwqzzJYmy7HWiU087ZnALfMXRTO3ZrU7ySM iBSAWc7baVQtIoi9AWo3rzJQBKrlkl9LVc9O9jSFmuqARqY3hfVLSbVczkTXUjnwTROH Z+pUzw4ozJfVUkoBcYtAD5qcG2e1Z3NYg2CYiLymkUg4cEUo+KpChnq4mDWhSb+LVuTQ R7hdGs2xlsizej39Fw8aLotTl2o/tl2OG+gjmJ3un45jLc+oCfpllx0ZCqcGoZ/9v258 ZMJw== X-Received: by 10.194.62.104 with SMTP id x8mr31972956wjr.15.1401538806529; Sat, 31 May 2014 05:20:06 -0700 (PDT) Original-Received: from keima.localdomain (x2f31200.dyn.telefonica.de. [2.243.18.0]) by mx.google.com with ESMTPSA id wk8sm18142942wjb.22.2014.05.31.05.20.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 31 May 2014 05:20:05 -0700 (PDT) In-Reply-To: <5389BF10.5010508@gmx.es> X-Mailer: Apple Mail (2.1878.2) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22b; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07M8Ak5S8 - 222b3b1c47da - 20140531 (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:87643 Archived-At: Am 31.05.2014 um 13:37 schrieb Pablo Rodriguez : > On 05/31/2014 12:49 PM, Hans Hagen wrote: >> On 5/31/2014 8:30 AM, Pablo Rodriguez wrote: >>> [...] >>> If I disable \setuptagging, output is fine. But with \setuptagging >>> enabled, the typing environment doesn=92t display multiple lines. >>> = >>> Am I doing something wrong or have I hit a bug? >> = >> The space in verbatim is defined differently because otherwise it can = >> get lost in the export; you can experiment with: >> = >> \appendtoks >> \unexpanded\def\obeyedspace{\hskip\zeropoint\char32\hskip\zeropoint}% >> \to \everyenableelements > = > Many thanks for your reply, Hans. > = > I=92m afraid I cannot make it work even with the minimal sample: > = > \setuppapersize[A6] > \setuptagging[state=3Dstart] > \setuptyping[margin=3Dyes,align=3D{right,broad}] > \appendtoks > \unexpanded\def\obeyedspace{\hskip\zeropoint\char32\hskip% > \zeropoint}% > \to \everyenableelements > \starttext > \starttyping > \setuptyping[margin=3Dyes, align=3D{right,broad}] > \stoptyping > \stoptext > = > Since I=92m not familiar with \appendtoks, I don=92t know whether I appli= ed > it right. > = > Is your code applied right in the sample above? 1. I think you have to redefined the \doverbatimspace command. \appendtoks \unexpanded\def\doverbatimspace{\hskip\zeropoint\char32\hskip\zeropoint}% \to \everyenableelements 2. You have to put this code block *before* \setuptagging. 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 ___________________________________________________________________________= ________