print-all: Provide empty stdin to latex

_out takes a filename but _in takes the input itself.

(imported from commit dee2a1cc920ea3526045146c4e738ca44c38fb47)
This commit is contained in:
Keegan McAllister 2012-10-28 15:20:05 -04:00
parent 9689887cbd
commit 4c0d6eef00
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ if not path.exists('utf-8.def'):
sh.zcat(utf8_dir('utflat.def.gz'), _out='utflat.def')
try:
sh.latex('all_code.tex', _in='/dev/null')
sh.latex('all_code.tex', _in='')
sh.dvips('all_code.dvi')
except sh.ErrorReturnCode as exn:
print exn.stdout