Seiji Zenitani
zenit****@tkg*****
2005年 11月 30日 (水) 00:41:08 JST
こんばんは、銭谷です。 htmlize-view というコードがあって バッファの内容をブラウザで プレビューできるそうです。 pdf-preview と同様、 印刷機能の代用として使えそうです。 http://ourcomments.org/Emacs/DL/elisp/htmlize-view.el ところで、生成される html ファイルを コマンドラインで pdf ファイルに変換できれば、 pdf-preview と同様、Preview.app で プレビューできるはずです。 どなたか、html -> pdf に変換する コマンドラインツールをご存じないでしょうか? リモートのウェブページを読み込んで PDF に変換してしまう Coral - http://hmdt-web.net/coral/ というアプリケーションがあるぐらいですから、 Apple の API の範囲内で できないはずはないと思っています。 -- 銭谷誠司 zenit****@mac***** Begin forwarded message: > From: Zenitani Seiji <zenit****@mac*****> > Date: 2005年11月29日 21:44:38:JST > To: macos****@email***** > Cc: macem****@lists***** > Subject: [macemacsjp-english 375] Re: Printing from Carbon Emacs > Reply-To: macem****@lists***** > > To: macos****@email***** > Cc: macem****@lists***** > > Hi, > > I'm very excited to find Pete's post below. That works perfectly in > a non-ascii environment such as Japanese. However, if the file > content is exported to a pdf file, Emacs would be more user- > friendly, because the user can preview the content via Preview.app > (not Safari). > > I know some Cocoa applications can convert an html file to a pdf > file by using Apple's WebKit (such as Coral <http://hmdt-web.net/ > coral/>). Do you know any similar command line tools? > > Sincerely, > > Seiji Zenitani > >> Hello! >> >> Do you have 64 kB left on your disk? That's the size of two Elisp >> files: >> >> http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el >> http://ourcomments.org/Emacs/DL/elisp/htmlize-view.el >> >> Fetch them, put them into /Library/Application\ Support/Emacs, and >> put >> a line >> >> (autoload 'htmlize-view-buffer "htmlize-view" nil t) >> >> into your .emacs file! > > _______________________________________________ > macemacsjp-english mailing list > macem****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english