diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/shipunov/isyntax.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/shipunov/isyntax.sty | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/shipunov/isyntax.sty b/Master/texmf-dist/tex/latex/shipunov/isyntax.sty new file mode 100644 index 00000000000..3163b0d5fa1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/shipunov/isyntax.sty @@ -0,0 +1,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 |