We appreciate all kinds of suggestions and corrections on this translation of the Secure Coding Practices Quick Reference Guide
During development manually create the PDF document from directory zh/cn:
pandoc -o OWASP_SCP_Quick_Reference_Guide.zh-CN.pdf \
--pdf-engine=xelatex -r markdown title.pdf.yaml \
01-introduction/01-front.markdown \
01-introduction/02-toc.markdown \
01-introduction/03-credits.markdown \
01-introduction/04-copyright.markdown \
01-introduction/05-introduction.markdown \
02-checklist/05-checklist.markdown \
03-appendices/03-overview.markdown \
03-appendices/05-glossary.markdown \
03-appendices/07-references.markdown
Similarly create the EBook:
pandoc -o OWASP_SCP_Quick_Reference_Guide.zh-CN.epub \
--pdf-engine=xelatex -r markdown title.yaml \
01-introduction/01-front.markdown \
01-introduction/02-toc.markdown \
01-introduction/03-credits.markdown \
01-introduction/04-copyright.markdown \
01-introduction/05-introduction.markdown \
02-checklist/05-checklist.markdown \
03-appendices/03-overview.markdown \
03-appendices/05-glossary.markdown \
03-appendices/07-references.markdown
There is a dependency on having a *tex installed that will provide pdflatex for the PDF output.
For example with MacOS the command brew install basictex can be used.
Also make sure font 'Songti SC Light' is installed when creating the PDF and eBook.