Skip to content

Instantly share code, notes, and snippets.

@lorenzleutgeb
Last active May 18, 2023 14:56
Show Gist options
  • Save lorenzleutgeb/ad95052b67f6b8acca9636696b8411a8 to your computer and use it in GitHub Desktop.
Save lorenzleutgeb/ad95052b67f6b8acca9636696b8411a8 to your computer and use it in GitHub Desktop.
Find LaTeX packages not accepted by TAPS
abstract
acronym
algorithm
algorithm2e
algorithmic
alltt
amsbsy
amscd
amsfonts
amsgen
amsmath
amsmidx
amsopn
amssymb
amstext
amsthm
amsxtra
apacite
appendix
auxhook
balance
bbding
bbold
bm
bold-braces
braket
calc
cancel
ccicons
centernot
cgloss4e
changes
checkend
CJK
clean
cleverref
cmap
color
colortbl
comma
coollist
coolstr
crossreftools
curves
datenumber
dcolumn
decimal
delarray
dirtytalk
draftwatermark
enumitem
epigraph
epstopdf
esdiff
etex
eucal
eufrak
fancybox
fancyhdr
fancyvrb
fix-cm
fixfoot
fixltx2e
fixme
flafter
float
fontenc
forloop
fp
framed
gb4e
geometry
glossaries
graphics
graphicx
graphpap
harmony
html
hyperref
ifpdf
ifthen
index
inputenc
iopams
keyval
kvoptions
listings
lscape
makecell
makeidx
maple2e
mapleenv
mapleplots
maplestyle
mapletab
mapleutil
mathabx
mathptmx
mathtool
mathtools
mciteplus
microtype
multirow
natbib
newlfont
nicefrac
nomencl
nopageno
oldlfont
overword
physics
pifont
rotating
setspace
shortvrb
showidx
SIunits
siunitx
soul
stfloats
stmaryrd
subcaption
subfig
subfigure
suffix
tabular
textcase
textcomp
textgreek
tfrupee
tipa
tipx
titlepage
tloop
totpages
trimspaces
units
upmath
url/breakurl
verbatim
wrapfig
xcolor
xfrac
xspace
// To extract a plain text, line-based list of accepted packages
// run this in your browser's "developer console" when viewing
// https://authors.acm.org/proceedings/production-information/accepted-latex-packages
// Make sure to sort the output afterwards.
// As of 2023-05-18, the package "soul" was not listed in alphabetical order.
console.log(
Array.from(document.querySelectorAll(".col-sm-4"))
.map((x) => x.textContent)
.join("\n")
.split("\n")
.filter((x) => x !== " " && x.length > 1)
.join("\n")
)
#! /usr/bin/env bash
# Requires https://github.com/sharkdp/fd
# Requires https://github.com/BurntSushi/ripgrep
fd .tex \
| xargs rg --no-filename "^\\\\usepackage.*\\{(.*)\\}(.*)" --replace "\$1" \
| tr "," "\\n" \
| tr -d " " \
| sort \
| uniq \
| comm -23 - accepted.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment