[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Problems with source code listings in PDF
From: |
Avdi Grimm |
Subject: |
[Orgmode] Problems with source code listings in PDF |
Date: |
Tue, 8 Feb 2011 09:59:55 -0500 |
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.
I've followed the directions I found in the list archives for
outputting colorized source code listings. I set
org-export-latex-listings to t, and customized
org-export-latex-packages-alist according to the directions in the
org-export-latex-listings docs.
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.
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
Description: PNG image
listing.png
Description: PNG image
- [Orgmode] Problems with source code listings in PDF,
Avdi Grimm <=