Code Monkey home page Code Monkey logo

tinytexonfly's Introduction

TinyTeX on the fly

test goreleaser Go Reference GitHub license

用途是自动化 TinyTeX 的装包过程(虽然现在主要在用 tectonic)。

实现非常脏,所以并不是所有的包都会被识别到,还是需要看错误日志。

使用

通常情况下,你可以使用下述命令

tinytexonfly dir # 默认为 "."

tinytexonfly 会默认递归搜索指定的文件夹(无输入时为当前文件夹)下所有的 tex, dtx, sty, cls 文件,并输出需要执行的命令。

也可以指定特定文件,如

tinytexonfly <file>

如此 tinytexonfly 便只会处理特定文件。

当然,正如前文所述,tinytexonfly 的实现很脏,所以会有些包处理不到,此时你可以根据错误日志的输出,通过

tinytexonfly search foo.sty
tinytexonfly s foo.sty # alias

查询,然后按需安装。

比如下面这个例子:

错误日志:

Package fontspec Error: The font "XITSMath-Regular" cannot be found.

搜索

tinytexonfly s XITSMath-Regular

输出

fonts/opentype/public/xits/XITSMath-Regular.otf

此时只需运行 tlmgr install xits 就行了。

数据来源

texlive files data 来自 clearlinux-pkgs/texlive

具体文件为 texlive.spec

灵感来自

LICENSE

AGPLv3

tinytexonfly's People

Contributors

batkiz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

tinytexonfly's Issues

怎样集成到LyX中呢?

LyX中可以直接调用MikTeX的自动补包脚本
如果能用这个项目脚本无缝连接LyX和TinyTeX就完美了

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.