summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/textopo/biotex.sty
blob: 8462e9ca240ea9f8c85ef12b0316a9e1577c3ae2 (plain)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{biotex}[2001/08/08 LaTeX BioTeX Bundle (v1.1)]

\catcode`\@=11

\expandafter\ifx\csname BioTeX\endcsname\relax \else \endinput \fi

\def\BioTeX{\mbox{\textsc{Bio}\kern-0.5ex\TeX}}

\message{Welcome to the BioTeX Bundle Version 1.1 of 01/08/08}

\DeclareOption*{%
   \PassOptionsToPackage{\CurrentOption}{texshade}%
   \PassOptionsToPackage{\CurrentOption}{textopo}%
}
\ProcessOptions

\newread\in@file

\expandafter\ifx\csname TeXshade\endcsname\relax
 \openin\in@file = texshade.sty
 \ifeof\in@file
  \PackageError{BioTeX}
    {`texshade.sty' not found}
      {\MessageBreak
       I can not find the TeXshade package on your computer.\MessageBreak
       That means that neither setting of sequence alignments\MessageBreak
       nor shading of topology plots or helical wheels\MessageBreak
       can be applied.\MessageBreak
       TeXshade is available from any CTAN site or from the\MessageBreak
       BioTeX (TeXshade/TeXtopo) homepage: \MessageBreak
       http://homepages.uni-tuebingen.de/beitz/tse.html
       \MessageBreak\MessageBreak
       You can proceed <return> or stop by typing X <return>. \MessageBreak
}
 \else \RequirePackage{texshade}
 \expandafter\ifx\csname geneticcode\endcsname\relax
   \PackageError{BioTeX}
   {(actually a warning only) `texshade.sty' too old}
   {\MessageBreak
       The TeXshade version your are about to use is not\MessageBreak
       compatible with TeXtopo. \MessageBreak
       In order to apply shading on topology plots you\MessageBreak
       need to install a more recent TeXshade package\MessageBreak
       (v1.3 or newer). \MessageBreak
       TeXshade is available from any CTAN site or from the \MessageBreak
       BioTeX (TeXshade/TeXtopo) homepage: \MessageBreak
       http://homepages.uni-tuebingen.de/beitz/tse.html
       \MessageBreak\MessageBreak
       You can proceed <return> or stop by typing X <return>. \MessageBreak
}
 \fi
 \closein\in@file
 \fi
\fi

\expandafter\ifx\csname TeXtopo\endcsname\relax
 \openin\in@file = textopo.sty
 \ifeof\in@file
  \PackageError{BioTeX}
    {`textopo.sty' not found}
      {\MessageBreak
       I can not find the TeXtopo package on your computer.\MessageBreak
       That means that neither topology plots nor helical wheels\MessageBreak
       can be set.\MessageBreak
       TeXtopo is available from any CTAN site or from the\MessageBreak
       BioTeX (TeXshade/TeXtopo) homepage: \MessageBreak
       http://homepages.uni-tuebingen.de/beitz/tse.html
       \MessageBreak\MessageBreak
       You can proceed <return> or stop by typing X <return>. \MessageBreak
}
 \else \RequirePackage{textopo} \fi
 \closein\in@file
\fi

\catcode`\@=12