|
From: | Fotios |
Subject: | marked m-code 2 png (for latex formulas) |
Date: | Sun, 20 Feb 2011 00:47:08 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; el; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
#f# $ <formula> $ <\n>More precisely genmarked is a utility that returns a cell array of strings with the parts of interest, that is
$<formula>$in the case of genpng; it accepts a marker as argument, thus can be used (does Octave have sth similar?) to "parse" files marked with whatever marker in an m-file (or any other simple text file).
You call like octave:1> genpng ("example")Any feedback? Tested on Windows 7, does it work on linux/Mac OS X? (it should!) I started doing that having in mind the publish function i wrote previously; to improve the html generation.
Enjoy /Fotis
getmarked.m
Description: Text document
genpng.m
Description: Text document
example2.png
Description: PNG image
example1.png
Description: PNG image
example.m
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |