summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-06-06 21:56:29 +0000
committerKarl Berry <karl@freefriends.org>2017-06-06 21:56:29 +0000
commitd6136de4d8066d5be6ce0996a3e1ff0b01527f14 (patch)
tree99da759ecf18d87b581d2a799b47262f0334a5ea /Master
parentae5c3b73315e3e216f364fa80bc292037be5f590 (diff)
chemfig (22may17)
git-svn-id: svn://tug.org/texlive/trunk@44513 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/generic/chemfig/README6
-rw-r--r--Master/texmf-dist/doc/generic/chemfig/chemfig-en.pdfbin1048352 -> 1038230 bytes
-rw-r--r--Master/texmf-dist/doc/generic/chemfig/chemfig-en.tex11
-rw-r--r--Master/texmf-dist/doc/generic/chemfig/chemfig-fr.pdfbin1076274 -> 1066206 bytes
-rw-r--r--Master/texmf-dist/doc/generic/chemfig/chemfig-fr.tex16
-rw-r--r--Master/texmf-dist/tex/generic/chemfig/chemfig.sty8
-rw-r--r--Master/texmf-dist/tex/generic/chemfig/chemfig.tex40
-rw-r--r--Master/texmf-dist/tex/generic/chemfig/t-chemfig.tex8
8 files changed, 43 insertions, 46 deletions
diff --git a/Master/texmf-dist/doc/generic/chemfig/README b/Master/texmf-dist/doc/generic/chemfig/README
index 98e0a5a9538..071cdd14017 100644
--- a/Master/texmf-dist/doc/generic/chemfig/README
+++ b/Master/texmf-dist/doc/generic/chemfig/README
@@ -2,9 +2,9 @@ ___________________________________
The
ChemFig package
- v1.2d
+ v1.2e
- 2015/12/01
+ 2017/05/20
___________________________________
Maintainer: Christian Tellechea
@@ -31,4 +31,4 @@ le dessin selon une syntaxe simple, souple et intuitive.
Le dessin est fait avec l'extension tikz. ChemFig fonctionne donc en
mode dvi ou pdf.
- Christian Tellechea \ No newline at end of file
+ Christian Tellechea
diff --git a/Master/texmf-dist/doc/generic/chemfig/chemfig-en.pdf b/Master/texmf-dist/doc/generic/chemfig/chemfig-en.pdf
index c13e8f891f2..890311b236a 100644
--- a/Master/texmf-dist/doc/generic/chemfig/chemfig-en.pdf
+++ b/Master/texmf-dist/doc/generic/chemfig/chemfig-en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/chemfig/chemfig-en.tex b/Master/texmf-dist/doc/generic/chemfig/chemfig-en.tex
index 44225ff78d2..c2dc6bd5c5f 100644
--- a/Master/texmf-dist/doc/generic/chemfig/chemfig-en.tex
+++ b/Master/texmf-dist/doc/generic/chemfig/chemfig-en.tex
@@ -1,10 +1,6 @@
% __________________________________________________________________
% | |
-% | |
-% | chemfig v1.2d |
-% | |
-% | 1 december 2015 |
-% | |
+% | chemfig v1.2e |
% |__________________________________________________________________|
%
% This is chemfig_doc_en.tex, the LaTeX code of the chemfig English
@@ -347,6 +343,11 @@ The command \verb|\chemfig| draws a molecule using the commands provided by the
\item the user has a choice of compilation method\idx*{compilation method}: pdf\LaTeX{} can be used equally well in \idx{dvi mode} (tex $\longrightarrow$ dvi $\longrightarrow$ ps $\longrightarrow$ pdf) or in \idx{pdf mode} (tex $\longrightarrow$ pdf). In effect \TIKZ, via the underlying \idx{pgf}, gives identical graphical results in the two modes;
\item the \idx{bounding box} is automatically calculated by \TIKZ and the user need not worry about any overlap with the text. However, care must be taken with alignment when the molecule is drawn in a paragraph. In the following example, we have drawn the \idx{bounding box} for the molecule: {\fboxsep0pt \fbox{\chemfig{H_3C-C(-[:-30]OH)=[:30]O}}}. \CF always places the first atom of the molecule on the \idx{baseline} of the preceding code.
\end{itemize}
+
+\section{Acknowledgment}
+This package has seen the light of day thanks to the assistance of Christophe \textsc{Casseau}, who had the idea. I thank him for his help before writing the code and for the tests he carried out.
+\medbreak
+I also want to warmly thank Theo \textsc{Hopman} for offering to translate this manual into English.
\newpage
\part{Operation of \protect\CF}
diff --git a/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.pdf b/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.pdf
index d2a0481c015..46b6df6e4c6 100644
--- a/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.pdf
+++ b/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.tex b/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.tex
index 29edb67ec86..faa2c811375 100644
--- a/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.tex
+++ b/Master/texmf-dist/doc/generic/chemfig/chemfig-fr.tex
@@ -1,10 +1,6 @@
% __________________________________________________________________
% | |
-% | |
-% | chemfig v1.2d |
-% | |
-% | 1 decembre 2015 |
-% | |
+% | chemfig v1.2e |
% |__________________________________________________________________|
%
% Ceci est chemfig_doc_fr.tex, le code LaTeX de la documentation en
@@ -292,8 +288,7 @@ delim_2 "\\dotfill"
\newpage
\setitemize{leftmargin=3em,topsep=0pt,parsep=0pt,itemsep=0pt,label=--}
-\part{Introduction}
-\section{Nouveau dans la v1.2}
+\part{Introduction}\section{Nouveau dans la v1.2}
\paragraph{Pointes de flèches} Le modèle de pointe de flèche «CF» utilisé par défaut dans \CF est désormais défini avec la commande \verb|\pgfdeclarearrow| sur le modèle de «Stealth». Pour cela, la bibliothèque «arrows.meta» est chargée. La pointe «CF» admet donc les mêmes possibilités de personnalisation que la pointe «Stealth». Il est maintenant possible de définir le style de la pointe des flèches par défaut par l'intermédiaire de \verb|\setarrowdefault|.
\exemple{Personnalisation des flèches}/1) Flèche par défaut :\par
@@ -347,6 +342,11 @@ La commande \verb|\chemfig| dessine une molécule en se servant de commandes de
\item l'utilisateur a le choix pour le moteur de compilation\idx*{mode de compilation} : pdf\LaTeX{} peut indifféremment être utilisé en mode dvi\idx*{dvi (mode)} (tex $\longrightarrow$ dvi $\longrightarrow$ ps $\longrightarrow$ pdf) ou en mode pdf\idx*{pdf (mode)} (tex $\longrightarrow$ pdf). En effet, \TIKZ, via la sous-couche \idx{pgf}, donne des résultats graphiques identiques dans les deux modes;
\item la boîte englobante\idx*{boite englobante@boîte englobante} est automatiquement calculée par \TIKZ et l'utilisateur n'a pas à se préoccuper d'éventuels chevauchements avec le texte. En revanche il faut faire attention à la régularité des interlignes lorsque la molécule est dessinée dans un paragraphe. À titre d'exemple, on a tracé la boîte englobante\idx*{boite englobante@boîte englobante} pour cette molécule : {\fboxsep0pt \fbox{\chemfig{H_3C-C(-[:-30]OH)=[:30]O}}}. \CF placera toujours le premier atome de la molécule sur la \idx{ligne de base} du code qui précède.
\end{itemize}
+
+\section{Remerciements}
+Cette extension a pu voir le jour grâce à l'aide de Christophe \textsc{Casseau} qui en a eu l'idée. Je le remercie pour l'aide qu'il m'a apportée en amont de l'écriture du code ainsi que pour les tests qu'il a effectués.
+\bigbreak
+Enfin, je tiens à chaleureusement remercier Theo \textsc{Hopman} qui m'a spontanément proposé d'effectuer la traduction de ce manuel en anglais.
\newpage
\part{Fonctionnement de \protect\CF}
@@ -966,7 +966,7 @@ Le code correct est donc d'utiliser \idx{\chemnameinit} avant et après la réac
\schemestop
\chemnameinit{}/
-Enfin, pour écrire un nom sur plusieurs lignes, la commande \idx*{\protect\symbol{'134}\protect\symbol{'134}@\protect\texttt{\protect\symbol{'134}\protect\symbol{'134}}} rencontrée dans un \verb-<nom>- effectue un retour à la ligne\footnote{Par contre, la commande \texttt{\textbackslash par} est interdite et provoquera une erreur à la compilation.} :
+Enfin, pour écrire un nom sur plusieurs lignes, la commande \idx*{\protect\symbol{'134}\protect\symbol{'134}@\protect\texttt{\protect\symbol{'134}\protect\symbol{'134}}} rencontrée dans un \verb-<nom>- effectue un retour à la ligne\footnote{Par contre, la commande \texttt{\textbackslash par} est interdite et provoquera une erreur à la compilation.} :% TODO : \\ absente du pdf
\exemple*{Nom sur 2 lignes}/\schemestart
\chemname{\chemfig{R-C(-[:-30]OH)=[:30]O}}{Acide\\carboxylique}
\+
diff --git a/Master/texmf-dist/tex/generic/chemfig/chemfig.sty b/Master/texmf-dist/tex/generic/chemfig/chemfig.sty
index f4f5b3b2b4e..03b13b44561 100644
--- a/Master/texmf-dist/tex/generic/chemfig/chemfig.sty
+++ b/Master/texmf-dist/tex/generic/chemfig/chemfig.sty
@@ -1,10 +1,6 @@
% __________________________________________________________________
% | |
-% | |
-% | chemfig v1.2d |
-% | |
-% | 1 december 2015 |
-% | |
+% | chemfig v1.2e |
% |__________________________________________________________________|
%
% This is chemfig.sty, the package file for LaTeX.
@@ -43,4 +39,4 @@
\RequirePackage{tikz}
\input chemfig.tex
\ProvidesPackage\CF@package@name[\CF@date\space v\CF@ver\space Draw molecule with an easy syntax]
-\endinput \ No newline at end of file
+\endinput
diff --git a/Master/texmf-dist/tex/generic/chemfig/chemfig.tex b/Master/texmf-dist/tex/generic/chemfig/chemfig.tex
index 675cc865bab..6c4530c9317 100644
--- a/Master/texmf-dist/tex/generic/chemfig/chemfig.tex
+++ b/Master/texmf-dist/tex/generic/chemfig/chemfig.tex
@@ -1,10 +1,6 @@
% __________________________________________________________________
% | |
-% | |
-% | chemfig v1.2d |
-% | |
-% | 1 december 2015 |
-% | |
+% | chemfig v1.2e |
% |__________________________________________________________________|
%
% This is chemfig.tex, the code of the "chemfig" package.
@@ -65,10 +61,10 @@
\def#1%
}
-\CF@def\CF@ver {1.2d}
-\CF@def\CF@date {2015/12/01}
-\CF@def\CF@fr@date {1 d\'ecembre 2015}
-\CF@def\CF@en@date {1 december 2015}
+\CF@def\CF@ver {1.2e}
+\CF@def\CF@date {2017/05/20}
+\CF@def\CF@fr@date {20 mai 2017}
+\CF@def\CF@en@date {20 may 2017}
\CF@def\CF@package@name{chemfig}
\CF@def\CF@error#1{\errmessage{Package \CF@package@name\space Error: #1.}}
@@ -663,9 +659,9 @@
{\def\CF@bond@outnode{%
n\CF@last@groupnumber-%
\ifx\CF@current@fromatom\@empty
- \ifdim\CF@current@angle pt<90pt \number\CF@cnt@atomingroup
- \else\ifdim\CF@current@angle pt>270pt \number\CF@cnt@atomingroup\else1\fi
- \fi
+ \ifdim\CF@current@angle pt<90pt \number\CF@cnt@atomingroup
+ \else\ifdim\CF@current@angle pt>270pt \number\CF@cnt@atomingroup\else1\fi
+ \fi
\else
\CF@current@fromatom
\fi}%
@@ -886,7 +882,7 @@
\or
\CF@create@normnodes{#2@@}{#3@@}\CF@double@sep\CF@double@sep
\CF@draw@axisbond{#2}{#3}% trace la liaison simple dans l'axe\CF@draw@bond@a(#2@@)--(#3@@);
- \begingroup% ajuste \'eventuellement les longueurs des liaisons doubles
+ \begingroup% ajuste \'eventuellement les longueurs des l(0,0iaisons doubles
\ifCF@incycle
\ifdim\CF@start@offset=\z@
\CF@edefadd@tocs\CF@current@bondstyle{,shorten <=\CF@doublebond@lengthcorrection pt}%
@@ -1727,7 +1723,7 @@
}
\CF@def\CF@arrow@b(#1.#2[#3]--#4.#5[#6])#7{%
- \def\CF@current@arrowtype{#7}%
+ \def\CF@current@arrowtype{#7}% nom de la fl\`eche
\CF@doifempty\CF@current@arrowtype{\def\CF@current@arrowtype{->}}%
\@testopt{\CF@arrow@c(#1.#2[#3]--#4.#5[#6])}{}%
}
@@ -1919,7 +1915,7 @@
\fi
}
-\CF@def\CF@grab@arrow@name#1[#2\@nil{#1}
+\CF@def\CF@grab@arrow@name#1[#2\@nil{\detokenize{CF@arrow(#1)}}
\CF@def\CF@grab@arrow@args#1[#2\@nil{[#2}
\CF@def\CF@make@parameter@text#1{%
@@ -1940,7 +1936,7 @@
\begingroup
\CF@make@parameter@text{#1}%
\expandafter\endgroup
- \expandafter\def\csname\detokenize{#2}\expandafter\endcsname\the\toks\z@{#3\CF@gobtonil}%
+ \expandafter\def\csname\detokenize{CF@arrow(#2)}\expandafter\endcsname\the\toks\z@{#3\CF@gobtonil}%
}
\CF@def\CF@if@stop#1{\CF@if@stop@a#1.\@nil}
@@ -2409,7 +2405,8 @@ v1.2 2015/10/08
- \chemrel, \setchemrel et \chemsign sont supprim\'ees.
- compatibilit\'e, avec les limitations d'usage, avec la
librairie "externalize" : le \begin{tikzpicture} voit
- d\'esormais le \end correspondant dans la macro \CF@chemfig@d.
+ d\'esormais le \end{tikzpicture} correspondant dans la macro
+ \CF@chemfig@d.
----------------------------------------------------------------------
v1.2a 2015/10/21
- erreur de copier-coller dans le code: une adresse url \'etait
@@ -2434,4 +2431,11 @@ v1.2d 2015/12/01
- correction d'un bug dans la fl\`eche "-U"
- la version \'etoil\'ee de \setcrambond dessine les liaisons de
Cram en pointill\'es sous forme de trait large et non pas sous
- forme de triangle. \ No newline at end of file
+ forme de triangle.
+----------------------------------------------------------------------
+v1.2e 2017/05/20
+ - la macro contenant la d\'efinition d'une fl\`eche est
+ d\'esormais "\CF@arrow(<nom>)", ainsi la macro \0 n'est plus
+ d\'efinie par \definearrow
+ - remerciements rajout\'es apr\`es une suppression indue, pour ne
+ froisser aucune susceptibilit\'e \ No newline at end of file
diff --git a/Master/texmf-dist/tex/generic/chemfig/t-chemfig.tex b/Master/texmf-dist/tex/generic/chemfig/t-chemfig.tex
index dc5d2d78238..7bfe48bb120 100644
--- a/Master/texmf-dist/tex/generic/chemfig/t-chemfig.tex
+++ b/Master/texmf-dist/tex/generic/chemfig/t-chemfig.tex
@@ -1,10 +1,6 @@
% __________________________________________________________________
% | |
-% | |
-% | chemfig v1.2d |
-% | |
-% | 1 december 2015 |
-% | |
+% | chemfig v1.2e |
% |__________________________________________________________________|
%
% This is t-chemfig.tex, the package file for conTeXt.
@@ -42,4 +38,4 @@
% --------------------------------------------------------------------
\usemodule[tikz]%
\input chemfig.tex
-\endinput \ No newline at end of file
+\endinput