簡體   English   中英

html導出中的emacs org-mode \\ label

[英]emacs org-mode \label in html export

我想將內部帶有標簽乳膠配方的組織模式文件導出到HTML,而在輸出中沒有\\label{eq:1} 你知道怎么做嗎?

您可以嘗試這樣的操作(假設您使用的是org-ref https://github.com/jkitchin/org-ref ),該操作會將ref鏈接導出到html:

* equations in html

See ref:eq-1.



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

這將導出為以下內容:

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

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

您可以使用CSS來隱藏它,如下所示:

  .figure-number {
    display: none;
  }

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM