summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/faq.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-03-05 00:31:32 +0000
committerKarl Berry <karl@freefriends.org>2013-03-05 00:31:32 +0000
commit128badd949a46eab7b3cdd4be67a3cd4e69e7769 (patch)
tree15e2c62adc3721f8b04d13a15d149f8f9752c4c8 /Master/texmf-dist/doc/generic/FAQ-en/faq.sty
parentcecaa6eb0816bb7e9ca11b0aa34254ddf60e41ba (diff)
FAQ-en (4mar13)
git-svn-id: svn://tug.org/texlive/trunk@29288 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/faq.sty')
-rw-r--r--Master/texmf-dist/doc/generic/FAQ-en/faq.sty25
1 files changed, 22 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/faq.sty b/Master/texmf-dist/doc/generic/FAQ-en/faq.sty
index 225cffb242a..cbe87012536 100644
--- a/Master/texmf-dist/doc/generic/FAQ-en/faq.sty
+++ b/Master/texmf-dist/doc/generic/FAQ-en/faq.sty
@@ -1,4 +1,4 @@
-% $Id: faq.sty,v 1.134 2012/03/10 13:56:18 rf10 Exp rf10 $
+% $Id: faq.sty,v 1.139 2012/11/10 14:25:12 rf10 Exp rf10 $
%
% This is the LaTeX package that deals with the eccentricities of mark
% up of the UK TeX FAQ.
@@ -72,6 +72,12 @@
\expandafter\singlecolumnfalse
\fi
+\ifpdf
+ % suppress font list from pdftex
+ \RequirePackage{atveryend}
+ \AtVeryVeryEnd{\batchmode}
+\fi
+
%
% if we're doing pdf, set up hyperref package and backdoors that avoid
% its sillier byproducts...
@@ -105,6 +111,7 @@
\def\BibTeX{BibTeX}%
\def\bibtex{BibTeX}%
\def\PiCTeX{PiCTeX}%
+ \def\pictex{PiCTeX}%
\def\CDROM{CD-ROM}%
\def\TeXXeT{TeXXeT}%
\def\MLTeX{ML-TeX}%
@@ -175,6 +182,7 @@
\newcommand\BibTeX{Bib\TeX}
\newcommand\bibtex{Bib\TeX}
\newcommand\PiCTeX{PiC\TeX}
+ \newcommand\pictex{PiC\TeX}
\newcommand\texlive{\TeX{} Live}
% and...
%
@@ -205,6 +213,14 @@
\includecomment{narrowversion}
\fi
%
+% define commands that behave differently according to the above
+% \begin{hyperversion}
+% \newcommand\quotify[1]{``#1''}
+% \end{hyperversion}
+% \begin{flatversion}
+% \let\quotify\@firstofone
+% \end{flatversion}
+%
% dummy environment for separating the intro
\newenvironment{introduction}{}{}
%
@@ -243,6 +259,8 @@
\providecommand\texworks{\ProgName{TeXworks}}
\providecommand\xetex{XeTeX}
\providecommand\xelatex{XeLaTeX}
+%
+\newcommand\ctan{\acro{CTAN}}
\newcommand\tex{\TeX{}}
%
\newcommand\macosx{Mac \acro{OS}/X}
@@ -713,7 +731,7 @@
\PackageWarning{CTAN}{Undefined reference: #1}%
\stepcounter{CTAN@unrefs}%
}{{%
- \def\@CTAN##1##2##3{http://www.tex.ac.uk/tex-archive/##2}%
+ \def\@CTAN##1##2##3{http://mirror.ctan.org/##2}%
\href{\csname ctan-#1\endcsname}{#2}%
}}}
\else % DVI version
@@ -721,7 +739,8 @@
\PackageWarning{CTAN}{Undefined reference: #1}%
\stepcounter{CTAN@unrefs}%
}{{%
- \def\@ctan@path##1{\expandafter\httpify\LocalCTAN!##1}
+% \def\@ctan@path##1{\expandafter\httpify\LocalCTAN!##1}
+ \def\@ctan@path##1{\LocalCTAN##1}
\edef\@tempa{\csname ctan-#1\endcsname}%
\expandafter\href\expandafter{\@tempa}{#2}%
}}}