Fix minor markup nits.
diff --git a/Doc/ref/ref6.tex b/Doc/ref/ref6.tex
index 4cf30ff..13b1c71 100644
--- a/Doc/ref/ref6.tex
+++ b/Doc/ref/ref6.tex
@@ -657,7 +657,7 @@
 expression should evaluate to either a string, an open file object, or
 a code object.  If it is a string, the string is parsed as a suite of
 Python statements which is then executed (unless a syntax error
-occurs).  If it is an open file, the file is parsed until EOF and
+occurs).  If it is an open file, the file is parsed until \EOF{} and
 executed.  If it is a code object, it is simply executed.
 
 In all cases, if the optional parts are omitted, the code is executed