Abdul-Lateef Haji-Ali <[email protected]> writes:

> Nevertheless, IMO, treating a url as verbatim seems to be the main
> issue since it clearly is not (e.g., macros are processed).

This is LaTeX, there is always a package which does something
(non-)special ;-)

\documentclass{article}

\usepackage{fvextra}
\begin{document}

\noindent
\Verb[commandchars=\\\{\}]{Pre \fbox{Middle} Post} or \\
\Verb[commandchars=\\\{\}]|Pre \fbox{Middle} Post|

\end{document}

> It's just that some characters have special treatment that differs
> from normal TeX.

And this is also the way AUCTeX looks at: AUCTeX doesn't grok the
meaning of the macros and what they do while they expand.  Looking at it
this way, url's and verbatim text are quite close.

Best, Arash

Reply via email to