Minor change to tex-live.sty
Arash Esbati
arash at gnu.org
Thu Mar 26 18:38:23 CET 2020
Hi all,
after the comment to this post[1], I had a look at tex-live.sty and I'd
like to make a suggestion: Retire alltt.sty and use fancyvrb.sty to
define the environment, i.e.:
\DefineVerbatimEnvironment{alltt}{Verbatim}{%
commandchars=\\\{\}
}
I think this is a drop-in replacement and doesn't even change the
spacing AFAICS from the result of this file:
--8<---------------cut here---------------start------------->8---
\documentclass[twocolumn]{article}
\usepackage{fancyvrb,alltt}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\DefineVerbatimEnvironment{AllTt}{Verbatim}{%
commandchars=\\\{\}
}
\def\Ucom#1{{\bfseries\ttfamily #1}}
\begin{document}
This document describes the main features of the TL{} software
distribution---\TeX{} and related programs for GNU/Linux and other
Unix flavors, MacOSX, and Windows systems.
\begin{alltt}
> \Ucom{install-tl-windows}
...
> \Ucom{tex -{}-version}
TeX 3.14159265 (TeX Live ...)
Copyright ... D.E. Knuth.
...
\end{alltt}
This document describes the main features of the TL{} software
distribution---\TeX{} and related programs for GNU/Linux and other
Unix flavors, MacOSX, and Windows systems.
\newpage
This document describes the main features of the TL{} software
distribution---\TeX{} and related programs for GNU/Linux and other
Unix flavors, MacOSX, and Windows systems.
\begin{AllTt}
> \Ucom{install-tl-windows}
...
> \Ucom{tex -{}-version}
TeX 3.14159265 (TeX Live ...)
Copyright ... D.E. Knuth.
...
\end{AllTt}
This document describes the main features of the TL{} software
distribution---\TeX{} and related programs for GNU/Linux and other
Unix flavors, MacOSX, and Windows systems.
\end{document}
--8<---------------cut here---------------end--------------->8---
I was also wondering how many tl-doc editors use Emacs with AUCTeX? I
have a prototyp style for AUCTeX attached. I'd appreciate any comment
on this file. Maybe it can be added to TL or to AUCTeX itself?
Best, Arash
Footnotes:
[1] https://emacs.stackexchange.com/a/55943/12242
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tex-live.el
Type: application/emacs-lisp
Size: 3590 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-live/attachments/20200326/38f5069e/attachment.bin>
More information about the tex-live
mailing list.