[Commits] [svn:einsteintoolkit] www/ (Rev. 404)
knarf at cct.lsu.edu
knarf at cct.lsu.edu
Mon Nov 15 12:19:55 CST 2010
User: knarf
Date: 2010/11/15 12:19 PM
Modified:
/
/info/
citation.php
Log:
first try on automatic html citations
Directory Changes:
Directory: /
============
Property changes on:
___________________________________________________________________
Directory: /svn:externals/
==========================
+ bibtex https://svn.einsteintoolkit.org/tools/trunk/bibtex
manifest https://svn.einsteintoolkit.org/manifest/trunk
File Changes:
Directory: /info/
=================
File [modified]: citation.php
Delta lines: +9 -1
===================================================================
--- info/citation.php 2010-11-15 04:22:41 UTC (rev 403)
+++ info/citation.php 2010-11-15 18:19:54 UTC (rev 404)
@@ -40,6 +40,14 @@
and verification of components. Obviously, citations should only be given for components that were actually used.</p>
-<p>LIST TO BE PROVIDED</p>
+<?php>
+exec('../bibtex/bib2xhtml -u -s unsortlist ../manifest/einsteintoolkit.bib | '
+ 'perl -e \'my $a=join("",<stdin>); $a=~s/.*(<!-- BEGIN BIB)/$1/s; '
+ '$a=~s/(<!-- END BIB.*-->).*/$1/s; print $a;\'',
+ $output);
+foreach ($output as $line) {
+ echo $line."\n";
+}
+?>
<?php include_once($_SERVER['DOCUMENT_ROOT'].'/global/footer.php');?>
More information about the Commits
mailing list