LaTeX:a4wide 包和匈牙利设置“输入堆栈大小”超出

LaTeX:a4wide 包和匈牙利设置“输入堆栈大小”超出

我有一个在 Ubuntu 12.04 上编译的文件,现在(使用 Ubuntu 14.04、全新安装、TeXLive 2013、来自 Ubuntu 存储库的软件包)却不行。我清除了该文件,发现没有 a4wide 软件包它也能工作。这是 a4wide 中的错误还是我应该重置 texmf.cnf 文件中的某些变量?

错误信息是:

! TeX capacity exceeded, sorry [input stack size=5000].

example.tex 为:

\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage{t1enc}
\usepackage[utf8x]{inputenc}
\usepackage[magyar]{babel}

\usepackage{amsmath}

\usepackage{a4wide}

\begin{document}

\title{This is the title}
\author{This is my name}
\maketitle

\end{document}

我已经使用过 pdflatex,但是错误与 latex 命令一样。

我没有使用非 ASCII 字符作为在这个问题中

答案1

这个答案写道,a4wide 有缺陷并且过时,我们应该使用几何包。

我已经尝试过那里提到的行:

\usepackage[a4paper,margin=1cm,footskip=.5cm]{geometry}

结果和我之前的操作系统上的结果完全相同。

相关内容