eforms:为什么按钮前面有“nlc=,”?

eforms:为什么按钮前面有“nlc=,”?
\usepackage[unicode]{hyperref}
\usepackage[pdftex]{eforms}
\begin{document}
\begin{Form}
\pushButton[onclick={this.submitForm({cURL: "mailto:test <[email protected]>", }), this.exportAsText();},
            \CA{Send}\AC{Me}\RC{Reset}\A{/S/ResetForm}]{SendButton}{50bp}{15bp}
\end{Form}
\end{document}

nlc=,但是我得到的是按钮前面的字符。这是软件包的错误还是我的错误?

按钮

答案1

onclick是 hyperref 语法 ( \PushButton) 而不是 eforms ( \pushButton}.

\documentclass{article}
\usepackage[unicode]{hyperref}
\usepackage{eforms}
\begin{document}
\begin{Form}
\PushButton[onclick={this.submitForm({cURL: "mailto:test <[email protected]>", }), this.exportAsText();}]{Send}

\bigskip
\pushButton[\AA{\AAMouseDown{\JS{
             this.submitForm({cURL: "mailto:test <[email protected]>", }), this.exportAsText();}}}
             \CA{Send}\AC{Me}\RC{Reset}\A{/S/ResetForm}
             ]%
           {SendButton}{50bp}{15bp}
\end{Form}
\end{document}

相关内容