From 1dcc04aaa860b123924ae83fc30a47d6f7179f7a Mon Sep 17 00:00:00 2001
From: Bruno Victal <mirai@makinata.eu>
Date: Sun, 10 Sep 2023 16:29:07 +0100
Subject: [PATCH] Replace references of transfig to fig2dev.

The transfig package has been renamed to fig2dev since 2016.
Additionally, the comment about transfig no longer applies as the
fig2dev package in fink no longer passes the mentioned deprecated
option.
---
 INSTALL     | 23 ++++++-----------------
 ctan/README |  6 +++---
 2 files changed, 9 insertions(+), 20 deletions(-)

diff --git a/INSTALL b/INSTALL
index 7057724..b361265 100644
--- a/INSTALL
+++ b/INSTALL
@@ -77,8 +77,8 @@ General:
   
   If using figlatex, LaTeX Make also needs:
   - inkscape (>= 0.48.2) for converting svg files
-  - transfig (>= 3.2.4) for the fig2dev command
-    type "transfig -V" to check
+  - fig2dev (>= 3.2.4)
+    type "fig2dev -V" to check
   - ghostscript that is called by fig2dev
     type "gs --version" to check
   
@@ -122,27 +122,16 @@ Notes for MacOS X users:
   install MacTex (http://www.tug.org/mactex/). LaTeX addons are located in
   ~/Library/texmf.
   
-  transfig
+  fig2dev
   ********
-  The transfig package in the stable fink[3] distribution is compiled
-  with an deprecated option. In consequence, fig2dev uses \epsfig
-  instead of \includegraphics in its generated files.
-  One of the three workaround can be used:
-  1) add \let\epsfig=\includegraphics at the begining of your document
-     (just after the \begin{document})
-     Of course, this will not work if you were using the deprecated
-     epsfig package.
-  2) use the transfig-graphicx package from the unstable fink[3]
-     distribution
-  3) recompile the transfig package without "DDEPSFIG = -DEPSFIG"
-     (look in the applied patch and remove the removal of XCOMM for the
-     line "XCOMM DDEPSFIG = -DEPSFIG" for the file fig2dev/Imakefile)
+  The fig2dev package can be found in the stable fink[3]
+  distribution.
   
   ghostscript
   ***********
   The ghostscript package can be found in the stable fink[3]
   distribution.
 
-[1]: http://darwinports.opendarwin.org/
+[1]: https://ports.macports.org/
 [2]: http://www.tug.org/twg/tds/
 [3]: http://fink.sourceforge.net/index.php
diff --git a/ctan/README b/ctan/README
index 771e7b9..5ad22a2 100644
--- a/ctan/README
+++ b/ctan/README
@@ -17,7 +17,7 @@ compilation of LaTeX documents:
 
 * figlatex.sty: a LaTeX package to easily insert xfig figures (with
   \includegraphics{file.fig}). It can interact with LaTeX.mk so that the
-  latter automatically invokes transfig if needed.
+  latter automatically invokes fig2dev if needed.
 
 * And various helper tools for LaTeX.mk
 
@@ -60,8 +60,8 @@ REQUIREMENTS:
   
   If using figlatex, LaTeX Make also needs:
   - inkscape (>= 0.48.2) for converting svg files
-  - transfig (>= 3.2.4) for the fig2dev command
-    type "transfig -V" to check
+  - fig2dev (>= 3.2.4)
+    type "fig2dev -V" to check
   - ghostscript that is called by fig2dev
     type "gs --version" to check
   
-- 
GitLab