emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problems with source code listings in PDF
@ 2011-02-08 14:59 Avdi Grimm
  2011-02-08 15:17 ` Eric S Fraga
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Avdi Grimm @ 2011-02-08 14:59 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 973 bytes --]

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

[-- Attachment #2: example.png --]
[-- Type: image/png, Size: 11291 bytes --]

[-- Attachment #3: listing.png --]
[-- Type: image/png, Size: 18852 bytes --]

[-- Attachment #4: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-09 13:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-08 14:59 Problems with source code listings in PDF Avdi Grimm
2011-02-08 15:17 ` Eric S Fraga
2011-02-08 15:25 ` Rainer M Krug
2011-02-08 15:47 ` Thomas S. Dye
2011-02-09 13:25   ` Robert Klein

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).