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 : <251012.0944>
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//////////////////////////////////////////////////////////////////////////////
40use time_table::TimeTableSystem;
41
42fn main() {
43 let mut lj_and_bs = TimeTableSystem::old("LJandBS.tt")
44 .expect("Failed to open time table file");
45 lj_and_bs.CreateLaTeXTimetable("LJandBS.tex")
46 .expect("Failed to create time table LaTeX file");
47 println!("LJandBS.tex created. Now use pdflatex to process this file");
48 println!("into LJandBS.pdf. You will need to run pdflatex 2 or three");
49 println!("times to get the table of contents properly created.");
50}
51
52
53