From c1ab55793b85c76b7b8099886df530f79fe2f407 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 1 Aug 2021 10:29:47 -0600 Subject: Add a faq about the "Cannot allocate memory" error on M1 macs. --- doc/faqs.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/faqs.md b/doc/faqs.md index 2f3368837..317153d5f 100644 --- a/doc/faqs.md +++ b/doc/faqs.md @@ -124,5 +124,13 @@ topography as TeX, particularly when it comes to math, but they may be fine for many purposes.) +## Converting to PDF on an M1 Mac, I get a "Cannot allocate memory" error. + +We are not sure why this happens, but we have found that +fully specifying the `pdflatex` path avoids the error. For +example, + + pandoc -o my.pdf --pdf-engine=/Library/TeX/texbin/pdflatex + ::: -- cgit v1.2.3