From ff2dc605ad35e72f6db57e1b666dbf58b67cb850 Mon Sep 17 00:00:00 2001 From: Changkun Ou Date: Fri, 19 Jul 2019 13:58:40 +0200 Subject: [PATCH] pdf: add content may outdated warning --- pdf/en-us/meta/template.tex | 7 ++++++- pdf/zh-cn/meta/template.tex | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pdf/en-us/meta/template.tex b/pdf/en-us/meta/template.tex index 67606dc..512628c 100644 --- a/pdf/en-us/meta/template.tex +++ b/pdf/en-us/meta/template.tex @@ -166,12 +166,17 @@ $endif$ \vspace{1ex} Last update: \today + \vspace{1ex} + \textbf{Notice} + + \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. + \vspace{1em} \textbf{\large License} \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/} - \vspace{8em} + \vspace{7em} \includegraphics{../../assets/cover-2nd-en} \end{center} diff --git a/pdf/zh-cn/meta/template.tex b/pdf/zh-cn/meta/template.tex index 6062357..9083447 100644 --- a/pdf/zh-cn/meta/template.tex +++ b/pdf/zh-cn/meta/template.tex @@ -172,12 +172,17 @@ $endif$ \vspace{1ex} 最后更新 \today - \revision + \vspace{1ex} + \textbf{注意} + + \noindent 此 PDF 的内容可能过期,请检查\href{https://changkun.de/modern-cpp}{本书网站}以及 \href{https://github.com/changkun/modern-cpp-tutorial}{GitHub 仓库}以获取最新内容。 + \vspace{1em} \textbf{\large 版权声明} \noindent 本书系\href{https://github.com/changkun}{欧长坤}著,采用“知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议 (cc by-nc-sa)”进行许可。\texttt{\small http://creativecommons.org/licenses/by-nc-nd/4.0/} - \vspace{8em} + \vspace{7em} \includegraphics{../../assets/cover-2nd} \end{center}