[XeTeX] XeTeX and Figures with Captions = No Document properties in Acrobat

joe tex joetex1 at gmail.com
Tue Nov 25 21:41:14 CET 2008


XeteX experts,

I am trying to compile a document using Xetex with 'figures' within MikTeX.
When I add a caption to my figure it removes the PDF document
properties.(Please check File->properties within Acrobat 8.0)
Please note the document properties stays fine if there is no caption.
Did anyone experience this?
Please Compile the following in Xetex and check whether its happening to you.


%-------------------------- cut here ----------------------------------------%
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass{article}
\special{pdf: docinfo <<
    /Author        (Joe Python)
    /Title        (My figure)
    /Keywords    (docinfo,xetex, figures)
    /Subject    (Unable to view PDF properties in Adobe acrobat when
using figure with CAPTION)
    >>}
%/Title        (Pdf document info within xetex using figures)
\usepackage{fontspec}
\usepackage{xunicode,xltxtra}

\begin{document}
\begin{figure}
% using \caption will clear document properties
\caption{My figure}
\end{figure}
\end{document}
%-------------------------- cut here
----------------------------------------%

--
- Joe


More information about the XeTeX mailing list