如何停止组织模式将个人资料移动到最后一页?

Jap*_*hir 3 emacs latex figure org-mode

我目前正在尝试以emacs org-mode撰写论文,并且遇到了文件包含的一些问题。

当我将数字包括在内时:

#+NAME: fig:banana
#+CAPTION: this is a figure caption
[[/path/to/image.png]]
Run Code Online (Sandbox Code Playgroud)

(或使用pdf),效果很好。但是,当我插入另一个图像时,它将以某种方式移动到文件的末尾,而不是被插入到调用它的位置。

我的pdf导出过程(在我的~/.emacs文件中)如下所示:

(setq org-latex-pdf-process
  '("latexmk -pdflatex='pdflatex -interaction nonstopmode' -pdf -bibtex -f %f"))
Run Code Online (Sandbox Code Playgroud)

有想法该怎么解决这个吗?

Jap*_*hir 7

我的一个朋友向我指出了LaTex包装placeins

#+LATEX_HEADER: \usepackage{placeins}

* section 1
** hi!

#+TITLE: fig:banana
#+CAPTION: this is a banana figure
[[/link/to/banana.png]]

\FloatBarrier

* section 2
Run Code Online (Sandbox Code Playgroud)

FloatBarrier从跳跃在他们停止花车(数字是浮动)。我将需要进一步研究将[tbh]选项传递给组织模式下的数据。