From dae0497dfdfe53172758b10dcee4bf9c8b026c88 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 6 Oct 2007 20:24:10 +0000 Subject: chemstyle update (5oct07) git-svn-id: svn://tug.org/texlive/trunk@5124 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/chemstyle/angew.jdf | 9 +- Master/texmf-dist/tex/latex/chemstyle/ic.jdf | 5 +- Master/texmf-dist/tex/latex/chemstyle/jacs.jdf | 8 +- .../texmf-dist/tex/latex/chemstyle/jawltxdoc.sty | 129 +++++++++++++++++++++ Master/texmf-dist/tex/latex/chemstyle/jpc.jdf | 8 +- Master/texmf-dist/tex/latex/chemstyle/none.jdf | 6 +- Master/texmf-dist/tex/latex/chemstyle/orglett.jdf | 8 +- Master/texmf-dist/tex/latex/chemstyle/rsc.jdf | 8 +- 8 files changed, 157 insertions(+), 24 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/chemstyle/jawltxdoc.sty (limited to 'Master/texmf-dist/tex/latex/chemstyle') diff --git a/Master/texmf-dist/tex/latex/chemstyle/angew.jdf b/Master/texmf-dist/tex/latex/chemstyle/angew.jdf index 24c2bb7f08c..045a7bc40e7 100644 --- a/Master/texmf-dist/tex/latex/chemstyle/angew.jdf +++ b/Master/texmf-dist/tex/latex/chemstyle/angew.jdf @@ -6,21 +6,22 @@ %% %% chemstyle.dtx (with options: `angew') %% ---------------------------------------------------------------- -%% chemstyle - Writing chemistry with style +%% The chemstyle package --- Writing chemistry with style %% Maintained by Joseph Wright %% E-mail: joseph.wright@morningstar2.co.uk %% Released under the LaTeX Project Public License v1.3 or later %% See http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- -\ProvidesFile{cst-angew.def}[2007/09/18 v1.1a] -\RequirePackage[labelsep=period,labelfont={bf,it},font=sf]{caption} +%% +\ProvidesFile{angew.def}[2007/09/2 v1.1c] +\captionsetup{labelsep=period,labelfont={bf,it},font=sf,singlelinecheck=off} \captionsetup[table]{labelsep=colon} -\captionsetup{singlelinecheck=off} \let\cst@emph\emph \def\cst@hyph{} \let\cst@super\relax \cst@prefixtrue \latinemphoff +\cst@commafalse \endinput %% %% End of file `angew.jdf'. diff --git a/Master/texmf-dist/tex/latex/chemstyle/ic.jdf b/Master/texmf-dist/tex/latex/chemstyle/ic.jdf index 92b1f683a59..f8692ee46a7 100644 --- a/Master/texmf-dist/tex/latex/chemstyle/ic.jdf +++ b/Master/texmf-dist/tex/latex/chemstyle/ic.jdf @@ -6,13 +6,14 @@ %% %% chemstyle.dtx (with options: `ic') %% ---------------------------------------------------------------- -%% chemstyle - Writing chemistry with style +%% The chemstyle package --- Writing chemistry with style %% Maintained by Joseph Wright %% E-mail: joseph.wright@morningstar2.co.uk %% Released under the LaTeX Project Public License v1.3 or later %% See http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- -\ProvidesFile{ic.jdf}[2007/09/18 v1.1a] +%% +\ProvidesFile{ic.jdf}[2007/09/2 v1.1c] \input {jacs.jdf} \captionsetup{textfont=rm} \endinput diff --git a/Master/texmf-dist/tex/latex/chemstyle/jacs.jdf b/Master/texmf-dist/tex/latex/chemstyle/jacs.jdf index 74d2015fc65..637bb2f3cda 100644 --- a/Master/texmf-dist/tex/latex/chemstyle/jacs.jdf +++ b/Master/texmf-dist/tex/latex/chemstyle/jacs.jdf @@ -6,16 +6,16 @@ %% %% chemstyle.dtx (with options: `jacs') %% ---------------------------------------------------------------- -%% chemstyle - Writing chemistry with style +%% The chemstyle package --- Writing chemistry with style %% Maintained by Joseph Wright %% E-mail: joseph.wright@morningstar2.co.uk %% Released under the LaTeX Project Public License v1.3 or later %% See http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- -\ProvidesFile{jacs.jdf}[2007/09/18 v1.1a] -\RequirePackage[labelfont={bf,it,sf},textfont=sf]{caption} +%% +\ProvidesFile{jacs.jdf}[2007/10/04 v1.1d] \DeclareCaptionLabelSeparator{perquad}{.\quad} -\captionsetup{labelsep=perquad} +\captionsetup{labelfont={bf,it,sf},textfont=sf,labelsep=perquad} \captionsetup[figure]{textfont=rm} \captionsetup{singlelinecheck=off} \let\cst@emph\emph diff --git a/Master/texmf-dist/tex/latex/chemstyle/jawltxdoc.sty b/Master/texmf-dist/tex/latex/chemstyle/jawltxdoc.sty new file mode 100644 index 00000000000..ef86d060f5f --- /dev/null +++ b/Master/texmf-dist/tex/latex/chemstyle/jawltxdoc.sty @@ -0,0 +1,129 @@ +%% +%% This is file `jawltxdoc.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% chemstyle.dtx (with options: `jawltxdoc') +%% ---------------------------------------------------------------- +%% The chemstyle package --- Writing chemistry with style +%% Maintained by Joseph Wright +%% E-mail: joseph.wright@morningstar2.co.uk +%% Released under the LaTeX Project Public License v1.3 or later +%% See http://www.latex-project.org/lppl.txt +%% ---------------------------------------------------------------- +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{jawltxdoc} + [2007/10/04 v1.0a] +\usepackage[T1]{fontenc} +\usepackage[english,UKenglish]{babel} +\usepackage[scaled=0.95]{helvet} +\usepackage[version=3]{mhchem} +\usepackage[final]{microtype} +\usepackage{mathpazo,booktabs,array,url,graphicx,courier,unitsdef} +\usepackage{upgreek,ifpdf,listings} +\ifpdf + \usepackage{embedfile} + \embedfile[% + stringmethod=escape,% + mimetype=plain/text,% + desc={LaTeX docstrip source archive for package `\jobname'}% + ]{\jobname.dtx} +\fi +\usepackage{\jobname} +\usepackage[numbered]{hypdoc} +\newlength\LaTeXwidth +\newlength\LaTeXoutdent +\newlength\LaTeXgap +\setlength\LaTeXgap{1em} +\setlength\LaTeXoutdent{-0.15\textwidth} +\def\typesetexampleandcode{% + \begin{list}{}{% + \setlength\itemindent{0pt} + \setlength\leftmargin\LaTeXoutdent + \setlength\rightmargin{0pt} + } + \item + \setlength\LaTeXoutdent{-0.15\textwidth} + \begin{minipage}[c]{\textwidth-\LaTeXwidth-\LaTeXoutdent-\LaTeXgap} + \lst@sampleInput + \end{minipage}% + \hfill% + \begin{minipage}[c]{\LaTeXwidth}% + \hbox to\linewidth{\box\lst@samplebox\hss}% + \end{minipage}% + \end{list} +} +\def\typesetcodeandexample{% + \begin{list}{}{% + \setlength\itemindent{0pt} + \setlength\leftmargin{0pt} + \setlength\rightmargin{0pt} + } + \item + \begin{minipage}[c]{\LaTeXwidth}% + \hbox to\linewidth{\box\lst@samplebox\hss}% + \end{minipage}% + \lst@sampleInput + \end{list} +} +\def\typesetfloatexample{% + \begin{list}{}{% + \setlength\itemindent{0pt} + \setlength\leftmargin{0pt} + \setlength\rightmargin{0pt} + } + \item + \lst@sampleInput + \begin{minipage}[c]{\LaTeXwidth}% + \hbox to\linewidth{\box\lst@samplebox\hss}% + \end{minipage}% + \end{list} +} +\def\typesetcodeonly{% + \begin{list}{}{% + \setlength\itemindent{0pt} + \setlength\leftmargin{0pt} + \setlength\rightmargin{0pt} + } + \item + \begin{minipage}[c]{\LaTeXwidth}% + \hbox to\linewidth{\box\lst@samplebox\hss}% + \end{minipage}% + \end{list} +} +\edef\LaTeXexamplefile{\jobname.tmp} +\lst@RequireAspects{writefile} +\newbox\lst@samplebox +\lstnewenvironment{LaTeXexample}[1][\typesetexampleandcode]{% + \let\typesetexample#1 + \global\let\lst@intname\@empty + \setbox\lst@samplebox=\hbox\bgroup + \setkeys{lst}{language=[LaTeX]{TeX},tabsize=4,gobble=2,% + breakindent=0pt,basicstyle=\small\ttfamily,basewidth=0.51em,% + keywordstyle=\color{blue},% + morekeywords={bibnote,citenote,bibnotetext,bibnotemark,% + thebibnote,bibnotename,includegraphics,schemeref,% + floatcontentsleft,floatcontentsright,floatcontentscentre,% + schemerefmarker,compound,schemerefformat,color,% + startchemical,stopchemical,chemical,setupchemical,bottext,% + listofschemes}} + \lst@BeginAlsoWriteFile{\LaTeXexamplefile} +}{% + \lst@EndWriteFile\egroup + \setlength\LaTeXwidth{\wd\lst@samplebox} + \typesetexample% +} +\def\lst@sampleInput{% + \MakePercentComment\catcode`\^^M=10\relax + \small% + {\setkeys{lst}{SelectCharTable=\lst@ReplaceInput{\^\^I}% + {\lst@ProcessTabulator}}% + \leavevmode \input{\LaTeXexamplefile}}% + \MakePercentIgnore% +} +\hyphenation{PDF-LaTeX} +\endinput +%% +%% End of file `jawltxdoc.sty'. diff --git a/Master/texmf-dist/tex/latex/chemstyle/jpc.jdf b/Master/texmf-dist/tex/latex/chemstyle/jpc.jdf index 5a2d8de49d6..d01452191f6 100644 --- a/Master/texmf-dist/tex/latex/chemstyle/jpc.jdf +++ b/Master/texmf-dist/tex/latex/chemstyle/jpc.jdf @@ -6,16 +6,16 @@ %% %% chemstyle.dtx (with options: `jpc') %% ---------------------------------------------------------------- -%% chemstyle - Writing chemistry with style +%% The chemstyle package --- Writing chemistry with style %% Maintained by Joseph Wright %% E-mail: joseph.wright@morningstar2.co.uk %% Released under the LaTeX Project Public License v1.3 or later %% See http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- -\ProvidesFile{jpc.jdf}[2007/09/18 v1.1a] -\RequirePackage[font=bf,labelsep=colon]{caption} +%% +\ProvidesFile{jpc.jdf}[2007/10/04 v1.1d] \DeclareCaptionFormat{labelcaps}{\MakeUppercase{#1}#2#3} -\captionsetup{format=labelcaps} +\captionsetup{font=bf,labelsep=colon,format=labelcaps} \captionsetup[figure]{format=plain,textfont=md,labelsep=period} \captionsetup{singlelinecheck=off} \let\cst@emph\emph diff --git a/Master/texmf-dist/tex/latex/chemstyle/none.jdf b/Master/texmf-dist/tex/latex/chemstyle/none.jdf index bd319aa7a07..36b062339b4 100644 --- a/Master/texmf-dist/tex/latex/chemstyle/none.jdf +++ b/Master/texmf-dist/tex/latex/chemstyle/none.jdf @@ -6,14 +6,14 @@ %% %% chemstyle.dtx (with options: `none') %% ---------------------------------------------------------------- -%% chemstyle - Writing chemistry with style +%% The chemstyle package --- Writing chemistry with style %% Maintained by Joseph Wright %% E-mail: joseph.wright@morningstar2.co.uk %% Released under the LaTeX Project Public License v1.3 or later %% See http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- -\ProvidesFile{none.jdf}[2007/09/18 v1.1a] -\RequirePackage{caption} +%% +\ProvidesFile{none.jdf}[2007/10/04 v1.1d] \floatstyle{plain} \restylefloat{table} \labelformat{scheme}{#1} diff --git a/Master/texmf-dist/tex/latex/chemstyle/orglett.jdf b/Master/texmf-dist/tex/latex/chemstyle/orglett.jdf index 1d4f1fd68ad..8d48f55352d 100644 --- a/Master/texmf-dist/tex/latex/chemstyle/orglett.jdf +++ b/Master/texmf-dist/tex/latex/chemstyle/orglett.jdf @@ -6,13 +6,14 @@ %% %% chemstyle.dtx (with options: `orglett') %% ---------------------------------------------------------------- -%% chemstyle - Writing chemistry with style +%% The chemstyle package --- Writing chemistry with style %% Maintained by Joseph Wright %% E-mail: joseph.wright@morningstar2.co.uk %% Released under the LaTeX Project Public License v1.3 or later %% See http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- -\ProvidesFile{orglett.jdf}[2007/09/18 v1.1a] +%% +\ProvidesFile{orglett.jdf}[2007/10/04 v1.1d] \RequirePackage{xcolor} \newcommand*{\OrgLettColour}{purple} \newcommand\fs@orglett{\def\@fs@cfont{\bfseries} @@ -36,9 +37,8 @@ \floatstyle{orglett} \restylefloat{scheme} \restylefloat{table} -\RequirePackage[labelfont=bf]{caption} \DeclareCaptionLabelSeparator{perquad}{.\quad} -\captionsetup{labelsep=perquad} +\captionsetup{labelfont=bf,labelsep=perquad} \let\cst@emph\emph \def\cst@hyph{} \let\cst@super\textsuperscript diff --git a/Master/texmf-dist/tex/latex/chemstyle/rsc.jdf b/Master/texmf-dist/tex/latex/chemstyle/rsc.jdf index 4a6ab2c2cba..f4c4d419c6a 100644 --- a/Master/texmf-dist/tex/latex/chemstyle/rsc.jdf +++ b/Master/texmf-dist/tex/latex/chemstyle/rsc.jdf @@ -6,21 +6,23 @@ %% %% chemstyle.dtx (with options: `rsc') %% ---------------------------------------------------------------- -%% chemstyle - Writing chemistry with style +%% The chemstyle package --- Writing chemistry with style %% Maintained by Joseph Wright %% E-mail: joseph.wright@morningstar2.co.uk %% Released under the LaTeX Project Public License v1.3 or later %% See http://www.latex-project.org/lppl.txt %% ---------------------------------------------------------------- -\ProvidesFile{rsc.jdf}[2007/09/18 v1.1a] +%% +\ProvidesFile{rsc.jdf}[2007/10/04 v1.1d] \AtBeginDocument{% \renewcommand{\figurename}{Fig.}} -\RequirePackage[labelsep=quad,labelfont=bf]{caption} +\captionsetup{labelsep=quad,labelfont=bf} \let\cst@emph\emph \def\cst@hyph{-} \let\cst@super\relax \cst@prefixtrue \latinemphon +\cst@commafalse \endinput %% %% End of file `rsc.jdf'. -- cgit v1.2.3