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

document macOS support #207

Open
pkra opened this issue Jun 4, 2024 · 3 comments
Open

document macOS support #207

pkra opened this issue Jun 4, 2024 · 3 comments
Assignees

Comments

@pkra
Copy link
Member

pkra commented Jun 4, 2024

We should add some instructions regarding macOS installation.

@pkra
Copy link
Member Author

pkra commented Aug 28, 2024

I recently tried to get things running on macos and failed. @BrianBartling could you share what you recall from your successful attempt a while back? In particular,

  • which tex installation to use
  • which approach for installing the perl modules

@BrianBartling
Copy link
Collaborator

Hi Peter,

Sorry for the delay on this! Here are my notes on installing texml on macosx using Ventura 13.5.2 from scratch:

  1. Install mactex 2024 (https://www.tug.org/mactex/mactex-download.html)
  2. Install Xcode Command Line Tools. On the terminal enter xcode-select --install & follow the steps for the installation process
  3. Install homebrew (https://brew.sh/)
  4. brew install libpng
  5. brew install jpeg-turbo
  6. brew install pdf2svg
  7. type cpan on the terminal and configure local::lib
  8. cpan File::MMagic::XS
  9. cpan Config::IniFiles
  10. cpan XML::Twig
  11. cpan Image::PNG
  12. cpan Image::JPEG::Size
  13. cpan Lingua::EN::Numbers::Ordinate
  14. install STIX Two and Source Sans
  15. git clone https://github.com/AmerMathSoc/texml.git
  16. cd texml
  17. cp ./cfg/texml.cfg.template ./cfg/texml.cfg

Doing these steps got me to 104 successful tests using tests/00regress.sh, but 12 have failed. It looks like there's a problem with the graphics driver when loading in xcolor, e.g. when I do texml on graphics.tex I'm getting Undefined control sequence '\DeclareKeys', '\DefineNamedColor', etc. It also appears that there's a problem when processing binary characters e.g. accents.tex.

@pkra
Copy link
Member Author

pkra commented Sep 26, 2024

Thanks so much @BrianBartling !

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

No branches or pull requests

2 participants