Sha256: 9746a645a02f3d5e8ff45c8ca07ad31620bb70ba6a11dd4ba24495bc824488a9
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
namespace "dvi" do desc "Download sample tfm files." task :download_tfm do url = "http://www.ctan.org/get/fonts/cm/tfm" [ "cmr8.tfm", "cmr10.tfm", "cmr12.tfm", "cmb10.tfm" ].each do |name| unless File.exist?(File.join(File.dirname(__FILE__), "..", "tmp", "tfm", name)) sh %{ curl --create-dirs --location -o tmp/tfm/#{name} #{url}/#{name} } end end end desc "Make ls-R." task :lsr => :download_tfm do sh %{mktexlsr tmp} end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dvi-0.1.0 | tasks/dvi.rake |