[XeTeX] XeTeX and PDF Forms

Andreas Matthias amat at kabsi.at
Tue Feb 5 18:40:50 CET 2008


mike leonard wrote:

> I hope it's not poor etiquette to respond to my own post. I'm guessing
> that the lack of responses indicates that there's really no way to use
> XeTeX for creating fill-in forms. Can anyone confirm or deny this?

Hyperref does support forms:

\documentclass[a4paper]{article}
\usepackage{hyperref}
\begin{document}
\begin{Form}
foobar: \TextField[name=foobar]{}
\end{Form}
\end{document}

Have a look at <CTAN:info/pdf-forms-tutorial>. When running the
example files through XeTeX remember to delete the lines that
load inputenc and fontenc and the pdftex specific options of
hyperref.

I might be helpful to run xdvipdfmx individually when experimenting
with forms to see all warnings of xdvipdfmx. That is:

# xelatex --no-pdf file
# xdvipdfmx file.xdv


Ciao
Andreas



More information about the XeTeX mailing list