emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to force markup without spaces


From: Vladimir Lomov
Subject: Re: [O] How to force markup without spaces
Date: Mon, 19 Nov 2012 16:11:39 +0900
User-agent: Mutt/1.5.21 (2010-09-15)

Hello,
** address@hidden [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: <code>printf</code>is
>   *bold*\asdf      => rendered in HTML: <b>bold</b>asdf
>   /철수/\는        => rendered in HTML: <i>철수</i>는

> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]