{"action":"created","issue":{"url":"https://api.github.com/repos/shiblon/latex-makefile/issues/5","labels_url":"https://api.github.com/repos/shiblon/latex-makefile/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/shiblon/latex-makefile/issues/5/comments","events_url":"https://api.github.com/repos/shiblon/latex-makefile/issues/5/events","html_url":"https://github.com/shiblon/latex-makefile/issues/5","id":43725623,"number":5,"title":"fig -> pdftex[_t] conversion","user":{"login":"shtrom","id":160280,"avatar_url":"https://avatars.githubusercontent.com/u/160280?v=3","gravatar_id":"","url":"https://api.github.com/users/shtrom","html_url":"https://github.com/shtrom","followers_url":"https://api.github.com/users/shtrom/followers","following_url":"https://api.github.com/users/shtrom/following{/other_user}","gists_url":"https://api.github.com/users/shtrom/gists{/gist_id}","starred_url":"https://api.github.com/users/shtrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shtrom/subscriptions","organizations_url":"https://api.github.com/users/shtrom/orgs","repos_url":"https://api.github.com/users/shtrom/repos","events_url":"https://api.github.com/users/shtrom/events{/privacy}","received_events_url":"https://api.github.com/users/shtrom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-09-24T06:58:09Z","updated_at":"2015-01-21T22:51:53Z","closed_at":null,"body":"Hi,\r\n\r\nI generally use Xfig files, which I convert to pdftex[_t] and include in my document as \r\n\r\n    \\input{figs/omsp.pdftex_t}\r\n\r\nHowever, the Makefile doesn't appear to be aware of them at the moment. It is, however aware of pstex[_t] documents. I've tried duplicating this to support pdftex[_t] conversion (see [0]), but to no avail.\r\n\r\nHowever, I haven't been able to exercise the pstex_t bit of code in my test either.\r\n\r\n    $ make BUILD_STRATEGY=latex\r\n    NOTE: You may ignore warnings about the following files:\r\n    \r\n         lw.d\r\n    \r\n    ../latex.mk:2561: lw.d: No such file or directory\r\n    NOTE: You may ignore warnings about the following files:\r\n    \r\n         lw.bib.d\r\n    \r\n    = lw.tex --> lw.d lw.dvi.1st.make (0-1) =\r\n    = lw.aux --> lw.bib.d =\r\n    make: *** No rule to make target 'figs/omsp.pstex_t.tex', needed by 'lw.d'.  Stop.\r\n\r\n\r\nIs this still a working feature? How should the pdftex_t support be implemented?\r\n\r\n[0] https://github.com/shtrom/latex-makefile/compare/pdftex?diff=unified&expand=1"},"comment":{"url":"https://api.github.com/repos/shiblon/latex-makefile/issues/comments/70938563","html_url":"https://github.com/shiblon/latex-makefile/issues/5#issuecomment-70938563","issue_url":"https://api.github.com/repos/shiblon/latex-makefile/issues/5","id":70938563,"user":{"login":"shtrom","id":160280,"avatar_url":"https://avatars.githubusercontent.com/u/160280?v=3","gravatar_id":"","url":"https://api.github.com/users/shtrom","html_url":"https://github.com/shtrom","followers_url":"https://api.github.com/users/shtrom/followers","following_url":"https://api.github.com/users/shtrom/following{/other_user}","gists_url":"https://api.github.com/users/shtrom/gists{/gist_id}","starred_url":"https://api.github.com/users/shtrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shtrom/subscriptions","organizations_url":"https://api.github.com/users/shtrom/orgs","repos_url":"https://api.github.com/users/shtrom/repos","events_url":"https://api.github.com/users/shtrom/events{/privacy}","received_events_url":"https://api.github.com/users/shtrom/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T22:51:53Z","updated_at":"2015-01-21T22:51:53Z","body":"> When your graphics are actually tex code, the \"run latex without stopping on errors\" part completely and utterly fails when it encounters its first missing dependency.\r\n\r\nAh, right, this make sense.\r\n\r\n> So, pstex_t and friends are oddballs. The only way to really make things happy is to have a separate build step that searches for all of them and builds them independent of the rest of the document, then fails to notice if their sources (e.g., the xfig file) has changed.\r\n\r\nWell, what I had in my hand-made Makefiles was that I parsed the tex file for any `\\input`, and add it to the list of deps for that file (and cascading dependencies upwards to files that included that file). This forces me to be a bit more specific in my `\\input`s, by actually including the `.pdftex_t` extension, but then the Makefile can take care of dependencies and re-building properly. But it needs an additional parsing step. (For reference, the relevant bits of my now deprecated Makefile are there [0]; I'm gradually splitting bits of functionality out so I can keep using them with you Makefile (: ).\r\n\r\n> Is there a particular reason that you would rather generate pdftex from it instead of just producing a .pdf file and including it using graphicx?\r\n\r\nComputer Modern fonts in figures? (:\r\n\r\n[0] http://scm.narf.ssji.net/git/latex-makefile/tree/latex.mk"}}