Fix markup errors.
diff --git a/Doc/lib/libposixpath.tex b/Doc/lib/libposixpath.tex
index d195447..be22827 100644
--- a/Doc/lib/libposixpath.tex
+++ b/Doc/lib/libposixpath.tex
@@ -216,7 +216,7 @@
 assignment.)
 
 Note that symbolic links to directories are not treated as subdirectories,
-and that \var{walk} therefore will not visit them. To visit linked
-directories you must identify them with \var{os.path.islink(file)} and
-\var{os.path.isdir(file)}, and invoke \function{walk()} as necessary.
+and that \function{walk} therefore will not visit them. To visit linked
+directories you must identify them with \code{os.path.islink(file)} and
+\code{os.path.isdir(file)}, and invoke \function{walk()} as necessary.
 \end{funcdesc}