Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test_backend.pgf.check_for(texsystem) does not do what it says... #5921

Closed
Milestone
@jankatins

Description

@jankatins
def check_for(texsystem): #<- different commands are asked for, but not actually checked below...    header = """    \\documentclass{minimal}    \\usepackage{pgf}    \\begin{document}    \\typeout{pgfversion=\\pgfversion}    \\makeatletter    \\@@end    """    try:        latex = subprocess.Popen(["xelatex", "-halt-on-error"], #<- why not texsystem?                                  stdin=subprocess.PIPE,                                 stdout=subprocess.PIPE)        stdout, stderr = latex.communicate(header.encode("utf8"))    except OSError:        return False    return latex.returncode == 0

Not sure if thats on purpose, but if so it should be documented...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp