The following Elisp code couples Org table export to csv/tsv with org-babel-tangle.
Tables with the following affiliated attribute are exported to data files on org-babel-tangle:
You can also specify the export type:
#+ATTR_TANGLE: ("DATAFILE" "TYPE")
(defun org+-tangle-table-at-point ()
"Tangle Org table at point.
The table is ...
This is a solution using latex package lstlisting instead of minted
(lstlisting is not so powerful as minted but does not need a whole python stack).
You need to put following lisp code into your Emacs init.el (or try it in *scratch* buffer like I did.
(setq org-latex-listings t)
(add-to-list 'org-latex-packages-alist '("" "listings"))
If you can do it from within emacs, then you can do it from the command line with something like this for HTML:
emacs --batch --eval "(require 'org)" notes.org --funcall org-html-export-to-html
or for PDF:
emacs --batch --eval "(require 'org)" appts.org --funcall org-latex-export-to-pdf
This assumes that you use the Org mode that is bundled with emacs: ...
Well, I've succeeded in HTML exporting by simply telling it that tex-fig should be treated as an image:
(cons "tex-fig" "\\.tex"))
But there seem to be no way to do it in LaTeX. I've read the source code, and while exporting a link through LaTeX it first checks if the link can be exported through a ...
You already discovered yourself that MathJax does not offer all the finesses of LaTeX.
That is the main reason why you can use another LaTeX-backend for HTML export with the help of the tex option of the html exporter. Example:
Choosing dvipng as LaTeX backend, your document is exported fine to HTML.
A different approach is to temporarily redefine one of the export functions in the usual html exporter:
(cl-letf (((symbol-function 'org-html-item)
(lambda (item contents info)
(let* ((plain-list (org-export-get-parent item))
(name (org-element-property :name plain-list))
(type (org-element-property :type plain-list))
I think the best thing to do here is make a custom exporter. Here is an example that treats checkbox items specially. Note this does not work as expected with a nested checkbox list, but I think it handles your specific example.
(setq org-html-checkbox-type 'html)
(org-export-define-derived-backend 'my-html 'html
:translate-alist '((item . ...
Set ignore tag and clearpage property to t.
** Heading :ignore:
This will be exported on new page w/o heading.
The :ignore: tag is enabled with:
Source: Is it possible to export content of subtrees without their headings?
A useful option is to put
at the top of each .org file and then place your common heading commands such as
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="mystyle.css" />
in the file mysetup.org. Note that mysetup.org can contain further #+SETUPFILE: lines, reading in other files.