Re: [racket-dev] generating tex with a different component order from Scribble

2011-11-25 Thread Robby Findler
Actually, besides the obvious backwards incompatibility issues, does it make sense to put all those \usepackage{}s (all the stuff before the %%s) into scribble-style.tex (the default style.tex), so that specifying a --style argument would drop them? Robby On Fri, Nov 25, 2011 at 5:58 PM, Robb

Re: [racket-dev] generating tex with a different component order from Scribble

2011-11-25 Thread Robby Findler
I think the most expedient thing is to add an option so that render-one method in latex-render.rkt doesn't include scribble-tex (or includes a replacement that you specify). I don't know what the right general purpose fix would be, but it would be nice if that fix also had the property that scribb

Re: [racket-dev] generating tex with a different component order from Scribble

2011-11-25 Thread Sam Tobin-Hochstadt
Given that I have an existing paper in Scribble, which I need to get into this format, which of the following would be easiest/prettiest/most useful for the future? - writing a new renderer - generalizing the existing latex renderer - hacking prefix.tex (although I don't see how this would work)

Re: [racket-dev] generating tex with a different component order from Scribble

2011-11-25 Thread Matthew Flatt
I think you could probably make it work with a replacement "prefix.tex", although it won't be easy or pretty. At Fri, 25 Nov 2011 17:43:24 -0600, Robby Findler wrote: > Yes, I believe that is not possible without creating a new renderer. > > Robby > > On Fri, Nov 25, 2011 at 4:49 PM, Sam Tobin-H

Re: [racket-dev] generating tex with a different component order from Scribble

2011-11-25 Thread Robby Findler
Yes, I believe that is not possible without creating a new renderer. Robby On Fri, Nov 25, 2011 at 4:49 PM, Sam Tobin-Hochstadt wrote: > I'd like to create a language in Scribble from writing papers > according to the `acmsmall' documentclass.  Unfortunately, the guide > for this documentclass s

[racket-dev] generating tex with a different component order from Scribble

2011-11-25 Thread Sam Tobin-Hochstadt
I'd like to create a language in Scribble from writing papers according to the `acmsmall' documentclass. Unfortunately, the guide for this documentclass says, right at the beginning: Following order is mandatory to generate a correct title page: \documentclass{acmsmall} %\acmVolume{V} %\acmNumbe

Re: [racket-dev] regexp-split produces immutable cons when rnrs/base-6 is required

2011-11-25 Thread Neil Van Dyke
As an immediate solution, I suggest simply not trying to use R6RS compatibility libraries with Racket, and instead just use the Racket language. Spend your energy on your application. (I don't want to get into why right now, but my book will have an entire section or chapter entitled "Don't U

Re: [racket-dev] regexp-split produces immutable cons when rnrs/base-6 is required

2011-11-25 Thread Sam Tobin-Hochstadt
On Fri, Nov 25, 2011 at 8:15 AM, Marijn wrote: > > regexp-split produces an immutable cons when rnrs/base-6 is required: `regexp-split' is still being obtained from `racket/base' in this example: > $ echo "m" | racket -e '(require rnrs/base-6) (car (regexp-split " +" > (read-line (current-input-

[racket-dev] regexp-split produces immutable cons when rnrs/base-6 is required

2011-11-25 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, regexp-split produces an immutable cons when rnrs/base-6 is required: $ echo "m" | racket -e '(require rnrs/base-6) (car (regexp-split " +" (read-line (current-input-port 'mcar: expects argument of type ; given '("m") but $ echo "m" | racke