Matthew Flatt writes: > At Thu, 19 Mar 2020 11:46:44 -0400, Christopher Lemmer Webber wrote: >> What I thought was the more "Racket'y way" would be to store it as >> abstract data that then could be rendered to the appropriate style >> (that's what BibTeX and everything else does). > > Well, perhaps the Rackety way is to store it as abstract *code*. That > abstraction is what the `make-bib`, etc., functions are meant to be.
I'm not sure what "store it as abstract code" means in this case; I could interpret that a number of ways... But maybe you mean that the interface, at least, is mostly abstract. I agree with that. > But you're absolutely right that the language of `make-bib` should be > more extensible. Currently, `location` is clearest the extension point, > but there are still just a bunch of predefined locations, instead of a > protocol for adding new ones. And `location` by itself is probably not > enough extensibility. Yes I think so. > And you're right that the way that language renders to references and a > bibliography needs to be configurable and extensible. You can pick > among a few styles in `define-cite`, but that mostly just controls the > way references render, not the bibliography. > > You could build something new and better --- or maybe just different > and more applicable to your case. But if you're interested in improving > and generalizing `scribble/scriblib`, I'd be happy to work with you on > it. Thank you for your clear response, as well as your offer to collaborate on it. I will spend the rest of the day looking at what scriblib's bibliography stuff does in further detail and think about how to accomplish what we need. It could be that what I do is build a quicker proof of concept that accomplish *Morgan's* needs so we can get her dissertation out the door, and then upon examining that, we can think about how to generalize it for something more universal. How does that sound? -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/87a74cb8q8.fsf%40dustycloud.org.