0
votes

I would like to export an org-mode file with labelled latex formulas inside it to HTML without having the \label{eq:1} in the output. Do you know how to do this?

2

2 Answers

0
votes

You can try something like this (assuming you are using org-ref https://github.com/jkitchin/org-ref) which exports the ref link to html:

* equations in html

See ref:eq-1.



#+BEGIN_HTML
<div id="eq-1">
#+END_HTML
\begin{equation}
e^x = 4
\end{equation}

This exports to something like:

<div id="eq-1">
\begin{equation}
e^x = 4
\end{equation}

<p>
See <a href="#eq-1">eq-1</a>.
</p>
-1
votes

You can likely hide that using CSS, like so:

  .figure-number {
    display: none;
  }