From ab4bdcbdc876d49d7cebd1ff801c586f4a3bdbc9 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 25 May 2020 22:17:03 +0200 Subject: [PATCH] Update for testing purposes --- Makefile | 11 +++++------ main.tex | 6 +++++- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 7633018..8266190 100644 --- a/Makefile +++ b/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/* diff --git a/main.tex b/main.tex index 04de4df..8abefcb 100644 --- a/main.tex +++ b/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}