Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
36 additions
and 0 deletions.
- +2 −0 MyPackages/ldf/defaultRS-ngerman.ldf
- +11 −0 MyPackages/mathematicsRS.sty
- +23 −0 scripts/converter
There are no files selected for viewing
| @@ -0,0 +1,23 @@ | ||
| #!/usr/bin/env perl | ||
| use strict; | ||
| use warnings; | ||
| use autodie; | ||
| use feature qw(say); | ||
| use utf8; | ||
| use open qw(:std :utf8); | ||
| binmode STDOUT, ':encoding(UTF-8)'; | ||
|
|
||
| $^I = ".bak"; | ||
|
|
||
| while (<>) { | ||
| s{\A%% <(?:Schule|school)/([^<>]+?).tex> (?:Vorlageversion|template version) ([^<> ]+?) <Robin Schneider>}{%% <school/$1.tex> template $2 by Robin `ypid` Schneider <ypid23\@aol.de>}ms; | ||
| s{\A%%%Präambel\Z}{%%% preamble}ms; | ||
| s{\A%\\listfiles.*}{%\\listfiles %% listfiles to logfile}m; | ||
| s{\A%% Spet?zifische angaben\Z}{%% specific indications}msi; | ||
| s{\A%%%Body\Z}{%%% body}ms; | ||
| # if (/\A#!/) { | ||
| # $_ .= "## Copyright (C) 2011 by Yours Truly"; | ||
| # } | ||
| # print <STDOUT> "$ARGV"; | ||
| print; | ||
| } |