Re: [racket-users] document as fn from strings to HTML/text

2017-09-28 Thread Jordan Johnson
Fantastic. Thank you, Neil & Ben. Regards, Jordan > On Sep 28, 2017, at 11:09, Neil Van Dyke wrote: > > If you don't care whether you edit in HTML syntax, and you'd like a slightly > more programming-ish interface, there's also: > http://www.neilvandyke.org/racket/html-template/ > > -- > Yo

Re: [racket-users] document as fn from strings to HTML/text

2017-09-28 Thread Neil Van Dyke
If you don't care whether you edit in HTML syntax, and you'd like a slightly more programming-ish interface, there's also: http://www.neilvandyke.org/racket/html-template/ -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from thi

Re: [racket-users] document as fn from strings to HTML/text

2017-09-28 Thread Ben Greenman
Yes, you can use scribble/html to define functions from lists to documents. For example, this scribble file calls a function to build an ` ... ` page: https://github.com/nuprl/gtp/blob/gh-pages/about.rkt and here's the function: https://github.com/nuprl/gtp/blob/gh-pages/templates.rkt#L124 -- Y

[racket-users] document as fn from strings to HTML/text

2017-09-28 Thread Jordan Johnson
Hi all, Problem: I want to generate many documents from a source template (of which only a few small parts change, from doc to doc) and many groups of values. Ideally I’d like to be able to write files like this: *** template *** ... @(for/list ([item my-list]) (li item)) ... *** list sou