From b2dc70474333811c4754da48bc40d052f4213dd8 Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 9 May 2009 00:49:53 +0200 Subject: Sample files in their own folder. --- Makefile.sample | 53 -------------------------------------------------- chapter1.nw | 15 -------------- contents.tex | 9 --------- index.tex | 12 ------------ intro.tex | 19 ------------------ sample/Makefile.sample | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++ sample/chapter1.nw | 15 ++++++++++++++ sample/contents.tex | 9 +++++++++ sample/index.tex | 12 ++++++++++++ sample/intro.tex | 19 ++++++++++++++++++ 10 files changed, 108 insertions(+), 108 deletions(-) delete mode 100644 Makefile.sample delete mode 100644 chapter1.nw delete mode 100644 contents.tex delete mode 100644 index.tex delete mode 100644 intro.tex create mode 100644 sample/Makefile.sample create mode 100644 sample/chapter1.nw create mode 100644 sample/contents.tex create mode 100644 sample/index.tex create mode 100644 sample/intro.tex diff --git a/Makefile.sample b/Makefile.sample deleted file mode 100644 index da14ca9..0000000 --- a/Makefile.sample +++ /dev/null @@ -1,53 +0,0 @@ -# Author: Jose A Ortega Ruiz -# Start date: Mon Jan 06, 2003 01:15 -# -# Copyright (C) 2003, 2009 by Jose Antonio Ortega Ruiz -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# - -# document languages (comma separated) -# NW_LANGUAGES = spanish - -# The name of the main tex file to be created -# NW_MAIN = main - -# File containing the main tex file contents (included nw files loaded with -# \input) -# NW_CONTENTS = contents.tex - -# The document class for the main tex file -# NW_DOCUMENT_CLASS ?= report - -# Files \input in the main file before noweb ones (listed in NW_CONTENTS) -NW_PRE_TEX = intro.tex -# Files \input in the main file after noweb ones (listed in NW_CONTENTS) -NW_POST_TEX = index.tex - -# List of dirs to recurse into -NW_SUBDIRS = . - -# Line format flag to noweb -# NW_LINEFORMAT = -L"\# %L \"%F\" %N" -NW_LINEFORMAT = - -# Location of noweb.mk -NW_MAKEFILE = noweb.mk - -include $(NW_MAKEFILE) - -# Your all target here. noweb.mk provides: tangle, weave, dvi, html, clean -all: tangle weave - diff --git a/chapter1.nw b/chapter1.nw deleted file mode 100644 index 03a85b9..0000000 --- a/chapter1.nw +++ /dev/null @@ -1,15 +0,0 @@ -% -*- mode: Noweb; noweb-code-mode: scheme-mode -*- - -% Noweb sample file, the first one \input in NW_CONTENTS - -\chapter{First sample chapter} - -Here you've got some code: - -<>= - -(define identity (lambda (x) x)) - -@ %def identity - -More text. diff --git a/contents.tex b/contents.tex deleted file mode 100644 index 8c58747..0000000 --- a/contents.tex +++ /dev/null @@ -1,9 +0,0 @@ -% This file, referenced as NW_CONTENTS in the Makefile, inputs the -% contents of the main tex file to be created. It will consist mainly -% of a series of input commands loading the different .nw files -% (without extension), but can contain arbitrary TeX code. - - -\input{chapter1} % chapter1.nw - - diff --git a/index.tex b/index.tex deleted file mode 100644 index 481b685..0000000 --- a/index.tex +++ /dev/null @@ -1,12 +0,0 @@ -% This file is listed in NW_POST_TEX in the Makefile, and, therefore, -% will be loaded after the ones listed in NW_CONTENTS, without -% weaving. - -\chapter{Index} -\noindent Here is a list of all identifiers and code chunks defined -and used in this document, and where they appear. Underlined entries -indicate the place of definition. -\subsubsection*{Identifiers} -\nowebindex -\subsubsection*{Chunks} -\nowebchunks diff --git a/intro.tex b/intro.tex deleted file mode 100644 index 7b8fc31..0000000 --- a/intro.tex +++ /dev/null @@ -1,19 +0,0 @@ -% This file is listed in NW_PRE_TEX in the Makefile, and, therefore, -% will be loaded before the ones listed in NW_CONTENTS, without -% weaving. - -\title{MzTube} -\author{Jos\'e A Ortega Ruiz} - -\maketitle - -\begin{abstract} - Your abstract goes here -\end{abstract} - -\tableofcontents - -\chapter{Introduction} -\label{sec:introduction} - -And put here the introductory text diff --git a/sample/Makefile.sample b/sample/Makefile.sample new file mode 100644 index 0000000..a18a985 --- /dev/null +++ b/sample/Makefile.sample @@ -0,0 +1,53 @@ +# Author: Jose A Ortega Ruiz +# Start date: Mon Jan 06, 2003 01:15 +# +# Copyright (C) 2003, 2009 by Jose Antonio Ortega Ruiz +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# + +# document languages (comma separated) +# NW_LANGUAGES = spanish + +# The name of the main tex file to be created +# NW_MAIN = main + +# File containing the main tex file contents (included nw files loaded with +# \input) +# NW_CONTENTS = contents.tex + +# The document class for the main tex file +# NW_DOCUMENT_CLASS ?= report + +# Files \input in the main file before noweb ones (listed in NW_CONTENTS) +NW_PRE_TEX = intro.tex +# Files \input in the main file after noweb ones (listed in NW_CONTENTS) +NW_POST_TEX = index.tex + +# List of dirs to recurse into +NW_SUBDIRS = . + +# Line format flag to noweb +# NW_LINEFORMAT = -L"\# %L \"%F\" %N" +NW_LINEFORMAT = + +# Location of noweb.mk +NW_MAKEFILE = ../noweb.mk + +include $(NW_MAKEFILE) + +# Your all target here. noweb.mk provides: tangle, weave, dvi, html, clean +all: tangle weave + diff --git a/sample/chapter1.nw b/sample/chapter1.nw new file mode 100644 index 0000000..03a85b9 --- /dev/null +++ b/sample/chapter1.nw @@ -0,0 +1,15 @@ +% -*- mode: Noweb; noweb-code-mode: scheme-mode -*- + +% Noweb sample file, the first one \input in NW_CONTENTS + +\chapter{First sample chapter} + +Here you've got some code: + +<>= + +(define identity (lambda (x) x)) + +@ %def identity + +More text. diff --git a/sample/contents.tex b/sample/contents.tex new file mode 100644 index 0000000..8c58747 --- /dev/null +++ b/sample/contents.tex @@ -0,0 +1,9 @@ +% This file, referenced as NW_CONTENTS in the Makefile, inputs the +% contents of the main tex file to be created. It will consist mainly +% of a series of input commands loading the different .nw files +% (without extension), but can contain arbitrary TeX code. + + +\input{chapter1} % chapter1.nw + + diff --git a/sample/index.tex b/sample/index.tex new file mode 100644 index 0000000..481b685 --- /dev/null +++ b/sample/index.tex @@ -0,0 +1,12 @@ +% This file is listed in NW_POST_TEX in the Makefile, and, therefore, +% will be loaded after the ones listed in NW_CONTENTS, without +% weaving. + +\chapter{Index} +\noindent Here is a list of all identifiers and code chunks defined +and used in this document, and where they appear. Underlined entries +indicate the place of definition. +\subsubsection*{Identifiers} +\nowebindex +\subsubsection*{Chunks} +\nowebchunks diff --git a/sample/intro.tex b/sample/intro.tex new file mode 100644 index 0000000..7b8fc31 --- /dev/null +++ b/sample/intro.tex @@ -0,0 +1,19 @@ +% This file is listed in NW_PRE_TEX in the Makefile, and, therefore, +% will be loaded before the ones listed in NW_CONTENTS, without +% weaving. + +\title{MzTube} +\author{Jos\'e A Ortega Ruiz} + +\maketitle + +\begin{abstract} + Your abstract goes here +\end{abstract} + +\tableofcontents + +\chapter{Introduction} +\label{sec:introduction} + +And put here the introductory text -- cgit v1.2.3