laurent.orseau
2020-7-17 07:25:31

You need to define the identity element (identity function), some absorbing elements (like not) and you’ll be all set :)


gknauth
2020-7-17 18:11:30

I gave a presentation using slideshow. The archivist wants a PDF. PDF generation stopped after the 5th slide. I saw an error "slide program attempted to execute external code: $<path:C:\texlive\2019\bin\win32\latex.exe>. I have some equations in my slides. Is there an easy way to have all the sides render to PDF?


mflatt
2020-7-17 18:12:31

Use the --trust flag for slideshow to allow subprocesses.


laurent.orseau
2020-7-17 18:12:56

Aw, I was about to suggest to take screenshots :grin:


gknauth
2020-7-17 18:40:25

Thank you @mflatt! Of course I should have guessed it would be so simple and that you solved this long ago. That did the trick!


ben
2020-7-17 19:47:33

scribble / latex: I want to write @equation["A" "B"] and get \begin{equation}\label{A}B\end{equation}

Is there a way to do this “directly” in scribble? I tried nested and compound-paragraph , but both put newlines between their blocks and that seems to give a latex error (missing $ inserted)

For now, I’m making a 'multiarg element


mflatt
2020-7-17 20:35:26

I’m not sure if the decoding step of nested is confusing things, but maybe you should directly construct a nested-flow to avoid it. Also, it looks like you want a single block in the nested flow, not a list with separate blocks for A and B.


oflatt
2020-7-17 21:58:46

@oflatt has joined the channel


merxabyss
2020-7-17 22:33:45

@merxabyss has joined the channel


merxabyss
2020-7-17 22:36:02

Racket is a good starting point for learning functional programming?


sorawee
2020-7-17 22:38:35

Sure. Or even programming in general. See https://htdp.org/2020-5-6/Book/index.html


merxabyss
2020-7-17 23:07:56

Thanks!


diyus.lei
2020-7-17 23:32:21

@diyus.lei has joined the channel