* Misaligned Chinese text in column view
@ 2008-02-22 22:15 Wanrong Lin
2008-02-22 22:26 ` Wanrong Lin
2008-02-24 16:36 ` Suggestions on Org-table export-html Xin Shi
0 siblings, 2 replies; 5+ messages in thread
From: Wanrong Lin @ 2008-02-22 22:15 UTC (permalink / raw)
To: emacs-orgmode
Hi, Carsten,
Occasionally I use some Chinese text in my org files (I am a native
Chinese speaker), and I find that in column view lines with Chinese text
are misaligned, meaning those "|" dividers are off to the left by two
characters. With fixed width fonts, each Chinese character occupies the
space of two English characters, so the number fits well. :-)
In case you need some example Chinese text, here is a line.
* TODO 简体中文例子
This matter is really nothing important, but I guess as org-mode is so
good now, it is not that easy to raise really important issues. :-)
Thanks.
Wanrong
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Misaligned Chinese text in column view
2008-02-22 22:15 Misaligned Chinese text in column view Wanrong Lin
@ 2008-02-22 22:26 ` Wanrong Lin
2008-02-24 16:36 ` Suggestions on Org-table export-html Xin Shi
1 sibling, 0 replies; 5+ messages in thread
From: Wanrong Lin @ 2008-02-22 22:26 UTC (permalink / raw)
To: emacs-orgmode
Hi, Carsten,
After more careful measure of the Chinese character width, I found this
is most likely a font problem, not org's problem. Please ignore my last
post, and sorry for the noise.
Wanrong
Wanrong Lin wrote:
> Hi, Carsten,
>
> Occasionally I use some Chinese text in my org files (I am a native
> Chinese speaker), and I find that in column view lines with Chinese
> text are misaligned, meaning those "|" dividers are off to the left by
> two characters. With fixed width fonts, each Chinese character
> occupies the space of two English characters, so the number fits well.
> :-)
>
> In case you need some example Chinese text, here is a line.
>
> * TODO 简体中文例子
>
> This matter is really nothing important, but I guess as org-mode is so
> good now, it is not that easy to raise really important issues. :-)
>
> Thanks.
>
> Wanrong
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Suggestions on Org-table export-html
2008-02-22 22:15 Misaligned Chinese text in column view Wanrong Lin
2008-02-22 22:26 ` Wanrong Lin
@ 2008-02-24 16:36 ` Xin Shi
2008-02-24 18:25 ` Phil Jackson
1 sibling, 1 reply; 5+ messages in thread
From: Xin Shi @ 2008-02-24 16:36 UTC (permalink / raw)
To: emacs-orgmode
Hi,
When I use the org-table to export-html, I have two suggestions to make the CSS more flexiable (it already done a great job!)
The first one is for flexiable CSS:
The current code in html is:
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
It'll be flexiable to add another attribute class="org-table", so that in the CSS file, we can treat these tables specifically. In this way, we'll be able to write in the CSS file like:
table.org-table th {
background-color: #ECF1FF;
}
without affect the generic web table.
The second one is for cleaner view on the html table:
Currently, every row is start with <tr>, it'll be nice to have alternate row with class="alt":
<tr>
...
</tr>
<tr class="alt">
...
</tr>
Then, in the CSS file, we can use:
table tr { background: #e6e6e6;}
table tr.alt {background: #f1f1f1;}
The output html table will looks better then.
Thanks!
Xin
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-02-24 19:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-22 22:15 Misaligned Chinese text in column view Wanrong Lin
2008-02-22 22:26 ` Wanrong Lin
2008-02-24 16:36 ` Suggestions on Org-table export-html Xin Shi
2008-02-24 18:25 ` Phil Jackson
2008-02-24 19:30 ` Xin Shi
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).