i noticed that i am not able to add metadata to my pdf.. any clues? Here is a minimal working example. The produced pdf has no author or title metadata. I am using miktex and texworks.

% !TeX program = xelatex

%Provides some compatiblity with latex and
%Loads the fixltx2e, metalogo, xunicode, fontspec packages
\usepackage{xgreek} %Set greek hypenation and support in general

\usepackage{graphicx} %Extends the \includegraphics command
\usepackage{amsmath}  %Improoved math support e.g scalable brackets
\usepackage{array}  %Extends the array command
\usepackage{tikz} %pgf-tikz pakcage


\setmathfont{XITS Math}


    Hello world

closed as too localized by Mico, yo', egreg, Marco Daniel, percusse Jul 18 '12 at 10:23

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    You should still load hyperref later on in the preamble. It is usually one of the last packages you load, if not the last one. – jon Jul 10 '12 at 0:55
  • @jon care to explain why? Don't get me wrong, i just want to learn. – msmechanized Jul 10 '12 at 8:44
  • 1
    @msmechanized load hyperref last because hyperref patches all sorts of things; for example, subfigure defines new sorts of caption, but doesn't make them hyperref-aware if that might be needed. (note, this doesn't answer your original question...) – wasteofspace Jul 10 '12 at 9:18
  • @msmechanized -- Sure; see here – jon Jul 10 '12 at 9:42

I forgot the draft directive in the document class. If i remove it, title and author are displayed correctly.

Not the answer you're looking for? Browse other questions tagged or ask your own question.