diff options
Diffstat (limited to 'sci-chemistry/nwchem/files/nwchem-6.3-html_doc.patch')
-rw-r--r-- | sci-chemistry/nwchem/files/nwchem-6.3-html_doc.patch | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/sci-chemistry/nwchem/files/nwchem-6.3-html_doc.patch b/sci-chemistry/nwchem/files/nwchem-6.3-html_doc.patch new file mode 100644 index 000000000..fa0e8fad3 --- /dev/null +++ b/sci-chemistry/nwchem/files/nwchem-6.3-html_doc.patch @@ -0,0 +1,82 @@ +diff -Naurp old/doc/update_www new/doc/update_www +--- doc/update_www 2013-05-18 00:40:51.000000000 +0000 ++++ doc/update_www 2013-05-22 12:15:27.543414281 +0000 +@@ -16,7 +16,8 @@ set document = $argv[1] + echo Updating WWW pages for $document.tex + #............... public + #foreach WWWDIR (/msrc/www/pub/docs/nwchem/doc) +-foreach WWWDIR (/msrc/emslweb/docs/nwchem/doc) ++#foreach WWWDIR (/msrc/emslweb/docs/nwchem/doc) ++foreach WWWDIR ("${NWCHEM_TOP}"/html) + # + # Now copy the revised source into the EMSL public WWW tree + echo "update_www: Public pages .. " +diff -Naurp old/user/geometry.tex new/user/geometry.tex +--- user/geometry.tex 2013-05-18 00:40:51.000000000 +0000 ++++ user/geometry.tex 2013-05-23 13:00:44.234316049 +0000 +@@ -472,11 +472,11 @@ and angles. + \ifx\pdfoutput\undefined + \includegraphics[angle=270,width=6in]{zmat1.eps} + \else +-\includegraphics[angle=0,width=6in]{zmat1.pdf} ++\includegraphics[angle=0,width=6in,bburx=509,bbury=201]{zmat1.pdf} + \fi + \end{latexonly} + \begin{htmlonly} +-\psfig{figure=zmat1.eps,angle=270,width=6in} ++\epsfig{figure=zmat1.eps,angle=270,width=6in} + \end{htmlonly} + \caption{\label{fig:zmat1} Relationships between the centers, bond angle + and dihedral angle in Z-matrix input.} +@@ -488,11 +488,11 @@ and dihedral angle in Z-matrix input.} + \ifx\pdfoutput\undefined + \includegraphics[angle=270,width=6in]{zmat2.eps} + \else +-\includegraphics[angle=270,width=6in]{zmat2.pdf} ++\includegraphics[angle=270,width=6in,bburx=266,bbury=485]{zmat2.pdf} + \fi + \end{latexonly} + \begin{htmlonly} +-\psfig{figure=zmat2.eps,angle=270,width=6in} ++\epsfig{figure=zmat2.eps,angle=270,width=6in} + \end{htmlonly} + + \caption{\label{fig:zmat2} Relationships between the centers and two +@@ -505,11 +505,11 @@ and dihedral angle in Z-matrix input.} + \ifx\pdfoutput\undefined + \includegraphics[angle=270,width=6in]{zmat3.eps} + \else +-\includegraphics[angle=270,width=6in]{zmat3.pdf} ++\includegraphics[angle=270,width=6in,bburx=266,bbury=482]{zmat3.pdf} + \fi + \end{latexonly} + \begin{htmlonly} +-\psfig{figure=zmat3.eps,angle=270,width=6in} ++\epsfig{figure=zmat3.eps,angle=270,width=6in} + \end{htmlonly} + \caption{\label{fig:zmat3} Relationships between the centers and two + bond angles in Z-matrix input with optional parameter specified as $-1$.} +diff -Naurp old/user/titlepage.tex new/user/titlepage.tex +--- user/titlepage.tex 2013-05-18 00:40:51.000000000 +0000 ++++ user/titlepage.tex 2013-05-23 13:01:07.304152791 +0000 +@@ -19,7 +19,7 @@ + {\bf\Large \nwchemmonth \ \nwchemyear}\\[1.0in] + + +-%\psfig{figure=zsm.major.ps,height=4in,width=4in} ++%\epsfig{figure=zsm.major.ps,height=4in,width=4in} + + + \end{centering} +diff -Naurp old/user/user.tex new/user/user.tex +--- user/user.tex 2013-05-18 00:40:51.000000000 +0000 ++++ user/user.tex 2013-05-23 13:00:04.961296411 +0000 +@@ -2,7 +2,7 @@ + \input{top} + \usepackage[dvips]{graphicx} + \begin{htmlonly} +-\usepackage{psfig} ++\usepackage{epsfig} + \end{htmlonly} + + |