File: main.tex

package info (click to toggle)
whizzytex 1.5.0-0.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,536 kB
  • sloc: lisp: 3,668; sh: 1,768; makefile: 227
file content (62 lines) | stat: -rw-r--r-- 1,667 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
%; whizzy -advi "advi -html Start-Document -edit" -mkfile ls

\documentclass{article}

\csname WhizzyShowMasterfalse\endcsname
  
\begin{document}

\section {This is the {\em master} file}
   
This is a test with multiple files.  
This  is the {\bf master} file \verb"main.tex".   
It has two slaves files \verb"first.tex" and \verb"second.tex". 
This is the fist section that does not input any file.
Move to next section for file inclusion.

\section {A master section, loading the first slave} 

The rest of this section is input from \texttt{first.tex}.
The rest of this section ends with:
\begin{verbatim}
\input {first}   
\end{verbatim}
\input {first}   


 
\section {Another master section, loading the first slave}

The next example is a few sections from an included file (hence the rest of
the slice follows on the next page). Note that, even though slices are by
section the included file, which contained several section is not sliced.
You may click on one of the included sections, which will move the pointer
and pass contol to the included file. Then, only one section of the
included file will be sliced. The sliced is delimited with lines: 
$$
\centerline{\hrulefill\space \lower 0.5ex \hbox{\bf Mastered by main.tex}
\hrulefill}
$$
on which you click to return to the master. 

The rest of this section ends with:
\begin{verbatim}
\include {second}
\end{verbatim}
\include {second}

\section {Last section, from master}

You may also input a file from a subdirectory: 
The rest of this section ends with:
\begin{verbatim}
\input {subdir/subfile}
\end{verbatim}
\input {subdir/subfile}

\section{The end}
The document ends here. 


\end{document}