Hans Ekbrand | 19 Jul 2012 00:33

<src lang="noweb"> not fully supported

First, thank you Michael Olsson and other muse-developers - I really
like muse and I am impressed by its capabilities.

Amongst other things, I blog with muse, and often I include source
code in my blog-posts.

It is indeed nice to have the <src> tag which automatically colors
those snippets when publishing to HTML.

I read http://mwolson.org/projects/MuseQuickStart.html#sec19 - which I
exemplified it in this blog-post
http://code.cjb.net/colorize-bash-scripts-in-html.html

Sometimes I blog about noweb, and in particular Latex, Sweave and R.
While there is a noweb-mode, colorizing of src marked noweb does not
really work.

Here is an example:

<src lang="noweb">
\documentclass{beamer}

% LaTeX settings
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[swedish]{babel}
\usepackage{array}
\usepackage{booktabs}
\usepackage{colortbl}
\usepackage{multirow}
(Continue reading)


Gmane