diff options
author | Karl Berry <karl@freefriends.org> | 2008-02-19 17:05:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-02-19 17:05:28 +0000 |
commit | cf4d2164c6ed64dccbe7d8abdd8b0c95f8509a1c (patch) | |
tree | adbb0d174b4ab3c017b085367d946ad7ba3b417b /Master/texmf-dist/tex/latex/shipunov/isyntax.sty | |
parent | f95f16133feaac8dd66077e38d247937f819c815 (diff) |
new latex collection shipunov (18feb08)
git-svn-id: svn://tug.org/texlive/trunk@6680 c570f23f-e606-0410-a88d-b1316a301751
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 |