Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.73 KB | None | 0 0
  1. documentclass{article}
  2. pdfminorversion 4
  3. immediatepdfobj stream attr{/N 3} file{sRGBIEC1966-2.1.icm}
  4. pdfcatalog{%
  5. /OutputIntents [ <<
  6. /Type /OutputIntent
  7. /S/GTS_PDFA1
  8. /DestOutputProfile thepdflastobjspace 0 R
  9. /OutputConditionIdentifier (sRGB IEC61966-2.1)
  10. /Info(sRGB IEC61966-2.1)
  11. >> ]
  12. }
  13. usepackage{xcolor}
  14. usepackage{hyperxmp}
  15. usepackage[pdftex, pdfa]{hyperref}
  16. hypersetup{%
  17. pdfauthor = {a},
  18. pdfkeywords = {a, b, c},
  19. pdflang = {en},
  20. pdftitle = {a},
  21. pdfsubject = {a},
  22. pdfcaptionwriter = {a},
  23. pdfcontactaddress = {a},
  24. pdfcontactcity = {a},
  25. pdfcontactcountry = {a},
  26. pdfcontactemail = {a},
  27. pdfcopyright = {a},
  28. pdfmetalang = {en}
  29. }
  30. usepackage{amsmath}
  31. usepackage{lipsum}
  32. begin{document}
  33. tableofcontents
  34. section {A}
  35. {color{blue}Hello} World!
  36. [1+2=3]
  37.  
  38. section {B}
  39. lipsum
  40. (1+2=3)
  41. begin{align*}
  42. A &= B\
  43. &= C\
  44. &= E
  45. end{align*}
  46.  
  47. newpage
  48.  
  49. section {C}
  50. lipsum
  51. [1+2=3]
  52. end{document}
  53.  
  54. The file test.pdf is a valid PDF/A-1b file
  55.  
  56. documentclass{article}
  57. pdfminorversion 4
  58. immediatepdfobj stream attr{/N 4} file{ISOcoated_v2_eci.icc}
  59. pdfcatalog{%
  60. /OutputIntents [ <<
  61. /Type /OutputIntent
  62. /S/GTS_PDFA1
  63. /DestOutputProfile thepdflastobjspace 0 R
  64. /OutputConditionIdentifier (FOGRA39L)
  65. /Info(FOGRA39L)
  66. >> ]
  67. }
  68. usepackage[cmyk]{xcolor}
  69. usepackage{hyperxmp}
  70. usepackage[pdftex, pdfa]{hyperref}
  71. hypersetup{%
  72. pdfauthor = {a},
  73. pdfkeywords = {a, b, c},
  74. pdflang = {en},
  75. pdftitle = {a},
  76. pdfsubject = {a},
  77. pdfcaptionwriter = {a},
  78. pdfcontactaddress = {a},
  79. pdfcontactcity = {a},
  80. pdfcontactcountry = {a},
  81. pdfcontactemail = {a},
  82. pdfcopyright = {a},
  83. pdfmetalang = {en}
  84. }
  85. usepackage{amsmath}
  86. usepackage{lipsum}
  87. begin{document}
  88. tableofcontents
  89. section {A}
  90. {color{blue}Hello} World!
  91. [1+2=3]
  92.  
  93. section {B}
  94. lipsum
  95. (1+2=3)
  96. begin{align*}
  97. A &= B\
  98. &= C\
  99. &= E
  100. end{align*}
  101.  
  102. newpage
  103.  
  104. section {C}
  105. lipsum
  106. [1+2=3]
  107. end{document}
  108.  
  109. 5.2.3 : Forbidden field in an annotation definition, Annotation uses a Color pro
  110. file which isn't the same than the profile contained by the OutputIntent
  111.  
  112. A device-specific color space (Annotation C or IC) without an appropriate output intent is used.
  113. The document does not conform to the requested standard.
  114. The document contains device-specific color spaces.
  115.  
  116. documentclass{article}
  117. pdfminorversion 4
  118. pdfcompresslevel=0
  119. immediatepdfobj stream attr{/N 4} file{ISOcoated_v2_eci.icc}
  120. pdfcatalog{%
  121. /OutputIntents [ <<
  122. /Type /OutputIntent
  123. /S/GTS_PDFA1
  124. /DestOutputProfile thepdflastobjspace 0 R
  125. /OutputConditionIdentifier (FOGRA39L)
  126. /Info(FOGRA39L)
  127. >> ]
  128. }
  129. usepackage[cmyk]{xcolor}
  130. usepackage{hyperxmp}
  131. usepackage[pdftex, pdfa]{hyperref}
  132. hypersetup{%
  133. colorlinks = true,
  134. pdfauthor = {a},
  135. pdfkeywords = {a, b, c},
  136. pdflang = {en},
  137. pdftitle = {a},
  138. pdfsubject = {a},
  139. pdfcaptionwriter = {a},
  140. pdfcontactaddress = {a},
  141. pdfcontactcity = {a},
  142. pdfcontactcountry = {a},
  143. pdfcontactemail = {a},
  144. pdfcopyright = {a},
  145. pdfmetalang = {en},
  146. }
  147. usepackage{amsmath}
  148. usepackage{amsthm}
  149. usepackage{amsrefs}
  150. usepackage{lipsum}
  151. theoremstyle{plain}
  152. newtheorem{theorem}{Theorem}
  153. begin{document}
  154. tableofcontents
  155. section {A}
  156. {color{blue}Hello} World!
  157. begin{theorem}
  158. label{thm.1}
  159. begin{equation}
  160. 1=1label{eq.1}
  161. end{equation}
  162. end{theorem}
  163. begin{proof}
  164. By reflexivity of (=).
  165. end{proof}
  166. Theorem ref{thm.1} is about the equation eqref{eq.1}.
  167. See also cite{MR1727844}.
  168. begin{bibdiv}
  169. begin{biblist}
  170. bib{MR1727844}{book}{
  171. author={Bourbaki, Nicolas},
  172. title={Algebra I. Chapters 1--3},
  173. series={Elements of Mathematics (Berlin)},
  174. note={Translated from the French;
  175. Reprint of the 1989 English translation [ MR0979982 (90d:00002)]},
  176. publisher={Springer-Verlag, Berlin},
  177. date={1998},
  178. pages={xxiv+709},
  179. }
  180. end{biblist}
  181. end{bibdiv}
  182. end{document}
  183.  
  184. documentclass{article}
  185. pdfminorversion 4
  186. pdfcompresslevel=0
  187. immediatepdfobj stream attr{/N 4} file{coated_FOGRA39L_argl.icc}
  188. pdfcatalog{%
  189. /OutputIntents [ <<
  190. /Type /OutputIntent
  191. /S/GTS_PDFA1
  192. /DestOutputProfile thepdflastobjspace 0 R
  193. /OutputConditionIdentifier (Coated FOGRA39)
  194. /Info(FOGRA39L)
  195. >> ]
  196. }
  197. usepackage[cmyk]{xcolor}
  198. usepackage{hyperxmp}
  199. usepackage[pdftex, pdfa]{hyperref}
  200. hypersetup{%
  201. colorlinks = true,
  202. pdfauthor = {a},
  203. pdfkeywords = {a, b, c},
  204. pdflang = {en},
  205. pdftitle = {a},
  206. pdfsubject = {a},
  207. pdfcaptionwriter = {a},
  208. pdfcontactaddress = {a},
  209. pdfcontactcity = {a},
  210. pdfcontactcountry = {a},
  211. pdfcontactemail = {a},
  212. pdfcopyright = {a},
  213. pdfmetalang = {en},
  214. }
  215.  
  216. makeatletter
  217. % Dirty hack of hyperref to make rgb-like links annotated with C mark become annotated with K mark to work in PDF/A with CMYK
  218. % makeatletter - makeatother needed
  219. usepackage{etoolbox}
  220. patchcmd{hyper@linkfile}{/C[}{/K[}{}{}
  221. patchcmd{hyper@linkurl}{/C[}{/K[}{}{}
  222. patchcmd{find@pdflink}{/C[}{/K[}{}{}
  223. patchcmd{hyper@linkstart}{/C[}{/K[}{}{}
  224. makeatother
  225.  
  226. usepackage{amsmath}
  227. usepackage{amsthm}
  228. usepackage{amsrefs}
  229. usepackage{lipsum}
  230. theoremstyle{plain}
  231. newtheorem{theorem}{Theorem}
  232. begin{document}
  233. tableofcontents
  234. section {A}
  235. {color{blue}Hello} World!
  236. begin{theorem}
  237. label{thm.1}
  238. begin{equation}
  239. 1=1label{eq.1}
  240. end{equation}
  241. end{theorem}
  242. begin{proof}
  243. By reflexivity of (=).
  244. end{proof}
  245. Theorem ref{thm.1} is about the equation eqref{eq.1}.
  246. See also cite{MR1727844}.
  247. begin{bibdiv}
  248. begin{biblist}
  249. bib{MR1727844}{book}{
  250. author={Bourbaki, Nicolas},
  251. title={Algebra I. Chapters 1--3},
  252. series={Elements of Mathematics (Berlin)},
  253. note={Translated from the French;
  254. Reprint of the 1989 English translation [ MR0979982 (90d:00002)]},
  255. publisher={Springer-Verlag, Berlin},
  256. date={1998},
  257. pages={xxiv+709},
  258. }
  259. end{biblist}
  260. end{bibdiv}
  261. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement