summaryrefslogtreecommitdiff
path: root/tex.org
diff options
context:
space:
mode:
authorfpi2022-06-02 19:22:17 +0200
committerfpi2022-06-02 19:23:00 +0200
commitd8a971ddb0c0dc3f0bc35cce7c9b01cce2a7bcef (patch)
tree506911335e93b6b3c8b252dfd7e3deef45b2f29f /tex.org
parentAdd Latex settings (diff)
Fix shell block to ensure use of shtex
Diffstat (limited to 'tex.org')
-rw-r--r--tex.org4
1 files 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