Skip to content

Freed-Wu/njustthesis

Repository files navigation

njustthesis

pre-commit.ci status github/workflow

github/downloads github/downloads/latest github/issues github/issues-closed github/issues-pr github/issues-pr-closed github/discussions github/milestones github/forks github/stars github/watchers github/contributors github/commit-activity github/last-commit github/release-date

github/license github/languages github/languages/top github/directory-file-count github/code-size github/repo-size github/v

Thesis template for NJUST.

Install

Use Package Manager

tlmgr install njustthesis

Install From Source Code

git clone --depth=1 https://github.com/Freed-Wu/njustthesis
cd njustthesis
l3build install

Install From Release

Download njustthesis.tds.zip from Release. Then unzip it to correct path.

$ gh release list -RFreed-Wu/njustthesis
0.0.1                   Latest  (0.0.1)   about 24 minutes ago
...
$ gh release download 0.0.1 -RFreed-Wu/njustthesis
$ ls
 njustthesis-ctan.zip   njustthesis.tds.zip
$ kpsewhich --var-value TEXMFHOME
/home/wzy/texmf
$ mkdir -p $(kpsewhich --var-value TEXMFHOME)
$ mv njustthesis.tds.zip $(kpsewhich --var-value TEXMFHOME)
$ unzip njustthesis.tds.zip
Archive:  njustthesis.tds.zip
inflating: doc/latex/njustthesis/README.md
inflating: doc/latex/njustthesis/njustthesis.pdf
inflating: tex/latex/njustthesis/njustthesis.cls
inflating: source/latex/njustthesis/njustthesis.ins
inflating: source/latex/njustthesis/njustthesis.dtx
$ texhash
texhash: /etc/texmf: directory not writable. Skipping...
texhash: /usr/local/share/texmf: directory not writable. Skipping...
texhash: /usr/share/texmf: directory not writable. Skipping...
texhash: /usr/share/texmf-dist: directory not writable. Skipping...
texhash: /var/lib/texmf: directory not writable. Skipping...
texhash: Done.

Ensure You Have Installed This Package Successfully

$ kpsewhere njustthesis.cls
/home/wzy/texmf/tex/latex/njustthesis/njustthesis.cls

Usage

See config.