emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Exported source code not coloured.
@ 2014-03-15 10:09 Sharon Kimble
  2014-03-15 11:26 ` Sharon Kimble
  0 siblings, 1 reply; 6+ messages in thread
From: Sharon Kimble @ 2014-03-15 10:09 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

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?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, emacs 24.3.1
Registered Linux user 561944

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: Exported source code not coloured.
  2014-03-15 10:09 Exported source code not coloured Sharon Kimble
@ 2014-03-15 11:26 ` Sharon Kimble
  2014-03-15 12:06   ` Rasmus
  0 siblings, 1 reply; 6+ messages in thread
From: Sharon Kimble @ 2014-03-15 11:26 UTC (permalink / raw)
  To: emacs-orgmode

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

On Sat, 15 Mar 2014 10:09:29 +0000
Sharon Kimble <boudiccas@talktalk.net> 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?

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, emacs 24.3.1
Registered Linux user 561944

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: Exported source code not coloured.
  2014-03-15 11:26 ` Sharon Kimble
@ 2014-03-15 12:06   ` Rasmus
  2014-03-15 13:03     ` Sharon Kimble
  0 siblings, 1 reply; 6+ messages in thread
From: Rasmus @ 2014-03-15 12:06 UTC (permalink / raw)
  To: emacs-orgmode

Sharon Kimble <boudiccas@talktalk.net> writes:

> On Sat, 15 Mar 2014 10:09:29 +0000
> Sharon Kimble <boudiccas@talktalk.net> 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?

-- 
Send from my Emacs

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

* Re: Exported source code not coloured.
  2014-03-15 12:06   ` Rasmus
@ 2014-03-15 13:03     ` Sharon Kimble
  2014-03-15 13:08       ` Rasmus
  0 siblings, 1 reply; 6+ messages in thread
From: Sharon Kimble @ 2014-03-15 13:03 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode

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

On Sat, 15 Mar 2014 13:06:46 +0100
Rasmus <rasmus@gmx.us> wrote:

> Sharon Kimble <boudiccas@talktalk.net> writes:
> 
> > On Sat, 15 Mar 2014 10:09:29 +0000
> > Sharon Kimble <boudiccas@talktalk.net> 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!"

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, emacs 24.3.1
Registered Linux user 561944

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: Exported source code not coloured.
  2014-03-15 13:03     ` Sharon Kimble
@ 2014-03-15 13:08       ` Rasmus
  2014-03-15 13:24         ` Sharon Kimble
  0 siblings, 1 reply; 6+ messages in thread
From: Rasmus @ 2014-03-15 13:08 UTC (permalink / raw)
  To: boudiccas; +Cc: emacs-orgmode

Sharon Kimble <boudiccas@talktalk.net> writes:

> On Sat, 15 Mar 2014 13:06:46 +0100
> Rasmus <rasmus@gmx.us> wrote:
>
>> Sharon Kimble <boudiccas@talktalk.net> writes:
>> 
>> > On Sat, 15 Mar 2014 10:09:29 +0000
>> > Sharon Kimble <boudiccas@talktalk.net> 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

-- 
May contains speling mistake

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

* Re: Exported source code not coloured.
  2014-03-15 13:08       ` Rasmus
@ 2014-03-15 13:24         ` Sharon Kimble
  0 siblings, 0 replies; 6+ messages in thread
From: Sharon Kimble @ 2014-03-15 13:24 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode

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

On Sat, 15 Mar 2014 14:08:49 +0100
Rasmus <rasmus@gmx.us> wrote:

> Sharon Kimble <boudiccas@talktalk.net> writes:
> 
> > On Sat, 15 Mar 2014 13:06:46 +0100
> > Rasmus <rasmus@gmx.us> wrote:
> >
> >> Sharon Kimble <boudiccas@talktalk.net> writes:
> >> 
> >> > On Sat, 15 Mar 2014 10:09:29 +0000
> >> > Sharon Kimble <boudiccas@talktalk.net> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2014-03-15 13:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-15 10:09 Exported source code not coloured Sharon Kimble
2014-03-15 11:26 ` Sharon Kimble
2014-03-15 12:06   ` Rasmus
2014-03-15 13:03     ` Sharon Kimble
2014-03-15 13:08       ` Rasmus
2014-03-15 13:24         ` Sharon Kimble

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