From: Katsumi Yamaoka <yamaoka@jpl.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: larsi@gnus.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: HTML rendering
Date: Mon, 06 Jul 2015 13:37:19 +0900 [thread overview]
Message-ID: <b4m7fqducjk.fsf@jpl.org> (raw)
In-Reply-To: 83bnfqvwmn.fsf@gnu.org
On Mon, 06 Jul 2015 05:38:08 +0300, Eli Zaretskii wrote:
> But then how to explain that only 1 character was overflowing the line
> length? If your explanation were correct, you'd have half the
> characters spilled to the next line.
If you meant one Japanese character overflowing, simply move it
to the next line like the fill functions do, except for KINSOKU
characters.
FYI:
・Japanese text doesn't use space to separate words normally.
・Japanese text may be folded even at the middle of a word.
・KINSOKU processing is required. cf. international/kinsoku.el
Eg, the characters "。", "、", "ッ", "ゃ", "ゅ", "ょ", "ー",
etc. should not be placed at the bol. If fill-column is 6 or 7,
"あいうえお" will be filled into "あいう\nえお", but
"イーマックス" will be filled into "イーマッ\nクス".
(I've added those rules to shr.el years ago.)
next prev parent reply other threads:[~2015-07-06 4:37 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-02 16:03 HTML rendering Stefan Monnier
2015-07-03 1:45 ` Katsumi Yamaoka
2015-07-03 6:24 ` Eli Zaretskii
2015-07-06 0:54 ` Katsumi Yamaoka
2015-07-06 2:38 ` Eli Zaretskii
2015-07-06 4:37 ` Katsumi Yamaoka [this message]
2015-07-06 16:56 ` Eli Zaretskii
2015-08-30 11:44 ` Lars Magne Ingebrigtsen
2015-07-06 12:32 ` Michael Heerdegen
2015-07-06 17:05 ` Eli Zaretskii
2015-07-06 20:35 ` Michael Heerdegen
2015-07-08 18:19 ` Michael Heerdegen
2015-08-30 11:47 ` Lars Magne Ingebrigtsen
2015-08-30 14:51 ` Eli Zaretskii
2015-08-30 15:45 ` Michael Heerdegen
2015-08-30 16:40 ` Eli Zaretskii
2015-08-30 11:42 ` Lars Magne Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b4m7fqducjk.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.