pgffor.code.tex 错误?

pgffor.code.tex 错误?
\documentclass[12pt,a4paper]{book}
\usepackage[english,greek]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{ucs}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{makeidx}
\usepackage{pstricks}
\usepackage{epsfig} 
\usepackage[margin=1in]{geometry}
\usepackage{amsmath,amsthm,amssymb}
\usepackage{graphicx}
\usepackage{url}
\usepackage{undertilde}
\usepackage{enumerate, multicol}
\usepackage{float}
\usepackage{cancel}
\usepackage{mathtools}
\usepackage{multirow}
\usepackage{polynom,xpatch}
\usepackage{lipsum}

我在第 11 行文件上收到错误:C:\Program Files\MiKTeX 2.9\tex\generic\pgf\utilities\pgffor.code.tex

信息:

! Paragraph ended before \ProvidesPackageRCS@i was complete.
<to be read again>
\par
l.11
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

我更新了我的 MiKTeX 和 Texmaker,现在我遇到了同样的错误,即使在我以前的版本上也遇到了同样的错误(更新之前运行良好)。

答案1

您应该只能够编辑C:\Program Files\MiKTeX 2.9\tex\generic\pgf\utilities\pgffor.code.tex并注释掉第 11 行。即使该文件没有该ProvidesPackageRCS行,一切都应该正常工作。

相关内容