Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #196: Me no internet, only janitor, me just wax floors.


comp / comp.programming.literate / Getting Started

SubjectAuthor
* Getting Startedkohnenandrew
+- [?] Re: Getting StartedJoe Riel
`- Re: Getting StartedDr Engelbert Buxbaum

1
Subject: Getting Started
From: kohnenandrew@gmail.com
Newsgroups: comp.programming.literate
Organization: Tufts University EECS computing environment
Date: Fri, 4 Mar 2016 20:48 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!reader01.eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.albasani.net!.POSTED!labrador.cs.tufts.edu!not-for-mail
From: kohnenandrew@gmail.com
Newsgroups: comp.programming.literate
Subject: Getting Started
Date: Fri, 4 Mar 2016 15:48:01 -0500 (EST)
Organization: Tufts University EECS computing environment
Lines: 29
Sender: nr@labrador.cs.tufts.edu
Approved: Norman Ramsey <nr@cs.tufts.edu>
Message-ID: <nbcsa1$m1b$1@labrador.cs.tufts.edu>
References: <sfid-H-20160229-205616-+25.56-1@multi.osbf.lua>
NNTP-Posting-Host: fBJERiKyLR3uk3ICtzWXjQj4IrOaxZEviSOEH2ks1sA=
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: news.albasani.net bhOj3UppeFl6DjnwshDJKYyKuNv9M7oU5i+I846Ind7hQ+e3VSTPEvXdz4DT1RQ0SBOtlPHtQmdPpK+BhQioyA==
X-Complaints-To: abuse@albasani.net
NNTP-Posting-Date: Fri, 4 Mar 2016 20:48:01 +0000 (UTC)
Errors-To: /dev/null
Cancel-Lock: sha1:i4wMzHGTMTiqHeUNWm99o2oz7sw=
View all headers

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.

Subject: [?] Re: Getting Started
From: Joe Riel
Newsgroups: comp.programming.literate
Organization: A noiseless patient Spider
Date: Thu, 7 Apr 2016 22:06 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!reader01.eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.albasani.net!.POSTED!labrador.cs.tufts.edu!not-for-mail
From: joer@san.rr.com (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 <nr@cs.tufts.edu>
Message-ID: <ne6llq$co2$1@labrador.cs.tufts.edu>
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>
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=
View all headers

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

Subject: Re: Getting Started
From: Dr Engelbert Buxbaum
Newsgroups: comp.programming.literate
Organization: private
Date: Sat, 11 May 2024 09:31 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: engelbert_buxbaum@hotmail.com (Dr Engelbert Buxbaum)
Newsgroups: comp.programming.literate
Subject: Re: Getting Started
Date: Sat, 11 May 2024 03:31:24 CST
Organization: private
Lines: 18
Approved: comp.programming.literate Moderators <cpl-mods@newjersey.metaed.com>
Message-ID: <MPG.40a86394494148b09896a1@news.eternal-september.org>
References: <sfid-H-20160229-205616-+25.56-1@multi.osbf.lua> <nbcsa1$m1b$1@labrador.cs.tufts.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 11 May 2024 05:31:29 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="431993fd63a78de0296d348a7e951175";
logging-data="1935919"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+7ud2MU2OoxaHeOju8Uhot"
User-Agent: MicroPlanet-Gravity/3.0.4 tinews.pl/1.1.59
Cancel-Lock: sha1:gffz3z4QxzAnSPPfuzcOKKobDtc=
sha1:gffz3z4QxzAnSPPfuzcOKKobDtc=
X-Auth-Sender: U2FsdGVkX1/StPKwmN2WMR/wOKQ82BJjmVW0Dl+5STFMtbGuV3aUDQGxF9fTsjCPmLHpic7s7q/91vv6L2Ro/Hl3q4jxAic6dXvSUFETJ2A=
X-Original-To: cpl@newjersey.metaed.com
X-cpl-info-2: contact mods cpl-mods@newjersey.metaed.com
Delivered-To: comp-programming-literate@moderators.isc.org
X-cpl-info-1: submissions to cpl@newjersey.metaed.com
View all headers

In article <nbcsa1$m1b$1@labrador.cs.tufts.edu>, kohnenandrew@gmail.com
says...
>
> 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.

For Linux, installing noweb is easy, just use the package manager of
your system. For windows, install the windows subsystem for Linux (WSL),
then Ubuntu and in there noweb as above. You then run noweave and
notangle in WSL and use their output under MikTeX. I find it easiest to
copy noweb.sty to my windows localtexmf directory, but that is optional.

I have described the procedure in detail in comp.text.tex a couple of
years ago.

noweb itself comes with a decent documentation.

1

rocksolid light 0.9.8
clearnet tor