4 * This source code is part of
8 * GROningen MAchine for Chemical Simulations
12 * Copyright (c) 1991-1999
13 * BIOSON Research Institute, Dept. of Biophysical Chemistry
14 * University of Groningen, The Netherlands
17 * GROMACS: A message-passing parallel molecular dynamics implementation
18 * H.J.C. Berendsen, D. van der Spoel and R. van Drunen
19 * Comp. Phys. Comm. 91, 43-56 (1995)
21 * Also check out our WWW page:
22 * http://md.chem.rug.nl/~gmx
27 * Great Red Oystrich Makes All Chemists Sane
29 static char *SRCID_prfn_c = "$Id$";
35 void pr_texdefs(FILE *fp)
39 fprintf(fp,"\\begin{table}\n");
40 fprintf(fp,"\\begin{tabularx}{\\linewidth}{|r@{\\tt.}lccX|}\n");
41 fprintf(fp,"\\dline\n");
42 fprintf(fp,"\\mc{2}{|c}{%s} & %4s & %7s & %s \\\\[-0.1ex]\n",
43 "Default","","Default","");
44 fprintf(fp,"\\mc{1}{|c}{%s} & \\mc{1}{c}{%s} & %4s & %7s & %s "
46 "Name","Ext.","Type","Option","Description");
47 fprintf(fp,"\\hline\n");
48 for(i=0; (i<efNR); i++)
49 if ( (i!=efGCT) && (i!=efHAT) )
51 fprintf(fp,"\\dline\n");
52 fprintf(fp,"\\end{tabularx}\n");
53 fprintf(fp,"\\caption{The {\\gromacs} file types.}\n");
54 fprintf(fp,"\\label{tab:form}\n");
55 fprintf(fp,"\\end{table}\n");
58 void pr_htmldefs(FILE *fp)
62 fprintf(fp,"<title>GROMACS</title>\n");
63 fprintf(fp,"<h1>GROMACS Files</h1>\n");
64 fprintf(fp,"<b>GRO</b>ningen <b>MA</b>chine for <b>S</b>imulating <b>C</b>hemistry\n");
66 fprintf(fp,"The following %d filetypes are used by Gromacs:\n",efNR);
68 for(i=0; (i<efNR); i++) {
69 fprintf(fp,"<dt><a href=\"%s.html\">%s.%s</a> (%s)<dd>%s\n",
70 ftp2ext(i),ftp2defnm(i),ftp2ext(i),ftp2ftype(i),
71 check_html(ftp2desc(i),NULL));
73 fprintf(fp,"</dl>\n");
81 out=ffopen("files.tex","w");
85 out=ffopen("files.html","w");