8000 pythontex.sty not found · Issue #1276 · tectonic-typesetting/tectonic · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
pythontex.sty not found #1276
Open
Open
@domi413

Description

@domi413

I think this is pretty much the same issue as #1086. The suggested fix got merged and it still doesn't seem to work, so here's a follow up issue.

to reproduce:

\documentclass[a4paper, 11pt]{article}
\usepackage[margin=2cm]{geometry}
\usepackage{pythontex}
\usepackage{graphicx}

\begin{document}

\begin{pycode}
import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(0, 2*np.pi, 100)
plt.plot(x, np.sin(x), label=r'$\sin(x)$')
plt.plot(x, np.cos(x), label=r'$\cos(x)$')
plt.xlabel(r'$x$')
plt.ylabel(r'$y$')
plt.title(r'Sine and Cosine Functions')
plt.legend()
plt.grid(True)
plt.savefig('sine_cosine.pdf')
plt.close()
name = 'sine_cosine.pdf'
\end{pycode}

\begin{figure}[h]
	\centering
	\includegraphics[width=0.8\textwidth]{sine_cosine.pdf}
\end{figure}

\end{document}
╰─[I] tectonic test.tex
Running TeX ...
error: test.tex:4: ! LaTeX Error: File `pythontex.sty' not found.
error: halted on potentially-recoverable error as specified

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0