diff --git a/lateXml b/lateXml new file mode 100644 index 00000000..dd696874 --- /dev/null +++ b/lateXml @@ -0,0 +1,41 @@ +use LaTeXML::Util::Pathname; +use Getopt::Long; + +my $options = LaTeXML::Util::Pathname->new; +GetOptions($options, "myoption"); + +use LaTeXML::Package; +use strict; +use warnings; + +# Ignore \includepdf +DefMacro('\includepdf[]{}', ''); + +# sigchi.cls +DefMacro('\alignauthor', ''); +DefMacro('\affaddr{}', '#1'); + +# https://github.com/brucemiller/LaTeXML/issues/1085 +DefMacro('\biboptions{}', ''); + +# https://github.com/ICLR/Master-Template +DefMacro('\iclrfinalcopy', ''); +DefMacro('\iclrconference', ''); +# 1707.08172 +DefMacro('\emnlpfinalcopy', ''); +DefMacro('\cvprfinalcopy', ''); +DefMacro('\aclfinalcopy', ''); +DefMacro('\iccvfinalcopy', ''); +DefMacro('\nipsfinalcopy', ''); + + +# 1607.07429 +# https://github.com/arxiv-vanity/engrafo-issues/issues/142 +DefMacro('\citeauthoryear{}', '#1'); + +# 1802.06006 +DefMacro('\appendixpage', ''); + +if ($options->has('myoption')) { + # Do something if the --myoption option was passed +}