我得到了一个 Latex 项目作为模板,我决定在其上添加一个术语表,但是\printglossary不起作用。我可以添加和使用不同的条目,所以我猜术语表创建不是问题。
我正在使用 Overleaf,如果我尝试一个全新的项目,仅使用术语表(下面的代码)就\printglossary可以正常工作。
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[acronym, toc]{glossaries}
\makeglossaries
\input{Bibliocosas/glossary.tex}
\begin{document}
\tableofcontents
\section{First Section}
The \Gls{latex} typesetting markup language is specially suitable for documents that include \gls{maths}. \Glspl{formula} are rendered properly an easily once one gets used to the commands.
\clearpage
\section{Second Section}
\vspace{5mm}
Given a set of numbers, there are elementary methods to compute its \acrlong{gcd}, which is abbreviated \acrshort{gcd}. This process is similar to that used for the \acrfull{lcm}.
\clearpage
\printglossary
\clearpage
\printglossary[type=\acronymtype] …Run Code Online (Sandbox Code Playgroud) 就我而言,您可以在使用 构建映像RUN或运行容器时运行命令行CMD。启动 docker 容器时是否可以这样做?
我的目标是在输入后自动运行 gcloud 数据存储区docker start my_container_name。
如果可能的话,我应该对我的 Dockerfile 应用哪些更改?
(我已经安装了所需的所有软件包,之后可以运行该命令docker run --name my_container_name -i -t my_image_name,但我希望在启动容器时也运行它)