def _create_single_taskpaper_task_list(<EOL>self,<EOL>content,<EOL>setName):
self.log.info(<EOL>'<STR_LIT>')<EOL>taskpaperDocPath = None<EOL>if len(content):<EOL><INDENT>if self.editorialRootPath:<EOL><INDENT>taskpaperDocPath = self.syncFolder + "<STR_LIT>" +self.workspaceName + "<STR_LIT:->" + setName + "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>taskpaperDocPath = self.syncFolder + "<STR_LIT:/>" +self.workspaceName + "<STR_LIT:->" + setName + "<STR_LIT>"<EOL><DEDENT>try:<EOL><INDENT>self.log.debug("<STR_LIT>" %<EOL>(taskpaperDocPath,))<EOL>writeFile = codecs.open(<EOL>taskpaperDocPath, encoding='<STR_LIT:utf-8>', mode='<STR_LIT:w>')<EOL><DEDENT>except IOError as e:<EOL><INDENT>message = '<STR_LIT>' % (taskpaperDocPath,)<EOL>self.log.critical(message)<EOL>raise IOError(message)<EOL><DEDENT>writeFile.write(content)<EOL>writeFile.close()<EOL>if self.editorialRootPath:<EOL><INDENT>doc = document(self.syncFolder + "<STR_LIT>" +<EOL>self.workspaceName + "<STR_LIT:->" + setName + "<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>doc = document(self.syncFolder + "<STR_LIT:/>" +<EOL>self.workspaceName + "<STR_LIT:->" + setName + "<STR_LIT>")<EOL><DEDENT>doc.sort_projects(workflowTags=self.workflowTags)<EOL>doc.sort_tasks(workflowTags=self.workflowTags)<EOL>doc.save()<EOL><DEDENT>self.log.info(<EOL>'<STR_LIT>')<EOL>return taskpaperDocPath<EOL>
*create single, sorted taskpaper task list from content pulled in from all of the workspace taskpaper docs*

        **Key Arguments:**
            - ``content`` -- the content to add to the taskpaper task index
            - ``setName`` -- the name of the sync tag set

        **Return:**
            - ``taskpaperDocPath`` -- path to the task index taskpaper doc