Пример #1
0
    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 + [''])
Пример #2
0
    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 + [''])
Пример #3
0
    def _preexec_fn():
        if defs.latex_preexec_hook is not None:
            defs.latex_preexec_hook()

        if inputs:
            os.environ['TEXINPUTS'] = ':'.join(['.'] + inputs + [''])