Debian Codegraph @

texmf-dist/source/latex/xymtex/chemist/assurechemist.dtx

raw
1 % \iffalse meta-comment
2 %% File: assurechemist.dtx
3 %
4 % Copyright 2010 by Shinsaku Fujita
5 %
6 % This file is part of XyMTeX system.
7 % -------------------------------------
8 %
9 % This file (assurechemist.sty) is a successor to:
10 %
11 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
12 % \typeout{XyMTeX for Drawing Chemical Structural Formulas. Version 1.00}
13 % \typeout{ -- Released December 1, 1993 by Shinsaku Fujita}
14 % Copyright (C) 1993 by Shinsaku Fujita, all rights reserved.
15 %
16 % This file is a part of the macro package ``XyMTeX'' which has been
17 % designed for typesetting chemical structural formulas.
18 %
19 % This file is to be contained in the ``xymtex'' directory which is
20 % an input directory for TeX. It is a LaTeX optional style file and
21 % should be used only within LaTeX, because several macros of the file
22 % are based on LaTeX commands.
23 %
24 % For the review of XyMTeX, see
25 % (1) Shinsaku Fujita, ``Typesetting structural formulas with the text
26 % formatter TeX/LaTeX'', Computers and Chemistry, in press.
27 % The following book deals with an application of TeX/LaTeX to
28 % preparation of manuscripts of chemical fields:
29 % (2) Shinsaku Fujita, ``LaTeX for Chemists and Biochemists''
30 % Tokyo Kagaku Dozin, Tokyo (1993) [in Japanese].
31 %
32 % This work may be distributed and/or modified under the
33 % conditions of the LaTeX Project Public License, either version 1.3
34 % of this license or (at your option) any later version.
35 % The latest version of this license is in
36 % http://www.latex-project.org/lppl.txt
37 % and version 1.3 or later is part of all distributions of LaTeX
38 % version 2005/12/01 or later.
39 %
40 % This work has the LPPL maintenance status `maintained'.
41 % The Current Maintainer of this work is Shinsaku Fujita.
42 %
43 % This work consists of the files assurechemist.dtx and assurechemist.ins
44 % and the derived file lewisstruc.sty.
45 %
46 % Please report any bugs, comments, suggestions, etc. to:
47 % Shinsaku Fujita,
48 % Shonan Institute of Chemoinformatics and Mathematical Chemistry
49 % Kaneko 479-7 Ooimachi, Ashigara-Kami-Gun, Kanagawa 250-0019 Japan
50 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
51 % \def\j@urnalname{assurechemist}
52 % \def\versi@ndate{October 01, 2010}
53 % \def\versi@nno{ver5.00}
54 % \def\copyrighth@lder{SF}% Shinsaku Fujita
55 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
56 %
57 % \fi
58 %
59 % \CheckSum{101}
60 %% \CharacterTable
61 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
62 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
63 %% Digits \0\1\2\3\4\5\6\7\8\9
64 %% Exclamation \! Double quote \" Hash (number) \#
65 %% Dollar \$ Percent \% Ampersand \&
66 %% Acute accent \' Left paren \( Right paren \)
67 %% Asterisk \* Plus \+ Comma \,
68 %% Minus \- Point \. Solidus \/
69 %% Colon \: Semicolon \; Less than \<
70 %% Equals \= Greater than \> Question mark \?
71 %% Commercial at \@ Left bracket \[ Backslash \\
72 %% Right bracket \] Circumflex \^ Underscore \_
73 %% Grave accent \` Left brace \{ Vertical bar \|
74 %% Right brace \} Tilde \~}
75 %
76 % \setcounter{StandardModuleDepth}{1}
77 %
78 % \StopEventually{}
79 % \MakeShortVerb{\|}
80 %
81 % \iffalse
82 % \changes{v5.00}{2010/10/01}{First release for XyMTeX5.00}
83 % \fi
84 %
85 % \iffalse
86 %<*driver>
87 \NeedsTeXFormat{pLaTeX2e}
88 % \fi
89 \ProvidesFile{assurechemist.dtx}[2010/10/01 v5.00 assurechemist package file]
90 % \iffalse
91 \documentclass{ltxdoc}
92 \GetFileInfo{lewisstruc.dtx}
93 %
94 % %%XyMTeX Logo: Definition 2%%%
95 \def\UPSILON{\char'7}
96 \def\XyM{X\kern-.30em\smash{%
97 \raise.50ex\hbox{\UPSILON}}\kern-.30em{M}}
98 \def\XyMTeX{\XyM\kern-.1em\TeX}
99 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
100 \title{Dummy Declarations for Assuring the \protect\TeX/\protect\LaTeX{} Mode
101 by {\sffamily assurechemist.sty}
102 (\fileversion) of \XyMTeX{}}
103 \author{Shinsaku Fujita \\
104 Shonan Institute of Chemoinformatics and
105 Mathematical Chemistry \\
106 Kanagawa, 258-0019 Japan
107 }
108 \date{\filedate}
109 %
110 \begin{document}
111 \maketitle
112 \DocInput{assurechemist.dtx}
113 \end{document}
114 %</driver>
115 % \fi
116 %
117 % \section{Introduction}\label{assurechemist:intro}
118 %
119 % \subsection{Options for {\sffamily docstrip}}
120 %
121 % \DeleteShortVerb{\|}
122 % \begin{center}
123 % \begin{tabular}{|l|l|}
124 % \hline
125 % \emph{option} & \emph{function}\\ \hline
126 % assurechemist & assurechemist.sty \\
127 % driver & driver for this dtx file \\
128 % \hline
129 % \end{tabular}
130 % \end{center}
131 % \MakeShortVerb{\|}
132 %
133 % \subsection{Version Information}
134 %
135 % \begin{macrocode}
136 %<*assurechemist>
137 \typeout{Part of XyMTeX for Drawing Chemical Structural Formulas. Version 5.00}
138 \typeout{ -- Released October 01, 2010 by Shinsaku Fujita}
139 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
140 \def\j@urnalname{assurechemist}
141 \def\versi@ndate{October 01, 2010}
142 \def\versi@nno{ver5.00}
143 \def\copyrighth@lder{SF} % Shinsaku Fujita
144 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
145 \typeout{XyMTeX Macro File `\j@urnalname' (\versi@nno) <\versi@ndate>%
146 \space[\copyrighth@lder]}
147 % \end{macrocode}
148 %
149 % \begin{macrocode}
150 %\RequirePackage{chemist}
151 % \end{macrocode}
152 %
153 % \section{Dummy Declarations}
154 % If a document written by using the \textsf{chemist} package in the PostScript or PDF mode
155 % is processed by the TeX/LaTeX mode, some commands for the PS or PDF mode
156 % (defined in the \textsf{chmst-ps} or \textsf{chmst-pdf} package) cause errors of non-existence.
157 % To avoid these errors, dummy commands are defined as follows.
158 % These dummy commands are overwritten or replaced by equivalent commands
159 % when processed by the PS or PDF mode.
160 %
161 % \changes{v5.00}{2010/10/01}{Warning of non-existence}
162 % \begin{macrocode}
163 \def\notdefinedarrows#1{%
164 \XyMTeXWarning{The command
165 \expandafter\string\csname #1\endcsname\space is unavailable in TeX/LaTeX mode. ^^J
166 Please try the PostScript or PDF mode}}
167 % \end{macrocode}
168 %
169 % \changes{v5.00}{2010/10/01}{Warning of non-existence}
170 % \begin{macro}{\newllongrightarrow}
171 % \begin{macro}{\newllongleftarrow}
172 % \begin{macro}{\newllongleftrightarrow}
173 % \begin{macro}{\newEquilibarrow}
174 % \begin{macrocode}
175 \def\newllongrightarrow{\notdefinedarrows{newllongrightarrow}}
176 \def\newllongleftarrow{\notdefinedarrows{newllongleftarrow}}
177 \def\newllongleftrightarrow{\notdefinedarrows{newllongleftrightarrow}}
178 \def\newEquilibarrow{\notdefinedarrows{newEquilibarrow}}
179 % \end{macrocode}
180 % \end{macro}
181 % \end{macro}
182 % \end{macro}
183 % \end{macro}
184 %
185 % \changes{v5.00}{2010/10/01}{Warning of non-existence}
186 % \begin{macro}{\newLlongrightarrow}
187 % \begin{macro}{\newLlongleftarrow}
188 % \begin{macro}{\newLlongleftrightarrow}
189 % \begin{macrocode}
190 \def\newLlongrightarrow{\notdefinedarrows{newLlongrightarrow}}
191 \def\newLlongleftarrow{\notdefinedarrows{newLlongleftarrow}}
192 \def\newLlongleftrightarrow{\notdefinedarrows{newLlongleftrightarrow}}
193 % \end{macrocode}
194 % \end{macro}
195 % \end{macro}
196 % \end{macro}
197 %
198 % \changes{v5.00}{2010/10/01}{Warning of non-existence}
199 % \begin{macro}{\newlllongrightarrow}
200 % \begin{macro}{\newlllongleftarrow}
201 % \begin{macro}{\newlllongleftrightarrow}
202 % \begin{macro}{\newEquiliblongarrow}
203 % \begin{macrocode}
204 \def\newlllongrightarrow{\notdefinedarrows{newlllongrightarrow}}
205 \def\newlllongleftarrow{\notdefinedarrows{newlllongleftarrow}}
206 \def\newlllongleftrightarrow{\notdefinedarrows{newlllongleftrightarrow}}
207 \def\newEquiliblongarrow{\notdefinedarrows{newEquiliblongarrow}}
208 % \end{macrocode}
209 % \end{macro}
210 % \end{macro}
211 % \end{macro}
212 % \end{macro}
213 %
214 % \changes{v5.00}{2010/10/01}{Warning of non-existence}
215 % \begin{macro}{\newLllongrightarrow}
216 % \begin{macro}{\newLllongleftarrow}
217 % \begin{macro}{\newLllongleftrightarrow}
218 % \begin{macrocode}
219 \def\newLllongrightarrow{\notdefinedarrows{newLllongrightarrow}}
220 \def\newLllongleftarrow{\notdefinedarrows{newLllongleftarrow}}
221 \def\newLllongleftrightarrow{\notdefinedarrows{newLllongleftrightarrow}}
222 % \end{macrocode}
223 % \end{macro}
224 % \end{macro}
225 % \end{macro}
226 %
227 % \changes{v5.00}{2010/10/01}{Warning of non-existence}
228 % \begin{macro}{\newllongrightharpoonup}
229 % \begin{macro}{\newllongrightharpoondown}
230 % \begin{macro}{\newllongleftharpoonup}
231 % \begin{macro}{\newllongleftharpoondown}
232 % \begin{macrocode}
233 \def\newllongrightharpoonup{\notdefinedarrows{newllongrightharpoonup}}
234 \def\newllongrightharpoondown{\notdefinedarrows{newllongrightharpoondown}}
235 \def\newllongleftharpoonup{\notdefinedarrows{newllongleftharpoonup}}
236 \def\newllongleftharpoondown{\notdefinedarrows{newllongleftharpoondown}}
237 % \end{macrocode}
238 % \end{macro}
239 % \end{macro}
240 % \end{macro}
241 % \end{macro}
242 %
243 % \changes{v5.00}{2010/10/01}{Warning of non-existence}
244 % \begin{macro}{\newlllongrightharpoonup}
245 % \begin{macro}{\newlllongrightharpoondown}
246 % \begin{macro}{\newlllongleftharpoonup}
247 % \begin{macro}{\newlllongleftharpoondown}
248 % \begin{macrocode}
249 \def\newlllongrightharpoonup{\notdefinedarrows{newlllongrightharpoonup}}
250 \def\newlllongrightharpoondown{\notdefinedarrows{newlllongrightharpoondown}}
251 \def\newlllongleftharpoonup{\notdefinedarrows{newlllongleftharpoonup}}
252 \def\newlllongleftharpoondown{\notdefinedarrows{newlllongleftharpoondown}}
253 % \end{macrocode}
254 % \end{macro}
255 % \end{macro}
256 % \end{macro}
257 % \end{macro}
258 %
259 % \changes{v5.00}{2010/10/01}{Warning of non-existence}
260 % \begin{macro}{\newequilibarrow}
261 % \begin{macro}{\newequiliblongarrow}
262 % \begin{macrocode}
263 \def\newequilibarrow{\notdefinedarrows{newequilibarrow}}
264 \def\newequiliblongarrow{\notdefinedarrows{newequiliblongarrow}}
265 % \end{macrocode}
266 % \end{macro}
267 % \end{macro}
268 %
269 % \begin{macro}{\chmstpspdfsw}
270 % \begin{macrocode}
271 \let\chmstpspdfsw=\relax
272 \endinput
273 %</assurechemist>
274 % \end{macrocode}
275 % \end{macro}
276 %
277 % \Finale
278 %
279 \endinput