summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/FAQ-en/faq.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-12-19 09:13:30 +0000
committerKarl Berry <karl@freefriends.org>2006-12-19 09:13:30 +0000
commitbd3bc8173b0674801b973df9a6326c1ba41544a4 (patch)
tree240c52be6f3e15a3d777bc7bb684f05fb12d28f2 /Master/texmf-doc/doc/english/FAQ-en/faq.sty
parentd2493f313e50573a5544a3c2446d40ea53a26de8 (diff)
/home/texlive/karl/Build/tools/update-auto
git-svn-id: svn://tug.org/texlive/trunk@2808 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/faq.sty')
-rw-r--r--Master/texmf-doc/doc/english/FAQ-en/faq.sty23
1 files changed, 15 insertions, 8 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/faq.sty b/Master/texmf-doc/doc/english/FAQ-en/faq.sty
index f46ecaf735f..0baf9badfdf 100644
--- a/Master/texmf-doc/doc/english/FAQ-en/faq.sty
+++ b/Master/texmf-doc/doc/english/FAQ-en/faq.sty
@@ -160,21 +160,28 @@
\RequirePackage{comment}
\excludecomment{htmlversion}
\ifpdf
-\includecomment{pdfversion}
-\excludecomment{dviversion}
-\includecomment{wideversion}
-\excludecomment{narrowversion}
+ \includecomment{pdfversion}
+ \excludecomment{dviversion}
+ \includecomment{wideversion}
+ \excludecomment{narrowversion}
\else
-\excludecomment{pdfversion}
-\includecomment{dviversion}
-\includecomment{narrowversion}
-\excludecomment{wideversion}
+ \excludecomment{pdfversion}
+ \includecomment{dviversion}
+ \includecomment{narrowversion}
+ \excludecomment{wideversion}
\fi
%
% but we also want short versions, like LaTeX2HTML's
\let\htmlonly\@gobble
\let\nothtml\@firstofone
\let\latexhtml\@firstoftwo
+\ifpdf
+ \let\narrowonly\@gobble
+ \let\wideonly\@firstofone
+\else
+ \let\narrowonly\@firstofone
+ \let\wideonly\@gobble
+\fi
%
% the little bit(s) of code that's(re) going to be ignored when the
% html is generated are enclosed by the following two commands