Thursday, March 4, 2010

Re: math, utf-8, and windows

On Thu, 4 Mar 2010, Charles Campbell wrote:

> Tony Mechelynck wrote:
> > [snip]
> >
> > >
> > > And, what's a good way to print out files containing these symbols?
> > > :hardcopy doesn't cut it.
> >
> > Maybe pass the file as a .txt file to your browser, and print it
> > from there, using an appropriate monospaced font? That usually does
> > it for me, when a file contains Unicode codepoints higher than
> > U+00FF.
> I'll try this out -- I've been putting a lot of math into comments for
> various C files I've written. I, like others have stated, wish that
> enscript would handle these characters.
>

See the vim_use thread "Printing with utf-8 characters on Windows"[1]
for more context. (Started Windows-only, devolved into UTF-8 printing
in general.)

I was able to get decent UTF-8 printing via 'paps'[2] by using the
following command:

:!paps < % > %:r.ps

(... it was also suggested I wiki(a)-fy that... Too few tuits,
especially round ones; sorry)

--
Best,
Ben

[1] http://groups.google.com/group/vim_use/tree/browse_frm/thread/46895bfb588e7b07/3ac8971be5ee9216
[2] http://paps.sf.net/

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: