我想编译以下内容:
href{https://www.econometrics-with-r.org/3.1-estimation-of-the-population-mean.html#:~:text=%23%20set%20seed%20for,%23%3E%20%5B1%5D%208.257893}{this link.}
> \frametitle {Link to Highlighted Text} You can access the URL with th\ETC.
! File ended while scanning use of \frame.
<inserted text>
\par
<*> main.tex
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.
但是和frametitle完全无关。问题在于 # 符号和其他特殊字符。
您可以尝试解码 url,然后转义 # 字符,即将其替换为 \#。
顺便说一句,我得到的解码后的网址是
https://www.econometrics-with-r.org/3.1-estimation-of-the-population-mean.html#:~:text=# set seed for,#> [1] 8.257893