<br><br><div class="gmail_quote">On Thu, Sep 9, 2010 at 4:23 PM,<span dir="ltr"></span>Deren Dohoda <<a href="mailto:deren.dohoda@gmail.com">deren.dohoda@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I am sorry to ask such introductory questions, but it's killing me to<br>
see "literate programming" in Racket while finding myself unable to<br>
use it. I love noweb and all, but I am writing a literate Racket<br>
program and, well, I'd like to use Racket.<br></blockquote><div><br>Racket was my first literate programming tool, and also my first Scribble project. If you've already been using Scribble, it should be an easy transition. <br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
1) Is this intended correct flow: literate program included in<br>
scribble document exported to pdf/html? </blockquote><div> </div><div>This is the only way I've gotten it to work. I agree that it seems strange. It would be nice to have the "scribble HTML" button that appears in my source editor (because of #lang scribble/lp?) actually work!<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
2) Is there any way to use arbitrary latex markup in Scribble? I could<br>
attempt to roll my own reader to simulate something like noweb but I<br>
thought there may be something available and it is hard to justify<br>
working in a new reader only to simulate a tool I already have<br>
available. (I find modifying the reader to be an arcane process,<br>
personally, even with the copious documentation.) The documentation<br>
didn't seem to suggest it: I could find no way to include mathematical<br>
formula in scribble. It is rare to have a program that doesn't include<br>
*some* math formula or other, so I figured it must be available, but<br>
again, I couldn't find it.<br></blockquote><div><br>I have been using OpenOffice Math module, and pasting screen scrapings into PNG files. Definitely, something more elegant and less labor intensive is needed. Even easier access to fonts on the fly would help. <br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Thank you for any help. Ideally I'd find a way to make working with<br>
the Racket documentation format literate so if the project I'm working<br>
on could find use in PLaneT I wouldn't have to write everything twice.<br></blockquote><div> </div><div>Personally, I use LP to write comments to myself, more than anything else. Possibly, my audience could include engineers or scientists (program as research paper), as I suspect yours might. Users, however, are users. They don't care how it works, just that you did the work for them. User documentation will always be separate, and properly so (I have no interest in an LP describing the implementation of the numeric tower, for example).<br>
<br>Pat<br></div></div><br>