Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build instructions for macOS #61

Open
todrobbins opened this issue Sep 28, 2022 · 5 comments
Open

Build instructions for macOS #61

todrobbins opened this issue Sep 28, 2022 · 5 comments

Comments

@todrobbins
Copy link

I am not able to find/install the dependencies via brew and wondered what the installation instructions would be for a macOS device?

Cheers!

@Ainali
Copy link
Collaborator

Ainali commented Sep 29, 2022

Hi @todrobbins, thanks for trying to build it! That's an interesting question! I don't personally know the answer, since I'm running Ubuntu. And unfortunately, I don't we will be able to maintain up-to-date installation instructions for each of the dependencies in this repository.
Here's my suggestion. As I think the maintainers of the dependencies that fail would be a better source of help for OS-specific installation process of them, could you please specify which ones are failing? Then I'll try to give you direct links to their repositories and/or documentation.

@ericherman
Copy link
Contributor

Hello @todrobbins, I do not know. If you or someone else contributes macOS build instructions, we could certainly find a way to add them. Perhaps with a note explaining that we do not test instructions for platforms which we do not use.

@todrobbins
Copy link
Author

todrobbins commented Sep 30, 2022

Totally fair!

I found out brew install basictex will get me pdflatex which is what the previous make error was listing as missing.

New error is the following:

➜ make
pdflatex -synctex=1 -interaction=nonstopmode --shell-escape cards/rules-introduction.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 \write18 enabled.
entering extended mode
(./cards/rules-introduction.tex
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2022-02-24> (./templates/rules-template.tex
(/usr/local/texlive/2022basic/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/usr/local/texlive/2022basic/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2022basic/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2022basic/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2022basic/texmf-dist/tex/generic/iftex/ifvtex.sty
(/usr/local/texlive/2022basic/texmf-dist/tex/generic/iftex/iftex.sty)))
(/usr/local/texlive/2022basic/texmf-dist/tex/latex/base/inputenc.sty)
(/usr/local/texlive/2022basic/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/usr/local/texlive/2022basic/texmf-dist/tex/latex/lineno/lineno.sty)
(/usr/local/texlive/2022basic/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
(./templates/template-font.tex
(/usr/local/texlive/2022basic/texmf-dist/tex/latex/base/fontenc.sty))

! LaTeX Error: File `inter.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.
<read *>

l.19 \input{templates/template-font}
                                    ^^M
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on rules-introduction.log.
make: *** [rules-introduction.pdf] Error 1

@ericherman
Copy link
Contributor

Okay, so it looks like now the error is that the system is missing the style file for inter fonts.

! LaTeX Error: File `inter.sty' not found.

My system contains a style file for Inter fonts at /usr/share/texlive/texmf-dist/tex/latex/inter/inter.sty.
This can likely be added to the system by hand, however I do not have experience installing LaTeX fonts except via the package manager.

@ericherman
Copy link
Contributor

On my system, inter.sty is provided by the texlive-fonts-extra package.

$ dpkg-query -S /usr/share/texlive/texmf-dist/tex/latex/inter/inter.sty
texlive-fonts-extra: /usr/share/texlive/texmf-dist/tex/latex/inter/inter.sty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants