\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