# Tag Info

3

It does not work because macro expansion happens after include processing: by the time the macro is expanded and you have #+INCLUDE: in the output, it is too late. The code is in the function org-export-as in file ox.el, ll.2948-2953: ... (org-export-with-buffer-copy ;; Run first hook with current back-end's name as argument. (run-hook-with-args '...

2

A long time ago, I had worked on a hack to deal with this peculiarity of revtex and reconstructed it for this answer (with some differences to accommodate things that have changed in Org mode, in particular the handling of titles). The main problem as you note is that revtex wants the title, author and date in the body, not in the preamble where just about ...

2

Method 1 Manual method using default org-mode keybindings Setup Add Org to Org Babel Load Languages configuration and then apply and save new configuration. Add #+EXPORT_FILE_NAME: keyword near top of config.org. e.g. #+EXPORT_FILE_NAME: temp.org Add #+PROPERTY: header-args:org :results drawer replace keyword near top of config.org. e.g. #+PROPERTY: ...

2

The process is called tangling. All you have to do is provide a header arg to specify that, e.g.: #+PROPERTY: header-args:python :tangle pdguide.py After you add the line to your buffer, don't forget to refresh it by typing C-c C-c on the property line. Then you can tangle the code into the file with C-c C-v C-t. EDIT: you can include headlines as comments (...

2

The standard HTML table is not interactive, you need JavaScript to add these interactive features. The following uses the DataTables JS library to add search and filter. Save it to an org file then C-c C-e h o to view the HTML in browser. #+HTML_HEAD: <link rel="stylesheet" href="https://cdn.datatables.net/1.10.22/css/jquery.dataTables.min....

2

As mentioned in the comments above, the latex commands need to be escaped. so this should work as expected.... (add-to-list 'org-latex-classes '("koma-article" "\\documentclass[french, 11pt]{scrartcl} \\usepackage[utf8]{inputenc} \\usepackage[T1]{fontenc} \\usepackage{babel} ...

2

According with what you are describing, I would recommend you to escape all the backslashes (all the backslashes that appear between the "koma-article" and [NO-DEFAULT-PACKAGES]). Finally, you need to make sure that you have the Koma-Script ‘article’ class installed: https://www.ctan.org/pkg/scrartcl.

1

The markdown exporter doesn't appear to export image sizes defined by #+attr_html: or #+attr_org: (the ox-gfm exporter doesn't either) so, you could either include raw html in the org file, which does get exported... #+html: <img src="img/test.png" width="600px"> or if you have pandoc installed, you can use it as an external process ...

1

Here's a proof of concept, along the lines described in the comments. There are several things that need to be done to it in order to turn it into a "real" solution, which I will describe at the end of the answer. In particular, it is NOT a complete solution: it's missing the part where Org mode produces the HTML that is needed for this ...

1

I managed to guess-and-check my way to finding an answer to this! The trick is to wrap the equation in a figure: #+caption: Kepler's third law #+begin_figure $$T^2 = \frac{4\pi^2}{G(M_1+M_2)} R^3$$ #+end_figure This applied the caption correctly. For posterity's sake, if you want to pass position options to the figure using this ...

1

Based on Joe Corneli's answer here, you can create an outline manually as a list of your frames. Create a file named list-of-frames.tex and edit your org file as follows: list-of-frames.tex: \makeatletter \newcommand\listofframes{\@starttoc{lbf}} \makeatother \addtobeamertemplate{frametitle}{}{% \addcontentsline{lbf}{section}{\protect\makebox[2em][l]{% ...

1

Try the :caption attribute in #+ATTR_LATEX: instead: #+NAME: thelabel #+ATTR_LATEX: :width \textwidth :caption \caption{The caption.}\source{the Source} [[figure.pdf]] The LaTeX file I get reads in part: \begin{figure}[htbp] \centering \includegraphics[width=\textwidth]{/path/to/figure.jpg} \caption{The caption.}\source{The Source} \end{figure} which ...

Only top voted, non community-wiki answers of a minimum length are eligible