間違いだらけの備忘録

このページの内容は無保証でありこのページの内容によって直接、または間接に損害を受けられたとしても私は責任を取りません。

東京エリア勉強会資料のビルド

http://tokyodebian.alioth.debian.org/prework-update.html
https://web.archive.org/web/20130721124944/http://tokyodebian.alioth.debian.org/prework-update.html
上記をベースにRasbian(Wheezy)で確認
オリジナル

# apt-get install git-core make lv ptex-bin okumura-clsfiles \
xpdf xpdf-japanese texlive-latex-extra \
ghostscript dvipdfmx latex-beamer ttf-sazanami-mincho \
ttf-mona ttf-vlgothic gs-cjk-resource

エラーメッセージいろいろ

-Note, selecting 'texlive-base' instead of 'dvipdfmx'
-E: Unable to locate package xpdf-japanese
-ptex-bin : Depends: texlive-lang-cjk (>= 2011) but it is not going to be installed

若干修正

# apt-get install git-core make lv texlive-lang-cjk xpdf xpdf texlive-latex-extra ghostscript dvipdfmx latex-beamer ttf-sazanami-mincho ttf-mona ttf-vlgothic gs-cjk-resource

参考
http://uwabami.junkhub.org/log/20121202p01.html

txfonts.sty not found
http://ubuntuforums.org/archive/index.php/t-1142706.html

apt-get install texlive-fonts-recommended

過去資料のbuildの省略

ls *.tex | xargs -n1 sh -c 'touch ${0%.tex}.pdf'


pull元の更新に応じてbuild

while (/bin/true) do git remote show origin | grep "local out of date" && git pull && make; done;

参考
gitのリモートリポジトリの更新を確認する
http://qiita.com/yuyuchu3333/items/a30387bdd6a0afc1185c
ビルド成功したらgit now

$ while (/bin/true) do [ file.tex -nt /tmp/file.tex ] && make && git-now ; \cp -p file.tex  /tmp/ ; sleep 1; done;
このページにはhatena以外のサービスからのコンテンツが埋め込まれています。 hatenaによりGoogle AdSense 広告が埋め込まれています。