[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Exported source code not coloured.
From: |
Sharon Kimble |
Subject: |
Re: [O] Exported source code not coloured. |
Date: |
Sat, 15 Mar 2014 13:24:29 +0000 |
On Sat, 15 Mar 2014 14:08:49 +0100
Rasmus <address@hidden> wrote:
> Sharon Kimble <address@hidden> writes:
>
> > On Sat, 15 Mar 2014 13:06:46 +0100
> > Rasmus <address@hidden> wrote:
> >
> >> Sharon Kimble <address@hidden> writes:
> >>
> >> > On Sat, 15 Mar 2014 10:09:29 +0000
> >> > Sharon Kimble <address@hidden> wrote:
> >> >
> >> >> I am exporting org-mode files using org2blog, and I have this
> >> >> in my org-file -
> >> >>
> >> >> #+BEGIN_SRC bash
> >> >> ## Repos for plank
> >> >> # for wheezy users
> >> >> deb http://people.ubuntu.com/~ricotz/debian-plank wheezy main
> >> >> # for jessie and sid users
> >> >> deb http://people.ubuntu.com/~ricotz/debian-plank sid main
> >> >> #+END_SRC
> >> >>
> >> >> which comes out okay except it is not coloured. How can I get
> >> >> the exported source code to have a colour appropriate to
> >> >> whether its bash, or text, or python, or whatever please?
> >> >>
> >> > I forgot to say, this is Org-mode version 8.2.5h
> >> > (8.2.5h-32-g9639ed-elpaplus
> >> > @ /home/boudiccas/.emacs.d/elpa/org-plus-contrib-20140310/)
> >> > in emacs 24.3.1
> >> >
> >> > Am I missing a certain package that will do this for me please?
> >>
> >> Are you using async export?
> >>
> > As I don't know what 'async export' is, I can safely say "no!"
>
> What if you change the language to sh instead of bash?
>
> Do you get colors with regular ox-html exports?
>
> —Rasmus
>
If I use 'sh' instead of 'bash' I get the user inputted text showing
clearly, whilst computer generated text as slightly faded. You can see
what I mean with this http://www.sharons.org.uk/2014/03/15/a-new-plank/
AS its being exported to a WordPress site, 'ox-html' won't work. The
only emacs programme that works is 'org2blog'.
Sharon.
--
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.3.1
Registered Linux user 561944
signature.asc
Description: PGP signature