yochju / latex-makefile

Automatically exported from code.google.com/p/latex-makefile
Other
0 stars 0 forks source link

adding pstex_t files using \input{file.pstex_t} result with invalid eps target #157

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
First, let me say I'm sorry if it turns out not to be an issue. I tried looking 
in "make help" and in the Makefile itself for a remedy, but no luck.

When creating a latex document that contains "\input{file.pstex_t}", make 
command returns "make: *** No rule to make target 'file.pstex.eps', needed by 
'main.dvi'"

To reproduce, create such a file, set BUILD_STRATEGY=latex, and run:
make clean
make all-pstex
make

I am running on Ubuntu with make 3.81.

In my attempts for a workaround I tried setting onlysources.eps to empty, but 
it had no effect.

A workaround which actually worked was removing the call to get-graphics in the 
Makefile. Clearly, this means graphics file won't be handled correctly, but 
since I have included only pstex_t files, this workaround temporarily does the 
work for me.

Other than that, the makefile seems great. Thanks!

Original issue reported on code.google.com by guy.gre...@gmail.com on 25 Apr 2012 at 11:14

GoogleCodeExporter commented 9 years ago
I believe the problem is that you need to remove the suffix:

\input{file}

If that doesn't work, we can do some more poking around, but that's what was 
tickled in my memory.

Original comment by shiblon on 9 May 2012 at 11:18

GoogleCodeExporter commented 9 years ago
Thanks for your reply.
I already tried removing the suffix. When I remove the suffix I get the 
following error:
make: *** No rule to make target 'file.tex', needed by 'main.d'. Stop

Original comment by guy.gre...@gmail.com on 10 May 2012 at 9:20

GoogleCodeExporter commented 9 years ago
OK - so that's not it.  Hmm.

The fact that commenting out get-graphics fixes it for you points to a log 
parsing regression.  Is it possible for you to create a minimal set of files 
that exhibit this behavior and attach them to the bug?  Then I can go exploring.

Original comment by shiblon on 10 May 2012 at 9:32

GoogleCodeExporter commented 9 years ago
Sure, I attach the 4 required files.
To produce the error:
make clean
make all-pstex
make main

Let me know if you need anything else. Thanks.

Original comment by guy.gre...@gmail.com on 10 May 2012 at 9:49

Attachments:

GoogleCodeExporter commented 9 years ago
One small thing to save potential confusion. I just noticed I used ver 2.2.0 of 
the Makefile and this was the Makefile I attached in my last post.
But I tested it now under ver 2.2.1-alpha8 and got the same error.

Original comment by guy.gre...@gmail.com on 10 May 2012 at 9:53