summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-21 22:58:35 +0000
committerKarl Berry <karl@freefriends.org>2022-01-21 22:58:35 +0000
commit39207a02179eab0fca34dfb7bb8dbbb6215fdc7a (patch)
tree14f6a970d4a28da5523838a10debde16683f3fb9 /Build
parent59ab26e4b8b11acdd61b232207d7a9ae578c63e4 (diff)
citation-style-language (21jan22)
git-svn-id: svn://tug.org/texlive/trunk@61687 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.am10
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.in6
-rw-r--r--Build/source/texk/texlive/linked_scripts/citation-style-language/citeproc.lua18
-rw-r--r--Build/source/texk/texlive/linked_scripts/scripts.lst1
4 files changed, 32 insertions, 3 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.am b/Build/source/texk/texlive/linked_scripts/Makefile.am
index 70b7055c0f0..65f3903d7f9 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.am
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.am
@@ -1,14 +1,13 @@
## $Id$
## Makefile.am for the TeX Live subdirectory texk/texlive/linked_scripts/
##
-## Copyright 2016-2021 Karl Berry <tex-live@tug.org>
+## Copyright 2016-2022 Karl Berry <tex-live@tug.org>
## Copyright 2009-2015 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
##
## TeX Live's extra scripts.
-## Build lists of scripts.
-##
+# Build lists of scripts.
scripts-list: Makefile
@echo "Create $@"
@echo "texmf_scripts='" >$@
@@ -16,6 +15,10 @@ scripts-list: Makefile
@echo "'" >>$@
cmp -s $(srcdir)/scripts.lst $@ || cp -f $@ $(srcdir)/scripts.lst
+# Hard to remember the target name different from final file name.
+scripts-lst:
+ $(MAKE) scripts-list
+
if MAINTAINER_MODE
all-local: scripts-list
else !MAINTAINER_MODE
@@ -111,6 +114,7 @@ texmf_other_scripts = \
bundledoc/bundledoc \
cachepic/cachepic.tlu \
checkcites/checkcites.lua \
+ citation-style-language/citeproc.lua \
chklref/chklref.pl \
cjk-gs-integrate/cjk-gs-integrate.pl \
clojure-pamphlet/pamphletangler \
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.in b/Build/source/texk/texlive/linked_scripts/Makefile.in
index 756d53d63ed..41c945af09a 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.in
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.in
@@ -328,6 +328,7 @@ texmf_other_scripts = \
bundledoc/bundledoc \
cachepic/cachepic.tlu \
checkcites/checkcites.lua \
+ citation-style-language/citeproc.lua \
chklref/chklref.pl \
cjk-gs-integrate/cjk-gs-integrate.pl \
clojure-pamphlet/pamphletangler \
@@ -730,6 +731,7 @@ uninstall-am: uninstall-nobase_dist_texmf_scriptsSCRIPTS
.PRECIOUS: Makefile
+# Build lists of scripts.
scripts-list: Makefile
@echo "Create $@"
@echo "texmf_scripts='" >$@
@@ -737,6 +739,10 @@ scripts-list: Makefile
@echo "'" >>$@
cmp -s $(srcdir)/scripts.lst $@ || cp -f $@ $(srcdir)/scripts.lst
+# Hard to remember the target name different from final file name.
+scripts-lst:
+ $(MAKE) scripts-list
+
@MAINTAINER_MODE_TRUE@all-local: scripts-list
@MAINTAINER_MODE_FALSE@all-local:
diff --git a/Build/source/texk/texlive/linked_scripts/citation-style-language/citeproc.lua b/Build/source/texk/texlive/linked_scripts/citation-style-language/citeproc.lua
new file mode 100644
index 00000000000..19f217535ed
--- /dev/null
+++ b/Build/source/texk/texlive/linked_scripts/citation-style-language/citeproc.lua
@@ -0,0 +1,18 @@
+--[[
+ Copyright (C) 2021 Zeping Lee
+--]]
+
+
+local citeproc = {}
+
+local engine = require("citeproc-engine")
+local bib = require("citeproc-bib")
+local util = require("citeproc-util")
+
+citeproc.__VERSION__ = "0.1.0"
+
+citeproc.new = engine.CiteProc.new
+citeproc.parse_bib = bib.parse
+citeproc.util = util
+
+return citeproc
diff --git a/Build/source/texk/texlive/linked_scripts/scripts.lst b/Build/source/texk/texlive/linked_scripts/scripts.lst
index 7013f5d9625..abe4b5036d6 100644
--- a/Build/source/texk/texlive/linked_scripts/scripts.lst
+++ b/Build/source/texk/texlive/linked_scripts/scripts.lst
@@ -53,6 +53,7 @@ bundledoc/arlatex
bundledoc/bundledoc
cachepic/cachepic.tlu
checkcites/checkcites.lua
+citation-style-language/citeproc.lua
chklref/chklref.pl
cjk-gs-integrate/cjk-gs-integrate.pl
clojure-pamphlet/pamphletangler