diff options
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/faq.sty')
-rw-r--r-- | Master/texmf-doc/doc/english/FAQ-en/faq.sty | 23 |
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 |