This reverts commit 624211c3b3.
624211c3b3
@ -28,7 +28,7 @@
\makeatletter
\def\input@path{(* for dir in datadir *)
{(( dir.replace("\\", "/") ))/latex/} %
{((dir))/latex/} %
(* endfor *)
}
\makeatother
@ -86,7 +86,7 @@
\usepackage{graphicx}
\graphicspath{(* for dir in datadir *)
{(( dir.replace("\\", "/") ))/img/} %
{((dir))/img/} %
@ -23,6 +23,6 @@ def relpath(path, start=None):
if start is None:
start = os.curdir
if os.path.abspath(path).startswith(os.path.abspath(start)):
return os.path.relpath(path, start).replace("\\", "/")
return os.path.relpath(path, start)
else:
return os.path.abspath(path).replace("\\", "/")
return os.path.abspath(path)