blob: 3163b0d5fa1c97c71c5d16dbf3e88bc7f30e693a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
\ProvidesPackage{isyntax}
[2008/02/07 v0.3 Interactive syntax check]
\RequirePackage{ifthen}
\newif\if@SO
\DeclareOption{syntaxonly}{\@SOtrue}
\DeclareOption{nosyntaxonly}{\@SOfalse}
\ExecuteOptions{syntaxonly}
\ProcessOptions
\if@SO
\RequirePackage{syntonly}
\typeout{}% Screen typeout:
\typeout{*********************************************}
\typeout{ Do you want only to check syntax of your}
\typeout{ document (no dvi/pdf output)? (y/n)}
\typein[\isyntax]{*********************************************}
\ifthenelse{\equal{\isyntax}{y}}{\syntaxonly}{\relax}
\fi\relax
\endinput
|