Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.98 KB | None | 0 0
  1. documentclass{article}
  2. usepackage{lipsum}% just for the example
  3. usepackage{hyperxmp}
  4. usepackage{hyperref}
  5.  
  6. % Set metadata once for reuse
  7. newcommandmytitle{Abstracts in XMP Metadata}%
  8. newcommandmyauthor{Jane Smith}%
  9. newcommandmyabstract{%
  10. hyperxmp makes it easy for an author to include xmp metadata in a
  11. pdf document produced by texorpdfstring{LaTeX}{LaTeX} seamlessly
  12. with hyperref and requires virtually no modifications to a document
  13. that already specifies document metadata through hyperref’s
  14. mechanisms.}
  15.  
  16. title{mytitle}
  17. author{myauthor}
  18. date{today}
  19.  
  20. hypersetup{%
  21. pdftitle={mytitle}, %
  22. pdfauthor={myauthor}, %
  23. pdfsubject={myabstract},
  24. }
  25.  
  26. begin{document}
  27. maketitle
  28.  
  29. begin{abstract}
  30. myabstract
  31. end{abstract}
  32.  
  33. lipsum[1]
  34.  
  35. end{document}
  36.  
  37. Title: Abstracts in XMP Metadata
  38. Subject: hyperxmp makes it easy for an author to include xmp metadata in a pdf document produced by LaTeX seamlessly with hyperref and requires virtually no modifications to a document that already specifies document metadata through hyperref's mechanisms.
  39. Keywords:
  40. Author: Jane Smith
  41. Creator: LaTeX with hyperref package
  42. Producer: pdfTeX-1.40.16
  43. [... etc....]
  44.  
  45. RequirePackage{xmpincl}
  46. includexmp{example}
  47. documentclass{article}
  48. usepackage{lipsum}
  49. % usepackage{hyperref}
  50.  
  51. begin{document}
  52.  
  53. begin{abstract}
  54. xmpincl makes it possible for an author to include xmp metadata in a
  55. pdf document produced by LaTeX.
  56. end{abstract}
  57.  
  58. lipsum[1]
  59.  
  60. end{document}
  61.  
  62. <x:xmpmeta xmlns:x='adobe:ns:meta/'>
  63. <rdf:RDF xmlns="http://web.resource.org/cc/"
  64. xmlns:dc="http://purl.org/dc/elements/1.1/"
  65. xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  66. <Work rdf:about="">
  67. <dc:title>xmpincl</dc:title>
  68. <dc:date>2005</dc:date>
  69. <dc:description>
  70. A LaTeX package to include XMP metadata in
  71. files generated through pdfLaTeX
  72. </dc:description>
  73. <dc:creator>
  74. <Agent><dc:title>Maarten Sneep</dc:title></Agent>
  75. </dc:creator>
  76. <dc:rights>
  77. <Agent><dc:title>Maarten Sneep</dc:title></Agent>
  78. </dc:rights>
  79. <dc:source
  80. rdf:resource="ftp://ftp.tex.ac.uk/tex&#45;archive/macros/latex/contrib/xmpincl.tar.gz"/>
  81. <license rdf:resource="http://creativecommons.org/licenses/GPL/2.0/" />
  82. </Work>
  83. <License rdf:about="http://creativecommons.org/licenses/GPL/2.0/">
  84. <permits rdf:resource="http://web.resource.org/cc/Reproduction" />
  85. <permits rdf:resource="http://web.resource.org/cc/Distribution" />
  86. <requires rdf:resource="http://web.resource.org/cc/Notice" />
  87. <permits rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
  88. <requires rdf:resource="http://web.resource.org/cc/ShareAlike" />
  89. <requires rdf:resource="http://web.resource.org/cc/SourceCode" />
  90. </License>
  91. </rdf:RDF>
  92. </x:xmpmeta>
  93.  
  94. Creator: TeX
  95. Producer: pdfTeX-1.40.16
  96. CreationDate: Sat Feb 6 22:49:51 2016
  97. [... etc....]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement