diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/xymtex/chemist/assurechemist.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/xymtex/chemist/assurechemist.dtx | 279 |
1 files changed, 279 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/xymtex/chemist/assurechemist.dtx b/Master/texmf-dist/source/latex/xymtex/chemist/assurechemist.dtx new file mode 100644 index 00000000000..c8d55665250 --- /dev/null +++ b/Master/texmf-dist/source/latex/xymtex/chemist/assurechemist.dtx @@ -0,0 +1,279 @@ +% \iffalse meta-comment +%% File: assurechemist.dtx +% +% Copyright 2010 by Shinsaku Fujita +% +% This file is part of XyMTeX system. +% ------------------------------------- +% +% This file (assurechemist.sty) is a successor to: +% +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% \typeout{XyMTeX for Drawing Chemical Structural Formulas. Version 1.00} +% \typeout{ -- Released December 1, 1993 by Shinsaku Fujita} +% Copyright (C) 1993 by Shinsaku Fujita, all rights reserved. +% +% This file is a part of the macro package ``XyMTeX'' which has been +% designed for typesetting chemical structural formulas. +% +% This file is to be contained in the ``xymtex'' directory which is +% an input directory for TeX. It is a LaTeX optional style file and +% should be used only within LaTeX, because several macros of the file +% are based on LaTeX commands. +% +% For the review of XyMTeX, see +% (1) Shinsaku Fujita, ``Typesetting structural formulas with the text +% formatter TeX/LaTeX'', Computers and Chemistry, in press. +% The following book deals with an application of TeX/LaTeX to +% preparation of manuscripts of chemical fields: +% (2) Shinsaku Fujita, ``LaTeX for Chemists and Biochemists'' +% Tokyo Kagaku Dozin, Tokyo (1993) [in Japanese]. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% The Current Maintainer of this work is Shinsaku Fujita. +% +% This work consists of the files assurechemist.dtx and assurechemist.ins +% and the derived file lewisstruc.sty. +% +% Please report any bugs, comments, suggestions, etc. to: +% Shinsaku Fujita, +% Shonan Institute of Chemoinformatics and Mathematical Chemistry +% Kaneko 479-7 Ooimachi, Ashigara-Kami-Gun, Kanagawa 250-0019 Japan +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% \def\j@urnalname{assurechemist} +% \def\versi@ndate{October 01, 2010} +% \def\versi@nno{ver5.00} +% \def\copyrighth@lder{SF}% Shinsaku Fujita +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% \fi +% +% \CheckSum{101} +%% \CharacterTable +%% {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 +%% 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 +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +% +% \setcounter{StandardModuleDepth}{1} +% +% \StopEventually{} +% \MakeShortVerb{\|} +% +% \iffalse +% \changes{v5.00}{2010/10/01}{First release for XyMTeX5.00} +% \fi +% +% \iffalse +%<*driver> +\NeedsTeXFormat{pLaTeX2e} +% \fi +\ProvidesFile{assurechemist.dtx}[2010/10/01 v5.00 assurechemist package file] +% \iffalse +\documentclass{ltxdoc} +\GetFileInfo{lewisstruc.dtx} +% +% %%XyMTeX Logo: Definition 2%%% +\def\UPSILON{\char'7} +\def\XyM{X\kern-.30em\smash{% +\raise.50ex\hbox{\UPSILON}}\kern-.30em{M}} +\def\XyMTeX{\XyM\kern-.1em\TeX} +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\title{Dummy Declarations for Assuring the \protect\TeX/\protect\LaTeX{} Mode +by {\sffamily assurechemist.sty} +(\fileversion) of \XyMTeX{}} +\author{Shinsaku Fujita \\ +Shonan Institute of Chemoinformatics and +Mathematical Chemistry \\ +Kanagawa, 258-0019 Japan +} +\date{\filedate} +% +\begin{document} + \maketitle + \DocInput{assurechemist.dtx} +\end{document} +%</driver> +% \fi +% +% \section{Introduction}\label{assurechemist:intro} +% +% \subsection{Options for {\sffamily docstrip}} +% +% \DeleteShortVerb{\|} +% \begin{center} +% \begin{tabular}{|l|l|} +% \hline +% \emph{option} & \emph{function}\\ \hline +% assurechemist & assurechemist.sty \\ +% driver & driver for this dtx file \\ +% \hline +% \end{tabular} +% \end{center} +% \MakeShortVerb{\|} +% +% \subsection{Version Information} +% +% \begin{macrocode} +%<*assurechemist> +\typeout{Part of XyMTeX for Drawing Chemical Structural Formulas. Version 5.00} +\typeout{ -- Released October 01, 2010 by Shinsaku Fujita} +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\def\j@urnalname{assurechemist} +\def\versi@ndate{October 01, 2010} +\def\versi@nno{ver5.00} +\def\copyrighth@lder{SF} % Shinsaku Fujita +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\typeout{XyMTeX Macro File `\j@urnalname' (\versi@nno) <\versi@ndate>% +\space[\copyrighth@lder]} +% \end{macrocode} +% +% \begin{macrocode} +%\RequirePackage{chemist} +% \end{macrocode} +% +% \section{Dummy Declarations} +% If a document written by using the \textsf{chemist} package in the PostScript or PDF mode +% is processed by the TeX/LaTeX mode, some commands for the PS or PDF mode +% (defined in the \textsf{chmst-ps} or \textsf{chmst-pdf} package) cause errors of non-existence. +% To avoid these errors, dummy commands are defined as follows. +% These dummy commands are overwritten or replaced by equivalent commands +% when processed by the PS or PDF mode. +% +% \changes{v5.00}{2010/10/01}{Warning of non-existence} +% \begin{macrocode} +\def\notdefinedarrows#1{% + \XyMTeXWarning{The command + \expandafter\string\csname #1\endcsname\space is unavailable in TeX/LaTeX mode. ^^J + Please try the PostScript or PDF mode}} +% \end{macrocode} +% +% \changes{v5.00}{2010/10/01}{Warning of non-existence} +% \begin{macro}{\newllongrightarrow} +% \begin{macro}{\newllongleftarrow} +% \begin{macro}{\newllongleftrightarrow} +% \begin{macro}{\newEquilibarrow} +% \begin{macrocode} +\def\newllongrightarrow{\notdefinedarrows{newllongrightarrow}} +\def\newllongleftarrow{\notdefinedarrows{newllongleftarrow}} +\def\newllongleftrightarrow{\notdefinedarrows{newllongleftrightarrow}} +\def\newEquilibarrow{\notdefinedarrows{newEquilibarrow}} +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% +% \changes{v5.00}{2010/10/01}{Warning of non-existence} +% \begin{macro}{\newLlongrightarrow} +% \begin{macro}{\newLlongleftarrow} +% \begin{macro}{\newLlongleftrightarrow} +% \begin{macrocode} +\def\newLlongrightarrow{\notdefinedarrows{newLlongrightarrow}} +\def\newLlongleftarrow{\notdefinedarrows{newLlongleftarrow}} +\def\newLlongleftrightarrow{\notdefinedarrows{newLlongleftrightarrow}} +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% +% \changes{v5.00}{2010/10/01}{Warning of non-existence} +% \begin{macro}{\newlllongrightarrow} +% \begin{macro}{\newlllongleftarrow} +% \begin{macro}{\newlllongleftrightarrow} +% \begin{macro}{\newEquiliblongarrow} +% \begin{macrocode} +\def\newlllongrightarrow{\notdefinedarrows{newlllongrightarrow}} +\def\newlllongleftarrow{\notdefinedarrows{newlllongleftarrow}} +\def\newlllongleftrightarrow{\notdefinedarrows{newlllongleftrightarrow}} +\def\newEquiliblongarrow{\notdefinedarrows{newEquiliblongarrow}} +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% +% \changes{v5.00}{2010/10/01}{Warning of non-existence} +% \begin{macro}{\newLllongrightarrow} +% \begin{macro}{\newLllongleftarrow} +% \begin{macro}{\newLllongleftrightarrow} +% \begin{macrocode} +\def\newLllongrightarrow{\notdefinedarrows{newLllongrightarrow}} +\def\newLllongleftarrow{\notdefinedarrows{newLllongleftarrow}} +\def\newLllongleftrightarrow{\notdefinedarrows{newLllongleftrightarrow}} +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% +% \changes{v5.00}{2010/10/01}{Warning of non-existence} +% \begin{macro}{\newllongrightharpoonup} +% \begin{macro}{\newllongrightharpoondown} +% \begin{macro}{\newllongleftharpoonup} +% \begin{macro}{\newllongleftharpoondown} +% \begin{macrocode} +\def\newllongrightharpoonup{\notdefinedarrows{newllongrightharpoonup}} +\def\newllongrightharpoondown{\notdefinedarrows{newllongrightharpoondown}} +\def\newllongleftharpoonup{\notdefinedarrows{newllongleftharpoonup}} +\def\newllongleftharpoondown{\notdefinedarrows{newllongleftharpoondown}} +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% +% \changes{v5.00}{2010/10/01}{Warning of non-existence} +% \begin{macro}{\newlllongrightharpoonup} +% \begin{macro}{\newlllongrightharpoondown} +% \begin{macro}{\newlllongleftharpoonup} +% \begin{macro}{\newlllongleftharpoondown} +% \begin{macrocode} +\def\newlllongrightharpoonup{\notdefinedarrows{newlllongrightharpoonup}} +\def\newlllongrightharpoondown{\notdefinedarrows{newlllongrightharpoondown}} +\def\newlllongleftharpoonup{\notdefinedarrows{newlllongleftharpoonup}} +\def\newlllongleftharpoondown{\notdefinedarrows{newlllongleftharpoondown}} +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% +% \changes{v5.00}{2010/10/01}{Warning of non-existence} +% \begin{macro}{\newequilibarrow} +% \begin{macro}{\newequiliblongarrow} +% \begin{macrocode} +\def\newequilibarrow{\notdefinedarrows{newequilibarrow}} +\def\newequiliblongarrow{\notdefinedarrows{newequiliblongarrow}} +% \end{macrocode} +% \end{macro} +% \end{macro} +% +% \begin{macro}{\chmstpspdfsw} +% \begin{macrocode} +\let\chmstpspdfsw=\relax +\endinput +%</assurechemist> +% \end{macrocode} +% \end{macro} +% +% \Finale +% +\endinput |