LJandBS/
main.rs

1// -!- rust -!- *************************************************************
2//
3//  System        : 
4//  Module        : 
5//  Object Name   : $RCSfile$
6//  Revision      : $Revision$
7//  Date          : $Date$
8//  Author        : $Author$
9//  Created By    : Robert Heller
10//  Created       : 2025-10-12 09:33:24
11//  Last Modified : <251015.2047>
12//
13//  Description	
14//
15//  Notes
16//
17//  History
18//	
19//***************************************************************************
20//    Copyright (C) 2025  Robert Heller D/B/A Deepwoods Software
21//			51 Locke Hill Road
22//			Wendell, MA 01379-9728
23//
24//    This program is free software; you can redistribute it and/or modify
25//    it under the terms of the GNU General Public License as published by
26//    the Free Software Foundation; either version 2 of the License, or
27//    (at your option) any later version.
28//
29//    This program is distributed in the hope that it will be useful,
30//    but WITHOUT ANY WARRANTY; without even the implied warranty of
31//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32//    GNU General Public License for more details.
33//
34//    You should have received a copy of the GNU General Public License
35//    along with this program; if not, write to the Free Software
36//    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
37// 
38//
39//***************************************************************************
40
41#![doc = include_str!("README.md")]
42
43use time_table::TimeTableSystem;
44
45/// Main program
46fn main() {
47    let mut lj_and_bs = TimeTableSystem::old("LJandBS.tt")
48                            .expect("Failed to open time table file");
49    lj_and_bs.CreateLaTeXTimetable("LJandBS.tex")
50                            .expect("Failed to create time table LaTeX file");
51    println!("LJandBS.tex created.  Now use pdflatex to process this file");
52    println!("into LJandBS.pdf.  You will need to run pdflatex 2 or three");
53    println!("times to get the table of contents properly created.");
54}
55
56
57