1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
*** src/print.c.org Wed Jan 31 14:29:34 2001
--- src/print.c Wed Jan 31 14:30:44 2001
***************
*** 579,612 ****
SortMilestones();
! fprintf(f, "\\subsection{Milestone List}\n\\label{milestones}\n\n");
!
! fprintf(f, "\\begin{itemize}\n");
!
! for ( i = 0; i < Nmilestones; ++i )
! {
m = sorted_milestones[i].milestone;
!
fprintf(f, "\\item ");
if ( milestone_ids )
! fprintf(f, "%s %s\\\\",
! TeXFix(buf1,m->id),
! TeXFix(buf2,m->name));
else
! fprintf(f, "%s\\\\",
! TeXFix(buf2,m->name));
fprintf(f, " \\emph{%s}\n\n",
days[m->day].s);
if ( m->bday != INVALIDDAYNO )
{
! fprintf(f, "Baseline\\\\\emph{%s}\n",
! days[m->bday].s);
}
fprintf(f, "\n\n");
! }
!
! fprintf(f, "\\end{itemize}\n\n");
fprintf(f,"\\subsection{Resources And Task Assignment}\n\n");
for( rl=reslist; rl!=NULL; rl=rl->next )
--- 579,614 ----
SortMilestones();
! if (Nmilestones > 0) {
! fprintf(f, "\\subsection{Milestone List}\n\\label{milestones}\n\n");
!
! fprintf(f, "\\begin{itemize}\n");
!
! for ( i = 0; i < Nmilestones; ++i )
! {
m = sorted_milestones[i].milestone;
!
fprintf(f, "\\item ");
if ( milestone_ids )
! fprintf(f, "%s %s\\\\",
! TeXFix(buf1,m->id),
! TeXFix(buf2,m->name));
else
! fprintf(f, "%s\\\\",
! TeXFix(buf2,m->name));
fprintf(f, " \\emph{%s}\n\n",
days[m->day].s);
if ( m->bday != INVALIDDAYNO )
{
! fprintf(f, "Baseline\\\\\emph{%s}\n",
! days[m->bday].s);
}
fprintf(f, "\n\n");
! }
+ fprintf(f, "\\end{itemize}\n\n");
+ }
+
fprintf(f,"\\subsection{Resources And Task Assignment}\n\n");
for( rl=reslist; rl!=NULL; rl=rl->next )
|