From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Lomov Subject: Re: How to force markup without spaces Date: Mon, 19 Nov 2012 16:11:39 +0900 Message-ID: <20121119071139.GM851@smoon> References: <87fw46rwd6.fsf@selune.samsung.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaLWG-0000fz-NU for emacs-orgmode@gnu.org; Mon, 19 Nov 2012 02:11:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaLWD-0003t1-Kw for emacs-orgmode@gnu.org; Mon, 19 Nov 2012 02:11:48 -0500 Received: from mail-la0-f41.google.com ([209.85.215.41]:59455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaLWD-0003s4-BJ for emacs-orgmode@gnu.org; Mon, 19 Nov 2012 02:11:45 -0500 Received: by mail-la0-f41.google.com with SMTP id m15so1788346lah.0 for ; Sun, 18 Nov 2012 23:11:44 -0800 (PST) Content-Disposition: inline In-Reply-To: <87fw46rwd6.fsf@selune.samsung.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: cinsky@gmail.com Cc: emacs-orgmode@gnu.org Hello, ** cinsky@gmail.com [2012-11-19 14:32:21 +0900]: > Hi, > AFAIK, if the markup syntax (=code=, *bold*, ..) is directly followed > by non-whitespace characters, then it will not be marked-up: > =hello=there > /not/italic > This may be right decision on English text, but in some languages, the > postposition (grammar) will be postfixed without spaces into the > previous noun, so it will be the trouble. (Following text contains > Korean characters in UTF-8, you may need additional korean font to > read properly) > =printf=는 > =bold=로 > =철수=는 > I'm sure that some other languages will have same problem > (e.g. Japanese or Chinese). > Is there any way to force mark-up on this situation? > If this pattern cannot be implemented easily, how about to introduce > new escaping character to prevent to insert whitespace between > marked-up text and the following postfix text? For example: > =printf=\is => rendered in HTML: printfis > *bold*\asdf => rendered in HTML: boldasdf > /철수/\는 => rendered in HTML: 철수는 > I can't say the above solution is well-designed, but I'm sure that > you'll get the point. May be this will help you: http://article.gmane.org/gmane.emacs.orgmode/46263/match=zero+width+space -- "Had he and I but met By some old ancient inn, But ranged as infantry, We should have sat us down to wet And staring face to face, Right many a nipperkin! I shot at him as he at me, And killed him in his place. I shot him dead because -- Because he was my foe, He thought he'd 'list, perhaps, Just so: my foe of course he was; Off-hand-like -- just as I -- That's clear enough; although Was out of work -- had sold his traps No other reason why. Yes; quaint and curious war is! You shoot a fellow down You'd treat, if met where any bar is Or help to half-a-crown." -- Thomas Hardy