[Core] Add better translation command
All checks were successful
Update docs / build_docs (push) Successful in 29s
Update helpers / build_helpers (push) Successful in 21s

This commit is contained in:
2026-03-01 15:52:53 +01:00
parent 96a8806ba1
commit 03ee657e1f
4 changed files with 295 additions and 286 deletions

View File

@@ -20,5 +20,11 @@ You have set the \textit{scope} to \texttt{full}, which loads the \texttt{minted
\subsubsection{You must have pygmentize installed}
Your host system is lacking the \texttt{pygmentize} package or you have not added the \texttt{pip} path to your \$PATH. This is also the reason as to why the \texttt{-shell-escape} flag has to be set, as minted needs to access external libraries (namely \texttt{pygmentize}) to do the syntax highlighting.
\subsection{Undefined command equal}
If you see an error like this, you likely are using either \verb|\translate| or \verb|\tr| in a \verb|\section| or similar command.
Due to the way \LaTeX\ code is evaluated, you should prefer using \verb|\safetr| instead,
which uses \texttt{etoolbox}'s \verb|\protecting| command to stop this issue from occurring
\subsection{Any other error}
Ensure that you are not missing any closing brackets or a math environment is still open. If nothing helps, contact support at \url{https://support.janishutz.com}