texlive[59396] Master/texmf-dist: bjfuthesis (30may21)

commits+karl at tug.org commits+karl at tug.org
Sun May 30 21:56:53 CEST 2021


Revision: 59396
          http://tug.org/svn/texlive?view=revision&revision=59396
Author:   karl
Date:     2021-05-30 21:56:53 +0200 (Sun, 30 May 2021)
Log Message:
-----------
bjfuthesis (30may21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/bjfuthesis/README.md
    trunk/Master/texmf-dist/doc/latex/bjfuthesis/documentation/bjfuthesis.pdf
    trunk/Master/texmf-dist/doc/latex/bjfuthesis/example/thesis.pdf
    trunk/Master/texmf-dist/tex/latex/bjfuthesis/bjfuthesis.cls

Modified: trunk/Master/texmf-dist/doc/latex/bjfuthesis/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bjfuthesis/README.md	2021-05-30 19:56:38 UTC (rev 59395)
+++ trunk/Master/texmf-dist/doc/latex/bjfuthesis/README.md	2021-05-30 19:56:53 UTC (rev 59396)
@@ -1,8 +1,33 @@
-# Beijing Forestry University (BJFU) Thesis Template in LaTeX
+# 北京林业大学 (BJFU) 毕业论文模板 (LaTeX)
 Copyright (C) 2021 Liu Changxin
 
-Version 0.1.0 (2021-05-29)
+Version 1.0.0 (2021-05-30)
 
+## Abstract
+The bjfuthesis class is a LaTeX document class intended for students in Beijing Forestry University (BJFU) to write their theses. It follows the thesis specification of Beijing Forestry University.
+
+## 简介
+bjfuthesis是北京林业大学 (BJFU) 毕业生撰写毕业论文使用的LaTeX模板。使用该模板可以快速编写出符合论文格式要求的论文。该模板精心编写,具有使用简单、便捷、可靠的优点。
+
+## 使用方法
+1. 下载并安装MiKTeX:https://miktex.org/download
+1. 下载并安装Perl:macOS与Linux操作系统已内置Perl,无需安装。使用Windows的用户需下载并安装:https://strawberryperl.com
+1. 下载并安装TeXstudio:https://www.texstudio.org
+1. 配置TeXstudio:
+   1. 点击 Options -> Configure TeXstudio 以打开设置界面
+   1. 在 General -> Language 中选择 zh_CN (Chinese) 将界面设为中文
+   1. 点击 OK 使设置生效
+   1. 再次打开设置
+   1. 勾选左下角的 显示高级选项
+   1. 在 构建 -> 默认编译器 中输入值 txs:///latexmk -xelatex
+   1. 点击绿色三角形的构建按钮(有两个构建按钮,左侧的是构建并查看,右侧的是仅构建。请根据需要自行选择)
+   1. 当底部的消息栏中显示完成时,你应该便可以看到生成的PDF文件了
+
+## Contribute
+You can contribute to the template in
+
+  https://github.com/bjfu-projects/bjfuthesis
+
 ## License
 Licensed under the GNU General Public License v3.0 (the "License"); you may not use this file except in compliance with the License.  
 You may obtain a copy of the License at
@@ -12,12 +37,4 @@
 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,  
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
 See the License for the specific language governing permissions and
-limitations under the License.
-
-## Abstract
-The bjfuthesis class is a LaTeX class intended for students in Beijing Forestry University (BJFU) to write their theses. The class is based on the ctexbook class. It modifies some of the layout and style definitions of these packages in order to provide a document layout that should be compatible with Beijing Forestry University Thesis Standard.
-
-## Installation
-Get the latest release of bjfuthesis from 
-
-  https://github.com/bjfu-projects/bjfu-thesis
\ No newline at end of file
+limitations under the License.
\ No newline at end of file

Modified: trunk/Master/texmf-dist/doc/latex/bjfuthesis/documentation/bjfuthesis.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/bjfuthesis/example/thesis.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/bjfuthesis/bjfuthesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bjfuthesis/bjfuthesis.cls	2021-05-30 19:56:38 UTC (rev 59395)
+++ trunk/Master/texmf-dist/tex/latex/bjfuthesis/bjfuthesis.cls	2021-05-30 19:56:53 UTC (rev 59396)
@@ -17,19 +17,19 @@
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \newcommand*\@iflatexlater{\@ifl at t@r\fmtversion}
 \@iflatexlater{2020/10/01}{}{\ClassError{bjfuthesis}{The version of LaTeX you installed does not meet the minimum version requirements}}
+\RequirePackage{iftex}
+\ifXeTeX\else\ClassError{bjfuthesis}{XeLaTeX is required to compile this document}\fi
 \def\header at text{北京林业大学本科毕业论文}
 \def\keywords at label@zh{关键词:}
 \def\keywords at label@en{Keywords: }
 \def\chartnote at label{注:}
-\ProvidesClass{bjfuthesis}[2021/05/29 LaTeX document style for BJFU thesis]
+\ProvidesClass{bjfuthesis}[2021/05/30 LaTeX document style for BJFU thesis]
 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexbook}}
 \ProcessOptions*
 \LoadClass[a4paper,oneside,fontset=none]{ctexbook}
-\RequirePackage{pdfpages}
-\RequirePackage{graphicx}
+\RequirePackage{pdfpages,graphicx}
 \graphicspath{{figures/}}
-\RequirePackage{silence}
-\RequirePackage{bicaption}
+\RequirePackage{silence,bicaption}
 \DeclareCaptionFormat{bjfucaption}{\textbf{\fontsize{9}{21}\selectfont#1#2#3}}
 \captionsetup{format=bjfucaption,skip=0pt,labelsep=space}
 \captionsetup[figure][bi-second]{name=Figure}



More information about the tex-live-commits mailing list.