Can't save file as .pp in DrRacket
#14
Closed
opened 11 years ago by alecramsay
·
7 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
[Matthew--I figured out what was going on. Thanks for your help. Here are the details for everyone's benefit.]
I'm using DrRacket on Mac OS X. When following the "Quick tour" here (http://mbutterick.github.io/pollen/doc/quick-tour.html) I had significant difficulty saving files with the .pp extension. It turns out that I was getting hung up by the UI in DrRacket dialog.
These are the more elaborated instructions for saving a file as .pp in DrRacket:
Note: You can't get just the file name you want to show up AND the "Hide Extension" to NOT be checked!
The above describes how to save files as .pp in DrRacket on Mac OS X.
Now I can't seem to save files as .pmd (the next part of the "Quick tour"). Even when I use the flows above, the popup dialog that lets you override the extension never comes up. IOW, I can only save .rkt files. Very frustrating! What am I missing?
I'm afraid I can't reproduce your error. When I save a file in DrRacket with the .pmd extension, I get the following alert in the Save dialog. (You don't?) After clicking "Use .pmd", I can proceed normally.
That's the dialog that I don't get for .pmd.
Specifically, if I:
I think there's something weird and subtle going on somewhere, but I can't figure out where or why.
Some more info to hopefully help discover what's going on.
Summary: Saving .pp and .pm files works as you expect. However, trying to save .pmd files doesn't invoke the popup to get the .pmd extension right.
Details:
I recommend you post your question to the Racket list (users@racket-lang.org) as the DrRacket developers would probably have a better answer for you. It's not a problem with Pollen (which has no control over what happens in the Save dialog) so I'm going to close this issue for now.
As a workaround, you can of course use any text editor to complete the tutorial (or make files that you then open in DrRacket). The advantage of DrRacket is that you can compile the file in the same window. But in the Pollen tutorials, for the most part I'm relying on the project server to show the results of the sample files.
Done. Will let you know what I learn (hopefully).
Looking forward to exploring Pollen in more depth. A few years ago I wrote a book using Scrivener and Markdown (and LaTeX), and I'm an old LISPer from way way back. I'm researching tools for a new project.
Thanks again for sharing Pollen and for your help!
I pushed a workaround (
7bfd403023
) for this issue. More info at issue https://github.com/mbutterick/pollen/issues/34.