news item: tutorial by Titus Winter
[PyX/mjg.git] / pyx / lfs / createlfs.py
blob9dec605c1dc0c579335650b8d7ff9a60a88729fc
1 #!/usr/bin/env python
2 # -*- coding: ISO-8859-1 -*-
5 # Copyright (C) 2002 Jörg Lehmann <joergl@users.sourceforge.net>
6 # Copyright (C) 2002 André Wobst <wobsta@users.sourceforge.net>
8 # This file is part of PyX (http://pyx.sourceforge.net/).
10 # PyX is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; either version 2 of the License, or
13 # (at your option) any later version.
15 # PyX is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU General Public License for more details.
20 # You should have received a copy of the GNU General Public License
21 # along with PyX; if not, write to the Free Software
22 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24 import os
26 styles = (("10pt", "article", "10pt", "" , ),
27 ("11pt", "article", "11pt", "" , ),
28 ("12pt", "article", "12pt", "" , ),
29 ("10ptex", "article", "10pt", "\\usepackage{exscale}" , ),
30 ("11ptex", "article", "11pt", "\\usepackage{exscale}" , ),
31 ("12ptex", "article", "12pt", "\\usepackage{exscale}" , ),
32 ("foils17pt", "foils", "17pt", "" , ),
33 ("foils20pt", "foils", "20pt", "" , ),
34 ("foils25pt", "foils", "25pt", "" , ),
35 ("foils30pt", "foils", "30pt", "" , ), )
37 for style in styles:
38 os.system("echo \'%s\n%s\n%s\n%s\'|latex createlfs.tex" % style)