auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Syntax classes of text in href


From: Arash Esbati
Subject: Re: Syntax classes of text in href
Date: Fri, 13 Jan 2023 15:19:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50

Abdul-Lateef Haji-Ali <abdo.haji.ali@gmail.com> 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

[Prev in Thread] Current Thread [Next in Thread]