Re: [racket-users] using a different "scribble.tex"

2016-04-01 Thread Tim Jervis
Many thanks for updating the thread and for the patch. To make it work for me, I had to make a small additional change. I need to replace “scribble.tex”, so I've tweaked my latex-render.rkt source at line 118 to wrap scribble-tex within a call to your maybe-replace function. With that done, it w

Re: [racket-users] using a different "scribble.tex"

2016-03-31 Thread Spencer Florence
Oops, guess I forgot to update this thread. This commit ( https://github.com/racket/scribble/commit/2881ef290ddfef6b645eaabc997c9bd6fddaa641) tries to address this problem. Roughly, you can use `latex-defaults+replacements` to replace `scribble-load-replace.tex` and override the macros that gener

Re: [racket-users] using a different "scribble.tex"

2016-03-31 Thread Tim Jervis
Commenting out scribble.tex with an open comment in prefix.tex and closing comment in scribble.tex works, to a point. It hides scribble.tex, but it also hides any dynamic inclusions such as figure.tex. I have been trying to use the longtable package in preference to the stabular-based package

Re: [racket-users] using a different "scribble.tex"

2016-01-07 Thread Matthias Felleisen
Spencer, when you have a solution, please share. I am facing the exact same problem rendering 2e, but have deferred writing a script to rewrite the resulting tex prefix until I know everything I need to rewrite. -- Matthias p.s. I think we may wish to discuss an alternative solution for the inc

Re: [racket-users] using a different "scribble.tex"

2016-01-06 Thread Ben Lerner
I’ve used the invocation scribble --prefix my-prefix.tex with a file my-prefix.tex that starts off \documentclass{book} %% You could use whatever class you need here \PassOptionsToPackage{usenames,dvipsnames}{color} ... I’m not sure whether

Re: [racket-users] using a different "scribble.tex"

2016-01-06 Thread Matthew Flatt
There's not currently a simple way to replace "scribble.tex". Probably you can hack anything by providing an alternate prefix file (i.e., replacement for "scribble-prefix.tex"). For example, I bet it would be possible to make the prefix file end with an unfinished comment, have the comment swallow