ptex2tex - easy generation of (possibly complex) LaTeX environments

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main i386
Package name ptex2tex
Package version 0.4
Package release 1
Package architecture all
Package type deb
Installed size 197 B
Download size 28.93 KB
Official Mirror
Ptex2tex is a tool that allows you to replace LaTeX environment
declarations with simple keywords. In a way, Ptex2tex allows you to
create LaTeX packages without any sophisticated knowledge on how to
write LaTeX packages. The idea behind Ptex2tex is code generation:
instead of hiding complicated LaTeX constructions in complex LaTeX
packages, one simply generates the necessary LaTeX commands on the
fly, from a compact begin-end environment indication in the LaTeX
source. This implies that you have to preprocess your LaTeX source to
make an ordinary LaTeX file that can be compiled in the usual way.
The main application of Ptex2tex is for inserting verbatim-style
computer code in LaTeX documents. Code can be copied directly from the
source files of the software (complete files or just snippets), and
output from programs can be created and copied into the documentation
as a part of running Ptex2tex. This guarantees that your LaTeX
document contains the most recent version of the program code and its
With the default Ptex2tex configuration style, you can switch between
30+ styles for computer code within seconds and just recompile your
LaTeX files. Even in a several-hundred pages book it takes seconds to
consistently change various styles for computer code, terminal
sessions, output from programs, etc. This means that you never have to
worry about choosing a proper style for computer/verbatim code in your
LaTeX document. Just use Ptex2tex and leave the decision to the
future. It takes seconds to change your mind anyway.


Package Version Architecture Repository
ptex2tex_0.4-1_all.deb 0.4 all Debian Main
ptex2tex - - -


Name Value
dpkg >= 1.14.18
preprocess -
python << 2.8
python >= 2.6.6-7~
python2.6 -
python2.7 -
tex-common >= 2.00
texlive-latex-base -
texlive-latex-extra -
texlive-latex-recommended -


Type URL
Binary Package ptex2tex_0.4-1_all.deb
Source Package ptex2tex

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install ptex2tex deb package:
    # sudo apt-get install ptex2tex




2011-09-13 - Johannes Ring <>
ptex2tex (0.4-1) unstable; urgency=low
* Initial release (closes: #641304)

See Also

Package Description
ptop_3.7.0-2_all.deb transitional dummy package
ptouch-driver_1.3-8_all.deb transitional dummy package for ptouch printer driver
ptpd_2.3.0-dfsg-1_i386.deb Precision Time Protocol daemon
ptscotch_5.1.12b.dfsg-2+b1_i386.deb MPI programs and libraries for graph, mesh and hypergraph partitioning
ptunnel_0.71-2_i386.deb Tunnel TCP connections over ICMP packets
pub2odg_0.9.2-2_i386.deb Publisher documents to OpenDocument converter
publib-dev_0.40-1_i386.deb library of miscellaneous C functions
publican-debian_0.3_all.deb Debian brand for Publican
publican_4.2.6-1_all.deb Tool for publishing material authored in DocBook XML
publicsuffix_20160703-0+deb8u1_all.deb accurate, machine-readable list of domain name suffixes
pubtal_3.5-1_all.deb Template driven web site builder for small sites
puddletag_1.0.2-1_all.deb simple, powerful audio tag editor
puf_1.0.0-7_i386.deb Parallel URL fetcher
pugixml-doc_1.4-1_all.deb Light-weight C++ XML processing library (documentation)
pulseaudio-esound-compat_5.0-13_i386.deb PulseAudio ESD compatibility layer