# -*- mode: Perl -*-
# /=====================================================================\ #
# |  yfonts                                                             | #
# | Implementation for LaTeXML                                          | #
# |=====================================================================| #
# | Part of LaTeXML:                                                    | #
# |  Public domain software, produced as part of work done by the       | #
# |  United States Government & not subject to copyright in the US.     | #
# |---------------------------------------------------------------------| #
# | Bruce Miller <bruce.miller@nist.gov>                        #_#     | #
# | http://dlmf.nist.gov/LaTeXML/                              (o o)    | #
# \=========================================================ooo==U==ooo=/ #
package LaTeXML::Package::Pool;
use strict;
use warnings;
use LaTeXML::Package;

# Not much to do for LaTeXML.

DefPrimitiveI('\frakfamily', undef, undef, font => { family => 'fraktur' });
# These font families are otherwise unrecognized...
DefPrimitiveI('\swabfamily', undef, undef, font => { family => 'schwabacher' });
DefPrimitiveI('\gothfamily', undef, undef, font => { family => 'gothic' });

# SHOULD set up fancy initials...
DefMacro('\initfamily', '');
DefPrimitiveI('\fraklines', undef, undef);

DefMacro('\yinipar{}', '\par\noindent\yinitpar{#1}');
# SHOULD set the initial in fancy font.
DefMacro('\yinitpar{}', '#1');

# Nothing likely to every be used, but for completeness...
DefMacro('\gothdefault', 'ygoth');
DefMacro('\swabdefault', 'yswab');
DefMacro('\frakdefault', 'yfrak');
DefMacro('\initdefault', 'yinitas');

Let('\grq',  '\textquoteleft');
Let('\grqq', '\textquotedblleft');
1;
