summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/vntex/tests/vnsample.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/vntex/tests/vnsample.cls')
-rw-r--r--Master/texmf-dist/doc/generic/vntex/tests/vnsample.cls7
1 files changed, 6 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/generic/vntex/tests/vnsample.cls b/Master/texmf-dist/doc/generic/vntex/tests/vnsample.cls
index 6a8af729733..18293e75e8f 100644
--- a/Master/texmf-dist/doc/generic/vntex/tests/vnsample.cls
+++ b/Master/texmf-dist/doc/generic/vntex/tests/vnsample.cls
@@ -13,7 +13,12 @@
\LoadClass[a4paper]{article}
\RequirePackage{ifpdf}
-\ifpdf\IfFileExists{cmap.sty}{\RequirePackage{cmap}}{}\fi
+
+\ifpdf\IfFileExists{cmap.sty}{\RequirePackage{cmap}}{
+\ClassWarningNoLine{vnsample}{I can't find the file `cmap.sty'.\MessageBreak
+The search tool in your PDF browser will miss many\MessageBreak
+words containing Vietnamese characters}}\fi
+
\RequirePackage[viscii]{vietnam}
\RequirePackage{multicol}
\RequirePackage{geometry}