emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Robert Klein" <roklein@roklein.de>
To: emacs-orgmode@gnu.org
Subject: Re: Problems with source code listings in PDF
Date: Wed, 09 Feb 2011 14:25:23 +0100	[thread overview]
Message-ID: <op.vqm0wl16n9zmcv@pckr105.mpip-mainz.mpg.de> (raw)
In-Reply-To: <BB822D58-6A09-449D-A36C-C62D00229FCC@tsdye.com>

Am 08.02.2011, 16:47 Uhr, schrieb Thomas S. Dye <tsd@tsdye.com>:

>
> 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><listing.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

      reply	other threads:[~2011-02-09 13:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.vqm0wl16n9zmcv@pckr105.mpip-mainz.mpg.de \
    --to=roklein@roklein.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).