{"action":"created","issue":{"url":"https://api.github.com/repos/gpoore/pythontex/issues/82","labels_url":"https://api.github.com/repos/gpoore/pythontex/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/gpoore/pythontex/issues/82/comments","events_url":"https://api.github.com/repos/gpoore/pythontex/issues/82/events","html_url":"https://github.com/gpoore/pythontex/issues/82","id":122156380,"number":82,"title":"Variable storing name of pythontex-files-* directory","user":{"login":"TheChymera","id":950524,"avatar_url":"https://avatars.githubusercontent.com/u/950524?v=3","gravatar_id":"","url":"https://api.github.com/users/TheChymera","html_url":"https://github.com/TheChymera","followers_url":"https://api.github.com/users/TheChymera/followers","following_url":"https://api.github.com/users/TheChymera/following{/other_user}","gists_url":"https://api.github.com/users/TheChymera/gists{/gist_id}","starred_url":"https://api.github.com/users/TheChymera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheChymera/subscriptions","organizations_url":"https://api.github.com/users/TheChymera/orgs","repos_url":"https://api.github.com/users/TheChymera/repos","events_url":"https://api.github.com/users/TheChymera/events{/privacy}","received_events_url":"https://api.github.com/users/TheChymera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-14T23:29:05Z","updated_at":"2015-12-14T23:51:03Z","closed_at":null,"body":"As mentioned in issue #67 it would be great to be able to store the `.pgf`s produced by PythonTeX in the folder keeping other pythontex files - aptly named `pythontex-files-*`. This would be especially useful because it would keep my document root cleaner.\r\n\r\nTo do this I need to add the directory name of `pythontex-files-*` to [this line](https://bitbucket.org/TheChymera/pythontex_demo/src/935bbdc6d7c9da0b7bd29efef0f1fa362b3ec509/code/functions.tex?at=master&fileviewer=file-view-default#functions.tex-27). But since this directory is named contingent on my document root, the best ways to do this are:\r\n\r\n* Change the directory naming scheme, so that it is always the same and I can add the path statically (strangely enough, I think this is best - what is the point of naming a subdirectory after its parent in the first place?)\r\n* Have access to the exact name from within `functions.tex`\r\n\r\nAny recommendation which solution would eb best and how I could best implement it?   "},"comment":{"url":"https://api.github.com/repos/gpoore/pythontex/issues/comments/164597396","html_url":"https://github.com/gpoore/pythontex/issues/82#issuecomment-164597396","issue_url":"https://api.github.com/repos/gpoore/pythontex/issues/82","id":164597396,"user":{"login":"TheChymera","id":950524,"avatar_url":"https://avatars.githubusercontent.com/u/950524?v=3","gravatar_id":"","url":"https://api.github.com/users/TheChymera","html_url":"https://github.com/TheChymera","followers_url":"https://api.github.com/users/TheChymera/followers","following_url":"https://api.github.com/users/TheChymera/following{/other_user}","gists_url":"https://api.github.com/users/TheChymera/gists{/gist_id}","starred_url":"https://api.github.com/users/TheChymera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheChymera/subscriptions","organizations_url":"https://api.github.com/users/TheChymera/orgs","repos_url":"https://api.github.com/users/TheChymera/repos","events_url":"https://api.github.com/users/TheChymera/events{/privacy}","received_events_url":"https://api.github.com/users/TheChymera/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T23:51:03Z","updated_at":"2015-12-14T23:51:03Z","body":"Still, I don't see why a custom-named pythontex subdir would be a good idea for a default. Would it not be better to have a consistent pythontex structure? If anybody really needs differing path names then that is something that can be customized...\r\n"}}