Ptex2tex
Ptex2tex
http://ptex2tex.googlecode.com
easy generation of (possibly complex) LaTeX environments
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 output!
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.
Licensing
License
Verified by
Verified on
Notes
License
Verified by
Debian: Johannes Ring <johannr@simula.no>
Verified on
13 September 2011
Notes
License: lppl-1.3+ or bsd-3
License
Verified by
Debian: Johannes Ring <johannr@simula.no>
Verified on
13 September 2011
Notes
License: public-domain
public-domain These files are from the book "Guide to NumPy" by Travis E. Oliphant, which is released into the public domain. Both the book and the book source are available for download from
http://www.tramy.us/.License
Verified by
Debian: Johannes Ring <johannr@simula.no>
Verified on
13 September 2011
Notes
License: bsd-3
Leaders and contributors
Contact(s) | Role |
---|---|
Hans Petter Langtangen | contact |
Resources and communication
Audience | Resource type | URI |
---|---|---|
Download | http://ptex2tex.googlecode.com | |
Debian (Ref) | https://tracker.debian.org/pkg/ptex2tex |
Software prerequisites
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.