summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/tex/csplain/opmac/opmac.tex6
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/csplain/opmac/opmac.tex b/Master/texmf-dist/tex/csplain/opmac/opmac.tex
index 299c25fa728..7fc3f8c0c64 100644
--- a/Master/texmf-dist/tex/csplain/opmac/opmac.tex
+++ b/Master/texmf-dist/tex/csplain/opmac/opmac.tex
@@ -963,6 +963,8 @@
\def\outlines#1{\pdfcatalog{/PageMode/UseOutlines}\openref\ifx\toclist\empty
\opwarning{\noexpand\outlines -- data unavailable. TeX me again}%
\else
+ \ifx\urlcolor\empty
+ \opwarning{\noexpand\outlines doesn't work when \noexpand\hyperlinks isn't declared}\fi
{\let\tocline=\outlinesA
\count0=0 \count1=0 \toclist % calculate numbers o childs
\def\outlinelevel{#1}\let\tocline=\outlinesB
@@ -1269,7 +1271,7 @@
\else$^?$\opwarning{unknown \string\fnotemark. TeX me again}\fi}%
}
\def\fnotetext#1{\global\advance \fnotenum by1 \openref\wref\Xfnote{}%
- {\typoscale[800/800]\vfootnote\fnmarkx{#1}}%
+ {\fnotehook\typobase\typoscale[800/800]\vfootnote\fnmarkx{#1}}%
}
\def\fnmarkx{\isdefined{fn:\the\fnotenum}\iftrue\thefnote\else$^?$\fi}
\def\thefnote{$^{\locfnum}$)}
@@ -1722,5 +1724,7 @@ Dec. 2014 Color features rewritten using \pdfcolorstack.
Apr. 2015 \wtotoc, \Xtoc, \tocilabel, \pgilabel introduced.
\outlinesC introduced
\setpagedimensC corrected: \truedimen
+ \opwarnig about missing \hyperlinks in \outlines added.
+ \fnotetext: \fnotehook inserted (bug removing)
%%%%%%%%%%%%%% End of opmac.tex