Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions lateXml
Original file line number Diff line number Diff line change
@@ -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
}