From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89147 Path: news.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Re: Natural tables introduces spaces in \type Date: Thu, 6 Nov 2014 16:15:36 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1184101326==" X-Trace: ger.gmane.org 1415287052 15158 80.91.229.3 (6 Nov 2014 15:17:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2014 15:17:32 +0000 (UTC) To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 06 16:17: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 1XmOoR-0006ax-Pa for gctc-ntg-context-518@m.gmane.org; Thu, 06 Nov 2014 16:17:27 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6CA7810222 for ; Thu, 6 Nov 2014 16:17:27 +0100 (CET) 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 rUJCN8ex7Nk3 for ; Thu, 6 Nov 2014 16:17:26 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9EDD810238 for ; Thu, 6 Nov 2014 16:16:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6B06C101EF for ; Thu, 6 Nov 2014 16:16:43 +0100 (CET) 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 9mX_rovtM1Vx for ; Thu, 6 Nov 2014 16:16:42 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id AC81710206 for ; Thu, 6 Nov 2014 16:15:59 +0100 (CET) Original-Received: from mail-ie0-x229.google.com (mail-ie0-x229.google.com [IPv6:2607:f8b0:4001:c03::229]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sA6FFv2l006416 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 6 Nov 2014 16:15:58 +0100 Original-Received: by mail-ie0-f169.google.com with SMTP id tr6so3177128ieb.28 for ; Thu, 06 Nov 2014 07:15:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=m/fKTIZyNcX1BjsiwOk8fMiJ3FhT/F9MqGJ3oSUaH0M=; b=Q3qKvPiQ5BQosLwDN1J9nHh33BIvHwRIwvKtzjhFsVvM1e8ZjkSC2ODkAJ+XtVmGq4 oamKtrvIOqvwV60W8+aq+hmF+wBgj9cVB4+jxow8u6NUbtBnMqc4h9Cx4qAgOHw0SrZx /V2xVxQIXteZeVxi9F/sQ3DU1Pun84tkwd/WSAKdO5x/FN4cyMvtgXeJd1ftTRomwLri QbHDlgndqadOkcfFQRceT7MAvUdlXGeDa1UEwePc2A1dbH0N6Ug2ebtTo3h3Qu7+vn6d eWESDn3exyoj+hiLF/ih79sse/pHzD1sE3o7ciKs0216NFY0PgpoyeaHEBtDPsYTF4dZ Tf3g== X-Received: by 10.50.29.71 with SMTP id i7mr14382476igh.4.1415286956911; Thu, 06 Nov 2014 07:15:56 -0800 (PST) Original-Received: by 10.107.165.143 with HTTP; Thu, 6 Nov 2014 07:15:36 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c03::229; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01NcffWlp - 20e65f941361 - 20141106 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:89147 Archived-At: --===============1184101326== Content-Type: multipart/alternative; boundary=047d7bd904b252705f0507322c6b --047d7bd904b252705f0507322c6b Content-Type: text/plain; charset=UTF-8 On 11/6/2014 9:58 AM, Hans Hagen wrote: > we could have a specific filename cleaner but of course there will be > users who have paths that have spaces after the \ ... okay, we could > just not support evil paths like that > > Hans A rigorous filename cleaner would have to treat a huge number of possible Unicodes. This is overkill. I believe the best would be to have a cleaner for all ascii "symbols". That would fit most purposes of writing file names and URIs: !#"$%&'*()+,-./:;<=>?@[\]^_`{|}~ Of the above characters the following are disallowed on NTFS: "*/:<>?| Still I think they should be included in the cleaner. If % or # pose problems then they may be omitted. With the current "absolute"-cleaner, a space after \ is preserved correctly, so I don't understand your comment: \definetype[ctype][compact=absolute]\starttext \bTABLE\bTR\bTD \ctype{\a\ b} \eTD\eTR\eTABLE\stoptext I would be glad if you could implement such a "ascii-symbol"-cleaner. Thanks, Christoph --047d7bd904b252705f0507322c6b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 11/6/2014 9:58 AM, Hans Hagen wrote:
>= ; we could have a specific filename cleaner but of course there will be
> users who have paths that have spaces after the \ ... okay, we = could
> just not support evil paths like that
>= =C2=A0
> Hans

A rigorous filename cle= aner would have to treat a huge number of possible Unicodes. This is overki= ll. I believe the best would be to have a cleaner for all ascii "symbo= ls". That would fit most purposes of writing file names and URIs:

=C2=A0 !#"$%&'*()+,-./:;<=3D>?@[\]^= _`{|}~=C2=A0

Of the above characters the following= are disallowed on NTFS:

=C2=A0 "*/:<>?= |

Still I think they should be included in the cle= aner. If % or # pose problems then they may be omitted.

With the current "absolute"-cleaner, a space after \ is pre= served correctly, so I don't understand your comment:

\definetype[ctype][compact=3Dabsolute]\starttext
\bTABLE\= bTR\bTD \ctype{\a\ b} \eTD\eTR\eTABLE\stoptext

I w= ould be glad if you could implement such a "ascii-symbol"-cleaner= .

Thanks,

Christoph
=

--047d7bd904b252705f0507322c6b-- --===============1184101326== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1184101326==--