On Sat, 9 Jun 2007 11:49:04 +0200 Frank Barknecht fbar@footils.org wrote:
Hallo, Andy Farnell hat gesagt: // Andy Farnell wrote:
pdf builds automatically now,
Do you have your scripts to generate things somewhere only as well? I could figure they might be useful to others as well...
Will eventually tidy it up with Bryans perl pd socket and I think I've got extracting elements from a Pd file properly now. Slurp the entire file and treat it as a great big string ;) But messy, so not ready for others to use yet.
it looks slightly like:
open Pd with tcp listener For all Pd files in cwd{ section heading is filename open Pd file print postscript correct postscript link to image
if (pd file has graphs or labelled signals){
dump data to textfile
jgraph data
adjust postscript
}
if (pd file has [dac~]){
jack-record pd output
convert wav to ogg with sox
link to sound
}
if (pd file has [pd comments]){
extract comments
new subsection comments
}
add link to pd file
}
close pd
include trailer stuff
write tex file
latex dvipdf latex2html
tar
cleanup
The first comment in each file becomes a subsection name and subsequent comments are itemised as a summary.
graphs are broken possible wait/blocking problems
last run on this tutorial, after annotating the Pd files one by one and ordering them.
http://www.obiwannabe.co.uk/html/music/musictuts/Composition-002/Composition...
Andy
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list