From: Alecs K. <Al...@pe...> - 2004-03-16 13:40:31
|
On Tue, 16 Mar 2004 06:38:42 +0800 Dasn <da...@us...> wrote: > On Tue, Mar 16, 2004 at 03:14:17AM +0800, Alecs K. wrote: > > > > Does anyone know how to convert the *.txt files to pdf format? > > > > This may help: > > http://vim.sourceforge.net/scripts/download_script.php?src_id=2406 > Thanks. Took a look at it. This plugin uses the utility 'txt2pdf' to do the conversion. Seems 'txt2pdf' can only produce kinda 'plain text' pdf file.. No links recognized and generated in the doc. Did more search. And now came up with this approach: First use html2ps[1] to convert html to ps, and then use ps2pdf[2] to produce the final pdf doc. This way we can have those hyperlinks in the pdf document [from the hyperlinks in the original html documents]. But the problem now is that i cannot make it work well for Chinese encoding/characters. Appreciate if someone could shed more light. TIA. [1] http://user.it.uu.se/~jan/html2ps.html [2] a utility within Ghostscript Regards, |