May 19, 2025

What Mac is good about

  1.  You can use drag and drop to copy and paste a path.
  2. A lot of good programs are installed already. Like Python, LaTex, GarageBand.

May 9, 2025

Ghostscript install failed

 The Meson build system

Version: 1.8.0

Source dir: /private/tmp/cairo-20250509-374-f967wb/cairo-1.18.4

Build dir: /private/tmp/cairo-20250509-374-f967wb/cairo-1.18.4/build

Build type: native build

Program version.py found: YES (/private/tmp/cairo-20250509-374-f967wb/cairo-1.18.4/version.py)


meson.build:3:11: ERROR: Command `/private/tmp/cairo-20250509-374-f967wb/cairo-1.18.4/version.py` failed with status 127.


A full log can be found at /private/tmp/cairo-20250509-374-f967wb/cairo-1.18.4/build/meson-logs/meson-log.txt




Error: You are using macOS 10.14.

We (and Apple) do not provide support for this old version.


This is a Tier 3 configuration:

  https://docs.brew.sh/Support-Tiers#tier-3

Do not report any issues to Homebrew/* repositories!

Read the above document instead before opening any issues or PRs.



Error: A newer Command Line Tools release is available.

Update them from Software Update in System Preferences.


If that doesn't show you any updates, run:

  sudo rm -rf /Library/Developer/CommandLineTools

  sudo xcode-select --install


Alternatively, manually download them from:

  https://developer.apple.com/download/all/.

You should download the Command Line Tools for Xcode 11.3.1.



This is a Tier 2 configuration:

  https://docs.brew.sh/Support-Tiers#tier-2

Do not report any issues to Homebrew/* repositories!

Read the above document instead before opening any issues or PRs.


This build failure was expected, as this is not a Tier 1 configuration:

  https://docs.brew.sh/Support-Tiers

Do not report any issues to Homebrew/* repositories!

Read the above document instead before opening any issues or PRs.

4155624s-MacBook-Air:~ a143415$ 

installing imagemagick on Mac

 Takes a long time. At least 50 mins. Here are some of the messages.

Error: You are using macOS 10.14.

We (and Apple) do not provide support for this old version.

After installing and returning to command prompt, tried magick logo: logo.gif 

it says

-bash: magick: command not found

seems the installation is unsuccessful. Can't find imagemagick in Applications folder. Search the entire computer with the keyword imagemagick returns nothing.


May 1, 2025

git, switching from windows to Mac

 After I switched from windows to Mac, I encounter some problem with Git. I also switch from git gui to sourceTree as git graphic interface.

There are modified content but if you look closely the modified content is exactly the same as the old file.


 git config core.filemode false

 git config core.autocrlf input


solved half the problem. The modified files are gone from the unstaged window.


The other half is there are untracked files that were definitely tracked but now show as untracked. Because of this, I lost many history. This is a bomber.

把notebook的硬碟拆下來當外接硬碟接上另一台電腦

 原本的檔案系統都不一樣了,就是資料夾的相對結構都不在了,比如說Documents and Settings資料夾就不見了,查了一下好像要去C:/Users/User找。花了好一陣子才找到以前的檔案。


https://answers.microsoft.com/en-us/windows/forum/all/documents-and-settings-in-windows-10/be87dd2d-f903-427f-b501-932a3a2999d1

Apr 26, 2025

xelatex, switching from windows to Mac, Chinese font problems

 之前在windows上的微軟正黑體換到mac上後xelatex就編譯不過了。mac上好像只有黑體沒有正黑體。所以說latex可以獨立於作業軟體mac或windows好像不太對。而且我也遇到不少其它問題。我的mac是macOS Mojave version 10.14.6。

FontAwesome problem on Mac with xelatex

 xelatex fontawesome_problem.tex

This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020) (preloaded format=xelatex)

 restricted \write18 enabled.

entering extended mode

(./fontawesome_problem.tex

LaTeX2e <2020-02-02> patch level 5

L3 programming layer <2020-03-06>

(/usr/local/texlive/2020/texmf-dist/tex/latex/standalone/standalone.cls

Document Class: standalone 2018/03/26 v1.3a Class to compile TeX sub-files stan

dalone