1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Re:VIEWをMac mini M1 macOS Montereyにインストールする

Last updated at Posted at 2022-03-26

概要

Mac mini (M1,2020) のApple M1を購入しましたので、Re:VIEW をインストールしてみました。
macOS Monterey Ver12.3、Re:VIEW 5.4.0です。
macOSをセットアップ直後に作業しました。

参考

旧MacにRe:VIEWをインストールした時に参考したWebサイト
Re:VIEWをmacOS High Sierraにインストールする

Re:VIEWのインストール

公式最新版の(2022/3/26現在)のRe:VIEW 5.4.0をインストールします。

スクリーンショット 2022-03-26 10.04.08.png
ターミナルを起動させて、sudo gem install review を入力します。

$ sudo gem install review

※rootユーザーの場合は gem install review を入力します。

ReVIEWのインストール
macuser@MacMiniM1 ~ % sudo gem install review
Password:
Fetching image_size-3.0.1.gem
Fetching rouge-3.28.0.gem
Fetching rubyzip-2.3.2.gem
Fetching tty-color-0.6.0.gem
Fetching pastel-0.8.0.gem
Fetching tty-logger-0.6.0.gem
Fetching review-5.4.0.gem
Successfully installed image_size-3.0.1
Successfully installed rouge-3.28.0
RubyZip 3.0 is coming!
**********************

The public API of some Rubyzip classes has been modernized to use named
parameters for optional arguments. Please check your usage of the
following classes:
  * `Zip::File`
  * `Zip::Entry`
  * `Zip::InputStream`
  * `Zip::OutputStream`

Please ensure that your Gemfiles and .gemspecs are suitably restrictive
to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0).
See https://github.com/rubyzip/rubyzip for details. The Changelog also
lists other enhancements and bugfixes that have been implemented since
version 2.3.0.
Successfully installed rubyzip-2.3.2
Successfully installed tty-color-0.6.0
Successfully installed pastel-0.8.0
Successfully installed tty-logger-0.6.0
Successfully installed review-5.4.0
Parsing documentation for image_size-3.0.1
Installing ri documentation for image_size-3.0.1
Parsing documentation for rouge-3.28.0
Installing ri documentation for rouge-3.28.0
Parsing documentation for rubyzip-2.3.2
Installing ri documentation for rubyzip-2.3.2
Parsing documentation for tty-color-0.6.0
Installing ri documentation for tty-color-0.6.0
Parsing documentation for pastel-0.8.0
Installing ri documentation for pastel-0.8.0
Parsing documentation for tty-logger-0.6.0
Installing ri documentation for tty-logger-0.6.0
Parsing documentation for review-5.4.0
Installing ri documentation for review-5.4.0
Done installing documentation for image_size, rouge, rubyzip, tty-color, pastel, tty-logger, review after 5 seconds
7 gems installed
macuser@MacMiniM1 ~ % 

rootのパスワード設定

macOSのインストール直後はsuのパスワードが設定されていませんので設定します。
スクリーンショット 2022-03-26 10.20.56.png
rootユーザーになろうとしてsuコマンドを実行するとsu: Sorryとでましたので、パスワードを設定します。
sudo passwd root
スクリーンショット 2022-03-26 10.18.57.png

Ruby は 2.6.8p205 なので、arm64で動いています。

macuser@MacMiniM1 ~ % ruby -v
ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]

サンプルのtest.reをPDFに出力してみます

PDFに出力します(エラー発生)
macuser@MacMiniM1 ~ % cd review
macuser@MacMiniM1 review % cd test
macuser@MacMiniM1 test % rake pdf
review-pdfmaker  config.yml
ℹ INFO    compiling test.tex       
ℹ INFO    uplatex -interaction=nonstopmode -file-line-error -halt-on-error __REVIEW_BOOK__.tex
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/open3.rb:213:in `spawn': No such file or directory - uplatex (Errno::ENOENT)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/open3.rb:213:in `popen_run'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/open3.rb:208:in `popen2e'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/open3.rb:390:in `capture2e'
	from /Library/Ruby/Gems/2.6.0/gems/review-5.4.0/lib/review/pdfmaker.rb:55:in `system_or_raise'
	from /Library/Ruby/Gems/2.6.0/gems/review-5.4.0/lib/review/pdfmaker.rb:242:in `block (2 levels) in build_pdf'
	from /Library/Ruby/Gems/2.6.0/gems/review-5.4.0/lib/review/pdfmaker.rb:241:in `times'
	from /Library/Ruby/Gems/2.6.0/gems/review-5.4.0/lib/review/pdfmaker.rb:241:in `block in build_pdf'
	from /Library/Ruby/Gems/2.6.0/gems/review-5.4.0/lib/review/pdfmaker.rb:199:in `chdir'
	from /Library/Ruby/Gems/2.6.0/gems/review-5.4.0/lib/review/pdfmaker.rb:199:in `build_pdf'
	from /Library/Ruby/Gems/2.6.0/gems/review-5.4.0/lib/review/pdfmaker.rb:291:in `generate_pdf'
	from /Library/Ruby/Gems/2.6.0/gems/review-5.4.0/lib/review/pdfmaker.rb:151:in `execute'
	from /Library/Ruby/Gems/2.6.0/gems/review-5.4.0/lib/review/pdfmaker.rb:93:in `execute'
	from /Library/Ruby/Gems/2.6.0/gems/review-5.4.0/bin/review-pdfmaker:14:in `<top (required)>'
	from /usr/local/bin/review-pdfmaker:23:in `load'
	from /usr/local/bin/review-pdfmaker:23:in `<main>'
rake aborted!
Command failed with status (1): [review-pdfmaker  config.yml...]
lib/tasks/review.rake:112:in `block in <top (required)>'
/Library/Ruby/Gems/2.6.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
Tasks: TOP => pdf => book.pdf
(See full trace by running task with --trace)

なんか、エラーが出ていますね。振り返ると、Texを入れる必要がありました。

MacTexをインストール

$ brew install --cask mactex-no-gui
macuser@MacMiniM1 ~ % brew install --cask mactex-no-gui
zsh: command not found: brew
macuser@MacMiniM1 ~ % 

セットアップしたてのMacには Homebrew(brew)が入っていませんね。
今回インストールした Homebrew は 3.4.3 なので ARMアーキテクチャに最適化されていますね。

homebrew(brew)をインストール

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
homebrew(brew)をインストール
macuser@MacMiniM1 ~ % ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Warning: The Ruby Homebrew installer is now deprecated and has been rewritten in
Bash. Please migrate to the following command:
  /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

==> Checking for `sudo` access (which may request your password)...
Password:
==> This script will install:
/opt/homebrew/bin/brew
/opt/homebrew/share/doc/homebrew
/opt/homebrew/share/man/man1/brew.1
/opt/homebrew/share/zsh/site-functions/_brew
/opt/homebrew/etc/bash_completion.d/brew
/opt/homebrew
==> The following new directories will be created:
/opt/homebrew/bin
/opt/homebrew/etc
/opt/homebrew/include
/opt/homebrew/lib
/opt/homebrew/sbin
/opt/homebrew/share
/opt/homebrew/var
/opt/homebrew/opt
/opt/homebrew/share/zsh
/opt/homebrew/share/zsh/site-functions
/opt/homebrew/var/homebrew
/opt/homebrew/var/homebrew/linked
/opt/homebrew/Cellar
/opt/homebrew/Caskroom
/opt/homebrew/Frameworks
==> The Xcode Command Line Tools will be installed.

Press RETURN/ENTER to continue or any other key to abort:
==> /usr/bin/sudo /bin/mkdir -p /opt/homebrew
==> /usr/bin/sudo /usr/sbin/chown root:wheel /opt/homebrew
==> /usr/bin/sudo /bin/mkdir -p /opt/homebrew/bin /opt/homebrew/etc /opt/homebrew/include /opt/homebrew/lib /opt/homebrew/sbin /opt/homebrew/share /opt/homebrew/var /opt/homebrew/opt /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions /opt/homebrew/var/homebrew /opt/homebrew/var/homebrew/linked /opt/homebrew/Cellar /opt/homebrew/Caskroom /opt/homebrew/Frameworks
==> /usr/bin/sudo /bin/chmod ug=rwx /opt/homebrew/bin /opt/homebrew/etc /opt/homebrew/include /opt/homebrew/lib /opt/homebrew/sbin /opt/homebrew/share /opt/homebrew/var /opt/homebrew/opt /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions /opt/homebrew/var/homebrew /opt/homebrew/var/homebrew/linked /opt/homebrew/Cellar /opt/homebrew/Caskroom /opt/homebrew/Frameworks
==> /usr/bin/sudo /bin/chmod go-w /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions
==> /usr/bin/sudo /usr/sbin/chown macuser /opt/homebrew/bin /opt/homebrew/etc /opt/homebrew/include /opt/homebrew/lib /opt/homebrew/sbin /opt/homebrew/share /opt/homebrew/var /opt/homebrew/opt /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions /opt/homebrew/var/homebrew /opt/homebrew/var/homebrew/linked /opt/homebrew/Cellar /opt/homebrew/Caskroom /opt/homebrew/Frameworks
==> /usr/bin/sudo /usr/bin/chgrp admin /opt/homebrew/bin /opt/homebrew/etc /opt/homebrew/include /opt/homebrew/lib /opt/homebrew/sbin /opt/homebrew/share /opt/homebrew/var /opt/homebrew/opt /opt/homebrew/share/zsh /opt/homebrew/share/zsh/site-functions /opt/homebrew/var/homebrew /opt/homebrew/var/homebrew/linked /opt/homebrew/Cellar /opt/homebrew/Caskroom /opt/homebrew/Frameworks
==> /usr/bin/sudo /usr/sbin/chown -R macuser:admin /opt/homebrew
==> /usr/bin/sudo /bin/mkdir -p /Users/macuser/Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Users/macuser/Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown -R macuser /Users/macuser/Library/Caches/Homebrew
==> Searching online for the Command Line Tools
==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
==> Installing Command Line Tools for Xcode-13.3
==> /usr/bin/sudo /usr/sbin/softwareupdate -i Command\ Line\ Tools\ for\ Xcode-13.3
Software Update Tool

Finding available software

Downloading Command Line Tools for Xcode
Downloaded Command Line Tools for Xcode
Installing Command Line Tools for Xcode
Done with Command Line Tools for Xcode
Done.
==> /usr/bin/sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools
==> /usr/bin/sudo /bin/rm -f /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
==> Downloading and installing Homebrew...
remote: Enumerating objects: 205080, done.
remote: Counting objects: 100% (351/351), done.
remote: Compressing objects: 100% (201/201), done.
remote: Total 205080 (delta 158), reused 313 (delta 130), pack-reused 204729
Receiving objects: 100% (205080/205080), 56.52 MiB | 9.42 MiB/s, done.
Resolving deltas: 100% (150978/150978), done.
From https://github.com/Homebrew/brew
 * [new branch]          master     -> origin/master
 * [new tag]             0.1        -> 0.1
 * [new tag]             0.2        -> 0.2
 * [new tag]             0.3        -> 0.3
 * [new tag]             0.4        -> 0.4
 * [new tag]             0.5        -> 0.5

<< 省略 >>

 * [new tag]             3.3.9      -> 3.3.9
 * [new tag]             3.4.0      -> 3.4.0
 * [new tag]             3.4.1      -> 3.4.1
 * [new tag]             3.4.2      -> 3.4.2
 * [new tag]             3.4.3      -> 3.4.3
HEAD is now at 8485a7cb7 Merge pull request #13047 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9787
==> Tapping homebrew/core
remote: Enumerating objects: 1163609, done.
remote: Counting objects: 100% (77/77), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 1163609 (delta 43), reused 73 (delta 40), pack-reused 1163532
Receiving objects: 100% (1163609/1163609), 467.89 MiB | 7.03 MiB/s, done.
Resolving deltas: 100% (805489/805489), done.
From https://github.com/Homebrew/homebrew-core
 * [new branch]              master     -> origin/master
HEAD is now at 7efc80a83a6 flux: update 0.161.0 bottle.
Warning: /opt/homebrew/bin is not in your PATH.
  Instructions on how to configure your shell for Homebrew
  can be found in the 'Next steps' section below.
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics
No analytics data has been sent yet (nor will any be during this install run).

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations

==> Next steps:
- Run these two commands in your terminal to add Homebrew to your PATH:
    echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/macuser/.zprofile
    eval "$(/opt/homebrew/bin/brew shellenv)"
- Run brew help to get started
- Further documentation:
    https://docs.brew.sh

macuser@MacMiniM1 ~ % brew -v
zsh: command not found: brew

zsh: command not found: brew ですね。

macuser@MacMiniM1 ~ % echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/macuser/.zprofile
macuser@MacMiniM1 ~ % eval "$(/opt/homebrew/bin/brew shellenv)"
macuser@MacMiniM1 ~ % brew -v
Homebrew 3.4.3
Homebrew/homebrew-core (git revision 7efc80a83a6; last commit 2022-03-26)
macuser@MacMiniM1 ~ % 

brewのpathをを追加して、brew -v で動作確認します。

改めてMacTexをインストール

改めてMacTexをインストール
macuser@MacMiniM1 ~ % brew install --cask mactex-no-gui
==> Tapping homebrew/cask
Cloning into '/opt/homebrew/Library/Taps/homebrew/homebrew-cask'...
remote: Enumerating objects: 628965, done.
remote: Total 628965 (delta 0), reused 0 (delta 0), pack-reused 628965
Receiving objects: 100% (628965/628965), 297.11 MiB | 8.39 MiB/s, done.
Resolving deltas: 100% (445040/445040), done.
Tapped 3975 casks (4,045 files, 317.2MB).
==> Caveats
You must restart your terminal window for the installation of MacTex CLI tools to take effect.
Alternatively, Bash and Zsh users can run the command:

  eval "$(/usr/libexec/path_helper)"

==> Downloading http://mirror.ctan.org/systems/mac/mactex/mactex-20210328.pkg
==> Downloading from https://ftp.yz.yamagata-u.ac.jp/pub/CTAN/systems/mac/mactex/mactex-202
######################################################################## 100.0%
==> Installing dependencies: libpng, freetype, fontconfig, jbig2dec, jpeg, libidn, libtiff,
==> Downloading https://ghcr.io/v2/homebrew/core/libpng/manifests/1.6.37
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libpng/blobs/sha256:40b9dd222c45fb7e2ae3d5
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:40b9dd
######################################################################## 100.0%
==> Installing libpng
==> Pouring libpng--1.6.37.arm64_monterey.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libpng/1.6.37: 27 files, 1.3MB
==> Downloading https://ghcr.io/v2/homebrew/core/freetype/manifests/2.11.1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/freetype/blobs/sha256:ef390f0021a584396d8f
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:ef390f
######################################################################## 100.0%
==> Installing freetype
==> Pouring freetype--2.11.1.arm64_monterey.bottle.tar.gz
🍺  /opt/homebrew/Cellar/freetype/2.11.1: 66 files, 2.2MB
==> Downloading https://ghcr.io/v2/homebrew/core/fontconfig/manifests/2.13.1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/fontconfig/blobs/sha256:7b4e599e0ba2f56b5b
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:7b4e59
######################################################################## 100.0%
==> Installing fontconfig
==> Pouring fontconfig--2.13.1.arm64_monterey.bottle.tar.gz
==> Regenerating font cache, this may take a while
==> /opt/homebrew/Cellar/fontconfig/2.13.1/bin/fc-cache -frv
🍺  /opt/homebrew/Cellar/fontconfig/2.13.1: 530 files, 3.7MB
==> Downloading https://ghcr.io/v2/homebrew/core/jbig2dec/manifests/0.19
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/jbig2dec/blobs/sha256:e15376f42a9d9372fffa
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:e15376
######################################################################## 100.0%
==> Installing jbig2dec
==> Pouring jbig2dec--0.19.arm64_monterey.bottle.tar.gz
🍺  /opt/homebrew/Cellar/jbig2dec/0.19: 13 files, 420.6KB
==> Downloading https://ghcr.io/v2/homebrew/core/jpeg/manifests/9e
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/jpeg/blobs/sha256:5d4520a90181dd83b3f58b58
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:5d4520
######################################################################## 100.0%
==> Installing jpeg
==> Pouring jpeg--9e.arm64_monterey.bottle.tar.gz
🍺  /opt/homebrew/Cellar/jpeg/9e: 21 files, 904.2KB
==> Downloading https://ghcr.io/v2/homebrew/core/libidn/manifests/1.38
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libidn/blobs/sha256:b36c5a702e23a79b713fa8
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:b36c5a
######################################################################## 100.0%
==> Installing libidn
==> Pouring libidn--1.38.arm64_monterey.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libidn/1.38: 73 files, 1MB
==> Downloading https://ghcr.io/v2/homebrew/core/libtiff/manifests/4.3.0
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libtiff/blobs/sha256:112b3bb5e065433181240
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:112b3b
######################################################################## 100.0%
==> Installing libtiff
==> Pouring libtiff--4.3.0.arm64_monterey.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libtiff/4.3.0: 249 files, 4.7MB
==> Downloading https://ghcr.io/v2/homebrew/core/little-cms2/manifests/2.13.1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/little-cms2/blobs/sha256:0fc9bdf0e245b210e
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:0fc9bd
######################################################################## 100.0%
==> Installing little-cms2
==> Pouring little-cms2--2.13.1.arm64_monterey.bottle.tar.gz
🍺  /opt/homebrew/Cellar/little-cms2/2.13.1: 21 files, 1.4MB
==> Downloading https://ghcr.io/v2/homebrew/core/openjpeg/manifests/2.4.0
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/openjpeg/blobs/sha256:13b02f1e67d92a72a712
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:13b02f
######################################################################## 100.0%
==> Installing openjpeg
==> Pouring openjpeg--2.4.0.arm64_monterey.bottle.tar.gz
🍺  /opt/homebrew/Cellar/openjpeg/2.4.0: 523 files, 13.6MB
==> Downloading https://ghcr.io/v2/homebrew/core/ghostscript/manifests/9.55.0
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ghostscript/blobs/sha256:3cc72369ec9dd8c73
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:3cc723
######################################################################## 100.0%
==> Installing ghostscript
==> Pouring ghostscript--9.55.0.arm64_monterey.bottle.tar.gz
🍺  /opt/homebrew/Cellar/ghostscript/9.55.0: 683 files, 147.7MB
==> Installing Cask mactex-no-gui
==> Running installer for mactex-no-gui; your password may be necessary.
Package installers may write to any location; options such as `--appdir` are ignored.
Password:
installer: Package name is MacTeX
installer: choices changes file '/private/tmp/choices20220326-3560-19vcll8.xml' applied
installer: Installing at base path /
installer: The install was successful.
🍺  mactex-no-gui was successfully installed!
macuser@MacMiniM1 ~ % 

TeXをアップデートします

TeXをアップデートします
macuser@MacMiniM1 ~ % sudo tlmgr update --self --all
sudo: tlmgr: command not found
macuser@MacMiniM1 ~ % exec $SHELL -l
macuser@MacMiniM1 ~ % sudo tlmgr update --self --all
TeX Live 2021 is frozen and will no longer
be routinely updated. This happens in preparation for a new release.

If you're willing to help with pretesting the new release, and we hope
you are, (when pretests are available), please read
https://tug.org/texlive/pretest.html.

Otherwise, just wait, and the new release will be ready in due time.
tlmgr: package repository https://ftp.kddilabs.jp/CTAN/systems/texlive/tlnet (not verified: gpg unavailable)
tlmgr: saving backups to /usr/local/texlive/2021/tlpkg/backups
[1/2, ??:??/??:??] update: texlive.infra [544k] (58646 -> 62112) ... done
[2/2, 00:03/00:04] update: texlive.infra.universal-darwin [301k] (57908 -> 61925) ... done
tlmgr: Restarting to complete update ...
TeX Live 2021 is frozen
and will no longer be routinely updated.  This happens when a new
release is made, or will be made shortly.

If you're willing to help with pretesting a new release, and we hope
you are, please see https://tug.org/texlive/pretest.html.

For general status information about TeX Live, see its home page:
https://tug.org/texlive

tlmgr: package repository https://ftp.kddilabs.jp/CTAN/systems/texlive/tlnet (not verified: gpg unavailable)
tlmgr: saving backups to /usr/local/texlive/2021/tlpkg/backups
[  1/894] auto-remove: GS1 ... done
[  2/894] auto-remove: SIstyle ... done
[  3/894] auto-remove: pst-ghsb ... done
[  4/894] auto-remove: unitipa ... done
[  5/894] auto-remove: MemoirChapStyles ... done

<< 省略 >>

[890/894, 29:02/29:02] update: collection-publishers [2k] (57312 -> 62835) ... done
[891/894, 29:02/29:02] update: collection-xetex [1k] (58543 -> 62241) ... done
[892/894, 29:04/29:04] update: scheme-context [1k] (54074 -> 59636) ... done
[893/894, 29:04/29:04] update: scheme-gust [1k] (54074 -> 59755) ... done
[894/894, 29:05/29:05] update: scheme-tetex [1k] (54074 -> 59715) ... done
running mktexlsr ...
done running mktexlsr.
running mtxrun --generate ...
done running mtxrun --generate.
running updmap-sys ...
done running updmap-sys.
regenerating language.dat
regenerating language.def
regenerating language.dat.lua
regenerating fmtutil.cnf in /usr/local/texlive/2021/texmf-dist
running fmtutil-sys --byengine tex --no-error-if-no-format --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/tmp/fmg1A53y56/UNyUoucmXs ...
  OK: tex.fmt/tex lollipop.fmt/tex
running fmtutil-sys --byengine pdftex --no-error-if-no-format --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/tmp/fmg1A53y56/UNyUoucmXs ...
  OK: pdftex.fmt/pdftex pdfmex.fmt/pdftex amstex.fmt/pdftex pdfcslatex.fmt/pdftex pdfcsplain.fmt/pdftex mptopdf.fmt/pdftex latex-dev.fmt/pdftex latex.fmt/pdftex pdfetex.fmt/pdftex utf8mex.fmt/pdftex pdflatex.fmt/pdftex cont-en.fmt/pdftex mltex.fmt/pdftex cslatex.fmt/pdftex pdfjadetex.fmt/pdftex etex.fmt/pdftex xmltex.fmt/pdftex jadetex.fmt/pdftex csplain.fmt/pdftex pdflatex-dev.fmt/pdftex pdfxmltex.fmt/pdftex texsis.fmt/pdftex mllatex.fmt/pdftex eplain.fmt/pdftex mex.fmt/pdftex
running fmtutil-sys --byengine uptex --no-error-if-no-format --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/tmp/fmg1A53y56/UNyUoucmXs ...
  OK: uptex.fmt/uptex
running fmtutil-sys --byengine ptex --no-error-if-no-format --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/tmp/fmg1A53y56/UNyUoucmXs ...
  OK: ptex.fmt/ptex
running fmtutil-sys --byengine euptex --no-error-if-no-format --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/tmp/fmg1A53y56/UNyUoucmXs ...
  OK: euptex.fmt/euptex uplatex-dev.fmt/euptex uplatex.fmt/euptex
running fmtutil-sys --byengine luahbtex --no-error-if-no-format --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/tmp/fmg1A53y56/UNyUoucmXs ...
  OK: luahbtex.fmt/luahbtex lualatex.fmt/luahbtex lualatex-dev.fmt/luahbtex
running fmtutil-sys --byengine luajithbtex --no-error-if-no-format --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/tmp/fmg1A53y56/UNyUoucmXs ...
  OK: luajithbtex.fmt/luajithbtex
running fmtutil-sys --byengine luatex --no-error-if-no-format --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/tmp/fmg1A53y56/UNyUoucmXs ...
  OK: luatex.fmt/luatex dviluatex.fmt/luatex pdfcsplain.fmt/luatex luacsplain.fmt/luatex dvilualatex-dev.fmt/luatex optex.fmt/luatex dvilualatex.fmt/luatex
running fmtutil-sys --byengine luajittex --no-error-if-no-format --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/tmp/fmg1A53y56/UNyUoucmXs ...
  OK: luajittex.fmt/luajittex
running fmtutil-sys --byengine aleph --no-error-if-no-format --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/tmp/fmg1A53y56/UNyUoucmXs ...
  OK: aleph.fmt/aleph
running fmtutil-sys --byengine eptex --no-error-if-no-format --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/tmp/fmg1A53y56/UNyUoucmXs ...
  OK: eptex.fmt/eptex platex-dev.fmt/eptex platex.fmt/eptex
running fmtutil-sys --byengine xetex --no-error-if-no-format --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/tmp/fmg1A53y56/UNyUoucmXs ...
  OK: xetex.fmt/xetex cont-en.fmt/xetex xelatex-dev.fmt/xetex xelatex.fmt/xetex pdfcsplain.fmt/xetex
running fmtutil-sys --byfmt mf --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/tmp/fmg1A53y56/UNyUoucmXs ...
  OK: mf.fmt/mf-nowin
running fmtutil-sys --byhyphen "/usr/local/texlive/2021/texmf-var/tex/generic/config/language.dat" --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/tmp/fmg1A53y56/UNyUoucmXs ...
  OK: pdflatex.fmt/pdftex platex.fmt/eptex dvilualatex-dev.fmt/luatex lualatex.fmt/luahbtex dvilualatex.fmt/luatex lualatex-dev.fmt/luahbtex xelatex.fmt/xetex xelatex-dev.fmt/xetex pdflatex-dev.fmt/pdftex xmltex.fmt/pdftex platex-dev.fmt/eptex jadetex.fmt/pdftex pdfxmltex.fmt/pdftex uplatex.fmt/euptex uplatex-dev.fmt/euptex eplain.fmt/pdftex pdfjadetex.fmt/pdftex latex-dev.fmt/pdftex mllatex.fmt/pdftex latex.fmt/pdftex
running fmtutil-sys --byhyphen "/usr/local/texlive/2021/texmf-var/tex/generic/config/language.def" --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/tmp/fmg1A53y56/UNyUoucmXs ...
  OK: luahbtex.fmt/luahbtex luajithbtex.fmt/luajithbtex pdftex.fmt/pdftex euptex.fmt/euptex xetex.fmt/xetex luatex.fmt/luatex luajittex.fmt/luajittex eptex.fmt/eptex etex.fmt/pdftex pdfetex.fmt/pdftex dviluatex.fmt/luatex
running fmtutil-sys --byhyphen "/usr/local/texlive/2021/texmf-var/tex/generic/config/language.dat.lua" --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --status-file=/tmp/fmg1A53y56/UNyUoucmXs ...
tlmgr: package log updated: /usr/local/texlive/2021/texmf-var/web2c/tlmgr.log
tlmgr: command log updated: /usr/local/texlive/2021/texmf-var/web2c/tlmgr-commands.log
macuser@MacMiniM1 ~ % 

Re:VIEWの編集用にAtomをインストールします

・Atomインストール

・Atom日本語化

・language-review
これを使ってみたいのですが、入れてもプレビューが動かないです;

AtomはIntelバイナリ(2022/3/27現在)

スクリーンショット 2022-03-27 10.28.50.png

改めてサンプルのtest.reをPDFに出力してみます

macuser@MacMiniM1 ~ % cd review
macuser@MacMiniM1 review % cd test
macuser@MacMiniM1 test % rake pdf
review-pdfmaker  config.yml
ℹ INFO    compiling test.tex       
ℹ INFO    uplatex -interaction=nonstopmode -file-line-error -halt-on-error __REVIEW_BOOK__.tex
ℹ INFO    uplatex -interaction=nonstopmode -file-line-error -halt-on-error __REVIEW_BOOK__.tex
ℹ INFO    uplatex -interaction=nonstopmode -file-line-error -halt-on-error __REVIEW_BOOK__.tex
ℹ INFO    dvipdfmx -d 5 -z 9 __REVIEW_BOOK__.dvi
✔ SUCCESS built book.pdf           
macuser@MacMiniM1 test % 

book.pdfが出来上がりました!
スクリーンショット 2022-03-26 23.52.04.png

履歴

2022/3/26 初版発行

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?