Re: [Fink-users] transfig-graphicx 3.2.5d-1013 creating makefile forfoo.eps and foo.tex is broken

2013-01-29 Thread Daniel Macks
  On Mon, 28 Jan 2013 20:34:29 -0430, Eduardo Pestana 
epestana.fink.l...@gmail.com wrote:
  
 In the last fink update-all I did around 10 days ago
 transfig-graphicx-3.2.5-1012 was updated to
 transfig-graphicx-3.2.5d-1013

 I have a shell script that converts an xfig file,
 with latex instructions inside, directly to
 a .pdf file.  (It uses the latex engine, dvips
 and epstopdf)

 The script begins with
 (see http://cs.nyu.edu/~yap/prog/xfig/how2xfig.html)
    transfig -L pstex -m 0.5 myfigure.fig
    make
 and the automatically generated makefile should
 then produce the myfigure.eps and myfigure.tex

 The makefile produced is broken, there is a line that says
 all: myfigure.pstex
 thtat should say
 all: myfigure.tex

That looks like a result of the following CHANGES item from the 
upstream authors:

  Patchlevel 5c (Jan 4, 2010)

  BUGS FIXED:
    o transfig command was hardwired for tex for make all directive and
      removing files with make clean directive in creating Makefile

What's the actually correct behavior here? I touched this package last 
to fix some other packaging annoyances (some of which were most easily 
solved by pushing the new version). But I don't know much about tex 
other than that I use it sometimes. You asked for -L pstex, so should 
it be generating myfigure.pstex (bug in the later rules that are still 
hardcoding .tex)? Or should it be generating myfigure.tex (i.e., pstex 
is a variant of tex that still has the same extension and is just 
generated using different internal commands)?

dan

  --
Daniel Macks
dma...@netspace.org



--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] transfig-graphicx 3.2.5d-1013 creating makefile forfoo.eps and foo.tex is broken

2013-01-29 Thread Eduardo Pestana
On Tue, Jan 29, 2013 at 10:53 AM, Daniel Macks dma...@netspace.org wrote:

  On Mon, 28 Jan 2013 20:34:29 -0430, Eduardo Pestana 
 epestana.fink.l...@gmail.com wrote:
  

 In the last fink update-all I did around 10 days ago
 transfig-graphicx-3.2.5-1012 was updated to
 transfig-graphicx-3.2.5d-1013

 I have a shell script that converts an xfig file,
 with latex instructions inside, directly to
 a .pdf file.  (It uses the latex engine, dvips
 and epstopdf)

 The script begins with
 (see 
 http://cs.nyu.edu/~yap/prog/**xfig/how2xfig.htmlhttp://cs.nyu.edu/~yap/prog/xfig/how2xfig.html
 )
transfig -L pstex -m 0.5 myfigure.fig
make
 and the automatically generated makefile should
 then produce the myfigure.eps and myfigure.tex

 The makefile produced is broken, there is a line that says
 all: myfigure.pstex
 thtat should say
 all: myfigure.tex


 That looks like a result of the following CHANGES item from the upstream
 authors:

   Patchlevel 5c (Jan 4, 2010)

   BUGS FIXED:
 o transfig command was hardwired for tex for make all directive and
   removing files with make clean directive in creating Makefile

 What's the actually correct behavior here? I touched this package last to
 fix some other packaging annoyances (some of which were most easily solved
 by pushing the new version). But I don't know much about tex other than
 that I use it sometimes. You asked for -L pstex, so should it be
 generating myfigure.pstex (bug in the later rules that are still hardcoding
 .tex)? Or should it be generating myfigure.tex (i.e., pstex is a variant of
 tex that still has the same extension and is just generated using different
 internal commands)?

 dan

  --
 Daniel Macks
 dma...@netspace.org


 According to (please see...I don't know much about this);
http://cs.nyu.edu/~yap/prog/xfig/how2xfig.html
It should be generating myfigure.eps and myfigure.tex

Before the update the Makefile was

#
# TransFig makefile
#

all: myfigure.tex

# translation into pstex

myfigure.tex: myfigure.eps Makefile
fig2dev -L pstex_t -p myfigure.eps -m 1.0 myfigure.fig myfigure.tex
clean::
rm -f myfigure.tex

myfigure.eps: myfigure.fig Makefile
fig2dev -L pstex -m 1.0 myfigure.fig myfigure.eps
clean::
rm -f cylGeodesic.eps

Please note the all: myfigure.tex


All the best and thanks again
Eduardo
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users