hu's Blog

Happy coding

安装好context之后的简单设置

1、在setuptex的末尾添加

export OSFONTDIR=/home/hu/Soft/fonts:/usr/share/fonts

mtxrun --script fonts --reload

context --generate

2、在.bashrc里面添加

source /home/hu/Soft/context/tex/setuptex

3、最后运行顺利后,在setuptex中把刚才添加的2行增加“#”,变成
 

#mtxrun --script fonts --reload

#context --generate