\ProvidesPackage{charname}

% This style should NOT BE USED by hand ever.

% When extraction is being done on charsheets (typically by a script),
% the charextracts.sty magic causes, among other things, a ^.Name.tex
% file to be generated which uses this package and calls \name with
% the character's \me.  The script turns this into a local charnameheader.eps
% file at the appropriate time such that the list-type extractables
% dvips'd for the character get the character's name on them via setup
% done in their own packages (chiefly sheets.sty); further, the script
% will arrange to feed in the header charname_secret or not as appropriate
% so that \secret extracts will say ``SECRET for Foo'' instead of just ``Foo.''

% Anyway, it's magic in several places cooperating, and you really don't
% want to try to simulate it piecemeal.


\RequirePackage{graphicx}

\pagestyle{empty}

% I don't know what makes these dimensions special, but it seems totally
% independent of anything I set in the file that sucks the resulting eps in.
% It *does* depend on how the rotation here is done.
\oddsidemargin -88pt
\topmargin +678.5pt

% this will end up in the file as a side effect of charextracts magic; punt
\let\dosecretextracts\relax

\AtBeginDocument{\bf\large}

\def\not@secret#1{\special{ps: userdict /IsSecretExtract known not { #1 } if }}

\renewcommand\doname{%
  \rotatebox{180}{%
    \not@secret{save /show { pop } def}%
    \Large SECRET for 
    \not@secret{restore}%
    \large \me{}%
  }%
}

\newdef\note[1]{}
