summaryrefslogtreecommitdiffstats
path: root/textproc/opensched/files/patch-src__print.c
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/opensched/files/patch-src__print.c')
-rw-r--r--textproc/opensched/files/patch-src__print.c75
1 files changed, 75 insertions, 0 deletions
diff --git a/textproc/opensched/files/patch-src__print.c b/textproc/opensched/files/patch-src__print.c
new file mode 100644
index 0000000..4d4a8b7
--- /dev/null
+++ b/textproc/opensched/files/patch-src__print.c
@@ -0,0 +1,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 )
OpenPOWER on IntegriCloud