潘多克将用乳胶制作pdf文件;“文件”;文档类别:缺少从属关系和日期

潘多克将用乳胶制作pdf文件;“文件”;文档类别:缺少从属关系和日期,pdf,latex,pandoc,Pdf,Latex,Pandoc,我是pandoc和latex的新手。我无法将作者从属关系作为使用document classpaper生成的最终pdf的一部分 假设我有以下source.md文件: --- title: my super document subtitle: blablabla author: - me - my friend - my other friend institute: alien space agency date: <#today> header-includes:

我是
pandoc
latex
的新手。我无法将作者从属关系作为使用document class
paper
生成的最终pdf的一部分

假设我有以下
source.md
文件:

---
title: my super document
subtitle: blablabla
author:
  - me
  - my friend
  - my other friend
institute: alien space agency
date: <#today>
header-includes:
  - \\usepackage{endnotes}
abstract: |
  This document describes a super research project.
---
start of the writing blablabla...
在生成的
document.pdf
中,作者没有日期和从属关系。 但是,如果我使用文档类
文章
我有正确的日期。但仍然 没有作者协会

我怎样才能让日期和作者都参加
论文
文档课程

编辑:更多信息

如果我生成一个tex文档,我会得到:

\title{my super document}
\providecommand{\subtitle}[1]{}
\subtitle{blablabla}
\author{me \and my friend \and my other friend}
\providecommand{\institute}[1]{}
\institute{alien space agency}
\date{\today}
我觉得还可以。但最终文件中只有作者(没有研究所),没有日期。我假设这是因为
纸张
文档类,更改为
文章
显示日期,但不显示机构


我的pandoc版本是1.19.2.1

请确保使用最新的pandoc版本,然后
pandoc-D latex
查看您可以使用或查看哪些变量谢谢您的评论。我知道我可以使用
institute
,它写在
pandoc-D latex
的输出中;我想我的问题在于我使用的文档类:
paper
。我喜欢纸张,但是。。。我不确定到底出了什么问题。日期也是一样。是的,当然与latex文档类有关。。。尝试pandoc 2.0,可能会询问pandoc Discussion(至少应该更新手册,以指定变量使用的文档类…),您还可以尝试通过将生成的latex写入文件来调试它,然后直接在其上运行
pdflatex
。或者切换到
context
(类似于更干净的乳胶)或
wkhtmltopdf
(使用HTML/CSS)生成PDF(取决于您的需要),请参阅
\title{my super document}
\providecommand{\subtitle}[1]{}
\subtitle{blablabla}
\author{me \and my friend \and my other friend}
\providecommand{\institute}[1]{}
\institute{alien space agency}
\date{\today}