Em 21 de agosto de 2011 Allin Cottrell escreveu:
On Fri, 19 Aug 2011, Henrique Andrade wrote:
> I would like to know if it's possible to print Gretl scripts
> (Hansl files) using colors (to put the nice Gretl's syntax
> highlighting on the paper). I would like to put the commands with
> the colors in my PhD work :)
If (1) you have gedit and gtksourceview installed, and (2) you build
and install gretl from the source code [actually, I'm not sure if
(2) is required], then you should be able to open a gretl .inp file
in gedit and it will show syntax highlighting, and you can print it
in that form from gedit.
I installed the Gedit on my Mac but could not get the colors. In addition,
the GTKsourceview is not available on Mac OS. I tried in my PC with Windows,
but I could not even install the GTKsourceview. I thought I knew more about
computers :(
We can maybe enable this using the print button in a gretl script
window, though right now that will produce a plain text printout.
Dear Allin, enable this feature would be a hard task to you?
Thanks in advance,
*Henrique C. de Andrade*
Doutorando em Economia Aplicada
Universidade Federal do Rio Grande do Sul
www.ufrgs.br/ppge