Showing posts with label rst. Show all posts
Showing posts with label rst. Show all posts

Tuesday, June 19, 2007

Vim reStructured Text

看來真是不賴的東西
用vim來編rst

http://skawina.eu.org/mikolaj/vst.html
http://edt1023.sayya.org/vim/vst/

文件裡面又有介紹轉html,pdf,latex等

Wednesday, June 6, 2007

用rst寫論文

不知道哪根經想到突然很想用docutils/ReStructuredText 來寫論文跟技術文件
用一用發現很直覺
XD不知道是不是自己笨還是懶,latex想學卻一直弄不起來
還有rst,呼...終於有機會不用word寫論文
不然我看我要用word寫論文應該會死的很難看吧

docutils 文件也很豐富 step by step 做沒什麼大問題

http://docutils.sourceforge.net/docs/index.html

再搭配http://gpl.internetconnection.net/vi/
javascript vi,那還需要wiki嗎? :p

Tuesday, May 29, 2007

一招打遍天下,就靠python

可能是自己的信仰還不夠深
對於如何說服人家用python還是覺得不太夠力
上星期Tim表演, django請神
原來django還是有一些magic要留意的

Tim在他的
http://timchen119.blogspot.com/2007/01/tip-django-orm.html
原本
from django.conf import settings
settings.configure(
DATABASE_ENGINE = 'sqlite3',
DATABASE_NAME = 'rules.db'
)
這是Tim的方法,我就覺得可能會有些問題,畢竟原本的configure還有很多東西
後來我們在 http://code.djangoproject.com/ticket/1796 裡面找到了另外的作法

哇哈哈,神棍不是當假的,太厲害了
讓我多學了好幾招

今天認識幾個好物,
其實也不算新東西啦
取代make的SCons,當然也有configure的功能,
外加以python撰寫,當然要什麼功能有什麼功能
http://www.scons.org

http://docutils.sourceforge.net
ReStructuredText這東西就更久一些了
只要靠rst2html就可以把文字檔轉html
靠rst2latex就可以轉latex
有稍微試了一下

Matplotlib整合畫圖plot的工具
http://matplotlib.sourceforge.net/

Mercurial的web 可以另外在每個project的root下
.hg/hgrc中設定web瀏覽的特性 比如allow_archive = gz zip bz2 等