Debian Codegraph @

texmf-dist/doc/latex/pdfx/sample.tex

raw
1 %\pdfcompresslevel=0
2 %\pdfobjcompresslevel=0
3 %\providecommand{\pdfxopt}{x-1a,allxmp,mathxmp}
4 \providecommand{\pdfxopt}{a-1b,allxmp,mathxmp}
5 %\providecommand{\pdfxopt}{e-1,allxmp,mathxmp}
6 %\providecommand{\pdfxopt}{a-1b,ua-1,allxmp,mathxmp}
7 % XMP Metadata first
8 \begin{filecontents*}{\jobname.xmpdata}
9 \Title{Unicode: U₄(ℤ[1/√2, i]). —
10 ASCII: !"'()*+,-./:;<=>?@[]`|#$&~^_.
11 Four escaped symbols: \% \backslash\ \{ \}.
12 }
13 \Author[de-AT]{Gödel\sep[fr]Escher\sep[de]
14 ÅąŅƅDžȅɅ
15 Dž
16 Bach\sep[en-US]
17 U₄(ℤ[1/√2, i]), !"'()*+,-./:;<=>?@[]`|#$&~^_, \% \backslash\ \{ \}}
18 \Subject{This is the abstract. It's about ℤ[1/√2, i] and other rings. \mathbf{A\,+\,B \;=\; C*D/\alpha_{i}^{34}\beta}}
19 \Keywords{the group U₄\sep and other stuff\sep Some
20 symbols: & # < > \copyright\ 2014\sp{20125621} }
21 \Language{en-GB\sep en-US}
22 \Copyright{Copyright \copyright\ 2014 \textLF The artist <currently> known as Ƭ̵̬}
23 \CopyrightURL{http://www.mathstat.dal.ca/~selinger/copyright.html}
24 \Creator{LaTeX + pdfx.sty with \pdfxopt\space option}
25 \Source{\jobname.tex}
26 \Coverage{PDF standards: PDF/A and PDF/X}
27 \Relation{PDF/A\sep PDF/X\sep PDF/UA\sep PDF 2.0}
28 \Contributor{\TeX\space Users Group}
29 \PublicationType[en-US]{pamphlet}
30 \Date{2018-12-25}
31 \Date{2019-01-01}
32 \Date{2019-04-07}
33 \Date{2019-11-08}
34 \Date{2019-12-21}
35 \Journaltitle{abc \textLF \S \ddag \dots ÀÁÂÃÄ
36 %ÅąŅƅDžȅɅ % A0 = 10100000
37 ÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÛÜÝß
38 %Ņ
39 %àĠŠƠǠȠ † % 85 = 10001010
40 %⅀⅁⅒⅕⅘
41 % ⠱ ⠲ ⠵ ⠷
42 áâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ\P }
43 % \dag \ddag \dots \S \P }
44 % \textLF \(\mathbf{A}+\mathcal{B} = \mathfrak{C}*\mathsf{D}/\vec{\mathsfbf{E}}\widetilde{ab}\)}
45 \end{filecontents*}
46 %
47 \documentclass{article}
48 %\usepackage[utf8]{inputenc}
49 %\usepackage[OT1,T1]{fontenc}
50 \usepackage{amssymb}
51 \usepackage{sansmath}
52 \usepackage[\pdfxopt]{pdfx}
53 %\usepackage[LY1]{fontenc}
54 \usepackage[OT1,T1]{fontenc}
55 \usepackage{textcomp,ptmxcomp,tipa,extraipa}
56
57 \listfiles
58 \tracingstats=2
59 \begin{document}
60 \noindent
61 In this example, only the metadata matters;
62 apart from checking accents: {\`a \'e \"u}
63 and whether other characters still work consistently:
64
65 \dag \ddag \dots \S \P \$
66 $\bullet\dots \dag\ddag $
67
68 \end{document}
69
70
71 Memory usage before: 692&171340; after: 203&171195; still untouched: 4812814
72
73 mathxmp
74 Memory usage before: 692&183143; after: 203&182998; still untouched: 4800985
75
76 allxmp
77 Memory usage before: 692&189509; after: 203&189364; still untouched: 4794613