@Michael: I'm pretty confident that FLOSS Manuals doesn't have such a
dynamic code importing capability, or support for variables or dynamic
substitutions in general. So with FLOSS, code snippets would be 'hard coded'
into the documentation (I assumed that it was currently this way with the
LaTeX docs too, is that right Adam?).
On Wed, Dec 2, 2009 at 4:43 PM, Michael Heuer
Tomasz Kaye's brain
: Michael - excellent suggestion. FLOSS Manuals seems to have a facility for including code easily. Has anyone tried putting ChucK code in to see if it barfs on it?
... I entered some ChucK code into a <pre> element. That seemed to work fine in the preview. Though probably needs more testing (for instance, do long lines inside a <pre> element automatically wrap in PDF export? my suspicion is that they might not).
Does FLOSS manuals have an import mechanism? This would be essential for keeping the ChucK examples/snippets separate from the documentation itself.
For instance, in APT documentation format
http://maven.apache.org/doxia/references/apt-format.html
there is a snippet macro
http://maven.apache.org/doxia/macros/index.html#Snippet_Macro
michael _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users