Groups | Search | Server Info | Login | Register


Groups > comp.programming.literate > #87

[?] Re: Getting Started

From Joe Riel <joer@san.rr.com>
Newsgroups comp.programming.literate
Subject [?] Re: Getting Started
Date 2016-04-07 18:06 -0400
Organization A noiseless patient Spider
Message-ID <ne6llq$co2$1@labrador.cs.tufts.edu> (permalink)
References <sfid-H-20160229-205616-+25.56-1@multi.osbf.lua> <nbcsa1$m1b$1@labrador.cs.tufts.edu> <sfid-h-20160304-213832-+19.17-1@multi.osbf.lua>

Show all headers | View raw


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: 
> <<input.tex>>=
> \documentclass{article}
> \usepackage{graphicx}
> \usepackage{xcolor}
> \definecolor{background}{HTML}{F68767}
> \begin{document}
> hello
> \end{document}
> @
>
> <<test.java>>=
> 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

Back to comp.programming.literate | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Getting Started kohnenandrew@gmail.com - 2016-03-04 15:48 -0500
  [?] Re: Getting Started Joe Riel <joer@san.rr.com> - 2016-04-07 18:06 -0400
  Re: Getting Started Dr Engelbert Buxbaum <engelbert_buxbaum@hotmail.com> - 2024-05-11 03:31 -0600

csiph-web