MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / _has

Function _has

demo/app.py:571–572  ·  view source on GitHub ↗
(bin_name)

Source from the content-addressed store, hash-verified

569 import subprocess as _sp
570
571 def _has(bin_name):
572 return _sh.which(bin_name) is not None
573
574 # Most-tolerant: prefer latexmk with XeLaTeX and force (-f), then XeLaTeX, then LuaLaTeX
575 pretex = r"\nonstopmode\scrollmode\makeatletter\let\pgf@error\pgf@warning\let\GenericError\GenericWarning\let\PackageError\PackageWarning\makeatother"

Callers 2

_compile_poster_pdfFunction · 0.85
_compile_tex_to_pdfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected