#!/usr/bin/perl # # (c) Copyright 2004 Apostolos Syropoulos # # This program can be used to geneate a table of the glyphs # that are provided by the ``phaistos'' LaTeX package. # This program is absolutely free software. # open (XX, "phaistos.sty") || die "Can't open file './phaistos.sty'\n"; open (YY, ">glyphs.tex") || die "Can't create file './glyphs.tex'\n"; print YY <){ if (s/^\\DeclareTextSymbol\{\\//) { /^(\w*)/; print YY "\\verb|\\$1 = |\\$1\\newline \n"; } } print YY <