unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sharon Kimble <boudiccas@talktalk.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Colorizing 'emacs-lisp' when it is exported?
Date: Sun, 22 Dec 2013 18:33:51 +0000	[thread overview]
Message-ID: <20131222183351.46f9e51d@london> (raw)
In-Reply-To: <87wqiw921n.fsf@nl106-137-194.student.uu.se>

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

On Sun, 22 Dec 2013 19:24:11 +0100
Emanuel Berg <embe8573@student.uu.se> wrote:

> Sharon Kimble <boudiccas@talktalk.net> writes:
> 
> > Thanks to auntie google I've found out how to keep the
> > formatting of elisp on export to html using
> > #+BEGIN_SRC emacs-lisp' at the beginning of the code
> > block, and '#+END_SRC' at the end. Whilst its in .emacs
> > its nicely colorized, but how do I colorize the output
> > when its been exported please? For once, google has
> > drawn a blank, unfortunately!
> 
> Do you want to write HTML, but sometimes yank Elisp
> code, and you would like the Emacs code to keep its
> font-lock (and perhaps other properties as well)?

No, I'm not writing html, I'm exporting from org2blog.
> 
> That is, this will matter to you, at *editing* time, as
> a homepage creator?

No editing time, just 'publishing time'.
> 
> Is this something you do for school or is it a
> documentation project with Elisp examples and so forth?

I'm afraid my school days are over fifty years ago, so its hardly
appropriate. 
> 
> I never did that, but check out those pages [1]
> [2]. They mention mmm-mode, multi-mode, MuMaMo-mode,
> org-mode, and more, though again, I have no experience
> of those.
> 
> [1]
> http://unix.stackexchange.com/questions/42521/how-can-i-use-two-modes-in-emacs-markdown-and-auctex
> [2] http://www.emacswiki.org/emacs/MultipleModes
> 
Yes, I'm using org-mode, but primarily org2blog in this case, but
thanks, I will have a look at the urls you gave.

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2
Registered Linux user 561944

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

  reply	other threads:[~2013-12-22 18:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.10052.1387728225.10748.help-gnu-emacs@gnu.org>
2013-12-22 18:24 ` Colorizing 'emacs-lisp' when it is exported? Emanuel Berg
2013-12-22 18:33   ` Sharon Kimble [this message]
     [not found]   ` <mailman.10076.1387737251.10748.help-gnu-emacs@gnu.org>
2013-12-22 18:57     ` Emanuel Berg
2013-12-22 19:30       ` Jambunathan K
     [not found]       ` <mailman.10085.1387740651.10748.help-gnu-emacs@gnu.org>
2013-12-22 19:34         ` Emanuel Berg
2013-12-22 19:44           ` Emanuel Berg
2013-12-22 20:13         ` Emanuel Berg
2013-12-22 16:03 Sharon Kimble
2013-12-22 18:29 ` Jambunathan K
2013-12-22 18:48   ` Sharon Kimble
     [not found] ` <mailman.10075.1387736986.10748.help-gnu-emacs@gnu.org>
2013-12-22 18:52   ` Emanuel Berg
2013-12-22 19:00 ` Pascal J. Bourguignon
2013-12-22 23:49 ` Sean O'Halpin

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20131222183351.46f9e51d@london \
    --to=boudiccas@talktalk.net \
    --cc=help-gnu-emacs@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.
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).