2016-02-12 73 views
1

我在我的Orgmode文档中安装了此设置,并且它没有将作者关联导出到latex或pdf。 取而代之的是代替作者的启发式'即时' 我在.emacs中添加了Latex到Org -babel-Load语言 必须做些什么才能让babel评估Latex代码块? 是否有必须更改的hyperef设置?在Orgmode中使用软件包authblk定制乳胶导出中的多个作者附属关系

#+Title: Multiple Author affiliations in OrgMode Latex export 
#+date: 11 Feb 2016 
#+latex_class: article 
#+latex_class_options: [a4paper] 
#+OPTIONS: toc:nil 
#+OPTIONS: author:nil 
#+latex_header: \usepackage{float} 
#+latex_header: \usepackage{graphicx} 
#+latex_header: \usepackage{authblk} 

    #+BEGIN_LATEX 
    \author[1]{Author One} 
    \author[1]{Author TwoTwo} 
    \author[1]{Author TwoTwoo} 
    \author[1,2]{Author TwoTwooo} 
    \author[1]{Author Three} 
    \author[1]{Author TwoTw} 
    \author[1]{Author Four} 
    \author[1]{Author Fourrr} 
    \author[2]{Author Fourrrr} 
    \author[2]{Author Twenty} 
    \affil[1]{Guided Therapeutics Centre} 
    \affil[2]{Division of theatre} 
    #+END_LATEX 

我得到这个PDF

pdfoutput

回答

2

我得到这个答复今天从有正确的解决方案 周四,组织模式的邮件列表,2016年2月18日10:05,普拉卡什纳亚克说:

我有这个安装在我的org-模式文档,它不出口作者 隶属关系到乳胶或PDF格式。

我从来没有用过authblk但我想你,预计 定义作者前\ {开始}文件中产生 乳胶管线。使用乳胶块(顺便说一句,取决于您使用的org版本 ,这些语法的语法已更改),您将在 文档的开始之后生成LaTeX,该文件将出现

我想你想要把每个\作者和\ affil线在 头:

+ latex_header:\作者[1] {作者之一}

+ latex_header:\ affil [ 1] {指导治疗中心}

试试这个。