Src2tex Installation On A Debian, Ubuntu, Kali And Raspbian

Src2tex Installation On A Debian, Ubuntu, Kali And Raspbian

src2tex

A converter from source program files to TeX format files

Maintainer: Sebastian Harl


Section: tex

Install src2tex

  • Debian apt-get install src2tex Click to copy
  • Ubuntu apt-get install src2tex Click to copy
  • Kali Linux apt-get install src2tex Click to copy
  • Raspbian apt-get install src2tex Click to copy

src2tex

A converter from source program files to TeX format files

src2tex [resp. src2latex] is a sort of text converter from BASIC, C, C++, OBJECTIVE-C, COBOL, FORTRAN, HTML, JAVA, LISP, MAKE, PASCAL, PERL, SCHEME, SHELL, TCL/TK and ASIR, MACSYMA, MAPLE, MATHEMATICA, MATLAB, MAXIMA, MuPAD, OCTAVE, REDUCE to TeX [resp. LaTeX]. However, it is not a simple pretty-printer; actually, it is designed to fulfill the following desires: (1) We want to write mathematical formulae in comment area of source program. (2) We would like to patch PS or EPS figures upon source program. (3) We need a simple and easy-to-use tool which enables to combine documentation and manual with source program. (4) We often have to translate our program from text format to TeX format when we want to quote our own program in research report, lecture note, etc. That is quite time consuming, so it should be automated.

Installation of latest src2tex command is available for Debian, Ubuntu, Kali and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.