From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis Anaya Subject: Re: Exporting to groff, now in org-export.el ... Date: Mon, 9 Jul 2012 20:00:12 -0400 Message-ID: References: <87bok1108y.fsf@gmail.com> <87y5n1fa08.fsf@gmail.com> <87obntqs30.fsf@gmail.com> <20120708140756.GA27601@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoNsO-0007Qj-QF for emacs-orgmode@gnu.org; Mon, 09 Jul 2012 20:00:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoNsM-0003NY-QA for emacs-orgmode@gnu.org; Mon, 09 Jul 2012 20:00:24 -0400 Received: from blu0-omc1-s6.blu0.hotmail.com ([65.55.116.17]:29183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoNsM-0003LJ-Md for emacs-orgmode@gnu.org; Mon, 09 Jul 2012 20:00:22 -0400 In-Reply-To: (suvayu ali's message of "Tue, 10 Jul 2012 00:01:35 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: suvayu ali Cc: emacs-orgmode@gnu.org suvayu ali writes: >> Correct. However the reason is because of the way I wrote groff definition >> in GNU source highlight. (i. e. black and white only). >> >> GNU source highlight does support colorization. It is a matter of >> mapping those colors to the right code in groff. Frankly, I've never used >> colorization in groff before. I just need to try it though... >> >> Well, I guess something else to do :) >> > > Glad that my comments urged you. :) :P I had to read on how to put colors in groff, at least I learned something new today :). Colorized version: Source: http://ppl.ug/LN7rEdf2yS4/ PDF Output: http://ppl.ug/wlA1QvIDNSk/ You'll notice that DUMMY refers to a #+begin_src dummy, this will default to black and white in constant width. This will happen if the language is not in the list of language that is stored in org-e-groff-listings-langs. Being that GNU source highlight allows for the creation of new language colorization schemes. This variable will need to be updated accordingly when a new language is added in source highlight to get it colorized/highlighted. Otherwise, it will default to courier, black and white. -- Luis R. Anaya papo anaya aroba hot mail punto com "Do not use 100 words if you can say it in 10" - Yamamoto Tsunetomo