def _preexec_fn(): if defs.latex_preexec_hook is not None: defs.latex_preexec_hook() inputs.extend(p for p in os.environ.get('TEXINPUTS', '').split(':') if p not in ['.', '']) if inputs: os.environ['TEXINPUTS'] = ':'.join(['.'] + inputs + [''])
def _preexec_fn(): if defs.latex_preexec_hook is not None: defs.latex_preexec_hook() if inputs: os.environ['TEXINPUTS'] = ':'.join(['.'] + inputs + [''])