mirror of https://github.com/zulip/zulip.git
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:
parent
9689887cbd
commit
4c0d6eef00
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue