Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- From: "Nicolas Kaiser" <halforc@xxxxxxxxx>
- Date: Thu, 12 Apr 2007 00:56:00 +0200
On 4/10/07, Gabriel Dragffy <dragffy@xxxxxxxxx> wrote:
Is there any way to save the lovely syntax-highlighted code of Bluefish
in to a PDF? I ask only because I need to have code samples, and it
would be fantastic if they could be highlighted. Also PDF is nice and
compatible :)
I haven't found an option to print from Bluefish itself yet, however
if you just need syntax-highlighting, you can do so with vim, like
this:
vim "+ha >test.ps" +q test.php
should print syntax-highlighted to a postscript file. ("+q" is for
quitting vim immediately after printing.)
If this is useful enough for you, it might be possible to elaborate on
it (like printing to pdf straight away) and add it to "external
commands" in Bluefish, for convenience.
Cheers,
n.
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- From: Gabriel Dragffy
- Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- From: Richard Mancusi
- Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- References:
- Converting Blusfish syntax-highlighted PHP code in to a PDF
- From: Gabriel Dragffy
- Converting Blusfish syntax-highlighted PHP code in to a PDF
- Prev by Date: Re: Re: Re: Re: Re: Re: Re: Newest feisty network-manager update
- Next by Date: Re: Re: Re: Re: Re: Re: Re:
- Previous by thread: Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- Next by thread: Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- Index(es):
Relevant Pages
|