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
# 毎回見直すべき変数 | |
include config_for_individual_run.mk | |
#ここからは固定で構わない (はずの) 変数 | |
include common_config.mk | |
all: $(RESULTANTPDF) | |
# 所望のページを抜き出し、JPEG画像に変換 | |
$(TEMPORARYDIR)/$(EACHPAGEPREFIX)*.jpg: $(ORIGPDF) | |
pdfimages -f $(STARTPAGE) -l $(ENDPAGE) -j $(ORIGPDF) $(TEMPORARYDIR)/$(EACHPAGEPREFIX) |
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
all: main.pdf | |
main.pdf: main.tex data.tex | |
ls -ltTr main.tex data.tex | perl -ne '@d=split(/ +/); print "\\def\\filelastmodified{$$d[8]年$$d[5]月$$d[6]日 $$d[7]}\n"' > def_filelastmodified.tex | |
uplatex main.tex && dvipdfmx main.dvi | |
.PHONY: clean | |
clean: | |
rm -f *.log *.aux *.dvi *.pdf def_filelastmodified.tex |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
/* | |
これは、docdiff で出力される HTML ファイルのスタイルを | |
カスタマイズするための CSS である。 | |
change_docdiff_style_with_css.pl とあわせて使う。 | |
~/.docdiff.css というパスおよびファイル名は固定。 | |
複数のスタイル指定があったら、後ろのスタイル指定により | |
前のスタイル指定が上書きされることを利用している。 | |
そのため、 | |
border: none; |
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
#!/usr/local/bin/perl | |
# Example usage: | |
# | |
# $ docdiff --char old.txt new.txt | ./change_docdiff_style.pl > diff.html | |
# | |
use strict; | |
use warnings; | |
use utf8; |
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
#lsの表示を好みに合わせる。 | |
alias ls='ls -Fav' | |
export CLICOLOR=1 | |
export LSCOLORS=dxgxbxexcxBxFxCxExDxBx | |
#grepの表示も好みに合わせる。 | |
alias grep='grep --color=auto' | |
#export GREP_COLOR='01;33' #太字で黄色 | |
export GREP_COLOR='38;5;203' #太字なし。256色のうちから色を指定。 | |
#063=ラベンダー、083=萌黄、035=翡翠、203=珊瑚、130=オレンジ |