From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Exporting to groff, now in org-export.el ... Date: Tue, 10 Jul 2012 02:21:40 +0200 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=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoODM-0000qw-OO for emacs-orgmode@gnu.org; Mon, 09 Jul 2012 20:22:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoODK-0007xt-RF for emacs-orgmode@gnu.org; Mon, 09 Jul 2012 20:22:04 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:41114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoODK-0007xi-JG for emacs-orgmode@gnu.org; Mon, 09 Jul 2012 20:22:02 -0400 Received: by obhx4 with SMTP id x4so19178198obh.0 for ; Mon, 09 Jul 2012 17:22:00 -0700 (PDT) In-Reply-To: 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: Luis Anaya Cc: emacs-orgmode@gnu.org Hey Luis, Looks good, On Tue, Jul 10, 2012 at 2:00 AM, Luis Anaya wrote: > > 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. > Does that mean a user can add any new language like this with her/his definitions in their personal setup? If that is possible it would be a really flexible setup. > Otherwise, it will default to courier, black and white. The defaults look pretty good for a fallback. :) Sorry to nitpick, but I was wondering if it would be possible to put some regular text in your example before or after the source blocks. It would be good to see whether they stand out well when surrounded by normal text. BTW, great work. :) Cheers, -- Suvayu Open source is the future. It sets us free.