Path: csiph.com!news.mixmin.net!news.albasani.net!.POSTED!labrador.cs.tufts.edu!not-for-mail From: Joe Riel Newsgroups: comp.programming.literate Subject: [?] Re: Getting Started Date: Thu, 7 Apr 2016 18:06:50 -0400 (EDT) Organization: A noiseless patient Spider Lines: 41 Sender: nr@labrador.cs.tufts.edu Approved: Norman Ramsey Message-ID: References: NNTP-Posting-Host: hz1pX05uGQC2qX3BbxSbGX+jSraEdt/bVyXY1yOdap8= Mime-Version: 1.0 Content-Type: text/plain X-Trace: news.albasani.net jYvchnKqNOAo+t0TdgdWhKf+b7j6uQexg8AIpijjG3dv6KWnDZEVZWyyndXNqKu20lr+tEL+tuTjgeRCnit6vg== X-Complaints-To: abuse@albasani.net NNTP-Posting-Date: Thu, 7 Apr 2016 22:06:50 +0000 (UTC) Errors-To: /dev/null Cancel-Lock: sha1:/C9d+wnBDXPQ5c6h6QqOMu1Hbm4= Xref: csiph.com comp.programming.literate:87 kohnenandrew@gmail.com writes: > Hello Everyone > > My Name is Andrew Kohnen. I am new to literate programming want to give noweb a try. However there is a lack of good tutorials on how to install and run noweb. > > At this time, all I want to do is be able to create simple .nw file that I will be able to turn into a pdf or tex file with the word "Hello" with weave and a simple java program that prints out "hello" with the tangle > > Something like this: > <>= > \documentclass{article} > \usepackage{graphicx} > \usepackage{xcolor} > \definecolor{background}{HTML}{F68767} > \begin{document} > hello > \end{document} > @ > > <>= > public class test { > > public static void main(String[] args) { > System.out.println("Hello"); > } > > } > @ > > > I am in desperate need of help with this. Thank you for reading. Just insert that content into, say, tmp.nw and run noweb on it; $ noweb tmp.nw That will produce input.tex and test.java. Run, say, pdflatex, on input.tex. -- Joe Riel