在 Texpad 中编译参考文献

在 Texpad 中编译参考文献

我第一次使用 Texpad。我刚刚将功能齐全的 .tex 和 .bib 文件导入其中。现在我在 Texpad 中编译参考文献时遇到了麻烦。这是代码:

\documentclass{amsart}
\usepackage{graphicx}
\usepackage{enumerate}

\usepackage{mathrsfs,upref} 

\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}

\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{example}[theorem]{Example}
\newtheorem{xca}[theorem]{Exercise}

\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}
\makeatletter
\newcommand*{\rom}[1]{\expandafter\@slowromancap\romannumeral #1@}
\makeatother
\numberwithin{equation}{section}
\newcommand{\abs}[1]{\lvert#1\rvert}
\newcommand{\blankbox}[2]{
%
  \parbox{\columnwidth}{\centering
   \setlength{\fboxsep}{0pt}%
      \fbox{\raisebox{0pt}[#2]{\hspace{#1}}}%
    }%
  }
  \begin{document}

  \nocite{*}
  \bibliographystyle{plain}
  \bibliography{knsref}




  \end{document} ` 

当我使用名为 knsref.bib 的 bib 文件作为

`@article{Menche2015,
  author  = {Menche, J. and Sharma, a. and Kitsak, M. and Ghiassian, S. D. 
             and Vidal, M. and Loscalzo, J. and a.-L. Barabasi},
  doi     = {10.1126/science.1257601},
  file    = {:Users/hannahcatabia/Desktop/ordovas\_project/papers/menche/201502-19\_Science-Incomplete.pdf:pdf},
  issn    = {0036-8075},
  journal = {Science},
  number  = {6224},
  pages   = {1257601--1257601},
  title   = {{Uncovering disease-disease relationships through the incomplete interactome}},
  url     = {http://www.sciencemag.org/cgi/doi/10.1126/science.1257601},
  volume  = {347},
  year    = {2015},
}`

I get the following output pdf

在此处输入图片描述

但是当我编辑 bib 文件knsref.bib

`@article{Menche2015,
  author  = {Menche, J. and Sharma, a. and Kitsak, M. and Ghiassian, S. D. 
             and Vidal, M. and Loscalzo, J. and a.-L. Barabasi},
  doi     = {10.1126/science.1257601},
  file    = {:Users/hannahcatabia/Desktop/ordovas\_project/papers/menche/201502-19\_Science-Incomplete.pdf:pdf},
  issn    = {0036-8075},
  journal = {Science},
  number  = {6224},
  pages   = {1257601--1257601},
  title   = {{Uncovering disease-disease relationships through the incomplete interactome}},
  url     = {http://www.sciencemag.org/cgi/doi/10.1126/science.1257601},
  volume  = {347},
  year    = {2015},
}
@article {MR592387,
    AUTHOR = {Kowalski, S. and S\l odkowski, Z.},
     TITLE = {A characterization of multiplicative linear functionals in
              {B}anach algebras},
   JOURNAL = {Studia Math.},
  FJOURNAL = {Polska Akademia Nauk. Institut Matematyczny. Studia
              Mathematica},
    VOLUME = {67},
      YEAR = {1980},
    NUMBER = {3},
     PAGES = {215--223},
      ISSN = {0039-3223},
   MRCLASS = {46H05},
  MRNUMBER = {592387},
MRREVIEWER = {James C. S. Wong},
}

我得到输出 pdf 作为在此处输入图片描述

谁能解释为什么会发生这种情况?

答案1

我在 iPhone/iPad 上使用 Texpad 时也遇到过类似的问题(无法显示参考书目)。当我安装 Publishing Packages 软件包时,它开始工作,所以我的建议是确保您已安装所需的软件包。

我并不是 Texpad 的忠实粉丝,但它似乎是与 iPhone/iPad 一起使用的最佳解决方案,除非你通过 SSH 连接到运行 emacs 的机器……

相关内容