Skip to content

Commit ff2dc60

Browse files
committed
pdf: add content may outdated warning
1 parent 811c5ef commit ff2dc60

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

pdf/en-us/meta/template.tex

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,17 @@
166166
\vspace{1ex}
167167
Last update: \today
168168

169+
\vspace{1ex}
170+
\textbf{Notice}
171+
172+
\noindent The content in this PDF file may outdated, please check \href{https://changkun.de/modern-cpp}{our website} or \href{https://github.com/changkun/modern-cpp-tutorial}{GitHub repository} for the latest book updates.
173+
169174
\vspace{1em}
170175
\textbf{\large License}
171176

172177
\noindent This work was written by \href{https://github.com/changkun}{Ou Changkun} and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. \texttt{\small http://creativecommons.org/licenses/by-nc-nd/4.0/}
173178

174-
\vspace{8em}
179+
\vspace{7em}
175180
\includegraphics{../../assets/cover-2nd-en}
176181

177182
\end{center}

pdf/zh-cn/meta/template.tex

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,17 @@
172172
\vspace{1ex}
173173
最后更新 \today - \revision
174174

175+
\vspace{1ex}
176+
\textbf{注意}
177+
178+
\noindent 此 PDF 的内容可能过期,请检查\href{https://changkun.de/modern-cpp}{本书网站}以及 \href{https://github.com/changkun/modern-cpp-tutorial}{GitHub 仓库}以获取最新内容。
179+
175180
\vspace{1em}
176181
\textbf{\large 版权声明}
177182

178183
\noindent 本书系\href{https://github.com/changkun}{欧长坤}著,采用“知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议 (cc by-nc-sa)”进行许可。\texttt{\small http://creativecommons.org/licenses/by-nc-nd/4.0/}
179184

180-
\vspace{8em}
185+
\vspace{7em}
181186
\includegraphics{../../assets/cover-2nd}
182187

183188
\end{center}

0 commit comments

Comments
 (0)