Skip to content

Instantly share code, notes, and snippets.

@ngn999
Last active December 9, 2016 21:36
Show Gist options
  • Save ngn999/5791997 to your computer and use it in GitHub Desktop.
Save ngn999/5791997 to your computer and use it in GitHub Desktop.
how to install tikz-uml

tikz-uml都已经1.0b了, 快要正式发布了吧,哈哈. 但是安装手册还没写 :( . 在这儿补一个MacTeX下的手动安装步骤:

主要是那两个路径哈.

#!/bin/sh

mkdir -p ~/Library/texmf/tex/latex/tikz-uml/
mkdir -p ~/Library/texmf/doc/latex/tikz-uml/

cp ~/Downloads/tikzuml-v1.0b/tikz-uml.sty ~/Library/texmf/tex/latex/tikz-uml/
cp ~/Downloads/tikzuml-v1.0b/doc/* ~/Library/texmf/doc/latex/tikz-uml/
cp -r ~/Downloads/tikzuml-v1.0b/examples/  ~/Library/texmf/doc/latex/tikz-uml/

都不用执行texhash.

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