Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssrmint

contents

see description in setup.py

requirements

Python 3.10.4

texlive-latex-extra (for minted.sty), python3-setuptools, python3-pygments, pip (Debian packages)

Python 2.7.13 (tested with Debian 9.4)

python-setuptools, python-pygments (Debian packages)

install

With pip:

  • On a terminal, run pip install git+https://github.com/affeldt-aist/ssrmint.git

With setuptools:

  • set the "right" python in Makefile
  • type make install
  • check the style and the lexer have been installed: pygmentize -L lexers, pygmentize -L styles

usage

in the LaTeX file, use:

  1. for the style: \usemintedstyle{ssr} (instead of, say, \usemintedstyle{emacs})
  2. for the environment: \begin{minted}{ssr} ... \end{minted}
  3. for inlined code: \mintinline{ssr}{...}

to compile, use:

pdflatex -shell-escape

FAQ

How to compile without the option -shell-escape and without ssrmint installed?

  1. first compile with the option finalizecache: \usepackage[finalizecache]{minted} (with the option -shell-escape and with ssrmint installed)
  2. change the option to: \usepackage[frozencache]{minted}
  3. ship the TeX files with the sub-directory _minted-whatever
  4. you can now compile without the option -shell-escape and without ssrmint installed

reference

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages