Update for testing purposes
This commit is contained in:
parent
f6f5878164
commit
ab4bdcbdc8
11
Makefile
11
Makefile
@ -1,21 +1,20 @@
|
||||
.DEFAULT_GOAL := main.pdf
|
||||
|
||||
main.pdf: main.tex jishoScrape/index.js title/titlepage.tex $(data)
|
||||
main.pdf: main.tex jishoScrape/index.js title/titlepage.tex $(wildcard data/pages/*) $(wildcard data/tables/*)
|
||||
for i in $$(seq 5 -1 1); do node jishoScrape/index.js n$$i; done
|
||||
xelatex main.tex
|
||||
|
||||
#TODO: Make this modular, fix the index.js target.
|
||||
|
||||
jishoScrape/index.js: jishoScrape/index.js $(wildcard jishoScrape/src/*.js)
|
||||
for i in $$(seq 1 5); do node jishoScrape/index.js n$$i; done
|
||||
jishoScrape/index.js: $(wildcard jishoScrape/src/*.js)
|
||||
|
||||
data/pages/n%.tex: data/txt/n%.txt
|
||||
data/pages/n%.tex: data/txt/n%.txt jishoScrape/index.js
|
||||
node jishoScrape/index.js n%
|
||||
|
||||
data/tables/n%.tex: data/txt/n%.txt
|
||||
data/tables/n%.tex: data/txt/n%.txt jishoScrape/index.js
|
||||
node jishoScrape/index.js n%
|
||||
|
||||
.PHONY: clean
|
||||
.PHONY: clean main.pdf
|
||||
clean:
|
||||
rm data/pages/*
|
||||
rm data/tables/*
|
||||
|
6
main.tex
6
main.tex
@ -18,6 +18,8 @@
|
||||
top=20mm,
|
||||
}
|
||||
|
||||
\usepackage{longtable} %N1 table is too long.
|
||||
|
||||
\usepackage[japanese]{babel}
|
||||
\usepackage{xeCJK}
|
||||
\setCJKmainfont{Noto Sans Mono CJK JP}
|
||||
@ -40,6 +42,8 @@
|
||||
|
||||
\section*{Preface}
|
||||
|
||||
%TODO: Add more detailed information
|
||||
|
||||
Thanks to for making both the Choumei font and the variant containing stroke order numbers. You can find his work at \url{https://www.nihilist.org.uk/}
|
||||
|
||||
Metadata is taken from \url{https://jisho.org/}
|
||||
@ -50,7 +54,7 @@ This is a list of all kanji in N5 (according to \href{http://www.tanos.co.uk/jlp
|
||||
|
||||
\jlptSection{n5}
|
||||
|
||||
\input{./data/pages/n5.tex}
|
||||
\input{./data/testing/test.tex}
|
||||
|
||||
\jlptSection{n4}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user