{"action":"created","issue":{"url":"https://api.github.com/repos/msprev/panzer/issues/8","labels_url":"https://api.github.com/repos/msprev/panzer/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/msprev/panzer/issues/8/comments","events_url":"https://api.github.com/repos/msprev/panzer/issues/8/events","html_url":"https://github.com/msprev/panzer/issues/8","id":85931361,"number":8,"title":"Location of Temp Path","user":{"login":"sergiocorreia","id":214056,"avatar_url":"https://avatars.githubusercontent.com/u/214056?v=3","gravatar_id":"","url":"https://api.github.com/users/sergiocorreia","html_url":"https://github.com/sergiocorreia","followers_url":"https://api.github.com/users/sergiocorreia/followers","following_url":"https://api.github.com/users/sergiocorreia/following{/other_user}","gists_url":"https://api.github.com/users/sergiocorreia/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiocorreia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiocorreia/subscriptions","organizations_url":"https://api.github.com/users/sergiocorreia/orgs","repos_url":"https://api.github.com/users/sergiocorreia/repos","events_url":"https://api.github.com/users/sergiocorreia/events{/privacy}","received_events_url":"https://api.github.com/users/sergiocorreia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-07T19:24:59Z","updated_at":"2015-06-07T20:35:20Z","closed_at":null,"body":"Is there a way to change the current directory when building the PDF files?\r\nI'm on Windows and use Dropbox, so when Pandoc creates the tex2pdf.### folder , Dropbox reads the files, uploads them, then recognizes their deletion, and finally removes them from the server, which slows the process quite a bit.\r\n\r\nOn Windows the standard way is to use %TMP% when creating temporary files (which can be accesses from python with `tempfile.gettempdir()`\r\n\r\nAlso, on a related note: is there a way for a filter to know the initial path of the markdown file? (e.g. if I want to add tables located in `./Tables`)\r\n\r\nThanks!\r\nSergio"},"comment":{"url":"https://api.github.com/repos/msprev/panzer/issues/comments/109797889","html_url":"https://github.com/msprev/panzer/issues/8#issuecomment-109797889","issue_url":"https://api.github.com/repos/msprev/panzer/issues/8","id":109797889,"user":{"login":"sergiocorreia","id":214056,"avatar_url":"https://avatars.githubusercontent.com/u/214056?v=3","gravatar_id":"","url":"https://api.github.com/users/sergiocorreia","html_url":"https://github.com/sergiocorreia","followers_url":"https://api.github.com/users/sergiocorreia/followers","following_url":"https://api.github.com/users/sergiocorreia/following{/other_user}","gists_url":"https://api.github.com/users/sergiocorreia/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiocorreia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiocorreia/subscriptions","organizations_url":"https://api.github.com/users/sergiocorreia/orgs","repos_url":"https://api.github.com/users/sergiocorreia/repos","events_url":"https://api.github.com/users/sergiocorreia/events{/privacy}","received_events_url":"https://api.github.com/users/sergiocorreia/received_events","type":"User","site_admin":false},"created_at":"2015-06-07T20:35:20Z","updated_at":"2015-06-07T20:35:20Z","body":"Thanks for the ideas!\r\n\r\nI'm porting a custom Pandoc wrapper to Panzer. I have a filter that reads certain fenced blocks and replaces them with latex regression tables. Before I was attaching the path directly to the metadata but `panzer_reserved` is indeed cleaner.\r\n\r\nAbout building the PDF, `latexmk` seems like the solution. If I understand right, then instead of outputting the PDF files directly, I'll set  latex as output, then call the postflight script which moves the .tex file to %TMP%, builds the PDF, and copies the PDF and the TEX files back to the working directory.\r\n\r\nThanks again,\r\nSergio"}}