diff --git a/README.org b/README.org index 96896ac..2661b8c 100644 --- a/README.org +++ b/README.org @@ -3394,6 +3394,7 @@ handled by [[info:org#Noweb Reference Syntax][noweb (info)]]. *** [[info:org#LaTeX header and sectioning][Deprecated LaTeX preamble editing methods]] :noexport: :PROPERTIES: :CUSTOM_ID: sec:easy-latex-preamble-editing +:header-args:emacs-lisp: :tangle no :END: *NOTE:* This [[info:org#Top][Org (info)]] file uses the recommended method of noweb trickery in @@ -3429,7 +3430,7 @@ in [[info:org#Export Settings][#+INCLUDE: ]] files. #+caption: LaTeX preamble =latex_header= and =latex_extra_header= export options #+caption: easily. #+name: lst:org-babel-latex-header-blocks -#+begin_src emacs-lisp -n :exports code :results silent :tangle no +#+begin_src emacs-lisp -n :exports code :results silent (with-eval-after-load 'emacs (defun prefix-all-lines (prefix body) (with-temp-buffer @@ -3463,7 +3464,7 @@ prefixes all lines with \"#+latex_header: \"." #+caption[Convert marked LaTeX export blocks to LaTeX header lines]: #+caption: Convert marked LaTeX export blocks to LaTeX header lines. #+name: lst:org-latex-header-blocks-filter -#+begin_src emacs-lisp -n :results silent :tangle no +#+begin_src emacs-lisp -n :results silent (with-eval-after-load 'ox (defun org-latex-header-blocks-filter (backend) "Convert marked LaTeX export blocks to \"#+latex_header: \" lines. @@ -5228,6 +5229,7 @@ print(q) *** [[https://github.com/astoff/code-cells.el#readme][Code-cells]] :noexport: :PROPERTIES: :CUSTOM_ID: sec:code-cells +:header-args:emacs-lisp: :tangle no :END: [[https://github.com/astoff/code-cells.el#readme][Code-cells]] allows to edit [[https://ipython.org/notebook.html][IPython or Jupyter notebooks]] in Emacs with help from @@ -5239,7 +5241,7 @@ configures =code-cells=. #+caption[Configure =code-cells=]: #+caption: Configure =code-cells=. #+name: lst:configure-code-cells -#+begin_src emacs-lisp -n :results silent :tangle no +#+begin_src emacs-lisp -n :results silent (when (ensure-package-installation 'code-cells) (with-eval-after-load 'code-cells (let ((map code-cells-mode-map)) @@ -5805,6 +5807,7 @@ src_emacs-lisp{(call-interactively 'consult-bookmark)} is {{{kbd(C-x r b)}}}. *** [[info:url#Top][URL (info)]] :noexport: :PROPERTIES: :CUSTOM_ID: sec:url +:header-args:emacs-lisp: :tangle no :END: [[https://lists.gnu.org/archive/html/emacs-devel/2024-03/msg00670.html][How to retrieve only URL metadata]] @@ -5813,7 +5816,7 @@ src_emacs-lisp{(call-interactively 'consult-bookmark)} is {{{kbd(C-x r b)}}}. #+caption: Make an URL HEAD request. #+name: lst:url-head-request #+header: :wrap "src text -n :eval no" -#+begin_src emacs-lisp -n :eval never-export :exports both :tangle no +#+begin_src emacs-lisp -n :eval never-export :exports both (with-current-buffer (let ((url-request-method "HEAD")) (url-retrieve-synchronously "https://www.gnu.org/"))