From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Robert Klein" Subject: Re: Problems with source code listings in PDF Date: Wed, 09 Feb 2011 14:25:23 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=40320 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnA2r-0001Iq-0N for emacs-orgmode@gnu.org; Wed, 09 Feb 2011 08:25:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PnA2p-00083x-Cp for emacs-orgmode@gnu.org; Wed, 09 Feb 2011 08:25:20 -0500 Received: from gate1.mpip-mainz.mpg.de ([194.95.63.248]:29040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PnA2o-00083c-V0 for emacs-orgmode@gnu.org; Wed, 09 Feb 2011 08:25:19 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Am 08.02.2011, 16:47 Uhr, schrieb Thomas S. Dye : > > On Feb 8, 2011, at 4:59 AM, Avdi Grimm wrote: > >> I'm working on creating a PDF eBook with Org-Mode, and I'm running >> into some difficulty getting them to come out looking decent. >> [s.d.] >> >> I'm seeing a few problems with the output: >> >> 1. There is no color; only bolded keywords >> 2. Listings are formatted in a not-very-well-rendered font with serifs >> that just doesn't look good at all. > > Instructions for setting up different fonts can be found here: > > http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-14 > I think a better answer for point 2. might be a header line of #+LaTeX_HEADER: \lstset{ basicstyle=\small\ttfamily } Best regards Robert > > All the best, > Tom > > >> 3. In begin_example sections, spaces are replaced with odd little >> curved underscores. >> >> I've attached some examples to show what I mean. >> >> I'm running Org-Mode 7.4 on Ubuntu 10.10 with Emacs 23.1.50.1. >> >> Has anyone had any luck formatting source code and example listings in >> PDF output? What I'd really like to get is output identical to the >> listings exported to HTML. >> >> Thanks! >> >> -- >> Avdi Grimm >> < >> example >> .png>_______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode