# HG changeset patch # User Takahiro SHIMIZU # Date 1541481461 -32400 # Node ID ea10413281c52dc1aab111d3bffc7cf11122dbb0 # Parent 9c172999d70ed4e558bb415b7c158edc6092a6c9 tweak Makefile and create reference.bib diff -r 9c172999d70e -r ea10413281c5 Paper/Makefile --- a/Paper/Makefile Mon Nov 05 23:38:03 2018 +0900 +++ b/Paper/Makefile Tue Nov 06 14:17:41 2018 +0900 @@ -1,44 +1,35 @@ -# Settings -TARGET=anatofuz -BIBTEX=dvipdfmx -BB=extractbb +TARGET = anatofuz -vpath pdf fig -FIGURES=$(wildcard fig/*.pdf) -FIGURES_FOR_TEX=$(subst .pdf,.xbb,$(FIGURES)) - -vpath agda src -SOURCES=$(wildcard src/*agda) -SOURCES_FOR_TEX=$(subst .agda,.agda.replaced,$(SOURCES)) +LATEX = platex +BIBTEX = pbibtex +#DVIPS = dvips +#DVIPDFM = dvipdfmx +RM = rm -f +DVIPDF=dvipdfmx -p a4 +# Option definitions +#DVIPDFMOPT = +#DVIPSOPT = -D 720 -mode esphi -O 0mm,0mm -N0 -# dependencies -$(TARGET).pdf : $(TARGET).dvi - dvipdfmx $< +# Suffixes definitions +.SUFFIXES: .tex .dvi .pdf -$(TARGET).dvi : $(wildcard *.tex) $(FIGURES_FOR_TEX) $(SOURCES_FOR_TEX) - platex $(TARGET).tex +.tex.dvi: + $(LATEX) $< $(BIBTEX) $(TARGET) - platex $(TARGET).tex - platex $(TARGET).tex + $(LATEX) $< + $(LATEX) $< -%.xbb: %.pdf - $(BB) $< - -%.agda.replaced: %.agda - ruby escape_agda.rb $< +.dvi.pdf: + $(DVIPDF) $(DVIPDF_OPT) $< -# commands -.PHONY : clean all open remake +all: $(TARGET).pdf + open $(TARGET).pdf + +dvi: $(TARGET).dvi + +pdf: $(TARGET).pdf + clean: - rm -f *.dvi *.aux *.log *.pdf *.ps *.gz *.bbl *.blg *.toc *~ *.core *.cpt *.lof *.lot *.lol *.bbl *.blg *.idx src/*.replaced *.fls *.fdb_latexmk - -all: $(TARGET).pdf - -open: $(TARGET).pdf - open $(TARGET).pdf - -remake: - make clean - make all + rm -f *.dvi *.aux *.log *.pdf *.ps *.gz *.bbl *.blg *~ *.core diff -r 9c172999d70e -r ea10413281c5 Paper/anatofuz.tex --- a/Paper/anatofuz.tex Mon Nov 05 23:38:03 2018 +0900 +++ b/Paper/anatofuz.tex Tue Nov 06 14:17:41 2018 +0900 @@ -3,9 +3,10 @@ \documentclass{ipsjprosym} %\documentclass[withpage,english]{ipsjprosym} -\usepackage[dvips]{graphicx} +\usepackage[dvipdfmx]{graphicx} \usepackage{latexsym} - +\usepackage{comment} +\usepackage{url} \begin{document} % Title, Author %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -125,7 +126,7 @@ \section{CbCによるMoarVM} -この章では改良を行ったPerl6処理系であるMoarVMについて述べる. +この章では改良を行ったPerl6処理系であるMoarVMについて述べる. \cite{perl6doc} \subsection{CbCコンパイラによるバグ} \section{CbCを用いる事についての評価} @@ -162,12 +163,13 @@ \end{acknowledgment} % BibTeX を使用する場合 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% \bibliographystyle{ipsjsort} -% \bibliography{ref} +\nocite{*} + \bibliographystyle{ipsjsort} + \bibliography{reference} % BibTeX を使用しない場合 -\begin{thebibliography}{9} -\bibitem{latex} 奥村晴彦, 黒木裕介: \textbf{LaTeX2e美文書作成入門}. 技術評論社, 2013. -\end{thebibliography} +%\begin{thebibliography}{9} +%\bibitem{latex} 奥村晴彦, 黒木裕介: \textbf{LaTeX2e美文書作成入門}. 技術評論社, 2013. +%\end{thebibliography} \end{document} diff -r 9c172999d70e -r ea10413281c5 Paper/reference.bib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Paper/reference.bib Tue Nov 06 14:17:41 2018 +0900 @@ -0,0 +1,14 @@ +%% This BibTeX bibliography file was created using BibDesk. +%% https://bibdesk.sourceforge.io/ + +%% Created for TakahiroSHIMIZU at 2018-11-06 12:59:33 +0900 + + +%% Saved with string encoding Unicode (UTF-8) + + + +@misc{perl6doc, + title = {Perl6 Documentation}, + howpublished = {\url{https://docs.perl6.org/}}, +}