[Top][All Lists]

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

Re: [O] How to force markup without spaces

From: Seong-Kook Shin
Subject: Re: [O] How to force markup without spaces
Date: Mon, 19 Nov 2012 19:06:10 +0900

Yes, thank for the solution.

By the way, I'll prefer "word joiner" character (U+2060) to "zero width space" character (U+200B),
because postpositions (grammar) should not be separated on line-break policy.

Anyway, is there any plan to implement this feature in other way?
Using the solution that you provides makes the org document stick to the unicode,
so it can't be used in other character encodings.


On Mon, Nov 19, 2012 at 4:11 PM, Vladimir Lomov <address@hidden> wrote:
** 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:

"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

C FAQs: http://c-faq.com/
Korean: http://www.cinsk.org/cfaqs/

reply via email to

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