Enable HTML export of code labels and code links

This commit is contained in:
Gerard Vermeulen 2023-07-08 07:02:55 +02:00
parent ead4aaf0ab
commit 13af9a6966

View File

@ -4064,6 +4064,23 @@ backwards compatibility. A practical difference is that new way source blocks
(contrary to old way export blocks) do not work in [[info:org#Export Settings][#+SETUPFILE: <FILE>]], but only
in [[info:org#Export Settings][#+INCLUDE: <FILE>]] files.
*** [[info:org#HTML Export][HTML export (info)]]
:PROPERTIES:
:CUSTOM_ID: sec:html-export
:END:
The code label and link feature in [[info:Org#Literal Examples][Literal Examples (info)]] does not integrate
with LaTeX export.
#+caption[Set HTML export options]:
#+caption: Set HTML export options.
#+name: lst:set-html-export-options
#+begin_src emacs-lisp -n
(with-eval-after-load 'ox-html
;; (Info-find-node "Org" "Literal Examples")
(setopt org-html-head-include-scripts t))
#+end_src
*** [[info:org#LaTeX specific export settings][Advanced LaTeX export settings]]
:PROPERTIES:
:CUSTOM_ID: sec:advanced-latex-export-settings