PDF documentation build fails #231

Closed
opened 4 years ago by rfindler · 5 comments
rfindler commented 4 years ago (Migrated from github.com)

Running raco setup --doc-pdf x pollen fails after producing a lot of output, but I think this is the first error:

! LaTeX Error: Environment terminal undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.609 \begin{terminal}
                      \begin{SVerbatim}\begin{SingleColumn}\Scribtexttt{$\si...

Your command was ignored.
Type  I <command> <return>  to replace it with another command,
or  <return>  to continue without it.
Running `raco setup --doc-pdf x pollen` fails after producing a lot of output, but I think this is the first error: ``` ! LaTeX Error: Environment terminal undefined. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.609 \begin{terminal} \begin{SVerbatim}\begin{SingleColumn}\Scribtexttt{$\si... Your command was ignored. Type I <command> <return> to replace it with another command, or <return> to continue without it. ```
mbutterick commented 4 years ago (Migrated from github.com)

@otherjoel, can I ask you to have a look at this issue? I’m afraid that I’m unlikely to know how to resolve a LaTeX-related bug. I’m guessing it has something to do with the custom Scribble classes not invoking the style correctly (the intention is that those style names percolate through to the CSS, which they do, but there seems to be an unintended consequence on the LaTeX rendering side).

@otherjoel, can I ask you to have a look at this issue? I’m afraid that I’m unlikely to know how to resolve a LaTeX-related bug. I’m guessing it has something to do with the [custom Scribble classes](https://github.com/mbutterick/pollen/blob/master/pollen/scribblings/mb-tools.rkt) not invoking the `style` correctly (the intention is that those style names percolate through to the CSS, which they do, but there seems to be an unintended consequence on the LaTeX rendering side).
rfindler commented 4 years ago (Migrated from github.com)

There may be some hints here: https://docs.racket-lang.org/scribble/extra-style.html . It may be that simply defining these environments as no-ops is sufficient to get the PDF to build?

There may be some hints here: https://docs.racket-lang.org/scribble/extra-style.html . It may be that simply defining these environments as no-ops is sufficient to get the PDF to build?
otherjoel commented 4 years ago (Migrated from github.com)

I have been poking around! Thanks for the tip @rfindler

I have been poking around! Thanks for the tip @rfindler
otherjoel commented 4 years ago (Migrated from github.com)

OK #232 should take care of it. There were a lot more errors waiting behind that first one. I got them all, on my system, at least.

OK #232 should take care of it. There were a lot more errors waiting behind that first one. I got them all, on my system, at least.
mbutterick commented 4 years ago (Migrated from github.com)

Closed by #232. Thanks again Joel.

Closed by #232. Thanks again Joel.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen#231
Loading…
There is no content yet.