1# -*- mode: Perl -*-
2# /=====================================================================\ #
3# |  mn2e.cls                                                           | #
4# | Implementation for LaTeXML                                          | #
5# |=====================================================================| #
6# | Part of LaTeXML:                                                    | #
7# |  Public domain software, produced as part of work done by the       | #
8# |  United States Government & not subject to copyright in the US.     | #
9# |---------------------------------------------------------------------| #
10# | Bruce Miller <bruce.miller@nist.gov>                        #_#     | #
11# | http://dlmf.nist.gov/LaTeXML/                              (o o)    | #
12# \=========================================================ooo==U==ooo=/ #
13package LaTeXML::Package::Pool;
14use strict;
15use warnings;
16use LaTeXML::Package;
17
18# Generally ignorable options
19foreach my $option (qw(draft twocolumn onecolumn letters landscape galley
20  referee doublespacing)) {
21  DeclareOption($option, undef); }
22
23DeclareOption("usenatbib",   sub { AssignValue('@usenatbib'   => 1); });
24DeclareOption("usedcolum",   sub { AssignValue('@usedcolum'   => 1); });
25DeclareOption("usegraphicx", sub { AssignValue('@usegraphicx' => 1); });
26DeclareOption("useAMS",      sub { AssignValue('@useAMS'      => 1); });
27
28# Anything else is for article.
29DeclareOption(undef, sub {
30    PassOptions('article', 'cls', ToString(Expand(T_CS('\CurrentOption')))); });
31
32ProcessOptions();
33LoadClass('article');
34RequirePackage('mn2e_support');
35
361;
37