From 7607a1583c49ef98c8ba9f1e9e264af819311793 Mon Sep 17 00:00:00 2001 From: TEC Date: Sun, 12 Jul 2020 03:41:36 +0800 Subject: [PATCH] Refine org embedall usage to avoid issues (beamer) --- config.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.org b/config.org index 00e8d04..b9658e5 100644 --- a/config.org +++ b/config.org @@ -5061,8 +5061,8 @@ We also always want some particular elements in the preamble, let's call this the "universal preamble" #+NAME: org-universal-preamble #+BEGIN_SRC LaTeX -\\usepackage[main,input,include]{embedall} -\\IfFileExists{./\\jobname.org}{\\embedfile{\\jobname.org}}{} +\\usepackage[main,include]{embedall} +\\IfFileExists{./\\jobname.org}{\\embedfile[desc=The original file]{\\jobname.org}}{} #+END_SRC Instead of just loading doing the 'minted stuff' all the time, we can try to be