From 8de7ec25e402488ed870231359aa07e4dc521ab7 Mon Sep 17 00:00:00 2001
From: Selin Ayaz <selin-pinard.ayaz@etu.unistra.fr>
Date: Sun, 24 Nov 2024 03:38:32 +0100
Subject: [PATCH] new features for vector2tex

---
 makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/makefile b/makefile
index 4286210..8d24846 100644
--- a/makefile
+++ b/makefile
@@ -33,6 +33,12 @@ doc:
 memcheck: $(TARGET)
 	valgrind --leak-check=full ./$(TARGET) plain.txt
 
+# Run vector2tex.sh and generate PDF
+vector2tex: $(TARGET)
+	./$(TARGET) > whatever.vector
+	chmod +x vector2tex.sh
+	./vector2tex.sh < whatever.vector > whatever.tex
+	pdflatex whatever.tex
 
 # Clean generated files
 clean:
-- 
GitLab