summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/cquthesis/cquthesis.ins
blob: b1fad28b4eeb07f668e0a744a6175987277f1839 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
%%
%% Copyright (C) 2016 by Zhennan Li <i@nanmu.me>
%%
%%
%% This file is part of the CQUThesis package project.
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.3 of this license or (at your option) any later
%% version. The latest version of this license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.3 or later is part of all distributions of
%% LaTeX version 2005/12/01 or later.
%%
\input docstrip.tex

\askforoverwritefalse
\keepsilent

\usedir{tex/latex/cquthesis}

\preamble

This is a generated file.

Copyright (C) 2016-\the\year by Zhennan Li <i@nanmu.me>
This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
version 1.3 of this license or (at your option) any later
version. The latest version of this license is in:

http://www.latex-project.org/lppl.txt

and version 1.3 or later is part of all distributions of
LaTeX version 2005/12/01 or later.

\endpreamble

\declarepreamble\cfgpreamble

This is a generated file.

Copyright (C) 2016-\the\year by Zhennan Li <i@nanmu.me>
This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
version 1.3 of this license or (at your option) any later
version. The latest version of this license is in:

http://www.latex-project.org/lppl.txt

and version 1.3 or later is part of all distributions of
LaTeX version 2005/12/01 or later.

This is the configuration file of the cquthesis package with LaTeX2e.

\endpreamble

\generate{%
	\file{\jobname.cls}{\from{\jobname.dtx}{cls}}
	\usepreamble\cfgpreamble
	\file{\jobname.cfg}{\from{\jobname.dtx}{cfg}}
	\usepreamble\defaultpreamble\usepostamble\defaultpostamble
	\file{dtx-style.sty}{\from{\jobname.dtx}{dtx-style}}}

\ifToplevel{%
	\Msg{********************CQUThesis INFO******************}
	\Msg{*}
	\Msg{* To finish the installation you have to move the following}
	\Msg{* files into a directory searched by TeX:}
	\Msg{*}
	\Msg{* The recommended directory is TEXMF/tex/latex/cquthesis}
	\Msg{*}
	\Msg{* \space\space cquthesis.cls}
	\Msg{* \space\space cquthesis.cfg}
	\Msg{* \space\space cqunumerical.sty}
	\Msg{* \space\space cqunumerical.bst}
	\Msg{*}
	\Msg{* To produce the documentation please run these command:}
	\Msg{* \space xelatex cquthesis.dtx}
	\Msg{* \space makeindex -s gind.ist -o cquthesis.ind cquthesis.idx}
	\Msg{* \space makeindex -s gglo.ist -o cquthesis.gls cquthesis.glo}
	\Msg{* \space xelatex cquthesis.dtx}
	\Msg{* \space xelatex cquthesis.dtx}
	\Msg{*}
	\Msg{* Run these command will get you a typeseting example:}
	\Msg{* \space xelatex main.tex}
	\Msg{* \space bibtex main.tex}
	\Msg{* \space xelatex main.tex}
	\Msg{* \space xelatex main.tex}
	\Msg{*}
	\Msg{* ============== Tips =================}
	\Msg{* Check makewin.bat and/or .Makefile for a *smoother* way to compile. :) }
	\Msg{*}
	\Msg{* For further info, please go to:}
	\Msg{* \space\space https://github.com/nanmu42/CQUThesis}
	\Msg{*}
	\Msg{* Happy TeXing!}
	\Msg{***********************************************************}}

\endbatchfile