I am generating a PDF file using pdflatex and need to include another PDF file. The reason is that I have a graphMl file which I exported from yEd graph editor to a PDF file, named sample.pdf. The TeX code to be compiled with pdflatex is given below. I need to include that file at the start of the document.
\documentclass[a4paper,leqno,twoside]{article}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage{multirow}
\begin{document}
[% FOREACH st IN Service %]
Name,Id:
[% st.Id %], [% st.Name %]
des:
[% st.Description %]
Customers:
[% FOREACH softservice IN st.Customers %]
[% FOREACH swid IN softservice.SW %]
[% swid.Service %]
[% FOREACH st IN Service %][% IF swid.Service == st.Id %]
([% st.Name %])
[% END %] [% END %][% END %][% END %]
Suppliers:
[% FOREACH shservice IN st.Suppliers %]
[% FOREACH sw IN shservice.SW %][% sw.Service %]
[% FOREACH st IN Service %][% IF sw.Service == st.Id %]([% st.Name %])
[% END %][% END %][% END %]
[% FOREACH hw IN shservice.HW %][% hw.Type %][% hw.Nr %][% END %]
[% END %]
\newpage
[% END %]
\end{document}