From 94d2fc1815a919734353c942f224db1de4b4fcb8 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Mon, 7 Mar 2011 09:04:49 +0100 Subject: Django, org * Added nxhtml, mostly for django support. * Changed some org settings. --- emacs.d/nxhtml/tests/in/noweb1.now | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 emacs.d/nxhtml/tests/in/noweb1.now (limited to 'emacs.d/nxhtml/tests/in/noweb1.now') diff --git a/emacs.d/nxhtml/tests/in/noweb1.now b/emacs.d/nxhtml/tests/in/noweb1.now new file mode 100644 index 0000000..1df9074 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/noweb1.now @@ -0,0 +1,38 @@ +@ +\section{Hello world} + +Today I awakened and decided to write +some code, so I started to write a Hello World in \textsf C. + +<>= +/* + <> +*/ +#include + +int main(int argc, char *argv[]) { + printf("Hello World!\n"); + return 0; +} +@ +\noindent \ldots then I did the same in PHP. + +<>= +SELECT * FROM Persons +WHERE FirstName LIKE '%a' +@ +<>= +> + */ + echo "Hello world!\n"; +?> +@ +\section{License} +Later, same day some lawyer reminded me about licenses. +So, here it is: + +<>= +This work is placed in the public domain. +@ -- cgit v1.2.3-54-g00ecf