Title: [ENH]: Support alternate LaTeX engines · Issue #22715 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: Support alternate LaTeX engines · Issue #22715 · matplotlib/matplotlib
X Title: [ENH]: Support alternate LaTeX engines · Issue #22715 · matplotlib/matplotlib
Description: Problem I don't use Texlive, I use Tectonic, and I using plt.rcParams['text.usetex'] requires me to download a different LaTeX engine, not only because the latex binary is searched, but also because the tex files that are meant for compi...
Open Graph Description: Problem I don't use Texlive, I use Tectonic, and I using plt.rcParams['text.usetex'] requires me to download a different LaTeX engine, not only because the latex binary is searched, but also becaus...
X Description: Problem I don't use Texlive, I use Tectonic, and I using plt.rcParams['text.usetex'] requires me to download a different LaTeX engine, not only because the latex binary is searched, but...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/22715
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: Support alternate LaTeX engines","articleBody":"### Problem\n\nI don't use Texlive, I use [Tectonic](https://github.com/tectonic-typesetting/tectonic), and I using `plt.rcParams['text.usetex']` requires me to download a different LaTeX engine, not only because the `latex` binary is searched, but also because the `tex` files that are meant for compilation are meant for `pdflatex`, and not `xetex`, which tectonic essentially wraps.\n\n### Proposed solution\n\nAdd a new option to `rcParams` which will enable using a different LaTeX engine, and another option that will control whether the generated `tex` files should be intended for xetex or `pdftex`.\r\n\r\nThis seems not too complicated to solve, but I wish to know what do you think, and whether you'd be willing to add more moving parts to [`TexManager` class](https://github.com/matplotlib/matplotlib/blob/2e921df22ba6b2a7782241798b042403c04cbdaf/lib/matplotlib/texmanager.py#L56), especially since the generated tex files for a `xetex` engine should be substantially different.","author":{"url":"https://github.com/doronbehar","@type":"Person","name":"doronbehar"},"datePublished":"2022-03-28T07:08:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/22715/matplotlib/issues/22715"}
| 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:f5de0648-52c2-e2c9-806f-8487db6cce5f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B952:56830:19B637D:2203C09:6A51D428 |
| html-safe-nonce | 227b429dee68d9066eedce68a6de0d8ee474edf86c968bd2aa0917155a172012 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTUyOjU2ODMwOjE5QjYzN0Q6MjIwM0MwOTo2QTUxRDQyOCIsInZpc2l0b3JfaWQiOiIyMzY5MjY5OTQ1NTYzNDY4ODQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | db9d09230cc2950baf4daf1b029c77ea98fee641a014bef2b90feb6fca0a295c |
| hovercard-subject-tag | issue:1182991771 |
| 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/22715/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a4437dfc99310475d9709406f19ba972c3a35c4db90bc77fd09722fe4fa05fa5/matplotlib/matplotlib/issues/22715 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a4437dfc99310475d9709406f19ba972c3a35c4db90bc77fd09722fe4fa05fa5/matplotlib/matplotlib/issues/22715 |
| og:image:alt | Problem I don't use Texlive, I use Tectonic, and I using plt.rcParams['text.usetex'] requires me to download a different LaTeX engine, not only because the latex binary is searched, but also becaus... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | doronbehar |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width