zoukankan      html  css  js  c++  java
  • latex学习(四)tlmgr

    官网说明文档:https://tug.org/texlive/doc/tlmgr.html,2018版已经被冻结了,所以tlmgr也不会更新了,要等到下一个大的版本才能更新。

    1、用tlmgr查看已经安装的包

    tlmgr list --only-installed

    还可以顺便查看,那些包已经安装了

    tlmgr list --only-installed | grep fontspec

     2、配置文件:tlmgr reads two configuration files: one is system-wide, in TEXMFSYSCONFIG/tlmgr/config, and the other is user-specific, in TEXMFCONFIG/tlmgr/config. The user-specific one is the default for the conf tlmgr action. (Run kpsewhich -var-value=TEXMFSYSCONFIG or ... TEXMFCONFIG ... to see the actual directory names.)

    tlmgr读取两个配置文件:一个是系统范围的,在TEXMFSYSCONFIG / tlmgr / config中,另一个是用户特定的,在TEXMFCONFIG / tlmgr / config中。 用户特定的是conf tlmgr操作的默认值。 (运行kpsewhich -var-value = TEXMFSYSCONFIG或... TEXMFCONFIG ...以查看实际的目录名称。)附注:TEXMFSYSVAR是texlive的一个变量,默认对应的目录是texmf-var,全称是:/texlive/2018/texmf-var

    3、用户模式:tlmgr provides a restricted way, called ``user mode'', to manage arbitrary texmf trees in the same way as the main installation. For example, this allows people without write permissions on the installation location to update/install packages into a tree of their own.

    tlmgr提供了一种限制方式,称为“用户模式”,以与主安装相同的方式管理任意texmf树。例如,这允许没有安装位置写权限的人将包更新/安装到自己的树中。

    Before using tlmgr in user mode, you have to set up the user tree with the init-usertree action. This creates usertree/web2c and usertree/tlpkg/tlpobj, and a minimal usertree/tlpkg/texlive.tlpdb. At that point, you can tell tlmgr to do the (supported) actions by adding the --usermode command line option.

    在用户模式下使用tlmgr之前,必须使用init-usertree操作设置用户树。这将创建usertree / web2c和usertree / tlpkg / tlpobj,以及最小的usertree / tlpkg / texlive.tlpdb。此时,您可以通过添加--usermode命令行选项告诉tlmgr执行(支持的)操作。

    tlmgr is switched into user mode with the command line option --usermode. It does not switch automatically, nor is there any configuration file setting for it. Thus, this option has to be explicitly given every time user mode is to be activated.

    使用命令行选项--usermode将tlmgr切换到用户模式。它不会自动切换,也没有任何配置文件设置。因此,每次激活用户模式时都必须明确地给出该选项。

  • 相关阅读:
    ecshop编辑器fckeditor换百度ueditor编辑器教程
    让ecshop用户登录评价以可择匿名评价
    shell与if相关参数
    Spring 框架的设计理念与设计模式分析
    php 变量定义方法
    1. 请问PHP里的ECHO是什么意思 ?请问PHP里的ECHO是什么意思???有什么作用???又应该怎么使用???
    谈谈如何优化MYSQL数据库查询
    MySQL存储引擎Innodb和MyISAM对比总结
    MYSQL的索引类型:PRIMARY, INDEX,UNIQUE,FULLTEXT,SPAIAL 有什么区别?各适用于什么场合?
    计算机网络基础知识总结
  • 原文地址:https://www.cnblogs.com/litifeng/p/10562804.html
Copyright © 2011-2022 走看看