@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?).<br>
<br><div class="gmail_quote">On Wed, Dec 2, 2009 at 4:43 PM, Michael Heuer <span dir="ltr"><<a href="mailto:heuermh@gmail.com">heuermh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Tomasz Kaye's brain <<a href="mailto:tomasz.brain@gmail.com">tomasz.brain@gmail.com</a>>:<br>
<div class="im"><br>
>> Michael - excellent suggestion. FLOSS Manuals seems to have a facility<br>
>> for including code easily. Has anyone tried putting ChucK code in to<br>
>> see if it barfs on it?<br>
><br>
> ...<br>
</div><div class="im">> I entered some ChucK code into a <pre> element. That seemed to work fine in<br>
> the preview. Though probably needs more testing (for instance, do long lines<br>
> inside a <pre> element automatically wrap in PDF export? my suspicion is<br>
> that they might not).<br>
<br>
</div>Does FLOSS manuals have an import mechanism? This would be essential<br>
for keeping the ChucK examples/snippets separate from the<br>
documentation itself.<br>
<br>
For instance, in APT documentation format<br>
<br>
<a href="http://maven.apache.org/doxia/references/apt-format.html" target="_blank">http://maven.apache.org/doxia/references/apt-format.html</a><br>
<br>
there is a snippet macro<br>
<br>
<a href="http://maven.apache.org/doxia/macros/index.html#Snippet_Macro" target="_blank">http://maven.apache.org/doxia/macros/index.html#Snippet_Macro</a><br>
<font color="#888888"><br>
michael<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</div></div></blockquote></div><br>