greghendershott / frog

Frog is a static blog generator implemented in Racket, targeting Bootstrap and able to use Pygments.
916 stars 96 forks source link

PDF documentation build fails #258

Closed rfindler closed 4 years ago

rfindler commented 4 years ago

Running raco setup --doc-pdf x frog generates pdf documentation in the x directory, except that the latex code fails. I think this is the relevant output that shows the error:

LaTeX Warning: Hyper reference `t:x28def_x28x28lib_x22frogx2fparamsx2erktx22x29
_currentx2dpermalinkx29x29' on page 25 undefined on input line 2070.

! LaTeX Error: Undefined color `grey'.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.2084 ... shell for literal \Scribtexttt{$\sim$}}
                                                  \end{SingleColumn}\end{SVe...

You're in trouble here.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.
greghendershott commented 4 years ago

Thanks for reporting this.

My initial reaction is that I'm unlikely to fix this because:

Seriously I think it's good to know this, and I genuinely appreciate having the issue logged, but it seems unlikely I'll look into it (especially as this project is in low-maintenance mode).

rfindler commented 4 years ago

I agree it isn't a big deal. I'll make a pull request; feel free to ignore or merge as you wish.

For future reference, grey (and gray, sadly) aren't in the minimal set of colors available via color-property but since rgb values are, it looks like an easy fix.

greghendershott commented 4 years ago

Oh! I didn't understand it's just tweaking a color. Thanks for the PR!