[racket-dev] generating tex with a different component order from Scribble
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, Robby Findler
<robby at eecs.northwestern.edu> wrote:
> 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 scribble only puts
> \include{}s when we know that they are going to be needed (so we can
> deal with people who choose not to install texlive and still expect
> scribble to work (but get skull-related errors)).
>
> Robby
>
> On Fri, Nov 25, 2011 at 5:53 PM, Sam Tobin-Hochstadt <samth at ccs.neu.edu> wrote:
>> 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)
>>
>> On Fri, Nov 25, 2011 at 6:50 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
>>> 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-Hochstadt <samth at ccs.neu.edu> wrote:
>>>> > 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}
>>>> > %\acmNumber{N}
>>>> > %\acmArticle{A}
>>>> > %\acmYear{YYYY}
>>>> > %\acmMonth{0}
>>>> > \markboth{}{}
>>>> > \title{}
>>>> > \author{...
>>>> > \affil{...}}
>>>> > \begin{abstract}
>>>> > ...
>>>> > \end{abstract}
>>>> > \category{}{}{}
>>>> > \terms{}
>>>> > \keywords{}
>>>> > \acmformat{}
>>>> > \begin{document}
>>>> > \begin{bottomstuff}
>>>> > ...
>>>> > \end{bottomstuff}
>>>> > \maketitle
>>>> >
>>>> > which is unfortunately quite different from the order that scribble
>>>> > generates. What's the easiest way to change this? Do I need to write
>>>> > a new renderer, replacing the latex renderer?
>>>> > --
>>>> > sam th
>>>> > samth at ccs.neu.edu
>>>> > _________________________________________________
>>>> > For list-related administrative tasks:
>>>> > http://lists.racket-lang.org/listinfo/dev
>>>> >
>>>
>>
>>
>>
>> --
>> sam th
>> samth at ccs.neu.edu
>>
>