Skip to content

Latest commit

 

History

History
127 lines (90 loc) · 2.63 KB

reqs.md

File metadata and controls

127 lines (90 loc) · 2.63 KB

Requirements

GNU coreutils, etc.

Provides modern GNU versions of common utilities, awk (gawk), sed (gsed).

You may want to alias grep to GNU grep or put it in your path higher than the old Mac built-ins.

brew install coreutils gawk gnu-sed

fibrio (node.js module)

Server-side port of findAndReplaceDOMText.

Needed for splitting tossups into words.

npm install fibrio

Document conversion Swiss army knife.

Needed for converting DOCX to HTML, Markdown, TXT. Replaced obsolete textutil flow (Mac only) in 2022.

brew install pandoc

Preprocessor for XML/XSL that provides a concise, intentation-based syntax.

Needed for settings. Previously needed in general for obsolete XML (QBML) flow.

brew install ghc cabal-install wget
wget https://github.com/tmoertel/pxsl-tools/archive/master.zip
unzip master.zip 
cd pxsl-tools-master/
cabal install
make
cabal install
# add ~/.cabal/bin to path

Python packages

pip install odictliteral

Dependencies needed for checks only

ack

Command-line tool for searching source code and text.

Running ack on UTF-8 files is not compatible as of Perl 5.30. Need to find a replacement. Maybe ripgrep? Need --sort=path.

brew install ack

ripgrep (rg)

Slightly more modern than ack.

brew install ripgrep

Python packages

pip install unidecode lemminflect

Obsolete

Command-line interface for pulling Google Drive files.

Replaced unmaintained googlecl, skicka, and gdrive. Likely needs to be replaced again (probably with rclone) due to recent OAuth changes on Google’s end.

go get -u github.com/odeke-em/drive/cmd/drive

Saxon

Modern XSLT processor that implements XSLT 2.0 and 3.0. (Simpler XSLT 1.0 transformers use xsltproc, a popular Mac and Linux built-in.)

Previously needed in general for obsolete XML (QBML) flow.

Download JDK

brew install saxon

XeLaTeX

Modern TeX engine supporting Unicode and OpenType fonts.

Previously needed for obsolete LaTeX/PDF flow.

Download

QPDF

Command-line PDF manipulator.

Previously needed for password-protecting PDF files.

brew install qpdf

Experiments (abandoned)

Python packages

pip install lxml python-levenshtein caverphone

Stanford NLP parser

Tregex