[latex3-commits] [git/LaTeX3-latex3-xcolor] l3build: build xcolor2.pdf to match existing CTAN distrib (5cb22c7)
David Carlisle
d.p.carlisle at gmail.com
Fri Oct 1 20:47:47 CEST 2021
Repository : https://github.com/latex3/xcolor
On branch : l3build
Link : https://github.com/latex3/xcolor/commit/5cb22c78e2d418d2c4255b4327a36c67abc971d9
>---------------------------------------------------------------
commit 5cb22c78e2d418d2c4255b4327a36c67abc971d9
Author: David Carlisle <d.p.carlisle at gmail.com>
Date: Fri Oct 1 19:47:47 2021 +0100
build xcolor2.pdf to match existing CTAN distrib
>---------------------------------------------------------------
5cb22c78e2d418d2c4255b4327a36c67abc971d9
build.lua | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/build.lua b/build.lua
index ff5f964..8ff272e 100644
--- a/build.lua
+++ b/build.lua
@@ -13,6 +13,24 @@ unpackfiles = {"xcolor.ins"}
-- Get the .pro files in the right place
tdslocations = {"dvips/xcolor/xcolor.pro"}
+function typeset_xcolor2 (f)
+ typesetexe='latex'
+ tex(f)
+ tex(f)
+ runcmd('dvips xcolor2')
+ runcmd('ps2pdf -dALLOWPSTRANSPARENCY xcolor2.ps')
+ cp('xcolor2.pdf','.',ctandir .. '/xcolor')
+ rm('.','xcolor2.tex')
+ rm(ctandir .. '/xcolor','xcolor2.tex')
+ return 0
+end
+
+
+typesetfiles={"xcolor.dtx","xcolor2.tex"}
+specialtypesetting={}
+specialtypesetting['xcolor2.tex'] = {func = typeset_xcolor2}
+
+
textfiles= {"ChangeLog", "README"}
More information about the latex3-commits
mailing list.