osund / wlan-sheet

Generate a PDF using LaTeX to share WiFi configuration as a QR code and written text.
GNU General Public License v3.0
15 stars 6 forks source link

Script doesn't work #4

Open ybelenko opened 3 years ago

ybelenko commented 3 years ago

MacOS Mojave 10.14.6

$  tlmgr --version
tlmgr revision 57705 (2021-02-10 23:57:28 +0100)
tlmgr using installation: /usr/local/texlive/2020basic
TeX Live (https://tug.org/texlive) version 2020

TexLive Utility Version 1.47 (1.47)

BasicTex installed from here

$ make
Output written on wlan-sheet.pdf (7 pages, 69629 bytes).
Transcript written on wlan-sheet.log.
Latexmk: Examining 'wlan-sheet.log'
=== TeX engine is 'pdfTeX'
Latexmk: Missing input file: 'fourier.sty' from line
  '! LaTeX Error: File `fourier.sty' not found.'
Latexmk: Missing input file: 'fontawesome.sty' from line
  '! LaTeX Error: File `fontawesome.sty' not found.'
Latexmk: Missing input file: 'qrcode.sty' from line
  '! LaTeX Error: File `qrcode.sty' not found.'
Latexmk: Missing input file: 'translations.sty' from line
  '! LaTeX Error: File `translations.sty' not found.'

Latexmk: Log file says output to 'wlan-sheet.pdf'
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 1
      Refer to 'wlan-sheet.log' for details
Latexmk: Use the -f option to force complete processing,
 unless error was exceeding maximum runs, or warnings treated as errors.
make: *** [all] Error 12

I've spent almost 2 hours and ended up with build error, maybe you should mention in main README that your script requires a lot of tools and configuration. MacTex isn't preinstalled software on MacOS.

barak commented 4 months ago

Under Debian, this requires a couple LaTeX packages to be installed. I don't think this is a bug, but it might be useful to mention in README.md to avoid having to grovel around to find them.

$ sudo apt install texlive-pictures
$ sudo apt install texlive-lang-european
$ sudo apt install texlive-lang-polish
$ sudo apt install texlive-lang-german 
$ sudo apt install texlive-lang-czechslovak