From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87155 Path: news.gmane.org!not-for-mail From: Pablo Rodriguez Newsgroups: gmane.comp.tex.context Subject: automatically adding commands to some characters Date: Mon, 28 Apr 2014 23:53:51 +0200 Message-ID: <535ECDEF.70905@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1398722065 25315 80.91.229.3 (28 Apr 2014 21:54:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2014 21:54:25 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 28 23:54:18 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 1WetVC-00065P-1N for gctc-ntg-context-518@m.gmane.org; Mon, 28 Apr 2014 23:54:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 600371027F for ; Mon, 28 Apr 2014 23:54:17 +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 81pRByxr-6fw for ; Mon, 28 Apr 2014 23:54:17 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id DAF7A1025E for ; Mon, 28 Apr 2014 23:54:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 40988101E7 for ; Mon, 28 Apr 2014 23:54:08 +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 al0Ii64A1f4m for ; Mon, 28 Apr 2014 23:54:06 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 09718101E1 for ; Mon, 28 Apr 2014 23:53:57 +0200 (CEST) Original-Received: from mout.gmx.net (mout.gmx.net [74.208.4.201]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s3SLrulN016994 for ; Mon, 28 Apr 2014 23:53:56 +0200 Original-Received: from [192.168.1.33] ([88.9.252.4]) by mail.gmx.com (mrgmxus001) with ESMTPSA (Nemesis) id 0LdHvD-1XN3rv0EUb-00iV6v for ; Mon, 28 Apr 2014 23:53:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 X-Provags-ID: V03:K0:gKBi3D0EgjcnoCev2A0z2SRROdzG1OB8xnADs1+fPIURLhI/ddk OnCIvvDh8tXlMFVLJ3InKBlKqOvdq/tG4yW4w5j1SK/NDp0BhvntG0JQOFg1bgMlqphK9Yz DhG7XNAA87jDrsMmVKcBCW+5Www2pWdpmE618GLvEnTvZAynyHdrPkoYWTSXBHZ8EEH8pvX 4WZtV3NFFg13LKEMSdaKA== X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=74.208.4.201; country=US; region=Pennsylvania; city=Wayne; latitude=40.0440; longitude=-75.3877; http://maps.google.com/maps?q=40.0440,-75.3877&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VLTxRUv1 - ad7014a9c620 - 20140428 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:87155 Archived-At: Dear list, with slashes and en-dashes I experience the following in ConTeXt: sometimes I need to add an \hskip0pt command after them to allow linebreaks. One example would be "Council Directive 93/98/EEC". The issue comes when using ConTeXt as target format from markdown sources. pandoc generates the file, but it makes no sense to edit the ConTeXt source. Is there any command that allows the addition of arbitrary commands when a character appears in text? I mean, a way that internally replaces "Council Directive 93/98/EEC" with "Council Directive 93/\hskip0pt 98/\hskip0pt EEC" Many thanks for your help, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________