-
-
Save yoshihiro503/5c2b7093ed9140f43fd8 to your computer and use it in GitHub Desktop.
coqdocで日本語を含むPDFを生成する ref: http://qiita.com/yoshihiro503/items/2e3035cc602301c7c9fc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ coq_makefile -f Make -o Makefile | |
$ export COQDOCFLAGS="-interpolate -utf8 --body-only" | |
$ make Proof.pdf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ unset COQDOCFLAGS | |
$ make html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-R src JapaneseCoqdocSampleProject | |
src/Hoge.v | |
src/Piyo.v | |
-custom "platex Proof.tex; platex Proof.tex" "Proof.tex $(VOFILES) $(VFILES:.v=.tex)" "Proof.dvi" | |
-custom "dvipdfmx Proof.dvi" "Proof.dvi" Proof.pdf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[12pt]{jreport} | |
\usepackage[]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage{fullpage} | |
\usepackage{coqdoc} | |
\usepackage{amsmath,amssymb} | |
\begin{document} | |
\title{証明報告書} | |
\author{有限会社 ITプランニング\\システム検証部 証明支援系課\\今井宜洋} | |
\date{\today} | |
\maketitle | |
\tableofcontents{} | |
%% Coqソースコードを追加削除変更したときはこちらも変更してください | |
\include{src/Hoge} | |
\include{src/Piyo} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment