summaryrefslogtreecommitdiff
path: root/web/webfiles/test.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /web/webfiles/test.tex
Initial commit
Diffstat (limited to 'web/webfiles/test.tex')
-rw-r--r--web/webfiles/test.tex65
1 files changed, 65 insertions, 0 deletions
diff --git a/web/webfiles/test.tex b/web/webfiles/test.tex
new file mode 100644
index 0000000000..308458a0ea
--- /dev/null
+++ b/web/webfiles/test.tex
@@ -0,0 +1,65 @@
+\documentclass{report}
+\usepackage{epsf}
+\ifx\pdfoutput\undefined
+ \usepackage[raggedbottom]{webfiles}
+\else
+ \pdfoutput=1
+ %\usepackage[pdftex]{hyperref}
+ \usepackage[pdftex,raggedbottom]{webfiles}
+\fi
+\textwidth=16cm
+\textheight=21cm
+\topmargin=-\headheight
+ \advance \topmargin by -\headsep
+\oddsidemargin=0pt \evensidemargin=0pt
+\marginparwidth 0.5in
+\pagestyle{headings}
+\def\DO{\textbf{DO}}
+
+\begin{document}
+\title{Test voor {\tt webfiles} }
+\author{Mark Potse}
+\maketitle
+%\tableofcontents
+\listofprograms
+
+\setcounter{xwebSecNoEject}{0}
+\setcounter{xwebLopDepth}{9}
+
+%{\catcode`\_=11
+%\xweb_hypertype=2
+\def\xwebContentsTop{\bigskip\centerline{Contents of \texttt{mtest}}}
+\xwebContents{mtest}
+%}
+
+\chapter{{A CWEB program}}
+\def\thexwebModule{\arabic{xwebModule}}
+\webfile[reflist,hideformats]{CreateMap.tex}
+
+\def\thexwebModule{\Roman{chapter}-\arabic{xwebModule}}
+\chapter{An MWEB program}
+\webfile[nocon,noreflist,hideformats]{mtest}
+
+%\chapter{Spider (an AWKWEB program)}
+%\webfile{spider}
+
+%\def\thexwebModule{\arabic{xwebModule}}
+%\chapter{A CWEB program with only changes}
+%\webfile[onlychanges]{CreateMap}
+
+
+\chapter{Indexes and Reflists}
+
+\def\thexwebModule{\Roman{xwebModule}}
+\xwebInputIndex{CreateMap.idx}
+
+\def\thexwebModule{\arabic{xwebModule}}
+\xwebInputIndex{CreateMap}
+
+\xwebInputReflist{CreateMap.scn}
+
+\xwebInputReflist{fake.scn}
+\end{document}
+
+
+