Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcarlisle committed Jun 22, 2022
1 parent 8e41177 commit 72a1194
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
26 changes: 26 additions & 0 deletions base/testfiles/github-0872.lvt
@@ -0,0 +1,26 @@
\documentclass{article}
\input{test2e}
\usepackage[noprint,hyperref=false,multicol]{doc}
\newcommand\tst[1]{\typeout{\string#1: \meaning#1}}
\begin{document}

\makeatletter
\START
\typeout{===}
\tst\ifdoc@noprint
\tst\ifdoc@hyperref
\tst\ifdoc@multicol
\tst\ifdoc@debugshow
\tst\doc@idxtype
\tst\ifdoc@toplevel

\SetKeys[doc]{toplevel=false,idxtype=abc,debugshow}
\typeout{===}
\tst\ifdoc@noprint
\tst\ifdoc@hyperref
\tst\ifdoc@multicol
\tst\ifdoc@debugshow
\tst\doc@idxtype
\tst\ifdoc@toplevel

\END
16 changes: 16 additions & 0 deletions base/testfiles/github-0872.tlg
@@ -0,0 +1,16 @@
This is a generated file for the LaTeX2e validation system.
Don't change this file in any respect.
===
\ifdoc@noprint: \iftrue
\ifdoc@hyperref: \iffalse
\ifdoc@multicol: \iftrue
\ifdoc@debugshow: \iffalse
\doc@idxtype: macro:->env.
\ifdoc@toplevel: \iftrue
===
\ifdoc@noprint: \iftrue
\ifdoc@hyperref: \iffalse
\ifdoc@multicol: \iftrue
\ifdoc@debugshow: \iftrue
\doc@idxtype: macro:->abc
\ifdoc@toplevel: \iffalse

0 comments on commit 72a1194

Please sign in to comment.