% vtexnatbib.sty — minimal INFEDU stub (for biblatex/apacite workflows)
% -----------------------------------------------------------------------------
% Why this file exists
%   The INFEDU class (infedu.cls) tries to load vtexnatbib.sty if it exists;
%   otherwise it loads natbib.  For biblatex (biber) or apacite (BibTeX) you
%   must NOT have natbib loaded by the class.  This stub provides the few
%   commands that infedu.cls expects at class-loading time.
%
% IMPORTANT
%   Put THIS vtexnatbib.sty in the SAME directory as your main .tex file.
%   (Do not place it in your global TeX tree.)
%
% What it fixes
%   INFEDU contains natbib-only code guarded by \ifdefined\linksfromyear.
%   Even when that branch is skipped, TeX still has to match nested \if...\fi.
%   Therefore we define the natbib internal conditionals used there.
%
% -----------------------------------------------------------------------------

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{vtexnatbib}[2026/01/02 v0.3 Minimal natbib stub for INFEDU (biblatex/apacite)]

% Signal to infedu.cls: skip its natbib-specific \NAT@citex patch.
\providecommand\linksfromyear{}

% Conditionals referenced in the skipped natbib patch code in infedu.cls.
\newif\ifNAT@full
\newif\ifNAT@longnames
\newif\ifNAT@swa
\NAT@fullfalse
\NAT@longnamesfalse
\NAT@swafalse

% Minimal no-op versions of natbib user commands that infedu.cls may call.
\providecommand\setcitestyle[1]{}
\providecommand\bibpunct[6]{}

% A few natbib internals occasionally used by class code/packages.
\providecommand\NAT@open{(}
\providecommand\NAT@close{)}
\providecommand\NAT@sep{;}

\endinput
