获取deeplearning电子书

curl http://www.deeplearningbook.org/ | grep "<a href=\"contents" | sed  -E 's#.*contents/(.*).html.*#\1.pdf#g' | xargs
# 对于Linux系统, 需要把 -E 改为 -r
  • 通过chrome 打印pdf功能,保存PDF, 并重命名
for f in `ls`; do  mv $f ${f//www.deeplearningbook.org_contents_/}; done 
  • pdfjoin, tex 系统自带脚本
pdfjoin -o ../DeepLearning.pdf TOC.pdf acknowledgements.pdf notation.pdf intro.pdf part_basics.pdf linear_algebra.pdf prob.pdf numerical.pdf ml.pdf part_practical.pdf mlp.pdf regularization.pdf optimization.pdf convnets.pdf rnn.pdf guidelines.pdf applications.pdf part_research.pdf linear_factors.pdf autoencoders.pdf representation.pdf graphical_models.pdf monte_carlo.pdf partition.pdf inference.pdf generative_models.pdf bib.pdf index-.pdf
  • mac 自带的脚本, "/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" , 功能同pdfjoin, 生成文件变大,不喜欢。
posted @ 2017-05-02 16:33  bregman  阅读(288)  评论(0)    收藏  举报