New question #164135 on nXhtml:
https://answers.launchpad.net/nxhtml/+question/164135
I'm trying to do some literate programming with Javascript in
mumamo-noweb2-mode, but I'm getting the error:
mumamo-fontify-region: No major mode for sub chunk,
fn=mumamo-noweb2-code-chunk, r=(334 nil nil nil nil mumamo-noweb2-chunk-end-fw
nil)
Besides the Javascript regions, it seems to be working for the documentation
regions (LaTeX/noweb2 Narrow) and C code regions (C/l/noweb2 Abbrev Narrow).
Also, Javascript regions are working fine in nxhtml-mode (Javascript/nxhtml).
Also, javascript-mode is appropriately bound to .js files.
I figured since Javascript chunks are supported in nxhtml, they might also be
supported in mumamo-noweb2.
Is there any incantation I can put in my .emacs to get this working?
I'm using nXhtml 2.08 on emacs 23.2.1
Here's an example file that I'm trying to edit:
@
\section{Hello world}
\noindent \ldots then I did something in Javascript.
<<somescript.js>>=
(function () {
var x;
})();
@
\noindent \ldots and thats all
--
You received this question notification because you are a member of
nXhtml, which is an answer contact for nXhtml.
_______________________________________________
Mailing list: https://launchpad.net/~nxhtml
Post to : [email protected]
Unsubscribe : https://launchpad.net/~nxhtml
More help : https://help.launchpad.net/ListHelp