Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub Action and update layout. #11

Merged
merged 2 commits into from
Jul 10, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .readme/.github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Compile and publish instruction pdf.

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

workflow_dispatch:

jobs:
instruction-latex:
runs-on: ubuntu-latest
name: Compile and publish instruction pdf.
steps:
- uses: actions/checkout@v1
- name: Compilation
uses: dante-ev/latex-action@2021-A
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
root_file: 'instruction.tex'
compiler: xelatex
- name: Archive PDF
uses: actions/upload-artifact@v2
with:
name: instruction.pdf
path: instruction.pdf
Binary file modified .readme/instruction.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
- 某不愿透露姓名的辣鸡嫖虫 (包装盒初稿)
- dfceaef (包装盒文案)
- Soha (包装盒与说明书的终稿)
- CharlesYang (说明书创意与文案, [#3](https://github.com/moesoha/debian-media-box/issues/3))
- YukariChiba (说明书创意与文案, [#3](https://github.com/moesoha/debian-media-box/issues/3))
- IcesandSora (包装盒创意)

## LICENSE
Expand Down
130 changes: 119 additions & 11 deletions instruction.tex
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
\renewcommand\tabularxcolumn[1]{m{#1}} % for vertical centering text in X column

\usepackage{multicol}
\usepackage[most]{tcolorbox}
\usepackage{amssymb}
\setlength{\columnsep}{3mm}

\usepackage[explicit,compact]{titlesec}
Expand Down Expand Up @@ -87,14 +89,29 @@
\mbox{\rlap{\raisebox{-\dp\mysavebox}{\imgcmd}}\usebox\mysavebox}%
}

\renewcommand{\labelitemi}{$\blacktriangleright$}

\tcbset{
frame code={}
center title,
left=0pt,
right=0pt,
top=6pt,
bottom=0pt,
colback=gray!40,
colframe=white,
enlarge left by=0mm,
boxsep=0pt,
arc=0pt,outer arc=0pt,
}

\begin{document}
\begin{multicols*}{3}

\setlength{\abstractwidth}{2\linewidth}
\addtolength{\abstractwidth}{\columnsep}
\savebox{\twocolinsert}{\begin{minipage}{\abstractwidth}
\noindent 核准日期:2020年10月31日
\noindent 核准日期:2021年07月04日
\newline 修改日期:2019年07月06日,2020年10月31日
YukariChiba marked this conversation as resolved.
Show resolved Hide resolved
\newline

Expand Down Expand Up @@ -128,37 +145,61 @@
\noindent\usebox{\twocolinsert}


\begin{tcolorbox}
\section*{发行版名称}
\end{tcolorbox}
\begin{tabularx}{\linewidth}{@{}ll@{}}
通用名称: & Debian \\
正式名称: & GNU/Linux Debian \\
英文音标: & \textipa{["dEbi@n]} \\
\end{tabularx}

\medskip


\begin{tcolorbox}
\section*{内容}
\end{tcolorbox}

完全由自由软件组成的类 UNIX 操作系统,其包含的多数软件使用 GNU 通用公共许可协议授权,并由 Debian 计划的参与者组成团队对其进行打包、开发与维护。

% 内核版本:4.19.0

% 版本号:“buster”

\medskip


\begin{tcolorbox}
\section*{性质}
\end{tcolorbox}

本系统为采用 GNU/Linux内核的操作系统,安装后可由 UEFI 或 Legacy 引导方式启动。

\medskip



\begin{tcolorbox}
\section*{适应平台}
\end{tcolorbox}

支持使用 ARM、IA-32、IA-64、x86-64、PowerPC、ppc64el、ARM、MIPS 等架构的计算机、服务器和嵌入式设备。

本包装盒中的安装媒介适用于何平台以实际为准。
\begin{itemize}
\item 支持使用 ARM、IA-32、IA-64、x86-64、PowerPC、ppc64el、ARM、MIPS 等架构的计算机、服务器和嵌入式设备。
\item 本包装盒中的安装媒介适用于何平台以实际为准。
\end{itemize}


\begin{tcolorbox}
\section*{规格}

\end{tcolorbox}

1 个 安装媒介

\medskip

\begin{tcolorbox}
\section*{用法}
\end{tcolorbox}

使用 USB 设备引导。

Expand All @@ -168,15 +209,22 @@

安装好基本系统并设置完成软件包后,即可酌情选择桌面环境和桌面管理器。

\medskip

\begin{tcolorbox}
\section*{不良反应}
\end{tcolorbox}

Debian 有一个对用户和开发者所提交的软件缺陷报告进行归档管理的缺陷跟踪系统,英文缩写为 BTS。每个软件缺陷报告都被授予一个编号并且被长期跟踪,直到它被标记为已修复。

可以在 https://www.debian.org/Bugs/ 处获得这个文件的拷贝。

\medskip


\begin{tcolorbox}
\section*{注意事项}
\end{tcolorbox}
\begin{itemize}[leftmargin=*]

\item 满足最低的硬件要求
Expand All @@ -202,7 +250,9 @@
\end{itemize}


\begin{tcolorbox}
\section*{禁忌}
\end{tcolorbox}

在操作过程中出现或即将出现下列任何一种情况,请立即停止操作,并准备好系统恢复。

Expand All @@ -220,76 +270,134 @@
\end{itemize}


% \begin{tcolorbox}
% \section*{无障碍安装}
% \end{tcolorbox}

% Debian GNU/Linux 安装介质不用于视力或运动障碍人士。

% \medskip

% \begin{tcolorbox}
% \section*{新手安装}
% \end{tcolorbox}

% Debian GNU/Linux 应谨慎用于新手安装,需要在管理员指导下进行安装,并且需要进行密切的系统监测,一旦出现系统完整度的恶化,应考虑停止使用 Debian GNU/Linux。

% \medskip


% \begin{tcolorbox}
% \section*{版本迭代}
% \end{tcolorbox}


\begin{tcolorbox}
\section*{系统相互作用}
\end{tcolorbox}
\begin{itemize}[leftmargin=*]
\setlength{\parindent}{0pt}

\item 与 Windows 的相互作用

当您有双引导时,若另一个操作系统与 Windows 访问相同的文件系统,这就有可能会导致问题和数据丢失。在这种情况下,文件系统的真实状态可能与 Windows 8 认为在“启动”之后的情况不同,并且可能在进一步写入文件系统时导致文件系统损坏。因此,在双引导设置中,为了避免文件系统损坏,必须在 Windows 中禁用“快速启动”功能。
当您有双引导时,若另一个操作系统与 Windows 访问相同的文件系统,这就有可能会导致问题和数据丢失。在这种情况下,文件系统的真实状态可能与 Windows 认为在“启动”之后的情况不同,并且可能在进一步写入文件系统时导致文件系统损坏。因此,在双引导设置中,为了避免文件系统损坏,必须在 Windows 中禁用“快速启动”功能。

在罕见情况中已观察到,在使用 Windows 进行系统更新时,可能会出现重新启动后 Grub 引导被破坏从而导致 Debian 无法启动的情况。同时,若在安装过程中将引导信息写入与 Windows 所在的物理磁盘 MBR 内,将导致后者无法正常启动。

\item 与其他 GNU/Linux 发行版的相互作用尚不明确。
\item 与其他 GNU/Linux 发行版的相互作用

尚不明确。

\end{itemize}


\begin{tcolorbox}
\section*{贮藏}
\end{tcolorbox}

-40℃\textasciitilde +70℃

妥善贮藏所有安装媒介,勿使不会安装的人员触及。

\medskip


\begin{tcolorbox}
\section*{包装}
\end{tcolorbox}

装有 GNU/Linux Debian 安装镜像的、兼容 USB 3.0/2.0 协议的大容量存储设备。

1 枚/盒

\medskip


\begin{tcolorbox}
\section*{有效期}
\end{tcolorbox}

完整支持:36 个月

长期支持:60 个月

\medskip


\begin{tcolorbox}
\section*{执行标准}
\end{tcolorbox}
\begin{tabularx}{\linewidth}{@{}ll@{}}
\multirow{4}{*}{}{开源许可证:} & GNU GPL(主要)\\
~ & GNU LGPL \\
~ & BSD \\
~ & 以及其他授权条款 \\
\end{tabularx}

\medskip


\begin{tcolorbox}
\section*{批准文号}
\end{tcolorbox}

说明书使用 CC-BY-SA 3.0 协议授权。

\medskip


\begin{tcolorbox}
\section*{生产单位}
\end{tcolorbox}

Debian 计划

\medskip


\begin{tcolorbox}
\section*{说明书}
\end{tcolorbox}
\begin{tabularx}{\linewidth}{@{}ll@{}}
\multirow{2}{*}{}{编审:} & @SteveCharlesYang\\
\multirow{2}{*}{}{编审:} & @YukariChiba\\
~ & @moesoha \\
图形: & @YJBeetle\\
GitHub: & moesoha/debian-media-box\\
\end{tabularx}

\medskip


\vfill
\begin{flushright}
GNU/Linux Debian - 10.0\linebreak 20190706
GNU/Linux Debian - 10.10\linebreak 20210619
\linebreak
\newline
\includegraphics[width=13mm]{assets/debian-logo.eps}
\begin{minipage}{0,5\textwidth}
\centering
$\vcenter{\hbox{\includegraphics[height=10mm]{assets/debian-logo.eps}}}$
$\vcenter{\hbox{\includegraphics[height=5mm]{assets/debian-text.eps}}}$
\end{minipage}
\end{flushright}

\end{multicols*}
Expand Down