소스 검색

documents/pdfa-paper: Added example for creating a PDF/A

Martin Thoma 10 년 전
부모
커밋
287768a0d6

+ 7 - 0
documents/pdfa-paper/Makefile

@@ -0,0 +1,7 @@
+DOKUMENT = pdfa-paper
+make:
+	pdflatex -shell-escape $(DOKUMENT).tex -interaction=batchmode -output-format=pdf
+	pdflatex -shell-escape $(DOKUMENT).tex -interaction=batchmode -output-format=pdf
+
+clean:
+	rm -rf  $(TARGET) *.class *.html *.log *.aux *.out *.thm *.idx *.toc *.ind *.ilg figures/torus.tex *.glg *.glo *.gls *.ist *.xdy *.fdb_latexmk *.bak *.blg *.bbl *.glsdefs *.acn *.acr *.alg *.nls *.nlo *.bak *.pyg *.lot *.lof *.xmpi *.xmpdata

+ 16 - 0
documents/pdfa-paper/README.md

@@ -0,0 +1,16 @@
+Minimal example for a PDF/A paper:
+
+http://www.pdf-tools.com/pdf/validate-pdfa-online.aspx
+
+```text
+Validating file "pdfa-paper.pdf" for conformance level pdfa-1b
+There is only one RDF resource allowed in XMP.
+dc:title :: Wrong value type. Expected type 'lang alt'.
+The schema description for namespace 'prism:' (http://prismstandard.org/namespaces/basic/2.0/) is missing.
+dc:publisher :: Wrong value type. Expected type 'bag'.
+The value of the key N is 4 but must be 3.
+The document does not conform to the requested standard.
+The document doesn't conform to the PDF reference (missing required entries, wrong value types, etc.).
+The document's meta data is either missing or inconsistent or corrupt.
+Done.
+```

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 21 - 0
documents/pdfa-paper/ch1-introduction.tex


+ 26 - 0
documents/pdfa-paper/figures/2d-parted-function.tex

@@ -0,0 +1,26 @@
+\begin{tikzpicture}
+    \begin{axis}[
+        legend pos=south west,
+        axis x line=middle,
+        axis y line=middle,
+        grid = major,
+        grid style={dashed, gray!30},
+        xmin=-1,        % start the diagram at this x-coordinate
+        xmax= 6,        % end   the diagram at this x-coordinate
+        ymin=-0.25,     % start the diagram at this y-coordinate
+        ymax= 2.25,     % end   the diagram at this y-coordinate
+        axis background/.style={fill=white},
+        xlabel=$x$,
+        ylabel=$y$,
+        tick align=outside,
+        minor tick num=-3,
+        enlargelimits=true,
+        tension=0.08]
+      \addplot[domain=0:1, red, thick,samples=20] {0.5*x*x};
+      \addplot[domain=1:2, green, thick,samples=20] {x-0.5};
+      \addplot[domain=2:3, blue, thick,samples=500] {-0.5*(x-2)*(x-2)+x-0.5};
+      \addplot[domain=3:5, purple, thick,samples=20] {5-x};
+      \addplot[domain=5:7, orange, thick,samples=3] {0};
+      \addplot[domain=-3:0, orange, thick,samples=3] {0};
+    \end{axis}
+\end{tikzpicture}

+ 55 - 0
documents/pdfa-paper/pdfa-paper.tex

@@ -0,0 +1,55 @@
+\documentclass[9pt,technote,a4paper]{IEEEtran}
+\usepackage{amssymb, amsmath} % needed for math
+
+\usepackage[a-1b]{pdfx}
+\usepackage{filecontents}
+\usepackage{xmpincl}
+
+\providecommand{\xmpProducer}{LaTeX2e}
+\providecommand{\xmpOrg}{An organization}
+
+\begin{filecontents*}{\jobname.xmpdata}
+\Keywords{recognition; pdf/a}
+\Title{A very interesting title}
+\Author{Martin Thoma}
+\Org{Institute for Anthropomatics and Robotics}
+\Doi{123456789}
+\end{filecontents*}
+
+\usepackage{xmpincl}
+
+\providecommand{\xmpPublisher}{Random}
+\providecommand{\xmpOrg}{An organization}
+
+\RequirePackage{ifpdf}
+\ifpdf \PassOptionsToPackage{pdfpagelabels}{hyperref} \fi
+\RequirePackage{hyperref}
+\usepackage[pdftex,final]{graphicx}
+
+\usepackage{pgfplots}
+\pgfplotsset{compat=newest}
+\usepackage{tikz}
+
+
+\title{A very interesting title}
+\author{Martin Thoma}
+
+\hypersetup{
+  pdfauthor   = {Martin Thoma},
+  pdfkeywords = {recognition; pdf/a},
+  pdftitle    = {A very interesting title},
+  pdflang={en},
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Begin document                                                    %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\begin{document}
+\maketitle
+\begin{abstract}
+adsfadsf adsfasdf
+\end{abstract}
+
+\input{ch1-introduction}
+
+\end{document}

BIN
documents/pdfa-paper/sRGBIEC1966-2.1.icm