What is a simple way to convert a Unicode text file to PDF on the command line on macOS?
One can open a text file in e.g. TextEdit and print it as a PDF. Is there a command line equivalent?
https://pandoc.org/ can convert from text to PDF (and much more). Basic invocation:
pandoc input.txt -o output.pdf