我有以下两个无法编译的 .tex 文件:
\documentclass[a4paper, twoside, 14pt, pdftex, pdfa]{extreport}
\usepackage[utf8]{inputenc}
\usepackage[czech]{babel}
\usepackage{comment, amsmath, amsthm, amssymb, multicol, graphicx, caption}
\usepackage{tikz}
\usepackage{tkz-euclide}
\usetikzlibrary{angles, quotes}
\usepackage{pgfplots}
\usepackage{mathrsfs}
\usetikzlibrary{arrows}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{positioning}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{figure}
\centering
\input{man.tex}
\caption{Výpočet odchylky dvou vektorů pomocí kosinové věty}
\label{fig:05}
\end{figure}
\end{document}
和man.tex
:
\begin{tikzpicture}
\coordinate (o) at (1,1);
\coordinate (u) at (3,3);
\coordinate (x) at (6,1);
\draw[-latex] (o) -- (u);
\draw[-latex] (o) -- (x);
\draw[-latex] (x) -- (u);
\draw[color=black] (3,1.2) node {$\vec{v}$};
\draw[color=black] (4.92,2.2) node {$\vec{w}$};
\draw[color=black] (1.7,2) node {$\vec{u}$};
\path pic[draw=teal, angle radius=8.5mm, teal, angle eccentricity=1.04]{angle=x--o--u};
\draw[color=teal] (1.49,1.22) node {$\varphi$};
\end{tikzpicture}
如果我man.tex
单独编译(使用正确的前言),它工作正常。有人能发现问题吗?