Title: test_backend.pgf.check_for(texsystem) does not do what it says... · Issue #5921 · matplotlib/matplotlib · GitHub
Open Graph Title: test_backend.pgf.check_for(texsystem) does not do what it says... · Issue #5921 · matplotlib/matplotlib
X Title: test_backend.pgf.check_for(texsystem) does not do what it says... · Issue #5921 · matplotlib/matplotlib
Description: 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...
Open Graph Description: def check_for(texsystem): #<- different commands are asked for, but not actually checked below... header = """ \\documentclass{minimal} \\usepackage{pgf} \\begin{document} \\typeout{pgfversion=\\pg...
X Description: def check_for(texsystem): #<- different commands are asked for, but not actually checked below... header = """ \\documentclass{minimal} \\usepackage{pgf} \\begin{document} \\typeo...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/5921
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_backend.pgf.check_for(texsystem) does not do what it says...","articleBody":"```\ndef check_for(texsystem): #\u003c- different commands are asked for, but not actually checked below...\n header = \"\"\"\n \\\\documentclass{minimal}\n \\\\usepackage{pgf}\n \\\\begin{document}\n \\\\typeout{pgfversion=\\\\pgfversion}\n \\\\makeatletter\n \\\\@@end\n \"\"\"\n try:\n latex = subprocess.Popen([\"xelatex\", \"-halt-on-error\"], #\u003c- why not texsystem? \n stdin=subprocess.PIPE,\n stdout=subprocess.PIPE)\n stdout, stderr = latex.communicate(header.encode(\"utf8\"))\n except OSError:\n return False\n\n return latex.returncode == 0\n```\n\nNot sure if thats on purpose, but if so it should be documented...\n","author":{"url":"https://github.com/jankatins","@type":"Person","name":"jankatins"},"datePublished":"2016-01-26T19:59:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/5921/matplotlib/issues/5921"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e4d6a1db-6d1f-a217-8380-c7953af5c0e3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C228:43AB7:292616A:382D99D:6A5444E9 |
| html-safe-nonce | 248a071464c171d3680926ef45dc1372caa5e4ca0f1bbe2dd98e2cd47ffe3c29 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjI4OjQzQUI3OjI5MjYxNkE6MzgyRDk5RDo2QTU0NDRFOSIsInZpc2l0b3JfaWQiOiI2NDExMzE2ODkxMDYzOTYwODA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 91da83eb63e9dd2650d825cfaf35ac2d8420768cf62abc139fae7541220b37f6 |
| hovercard-subject-tag | issue:128925462 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/5921/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5028245104c5e52dff7a8eb5632dbc7b74c038b6cf9a163da4d780c433d9ef29/matplotlib/matplotlib/issues/5921 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5028245104c5e52dff7a8eb5632dbc7b74c038b6cf9a163da4d780c433d9ef29/matplotlib/matplotlib/issues/5921 |
| og:image:alt | def check_for(texsystem): #<- different commands are asked for, but not actually checked below... header = """ \\documentclass{minimal} \\usepackage{pgf} \\begin{document} \\typeout{pgfversion=\\pg... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jankatins |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width