Open dveeden opened 8 months ago
Looks like ./scripts/merge_by_toc.py
should be updated to only have a single metadata section with a proper title.
$ grep -E '^title:' doc.md | head -1
title: TiDB Introduction
$ grep -E '^title:' doc.md | tail -1
title: Glossary
Looks like there is an easier method:
diff --git a/templates/template.tex b/templates/template.tex
index cf372e561..7dd44ee0f 100644
--- a/templates/template.tex
+++ b/templates/template.tex
@@ -115,7 +115,7 @@ $endif$
\hypersetup{breaklinks=true,
bookmarks=true,
pdfauthor={$author-meta$},
- pdftitle={$title-meta$},
+ pdftitle="TiDB User Manual"
colorlinks=true,
citecolor=$if(citecolor)$$citecolor$$else$blue$endif$,
urlcolor=$if(urlcolor)$$urlcolor$$else$blue$endif$,
Error Report
https://download.pingcap.org/tidb-stable-en-manual.pdf
The title is "TiDB Introduction", which it should be something like "TiDB User Manual".