Permalink
Browse files

Fix pdf building.

  • Loading branch information...
ericholscher committed Oct 21, 2012
1 parent 93de8da commit f2d6c0088b62ac19af236e075a2ed9cb6bc5e15c
Showing with 1 addition and 0 deletions.
  1. +1 −0 readthedocs/doc_builder/backends/sphinx_pdf.py
@@ -47,6 +47,7 @@ def build(self, **kwargs):
def move(self, **kwargs):
#This needs to be thought about more because of all the state above.
#We could just shove the filename on the instance or something.
+ project = self.version.project
os.chdir(os.path.join(project.conf_dir(self.version.slug), '_build', 'latex'))
tex_files = glob('*.tex')
for tex_file in tex_files:

0 comments on commit f2d6c00

Please sign in to comment.