新版本的 Latex 生成的页面数量更少了?

新版本的 Latex 生成的页面数量更少了?

对于同一个 .tex 文件,当我在办公室编译时,latex 会生成一个 11 页的 PDF 文件。当我在家编译时,它会生成一个 10 页的文件。

以下是我办公室里的乳胶版本:

qsp30@hydrogen-pc ~> latex -version
pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
kpathsea version 3.5.6
Copyright 2007 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX using libpoppler copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX using libpoppler source.
Primary author of pdfTeX using libpoppler: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea written by Karl Berry, Olaf Weber, and others.

Compiled with libpng 1.2.46; using libpng 1.2.49
Compiled with zlib 1.2.5; using zlib 1.2.5
Compiled with libpoppler

我现在在办公室,所以我不知道家里的乳胶版本,但是我是今年二月安装的,所以我相信它是最新的。

我的问题是这是否属实,或者我遗漏了什么。为了确保使用相同的类文件,我在两种情况下都使用了绝对路径:

\documentclass[10pt, a4paper, conference]{../latex/IEEE/IEEEtran}

更新

我猜想,生成 11 页 pdf 的 latex 版本要老得多。但我不知道是哪些软件包导致了这种差异。以下是我的两个文件列表:


 *File List*
IEEE/IEEEtran.cls
  ot1ptm.fd    2001/06/04 font definitions for OT1/ptm.
 amsmath.sty    2000/07/18 v2.13 AMS math features
 amstext.sty    2000/06/29 v2.01
  amsgen.sty    1999/11/30 v2.0
  amsbsy.sty    1999/11/29 v1.2d
  amsopn.sty    1999/12/14 v2.01 operator names
 amssymb.sty    2002/01/22 v2.2d
amsfonts.sty    2001/10/25 v2.2f
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
graphics.sty    2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
  pdftex.def    2007/01/08 v0.04d Graphics/color for pdfTeX
verbatim.sty    2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
listings.sty    2004/10/17 1.3b (Carsten Heinz)
lstpatch.sty    2004/10/17 1.3b (Carsten Heinz)
 lstmisc.sty    2004/09/07 1.3 (Carsten Heinz)
listings.cfg    2004/09/05 1.3 listings configuration
multirow.sty    
rotating.sty    1997/09/26, v2.13 Rotation package
  ifthen.sty    2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
   color.sty    2005/11/14 v1.0j Standard LaTeX Color (DPC)
   color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
 wrapfig.sty    2003/01/31  v 3.6
booktabs.sty    2005/03/16 v1.6180 publication quality tables
   array.sty    2005/08/23 v2.4b Tabular extension package (FMi)
   float.sty    2001/11/08 v1.3d Float enhancements (AL)
     url.sty    2005/06/27  ver 3.2  Verb mode for urls, etc.
algpseudocode.sty    
algorithmicx.sty    2005/04/27 v1.2 Algorithmicx
 parskip.sty    2001/04/09 non-zero parskip adjustments
flushend.sty    1997/10/01
lstlang1.sty    2004/09/05 1.3 listings language file
    umsa.fd    2002/01/19 v2.2g AMS font definitions
    umsb.fd    2002/01/19 v2.2g AMS font definitions
  ot1pcr.fd    2001/06/04 font definitions for OT1/pcr.
  omsptm.fd    
lstlang1.sty    2004/09/05 1.3 listings language file
 lstmisc.sty    2004/09/07 1.3 (Carsten Heinz)
  paper.bbl

生成10页时的文件列表。

 *File List*
IEEEtran.cls    2012/11/21 V1.8c by Harald Hanche-Olsen and Anders Christensen
  ot1ptm.fd    2001/06/04 font definitions for OT1/ptm.
 amsmath.sty    2013/01/14 v2.14 AMS math features
 amstext.sty    2000/06/29 v2.01
  amsgen.sty    1999/11/30 v2.0
  amsbsy.sty    1999/11/29 v1.2d
  amsopn.sty    1999/12/14 v2.01 operator names
 amssymb.sty    2013/01/14 v3.01 AMS font symbols
amsfonts.sty    2013/01/14 v3.01 Basic AMSFonts support
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
graphics.sty    2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
    trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2010/04/23 v1.9 graphics configuration of TeX Live
  pdftex.def    2011/05/27 v0.06d Graphics/color for pdfTeX
infwarerr.sty    2010/04/08 v1.3 Providing info/warning/error messages (HO)
 ltxcmds.sty    2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
verbatim.sty    2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
listings.sty    2013/08/26 1.5b (Carsten Heinz)
 lstmisc.sty    2013/08/26 1.5b (Carsten Heinz)
listings.cfg    2013/08/26 1.5b listings configuration
multirow.sty    
rotating.sty    2009/03/28 v2.16a rotated objects in LaTeX
  ifthen.sty    2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
   color.sty    2005/11/14 v1.0j Standard LaTeX Color (DPC)
   color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
 wrapfig.sty    
booktabs.sty    2005/04/14 v1.61803 publication quality tables
   array.sty    2008/09/09 v2.4c Tabular extension package (FMi)
   float.sty    2001/11/08 v1.3d Float enhancements (AL)
     url.sty    2013/09/16  ver 3.4  Verb mode for urls, etc.
algpseudocode.sty    
algorithmicx.sty    2005/04/27 v1.2 Algorithmicx
 parskip.sty    2001/04/09 non-zero parskip adjustments
flushend.sty    1997/10/01
lstlang1.sty    2013/08/26 1.5b listings language file
supp-pdf.mkii
pdftexcmds.sty    2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)
ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)
   ifpdf.sty    2011/01/30 v2.3 Provides the ifpdf switch (HO)
epstopdf-base.sty    2010/02/09 v2.5 Base part for package epstopdf
  grfext.sty    2010/08/19 v1.1 Manage graphics extensions (HO)
kvdefinekeys.sty    2011/04/07 v1.3 Define keys (HO)
kvoptions.sty    2011/06/30 v3.11 Key value format for package options (HO)
kvsetkeys.sty    2012/04/25 v1.16 Key value parser (HO)
etexcmds.sty    2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
epstopdf-sys.cfg    2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
    umsa.fd    2013/01/14 v3.01 AMS symbols A
    umsb.fd    2013/01/14 v3.01 AMS symbols B
  ot1pcr.fd    2001/06/04 font definitions for OT1/pcr.
  omsptm.fd    
lstlang1.sty    2013/08/26 1.5b listings language file
 lstmisc.sty    2013/08/26 1.5b (Carsten Heinz)
  paper.bbl
 ***********

答案1

我本想删除这个问题,因为这个问题是由于我的粗心大意造成的。但我认为它仍然包含有用的信息,所以我保留了它,并回答了我自己的问题,因为我不想让它悬而未决。

正如许多人指出的那样,原因在于类文件的差异。

IEEE主页上该模板的最新版本是:IEEEtran.cls 2011/11/03 http://www.ieee.org/documents/unix_latex_template.tar.gz

然而,在编辑给我发的说明中,模板是IEEEtran.cls 2007/03/05
ftp://pubftp.computer.org/Press/Outgoing/proceedings/IEEE_CS_LatexA4x2.zip

我愚蠢地认为他们是同一个组织,并且模板也是一样的。

现在我知道原因了,但我不知道该用哪个模板。如果我按照编辑的指示使用旧模板,我需要删掉近一页论文,这非常困难。但当然,这不是一个适合在这个网站上提出的问题。

相关内容