1
vote
Accepted
How to tangle code blocks from an org file, compile the output, and open the result, with a single command?
If each block in the file uses its own language and/or its own tangle
path, then you will have to examine each one separately. That's what I
assumed at first and that assumption is behind my original ...
1
vote
How to tangle code blocks from an org file, compile the output, and open the result, with a single command?
Thank you @NickD, I managed to build a function from the full-path (cdr (assq :tangle (caddr (org-babel-get-src-block-info)))) command that you provided here.
Here it is:
(defun mda/tangle-tex-...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
latex × 832org-mode × 378
org-export × 239
auctex × 213
pdf × 47
preview-latex × 44
org-babel × 30
html × 25
beamer × 25
tex × 23
font-lock × 19
indentation × 18
org-table × 17
spacemacs × 15
bibtex × 15
reftex-mode × 15
images × 14
key-bindings × 13
syntax-highlighting × 12
init-file × 11
replace × 11
math × 11
org-ref × 9
latex-header × 9
debugging × 8