How To Install Src2latex In Debian, Ubuntu, Kali And Raspbian?

How To Install Src2latex In Debian, Ubuntu, Kali And Raspbian?

src2latex

A converter from source program files to TeX format files

Maintainer: Sebastian Harl


Section: tex

Install src2latex

  • 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.

Installing src2latex command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Kali and Raspbian operating systems. Once you run the command it will install the latest version of src2latex 2026 package in your OS.