URL 包的 lowtilde 选项

URL 包的 lowtilde 选项

[编辑以纠正路径混淆]

我的 Mac 版本的 latex 包含两个版本url.sty--- 一个是 2006 年的并且支持,[lowtilde]而另一个是 1999 年的并且不支持:

$ grep 'ver ' /usr/local/texlive/2011/texmf/tex/latex/html/url.sty
% url.sty  ver 1.4    02-Mar-1999   Donald Arseneau   [email protected]
  \ProvidesPackage{url}[1999/03/02 \space ver 1.4 \space
% url.sty  ver 1.4   02-Mar-1999   Donald Arseneau   [email protected]
% characters.  The "\url" command will *never ever* hyphenate words.
% command follows whatever the currently-set style dictates.
% I.e., using whatever url-style has been selected.
% ver 1.1 6-Feb-1996: 
% ver 1.2 19-Oct-1996:
% ver 1.3 21-Jul-1997:
% ver 1.4 02-Mar-1999
$ grep 'ver '  /usr/local/texlive/2011/texmf-dist/tex/latex/url/url.sty
% url.sty  ver 3.3    12-Apr-2006   Donald Arseneau   [email protected]
 {url}[2006/04/12 \space ver 3.3 \space Verb mode for urls, etc.]
% url.sty  ver 3.3    12-Apr-2006   Donald Arseneau   [email protected]
% characters.  The "\url" command will *never ever* hyphenate words.
% command follows whatever the currently-set style dictates.
% I.e., using whatever "\urlstyle" and other settings are already in effect.
% ver 1.1 6-Feb-1996:
% ver 1.2 19-Oct-1996:
% ver 1.3 21-Jul-1997:
% ver 1.4 02-Mar-1999:
% ver 1.5 28-Mar-1999:
% ver 1.6 20-Jun-2002:
% ver 3.0 June 2003/Nov 2003:
% ver 3.1 Mar 2004:
% ver 3.2 June 2005:
% ver 3.3 April 2006:
$ 

为什么安装了两个版本以及如何指定正确的版本?

答案1

MacTeX 没有tex/latex/html在 下安装子目录/usr/local/texlive/2011/texmf。因此它一定是由其他程序安装的(可能是你通过 安装的某个 TeX 到 HTML 转换器Makefile)。

相关内容