【问题标题】:Error with a documentclass in LatexLatex 中的文档类出错
【发布时间】:2015-10-07 13:19:05
【问题描述】:

我想在 dfgproposal 文档类中写一些东西。

这是代码:

\documentclass[RAM]{dfgproposal}

\begin{document}

\begin{proposal}

a

\end{proposal}

\end{document}

但是,我在 pdflatex ptoposal 之后得到了这个错误。

(./proposal.bbl) (/usr/local/texlive/2015/texmf-dist/tex/latex/hyperref/nameref.sty (/usr/local/texlive/2015/texmf-dist/tex/generic /oberdiek/gettitlestring.sty)) (./proposal.out) (./proposal.out) 提案:读取项目数据 (./proposal.pdata) !未定义的控制序列。 \prop@proposal ...RGE 缩写:{\prop@gen@acronym }}[.2cm] {\large \today ... l.45 ?

我该如何解决这个问题?

【问题讨论】:

  • 请将您的错误以文本形式包含在问题中。
  • 点击您问题下方的灰色“编辑”链接并将错误粘贴到那里

标签: latex


【解决方案1】:

您使用的类需要更多内容才能正确编译。因此,带有一些内容的简单proposal 环境是行不通的。我的建议是从dfgproposal class 提供的简单示例proposal.tex 开始。

这里是示例的摘录,精简为一些小/易于管理的内容:

\documentclass[RAM]{dfgproposal}

\usepackage[utf8]{inputenc}

\WAperson[id=miko, 
           personaltitle=Prof. Dr.,
           birthdate=13. September 1964,
           academictitle=Professor of Computer Science,
           affiliation=jacu,
           department=case,
           privaddress=None of your business,
           privtel=that neither,
           email=m.kohlhase@jacobs-university.de,
           workaddress={Campus Ring 1, 28757 Bremen},
           worktel=+49 421 200 3140,
           worktelfax=+49 421 200 3140/493140,
           workfax=+49 421 200 493140]
           {Michael Kohlhase}

\WAperson[id=gc,
           personaltitle=Dr.,
           academictitle=Senior Researcher,
           birthdate=14. April 1972,
           affiliation=pcg,
           department=pcsa,
           privaddress=None of your business,
           privtel=that neither,
           workaddress={PCG Way 7, Hooville},
           worktel=+49 421 0815 4711,
           workfax=+49 421 0815 4712,
           email=gc@pcg.phony]
           {Great Communicator}

\WAinstitution[id=case,acronym=CASE,shortname=CASE,
                url=http://jacobs-university.de/ses/case,
                partof=jacu]
               {Center for Advanced Systems Engineering}

\WAinstitution[id=jacu,acronym=JacU,
               url=http://jacobs-university.de,
               streetaddress={Campus Ring 1},
               townzip={28759 Bremen},
               countryshort=D,
               country=Germany,
               type=University,
               logo=jacobs-logo.png,
               shortname=Jacobs University]
               {Jacobs University Bremen}

\WAinstitution[id=pcsa,
                           url=http://pcg.phony/sa,
                           partof=pcg,shortname=Science Affairs]
               {Science Affairs}
\WAinstitution[id=pcg,acronym=PCG,
                           url=http://pcg.phony,
                           countryshort=D,
                           streetaddress={Seefahrtstrasse 5},
                           townzip={23555 Hamburg},
                           shortname=Power Consulting]
               {Power Consulting GmbH}


\begin{document}

\begin{center}\color{red}\huge
  This mock proposal is just an example for \texttt{dfgproposal.cls} it reflects the 
  current DFG template valid from October 2011.
\end{center}

\urldef{\gcpubs}\url{http://www.pcg.phony/~gc/pubs.html}
\urldef{\mikopubs}\url{http://kwarc.info/kohlhase/publications.html}
\begin{proposal}[PI=miko,
  pubspage=mikopubs,
  thema=Intelligentes Schreiben von Antr\"agen,
  acronym={iPoWr},
  acrolong={\underline{I}ntelligent} {\underline{P}r\underline{o}sal} {\underline{Wr}iting},
  title=\pn: \protect\pnlong,
  totalduration=3 years,
  since=1. Feb 2009,
  start=1. Feb. 2010,
  months=24,
  RM=36,RAM=36,
  discipline=Computer Science, 
  areas=Knowledge Management]

\begin{Summary}
  Writing grant proposals is a collaborative effort that requires the integration of
  contributions from many individuals. The use of an ASCII-based format like LaTeX allows
  to coordinate the process via a source code control system like Subversion, allowing the
  proposal writing team to concentrate on the contents rather than the mechanics of
  wrangling with text fragments and revisions.
\end{Summary}

\section{Additional information \deu{(Ergänzende Erklärungen)}}

Funding proposal XYZ-83282 has been submitted prior to this proposal on related topic XYZ.
\end{proposal}

\end{document}

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-02-03
    • 2015-06-10
    • 2017-08-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-05-03
    相关资源
    最近更新 更多