[Commits] [svn:einsteintoolkit] www/ (Rev. 1038)
knarf at cct.lsu.edu
knarf at cct.lsu.edu
Fri Jul 5 20:39:42 CDT 2013
User: knarf
Date: 2013/07/05 08:39 PM
Added:
/about/members/
latex.pl
Log:
small latex script to take members list and generate a small latex list
Directory Changes:
Directory: /svn:executable/
===========================
+ *
File Changes:
Directory: /about/members/
==========================
File [added]: latex.pl
Delta lines: +17 -0
===================================================================
--- about/members/latex.pl (rev 0)
+++ about/members/latex.pl 2013-07-06 01:39:42 UTC (rev 1038)
@@ -0,0 +1,17 @@
+#!/usr/bin/perl -w
+use strict;
+
+my $itemopen = 0;
+foreach my $line (<>) {
+ if ($line =~ /^([^ ]+) (.*)/) {
+ if ($itemopen) {
+ print " \\end{cititemize2}\n";
+ }
+ print " \\item $2\n \\begin{cititemize2}\n";
+ $itemopen = 1;
+ } elsif ($line =~ /^ (.*)/) {
+ $line =~ s/ http[^ ]*//g;
+ print " \\item$line";
+ }
+}
+print " \\end{cititemize2}\n";
Property changes on: about/members/latex.pl
___________________________________________________________________
More information about the Commits
mailing list