Directory macros/latex/contrib/enverb
# enverb
– read an environment verbatim
Version 2024-08-28 v1.0
Released under the LaTeX Project Public License v1.3c or later See http://www.latex-project.org/lppl.txt
Hosted on the Island of TeX at https://gitlab.com/islandoftex/texmf/enverb
Copyright (C) 2023-2024 Jonathan P. Spratte
This work may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), either version 1.3c of this license or (at your option) any later version. The latest version of this license is in the file:
http://www.latex-project.org/lppl.txt
This work is "maintained" (as per LPPL maintenance status) by Jonathan P. Spratte
Summary of Contents
enverb
provides means to read the contents of a user-defined environment verbatim. It also provides facilities to then typeset them inside a listing-environment provided by LaTeX or another package or to evaluate them as normal LaTeX code. This gives one the full flexibility of LaTeX to customise the looks of documentation and examples without the need of any temporary files. Additionally you can define your own processing of the contents, either line oriented or processing the entire contents at once, however you see fit.
Download the contents of this package in one zip archive (345.6k).
enverb – Read an environment verbatim
This package allows you to collect the contents of an environment verbatim, and provides that inside the macro \enverbBody. What you then do with that content is up to you. It also allows you to place arbitrary content at the start and end of each line (which doesn’t have to be verbatim). The two convenience macros \enverbExecute and \enverbListings can be used to typeset the contents and wrap the contents inside another verbatim environment, respectively.
Package | enverb |
Bug tracker | https://gitlab.com/islandoftex/texmf/enverb/-/issues |
Repository | https://gitlab.com/islandoftex/texmf/enverb |
Version | 1.0 2024-08-28 |
Licenses | The LaTeX Project Public License 1.3c |
Copyright | 2023–2024 Jonathan P. Spratte |
Maintainer | Jonathan P. Spratte |
Contained in | TeX Live as enverb MiKTeX as enverb |
Topics | Macro Demonstration Verbatim Macro support |