Changes between Version 1 and Version 2 of ChimeraSrc2html


Ignore:
Timestamp:
Apr 18, 2011, 10:54:47 AM (15 years ago)
Author:
Darren Weber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ChimeraSrc2html

    v1 v2  
    55
    66{{{
     7#!sh
    78export CHIMERASRC=/data/src/chimera-svn
    89export MODULE=StructMeasure
     
    1415}}}
    1516
     17To see all the options: {{{pygmentize -L}}}
     18
     19For a full tree of the Chimera libs, try:
     20{{{
     21#!sh
     22#!/bin/bash
     23
     24export CHIMERAPYGMENTS=/data/src/chimera-pygments
     25
     26export CHIMERASRC=/data/src/chimera-svn
     27export CHIMERALIB=$CHIMERASRC/libs
     28
     29pyfiles=$(find $CHIMERALIB -name "*.py")
     30
     31for py in $pyfiles; do
     32    html=$(echo $py | sed -e "s/.py$/.html/" -e "s#${CHIMERALIB}#${CHIMERAPYGMENTS}#g")
     33    echo $html
     34    mkdir -p $(dirname $html)
     35    pygmentize -f html -O full,style=trac,linenos=1 -o $html $py
     36done
     37}}}