yochju / latex-makefile

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

Please add support for dia files #174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Having (native) support for .dia files would be really cool.

GNU dia can already export eps files:
%.eps: %.dia
  dia --filter=eps --export="$@" "$<"

Alternatively, one can just use inkscape to do the conversion, as shown in the 
attached patch.

I guess the first solution would benefit more dia users, but I don't understand 
the Makefile good enough to properly implement the .dia -> .eps -> .pdf steps.
Implementing this using inkscape was just just a matter of using 
copy/paste/replace with the .svg rules.

Original issue reported on code.google.com by johannes...@gmail.com on 27 Jan 2014 at 2:25

Attachments:

GoogleCodeExporter commented 9 years ago
That's a beautiful patch. Sorry that you had to make so many edits everywhere. 
I was dealing with versions of Make with broken macro specs when I first built 
this and haven't updated it to be simpler in all that time. (Sometimes I'm 
afraid to touch things, too).

Anyway, I'm going to go ahead and apply this. I'll ping this bug when the new 
release is up and you can take it for a spin.

Original comment by shiblon on 14 Feb 2014 at 4:47

GoogleCodeExporter commented 9 years ago
OK, the changes are up at ra79acccadaf3 if you want to take a gander.

If you do download the source, just unpack it and run "build". That will create 
the Makefile, which you can then just copy where you need it.

Original comment by shiblon on 14 Feb 2014 at 4:51

GoogleCodeExporter commented 9 years ago
I took rev. ra79acccadaf3 for a spin with my LaTeX projects, and everything 
seems to work as expected.

Thanks!

Original comment by johannes...@gmail.com on 14 Feb 2014 at 8:07