From d8a971ddb0c0dc3f0bc35cce7c9b01cce2a7bcef Mon Sep 17 00:00:00 2001 From: fpi Date: Thu, 2 Jun 2022 19:22:17 +0200 Subject: Fix shell block to ensure use of sh --- tex.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tex.org b/tex.org index c924373..5355514 100644 --- a/tex.org +++ b/tex.org @@ -4,7 +4,7 @@ Here are some custom latex packages and stuff. Let us start by creating the local latex directory. We can also use this source block as a quick way to find the appropriate tangle directory for any latex files. #+NAME: lob-localtexdir -#+begin_src shell :results silent +#+begin_src sh :results silent texdir=$(kpsewhich -var-value "TEXMFHOME")/tex/latex mkdir -p $texdir echo $texdir @@ -33,7 +33,7 @@ A package which includes commands, packages and settings I want to be generally Some settings are in external files. We can list these files using basic unix commands and input them in the main file using the noweb syntax. #+NAME: personal-files -#+begin_src shell :dir (org-sbe lob-localtexdir) :results raw silent +#+begin_src sh :dir (org-sbe lob-localtexdir) :results raw silent ls personal-*sty | sed -e 's/\(.*\)/\\input{\1}/' #+end_src -- cgit v1.2.3