soegaard2
2020-3-13 07:58:25

@phdumaresq There are a few options. One way: https://docs.racket-lang.org/scribble-math/index.html?q=math


soegaard2
2020-3-13 08:00:36

Note that, say ($ "x^2") can be written as @${x^2} when you are using Scribble. The latter syntax is convenient , since you don’t need to quote which is often used in TeX math formulas.


laurent.orseau
2020-3-13 08:00:37

F2 should mask/unmask the blue boxes, but I’m not sure whether they still do some work when they are masked.


popa.bogdanp
2020-3-13 09:27:35

Searching the manual seems like it has been broken since at least early yesterday my time:

https://docs.racket-lang.org/search/index.html?q=slideshowhttps://docs.racket-lang.org/search/index.html?q=gregor At first I thought I might’ve been searching while a build was uploading, but now it’s been more than 20 hours and the problem seems to persist.


popa.bogdanp
2020-3-13 09:28:40

The docs are still there: https://docs.racket-lang.org/slideshow/index.html , https://docs.racket-lang.org/gregor/index.html so most likely the search index is broken for some reason.


soegaard2
2020-3-13 09:31:00

What I am seeing:


soegaard2
2020-3-13 09:31:31

Did you by chance set a context?


popa.bogdanp
2020-3-13 09:35:55

:man-facepalming::skin-tone–2: yes, I did. Thanks @soegaard2


soegaard2
2020-3-13 09:36:04

Been there…


phdumaresq
2020-3-13 16:01:41

@soegaard2, thank you! When I try @(require scribble-math) I get this error: $ scribble --pdf filename.rkt standard-module-name-resolver: collection not found for module path: scribble-math collection: "scribble-math" in collection directories: /home/<user>/.racket/7.5/collects /usr/share/racket/collects ... [162 additional linked and package directories] context...: show-collection-err standard-module-name-resolver module-path-index-resolve perform-require!78 for-loop finish [repeats 1 more time] pass-1-and-2-loop module-begin-k expand-module16 expand-capturing-lifts temp118_0 temp91_0 compile15 temp85_0 standard-module-name-resolver ...


sorawee
2020-3-13 16:08:29

You need to install the package first


sorawee
2020-3-13 16:08:58

Either raco pkg install scribble-math in the command line (if you have raco available)


sorawee
2020-3-13 16:09:07

Or use DrRacket’s Package Manager to install it


phdumaresq
2020-3-13 19:01:36

Ahh, my bad, I was thinking that scribble-math came with scribble, I see that it’s different now, sorry about that!


phdumaresq
2020-3-13 19:03:15

But yea, that would be scribble/math, not -… Whoops


soegaard2
2020-3-13 19:46:42

Easy mistake. Glad to hear it worked in the end.


spdegabrielle
2020-3-13 21:48:04

:(