summaryrefslogtreecommitdiff
path: root/grammars/timetable/TimetableLatex.gf
diff options
context:
space:
mode:
authorbjorn <bjorn@bringert.net>2008-08-14 07:58:04 +0000
committerbjorn <bjorn@bringert.net>2008-08-14 07:58:04 +0000
commit77270a010a0b453e9a84c3e62db7cfd22e49d55d (patch)
treed17682a545d6ac1e68ff49b8c20964182794baf7 /grammars/timetable/TimetableLatex.gf
parent0bbb906141711767678f82b15a7b43e65e0b5bd6 (diff)
Remove the grammars directory. It was full of old grammars that don't compile these days. See the old source distributions if you want them.
Diffstat (limited to 'grammars/timetable/TimetableLatex.gf')
-rw-r--r--grammars/timetable/TimetableLatex.gf28
1 files changed, 0 insertions, 28 deletions
diff --git a/grammars/timetable/TimetableLatex.gf b/grammars/timetable/TimetableLatex.gf
deleted file mode 100644
index f0d4f0939..000000000
--- a/grammars/timetable/TimetableLatex.gf
+++ /dev/null
@@ -1,28 +0,0 @@
---# -path=.:../prelude
-
-concrete TimetableLatex of Timetable = open Prelude, Latex in {
-
- lincat
- CityList = {s,s2 : Str} ; -- s2 encodes table width
-
- lin
- MkTable cs ts =
- ss ("\\documentstyle{article}" ++ inEnv "document" (
- (inEnv "tabular" ("{" ++ cs.s2 ++ "}" ++ "&" ++ cs.s ++
- command "hline" ++ ts.s)))) ;
- NilTrain _ = ss [] ;
- ConsTrain cs n t ts = ss (n.s ++ "&" ++ t.s ++ "\\\\" ++ ts.s) ;
- OneCity c = {s = c.s ++ "\\\\" ; s2 = "l|l"} ;
- ConsCity c cs = {s = c.s ++ "&" ++ cs.s ; s2 = "l|" ++ cs.s2} ;
-
- StopTime t = t ;
- NoStop = ss "---" ;
-
- LocTrain c s = s ;
- CityTrain c s cs t = ss (s.s ++ "&" ++ t.s) ;
-
- T i = i ;
- N n = n ; --- ss (fun1 "textbf" n.s) ;
- C s = s ; --- ss (fun1 "textbf" s.s) ;
-
-}