From 9ed2be15b632f76247ead6f36a0cbc913057fa48 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Fri, 22 May 2020 03:00:58 +0000
Subject: CTAN sync 202005220300

---
 macros/generic/chemfig/chemfig.tex | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

(limited to 'macros/generic/chemfig/chemfig.tex')

diff --git a/macros/generic/chemfig/chemfig.tex b/macros/generic/chemfig/chemfig.tex
index 3764ace94d..69e966ba31 100644
--- a/macros/generic/chemfig/chemfig.tex
+++ b/macros/generic/chemfig/chemfig.tex
@@ -4,9 +4,9 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %                                                                    %
 \def\CFname                    {chemfig}                             %
-\def\CFver                       {1.53}                              %
+\def\CFver                       {1.54}                              %
 %                                                                    %
-\def\CFdate                   {2020/04/27}                           %
+\def\CFdate                   {2020/05/21}                           %
 %                                                                    %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
@@ -33,8 +33,10 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%                       P R É A L A B L E                        %%%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\csname CFloadonce\endcsname
+\let\CFloadonce\endinput
 %-------------------------- Annonce package --------------------------
-\ifdefined\ProvidesPackage\else
+\ifdefined\CFfromsty\else
 	\immediate\write -1 {%
 	Package: \CFname\space\CFdate\space\space v\CFver\space\space
 	Draw molecule with an easy syntax (CT)}%
@@ -60,16 +62,16 @@
 	\endgroup
 	\ifx\__tempa\__tempb\else
 		\CF_error{#2}%
-		\def\CF_temp{#3}%
-		\CFrestorecatcode\expandafter\CF_temp
+		\def\CF_temp{\CFrestorecatcode#3}%
+		\expandafter\CF_temp
 	\fi
 }
 \CF_checkprimitive\eTeXversion
 	{You are not using an eTeX engine, \CFname\space cannot work.}
 	{\endinput}%
 \CF_checkprimitive\expanded
-	{the \string\expanded\space primitive is not provided by your TeX engine, \CFname\space v\CFver\space cannot work: loading \CFname\space v1.4}
-	{\input chemfigold.tex\relax\endinput}%
+	{the \string\expanded\space primitive is not provided by your TeX engine, \CFname\space cannot work.}
+	{\endinput}%
 
 %------------------------ Chargement simplekv ------------------------
 \input simplekv.tex
@@ -1751,7 +1753,7 @@
 \def\charge_d#1={%
 	\CF_ifx\CF_quark{#1}%
 		{}
-		{\CF_striplastsp{#1}\charge_e}=%
+		{\CF_striplastsp{#1}\charge_e=}% bugfix 1.54
 }
 \def\charge_e#1={%
 	\CF_ifinstr{#1}[
@@ -3075,4 +3077,8 @@ v1.52       2020/04/14
 v1.53       2020/04/27
     - mise à jour en fonction des nouvelles fonctionnalités de
       l'extension simplekv
-    - bug : \CF_ifzerodim interrompt maintenant le tracé dans la \hbox
\ No newline at end of file
+    - bug : \CF_ifzerodim interrompt maintenant le tracé dans la \hbox
+----------------------------------------------------------------------
+v1.54       2020/05/21
+    - chemfig ne peut plus fonctionner sans \expanded
+    - bug : un signe "=" laissé par erreur dans le flux
\ No newline at end of file
-- 
cgit v1.2.3

