Debian Codegraph @

texmf-dist/doc/latex/hitreport/README.md

raw
1 [![Test](https://github.com/DemerzelSun12/hitreport/actions/workflows/test.yml/badge.svg)](https://github.com/DemerzelSun12/hitreport/actions/workflows/test.yml)
2 [![GitHub release](https://img.shields.io/github/v/release/demerzelsun12/hitreport)](https://github.com/demerzelsun12/hitreport/releases/latest)
3
4 # hitreport
5
6 Scroll down for the English version of README.
7
8 # What's hitreport
9
10 **hitreport** stands for **H**arbin **I**nstitute of **T**echnology **Report** LaTeX Template.
11
12 hitreport是为哈尔滨工业大学一校三区本科生设计的一个免于配置的作业、实验报告模板。希望它可以使你的作业/实验报告不会因形式上的缺陷导致评分的下降。
13
14 该文档主要完成了除了主体内容以外的几乎**全部**工作。同时,通过使用 Github 版本宏包,你还可以更好的管理自己的 LaTeX 文档。
15
16 ## 安装方法
17
18 推荐下载**发布版**模板,里面包括具体使用说明以及示例文档:
19
20 * 模板使用说明 (hitreport.pdf)
21 * 示例文档 (hitreport-example.pdf)
22
23 为方便对 LaTeX 不熟悉的用户使用本模板,本模板的发布版也提供预生成的 `cls` 文件、文档和源码。如需使用稳定版本,请从 CTAN 下载(虽然还在申请中)。
24
25 下载途径:
26
27 * 发布版:
28 * CTAN:暂无,在申请中。
29 * [GitHub Releases](https://github.com/demerzelsun12/hitreport/releases):最新版的及时发布途径之一。
30 * [Gitee Releases](https://gitee.com/demerzel/hitreport/releases):最新版的及时发布途径之二。
31
32 ## 升级
33
34 ### 自动更新
35
36 通过 TeX 发行版工具(如 `tlmgr`)自动从 [CTAN](https://www.ctan.org/pkg/hitreport) 更新。
37
38 ### 手动更新
39
40 #### 发布版
41
42 下载发布版的的 zip 包,使用其中的 `hitreport.cls` 等文件覆盖原有的即可,无须额外操作。
43
44 #### 开发版
45
46 从 GitHub clone 项目源码或者下载源码 zip 包,执行命令(Windows 用户在文件夹空白处按 `Shift + 鼠标右键`,点击“在此处打开命令行窗口”):
47
48 ```shell
49 xetex hitreport.ins
50 ```
51
52 即可得到 `hitreport.cls` 等模板文件。
53
54 ## 提问
55
56 请在 Github Issues 上提出问题:
57
58 * [GitHub Issues](https://github.com/demerzelsun12/hitreport/issues)
59
60 ## Makefile的用法
61
62 ```shell
63 make [{report|doc|clean|cleanall|distclean}]
64 ```
65
66 ### 目标
67
68 * `make report` 生成报告 hitreport-example.pdf;
69 * `make doc` 生成模板使用说明书 hitreport.pdf;
70 * `make clean` 删除示例文件的中间文件(不含 hitreport-example.pdf);
71 * `make cleanall` 删除示例文件的中间文件和 hitreport-example.pdf;
72 * `make distclean` 删除示例文件和模板的所有中间文件和 PDF。
73
74 ---
75
76 ## Contact
77
78 如果你使用时发现任何 bug 或得不到的格式,可以联系我或开 issue
79 如果你有更好的作业/报告格式,欢迎添加或联系我帮忙添加
80
81 ## License
82
83 LaTeX Project Public License, Version 1.3c (LPPL-1.3c).
84
85 # hitreport?
86
87 **hitreport** stands for **H**arbin **I**nstitute of **T**echnology **Report** LaTeX Template.
88
89 hitreport is an assignment and experiment report template free of configuration designed for undergraduates in the three campus of Harbin Institute of Technology. I hope it can prevent your homework/experiment report from falling down due to formal defects.
90
91 This document mainly completes almost **all** work except the main document. At the same time, by using the Github version macro package, you can better manage your own LaTeX documents. An English translation of this README follows the Chinese below.
92
93 **This template is subject to frequent changes. Please make sure you have read the usage documentation and example code completely and carefully before using and asking questions.**
94
95 ## Downloads
96
97 **Publish versions** are recommended. Specific usage documentation and examples can be found in the archive. At present, these documents are <b>only available in Chinese</b>:
98
99 * Template usage documentation (hitreport.pdf)
100 * Template example (hitreport-example.pdf)
101
102 For the convenience of users who are not familiar with latex to use this template all versions contain source code, pre-comlied `cls` file and documentations. No warranties are provided.
103
104 * Published versions:
105 * CTAN:in application...
106 * [Github Releases](https://github.com/demerzelsun12/hitreport/releases) :
107 * [GitHub Releases](https://github.com/demerzelsun12/hitreport/releases):One of the methods for timely release of the latest version.
108 * [Gitee Releases](https://gitee.com/demerzel/hitreport/releases):Another method for timely release of the latest version.
109
110 ## Updates
111
112 ### Automic
113
114 Get the most up-to-date published version with your TeX distribution from [CTAN](https://www.ctan.org/pkg/hitreport).
115
116 ### Manual
117
118 #### Published
119
120 Download the published zip files, extract `hitreport.cls` and other files (if needed) and override the existing ones in your report.
121
122 #### Developer versions
123
124 Download the source code package and unzip to the root dictionary of your report (or clone this project), then execute the command (Windows users `Shift + right click` white area in the file window and click "Open command line window here" from the popup menu):
125
126 ```shell
127 xetex hitreport.ins
128 ```
129
130 you'll get `hitreport.cls` along with other template files.
131
132 ## Reporting Issues
133
134 Please report your issues on Github Issues:
135
136 * [Github Issues](https://github.com/demerzelsun12/hitreport/issues)
137
138 ## Makefile Usage
139
140 ```shell
141 make [{report|doc|clean|cleanall|distclean}]
142 ```
143
144 ### Targets
145
146 * `make report` generate report
147 * `make doc` generate template documentation
148 * `make clean` delete all examples' files (excluding hitreport-example.pdf)
149 * `make cleanall` delete all examples' files and hitreport-example.pdf
150 * `make distclean` delete all examples' and templates' files and PDFs.