2012年5月9日星期三

Solving the LaTeX error: "Too many unprocessed floats"

Yesterday I generated a LaTeX document using Matlab script. This document have about 50 tables, with even table embedded with 30 images. So LaTeX thought that it I can't handle this much floating objects.

I searched around on the internet and found the best solution for me is to add
\clearpage
after every table. This command will force LaTeX to dump all the cached floating objects till here. So basically it will print one table per page, which is fine in my case.

2012年3月31日星期六

Kindle菜单乱码问题简单解决方案

Kindle看中文电子书最大的头痛就是菜单有如完形填空,我最喜欢的作家钱锺书居然能变成三个框框,各种纠结。当时上网找方案基本都是教唆我越狱,实在嫌麻烦。今天在网上找到了一个超级方便的,特此留底。

源链接:

解决办法很简单,就是改变默认的语言设置,输入以下命令即可:

;debugOn
~changeLocale zh-CN
;debugOff

输入时要注意大小写,具体输入步骤是:在home页面,先按下回车(也就是方向键旁边那个弯弯箭头键),会出现一个输入框,输入第一条命令后,回车,再输入第二条,再回车,再第3条回车。这样就设置成功了,然后重启kindle 3。

重启步骤:home -> Menu -> Settings -> Menu -> Restart

也就是进入设置那里再按MENU选择restart重启,或者直接滑动那个关机键按住15秒左右就重启了。

重启之后就感觉世界终于清净了,不仅Home里面所有书名都完整显示了,而且之前一直乱码的告别天堂也终于没问题了。

2012年2月8日星期三

Paper writing notes learned from Dr Thompson

Today I received another thorough editing from Dr Paul Thompson. I found some pattern that I think I should keep in mind for later.

1. In .bib files, when you need some character to be in Cap in the generated PDF, e.g. "fMRI" somewhere in the title, do the following in the .bib file: "f{MRI}".

2. The use of tenses! Make them consistent!

3. Dr Thompson seems to have an issue with "utilize", he changed all of them to "use"... I thought "utilize" sounds cooler :-(

4. "More details can be found..." is always changed into "More details may be found..."

5. Things like "achieves the best performance..." is always changed into "perform the best...". I think he don't like to convert verbs into nouns...

6. Do not say "our method can benefit../will be able to...". Say it with proud: "our method benefits.../will..."

7. He generally likes the sentence to be concise. E.g., "if utilizing all these additional information will be beneficial for classification..." is changed to: "if this additional information can help classification..."

8. "The results are summarized in...." is always changed into "Results are summarized in...", not sure why though...

9. He does not like "As we can observe from the Table..."; these are changed to "As we see in Table...". But Sherlock always tells us to observe T__T