Changeset 67e0dc in git for Singular/LIB/tropical.lib
- Timestamp:
- Oct 21, 2015, 2:57:17 PM (9 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 5bd9ec36b87fa8f176a21995de2b56724d67be2d
- Parents:
- a1b6c917a1c8886b1bba1b05680ff06cfd39c82def1a968e317a12b42f88e04cd7f9483e47fba2f7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/tropical.lib
ref1a96 r67e0dc 1803 1803 int rdnum=random(1000,9999); 1804 1804 write(":w /tmp/tropicalcurve"+string(rdnum)+".tex",TEXBILD); 1805 system("sh","cd /tmp; latex /tmp/tropicalcurve"+string(rdnum)+".tex; dvips /tmp/tropicalcurve"+string(rdnum)+".dvi -o; /bin/rm tropicalcurve"+string(rdnum)+".log; /bin/rm tropicalcurve"+string(rdnum)+".aux; /bin/rm tropicalcurve"+string(rdnum)+".ps?; /bin/rm tropicalcurve"+string(rdnum)+".dvi; kghostview tropicalcurve"+string(rdnum)+".ps &");1805 system("sh","cd /tmp; latex /tmp/tropicalcurve"+string(rdnum)+".tex; dvips /tmp/tropicalcurve"+string(rdnum)+".dvi -o; command rm tropicalcurve"+string(rdnum)+".log; command rm tropicalcurve"+string(rdnum)+".aux; command rm tropicalcurve"+string(rdnum)+".ps?; command rm tropicalcurve"+string(rdnum)+".dvi; kghostview tropicalcurve"+string(rdnum)+".ps &"); 1806 1806 } 1807 1807 else … … 1901 1901 int rdnum=random(1000,9999); 1902 1902 write(":w /tmp/newtonsubdivision"+string(rdnum)+".tex",TEXBILD); 1903 system("sh","cd /tmp; latex /tmp/newtonsubdivision"+string(rdnum)+".tex; dvips /tmp/newtonsubdivision"+string(rdnum)+".dvi -o; /bin/rm newtonsubdivision"+string(rdnum)+".log; /bin/rm newtonsubdivision"+string(rdnum)+".aux; /bin/rm newtonsubdivision"+string(rdnum)+".ps?; /bin/rm newtonsubdivision"+string(rdnum)+".dvi; kghostview newtonsubdivision"+string(rdnum)+".ps &");1903 system("sh","cd /tmp; latex /tmp/newtonsubdivision"+string(rdnum)+".tex; dvips /tmp/newtonsubdivision"+string(rdnum)+".dvi -o; command rm newtonsubdivision"+string(rdnum)+".log; command rm newtonsubdivision"+string(rdnum)+".aux; command rm newtonsubdivision"+string(rdnum)+".ps?; command rm newtonsubdivision"+string(rdnum)+".dvi; kghostview newtonsubdivision"+string(rdnum)+".ps &"); 1904 1904 // return(TEXBILD); 1905 1905 } … … 3884 3884 RETURN: none" 3885 3885 { 3886 system("sh","cd /tmp; /bin/rm -f tropicalcurve*; /bin/rm -f tropicalnewtonsubdivision*");3886 system("sh","cd /tmp; command rm -f tropicalcurve*; command rm -f tropicalnewtonsubdivision*"); 3887 3887 } 3888 3888 … … 4833 4833 } 4834 4834 // kill the gfan files in /tmp 4835 system("sh","cd /tmp; /usr/bin/touch gfaninput; /usr/bin/touch gfanoutput; /bin/rm gfaninput; /bin/rm gfanoutput");4835 system("sh","cd /tmp; /usr/bin/touch gfaninput; /usr/bin/touch gfanoutput; command rm gfaninput; command rm gfanoutput"); 4836 4836 // we return a list which contains the 4837 4837 // parametrisation ring (with the parametrisation ideal) … … 5953 5953 { 5954 5954 // kill the gfan files in /tmp 5955 system("sh","cd /tmp; /usr/bin/touch gfaninput; /usr/bin/touch gfanoutput; /bin/rm gfaninput; /bin/rm gfanoutput");5955 system("sh","cd /tmp; /usr/bin/touch gfaninput; /usr/bin/touch gfanoutput; command rm gfaninput; command rm gfanoutput"); 5956 5956 } 5957 5957 // we return a list which contains lists of the parametrisation … … 8398 8398 int rdnum=random(1000,9999); 8399 8399 write(":w /tmp/tropicalcurve"+string(rdnum)+".tex",TEXBILD); 8400 system("sh","cd /tmp; latex /tmp/tropicalcurve"+string(rdnum)+".tex; dvips /tmp/tropicalcurve"+string(rdnum)+".dvi -o; /bin/rm tropicalcurve"+string(rdnum)+".log; /bin/rm tropicalcurve"+string(rdnum)+".aux; /bin/rm tropicalcurve"+string(rdnum)+".ps?; /bin/rm tropicalcurve"+string(rdnum)+".dvi; kghostview tropicalcurve"+string(rdnum)+".ps &");8400 system("sh","cd /tmp; latex /tmp/tropicalcurve"+string(rdnum)+".tex; dvips /tmp/tropicalcurve"+string(rdnum)+".dvi -o; command rm tropicalcurve"+string(rdnum)+".log; command rm tropicalcurve"+string(rdnum)+".aux; command rm tropicalcurve"+string(rdnum)+".ps?; command rm tropicalcurve"+string(rdnum)+".dvi; kghostview tropicalcurve"+string(rdnum)+".ps &"); 8401 8401 } 8402 8402 else
Note: See TracChangeset
for help on using the changeset viewer.