Skip to content
Snippets Groups Projects
Commit 91c25047 authored by Yu Xiong's avatar Yu Xiong :confounded:
Browse files

feat: 初始化njudoc

parent e1567fa0
No related branches found
No related tags found
No related merge requests found
% \iffalse
%
%% File l3dosctrip.dtx
%
% Copyright (C) 2012,2014-2021 The LaTeX Project
% \iffalse meta-comment
% !TeX program = XeLaTeX
% !TeX encoding = UTF-8
%
% Copyright (C) 2021 by Nanjing University Linux User Group <my@yaoge123.com>
%
% It may be distributed and/or modified under the conditions of the
% LaTeX Project Public License (LPPL), either version 1.3c of this
% license or (at your option) any later version. The latest version
......@@ -11,68 +11,17 @@
%
% https://www.latex-project.org/lppl.txt
%
% This file is part of the "l3kernel bundle" (The Work in LPPL)
% and all files in that bundle must be distributed together.
%
% -----------------------------------------------------------------------
%
% The development version of the bundle can be found at
% The development version of the template can be found at
%
% https://github.com/latex3/latex3
% https://github.com/nju-lug/NJUThesis
%
% for those people who are interested.
%
%<*driver|program>
%</driver|program>
%<*driver>
% The same approach as used in \textsf{DocStrip}: if \cs{documentclass}
% is undefined then skip the driver, allowing the file to be used to extract
% \texttt{l3docstrip.tex} from \texttt{l3docstrip.dtx} directly. This works
% as the \cs{fi} is only seen if \LaTeX{} is not in use. The odd \cs{jobname}
% business allows the extraction to work with \LaTeX{} provided an appropriate
% \texttt{.ins} file is set up.
%<*gobble>
\ifx\jobname\relax\let\documentclass\undefined\fi
\ifx\documentclass\undefined
\else \csname fi\endcsname
%</gobble>
\def\filename{docstrip.dtx}
\documentclass[full,kernel]{l3doc}
\ExplSyntaxOn
\cs_set_eq:NN \__codedoc_replace_at_at:N \use_none:n
\ExplSyntaxOff
\begin{document}
\DocInput{\jobname.dtx}
\end{document}
%<*gobble>
\fi
%</gobble>
%</driver>
% \fi
%
% \title{^^A
% The \pkg{l3docstrip} package\\ Code extraction and manipulation^^A
% }
%
% \author{^^A
% The \LaTeX{} Project\thanks
% {^^A
% E-mail:
% \href{mailto:latex-team@latex-project.org}
% {latex-team@latex-project.org}^^A
% }^^A
% }
%
% \date{Released 2021-08-27}
%
% \maketitle
%
% \begin{documentation}
%
% This is a stub file to allow extraction of \texttt{l3docstrip}: all
% functionality has been moved to the main DocStrip program.
%
% \end{documentation}
% \EnableImplementation
%
% \begin{implementation}
%
......
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% NJU Thesis
% 南京大学毕业论文LaTeX模板
% Version 0.8.3 (2021-09-12)
% Version 0.9.0 (2021-09-14)
%
% 请关注项目地址以获取最新变化
% https://github.com/nju-lug/NJUThesis
......
......@@ -21,11 +21,13 @@
%% To produce the documentation run the original source files ending with `.dtx'
%% through XeTeX.
%%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\def\ExplFileName{njuthesis}
\def\ExplFileDescription{Nanjing University thesis template class}
\def\ExplFileDate{2021-09-14}
\def\ExplFileVersion{v0.9.0}
\ProvidesExplClass{\ExplFileName}{\ExplFileDate}\ExplFileVersion}{\ExplFileDescription}
\def\ExplFileVersion{0.9.0}
\ProvidesExplClass{\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}
\LoadClass[
a4paper,
twoside,
......
......@@ -175,7 +175,7 @@ through XeTeX.
\usedir{doc/latex/njuthesis}
\nopreamble\nopostamble
\file{README.md} {\from{\jobname.dtx}{readme}}
\file{README_EN.md} {\from{\jobname.dtx}{readme-en}}
\file{README_EN.md} {\from{\jobname.dtx}{readme-en}}
}
\obeyspaces
......@@ -188,7 +188,8 @@ through XeTeX.
\Msg{* *}
\Msg{* njuthesis.cls *}
\Msg{* njuthesis.ins *}
\Msg{* README_EN.md *}
\Msg{* README.md *}
\Msg{* README_EN.md *}
\Msg{* *}
\Msg{* To produce the documentation, run the file njuthesis.dtx *}
\Msg{* through XeLaTeX. *}
......@@ -204,18 +205,15 @@ through XeTeX.
\fi
%</internal>
%
%
%<*class>
%\NeedsTeXFormat{LaTeX2e}
%\RequirePackage{expl3}
%</class>
%<class>\NeedsTeXFormat{LaTeX2e}
%<class>\RequirePackage{expl3}
%<*driver|class>
\def\ExplFileName{njuthesis}
\def\ExplFileDescription{Nanjing University thesis template class}
\def\ExplFileDate{2021-09-14}
\def\ExplFileVersion{v0.9.0}
\def\ExplFileVersion{0.9.0}
%</driver|class>
%<class>\ProvidesExplClass{\ExplFileName}{\ExplFileDate}\ExplFileVersion}{\ExplFileDescription}
%<class>\ProvidesExplClass{\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}
%
%<*driver>
\ProvidesFile{\ExplFileName.dtx}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment