如何在组织模式下标记表? [英] How do I tag a table in org-mode?
本文介绍了如何在组织模式下标记表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一张不应该导出的 R 大表.所以我在表格上方添加了一个 #TAGS: noexport
,但这似乎没有任何效果.那么如何标记表格?
I've got a huge table for R which should not be exported. So I added a #TAGS: noexport
above the table, but that doesn't seem to have any effect. So how do I tag a table?
推荐答案
不能向表格添加标签,只能向标题添加标签.
You cannot add tags to a table, only to a header.
此外,#+TAGS
指令用于声明一组特定于整个文档的标签,而不是用于标记表格.
Also, the #+TAGS
directive is used to declare a group of tags specific to the whole document, not for tagging a table.
如果您将表格括在注释块中,则不会导出该表格.例如:
If you surround the table within a comment block, it will not be exported. For example:
#+begin_comment
#+tblname: very_long_table
| col1 | col2 |
|------+------|
| 1 | 22 |
| 2 | 23 |
| 3 | 24 |
| 4 | 25 |
| 5 | 26 |
#+end_comment
#+begin_src sh :var tbl=very_long_table :exports both
echo $tbl
#+end_src
#+RESULTS:
: 1 22 2 23 3 24 4 25 5 26
这篇关于如何在组织模式下标记表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文