File: createlfs.py

package info (click to toggle)
pyx3 0.17-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,328 kB
  • sloc: python: 27,656; makefile: 225; ansic: 130; sh: 17
file content (34 lines) | stat: -rwxr-xr-x 1,344 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- encoding: utf-8 -*-
#
#
# Copyright (C) 2002 Jörg Lehmann <joerg@pyx-project.org>
# Copyright (C) 2002 André Wobst <wobsta@pyx-project.org>
#
# This file is part of PyX (https://pyx-project.org/).
#
# PyX is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PyX is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with PyX; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA

import os

styles = (("10pt", "article", "10pt", "" , ),
          ("11pt", "article", "11pt", "" , ),
          ("12pt", "article", "12pt", "" , ),
          ("10ptex", "article", "10pt", "\\usepackage{exscale}" , ),
          ("11ptex", "article", "11pt", "\\usepackage{exscale}" , ),
          ("12ptex", "article", "12pt", "\\usepackage{exscale}" , ),
         )

for style in styles:
    os.system("echo \'%s\n%s\n%s\n%s\'|latex createlfs.tex" % style)