‘Argument of \Hy@babelnormalise has an extra }’ 和 pdfTeX 错误 (ext1)

huangapple go评论53阅读模式
英文:

'Argument of \Hy@babelnormalise has an extra }' and pdfTeX error (ext1)

问题

I had this error on overleaf that block the compiler.
在Overleaf上出现了这个阻止编译器的错误。

It seems that I have an error with a hyperlink in the LaTeX code.
看起来我在LaTeX代码中有一个超链接的错误。

I try to remove all changes between my older versions, but nothing changed.
我尝试删除所有在我的旧版本之间的更改,但没有任何改变。

It's like if the code doesn't change anything to the error anymore.
就好像代码不再改变错误一样。

Argument of \Hy@babelnormalise has an extra }.
\Hy@babelnormalise的参数多了一个}。

‪output.lot, 6‬
‪output.lot, 6‬

I've run across a }' that doesn't seem to match anything. 我遇到了一个}',似乎与任何东西都不匹配。

For example, \def\a#1{...}' and \a}' would produce this error.
例如,\def\a#1{...}'和\a}'会产生这个错误。

If you simply proceed now, the \par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. 如果你现在继续,我刚刚插入的\par'将导致我报告一个可能是问题根源的运行时参数。

But if your }' was spurious, just type 2' and it will go away.
但如果你的}'是多余的,只需输入2',它就会消失。

Runaway argument?
运行时参数?

https://pubmed.ncbi.nlm.nih.gov/?term=\relax
https://pubmed.ncbi.nlm.nih.gov/?term=\relax

! Paragraph ended before \Hy@babelnormalise was complete.
在\Hy@babelnormalise完成之前,段落结束了。

‪to be read again‬
‪to be read again‬

\close@pdflink ...\Hy@VerboseLinkStop \pdfendlink
\close@pdflink ...\Hy@VerboseLinkStop \pdfendlink

‪main.tex, 6‬
‪main.tex, 6‬

pdfTeX error (ext1): \pdfendlink cannot be used in vertical mode.
pdfTeX错误(ext1):\pdfendlink不能在垂直模式下使用。

英文:

I had this error on overleaf that block the compiler.
It seems that I have an error with a hyperlink in the LaTeX code.
I try to remove all changes between my older versions, but nothing changed.

It's like if the code doesn't change anything to the error anymore

Argument of \Hy@babelnormalise has an extra }.

 
‪output.lot, 6‬
<inserted text> 
                \par 
l.6 ...nih.gov/?term=\relax }}{2}{table.caption.8}
                                                  %
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.

Runaway argument?
https://pubmed.ncbi.nlm.nih.gov/?term=\relax 
! Paragraph ended before \Hy@babelnormalise was complete.
<to be read again> 
                   \par 
l.6 ...nih.gov/?term=\relax }}{2}{table.caption.8}
                                                  %
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

pdfTeX error (ext1): \pdfendlink cannot be used in vertical mode.

 
‪main.tex, 6‬
\close@pdflink ...\Hy@VerboseLinkStop \pdfendlink 
                                                  
l.6 ...nih.gov/?term=\relax }}{2}{table.caption.8}
                                                  %

答案1

得分: 0

我临时删除了所有的\usepackage命令并重新编译文档,成功解决了错误。之后,我重新添加了\usepackage,一切都正常!

英文:

I was able to resolve the error by temporarily removing all the \usepackage commands and recompiling the document. After doing this, the error no longer appeared. I add again the \usepackage and everything went well!

huangapple
  • 本文由 发表于 2023年5月10日 17:20:25
  • 转载请务必保留本文链接:https://go.coder-hub.com/76216781.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定