My question may not be far away from this one here: pdfx problem with embedding the pigpen font (?) but I didn't really find an answer to mine so here it comes:
I want to produce a PDF/A compliant pdf-file out of my thesis using LaTeX for the sake of publishing. It seems that LaTeX has problems with the pdfx-package and double tildes. Here is my MWE:
\documentclass{article}
\usepackage{amsmath,amssymb}
\usepackage[a-1b]{pdfx}
\begin{document}
Here is a math symbol with double tilde: $\tilde{\tilde{h}}$.
\end{document}
When I compile this with pdfLaTeX, I get the error message
! Undefined control sequence.
\macc@adjust ->\dimen@ \macc@kerna
\advance \dimen@ \macc@kernb \kern -\dimen@
l.9 ...ymbol with double tilde: $\tilde{\tilde{h}}
$.
Note that I have to use the double \tilde's here since for publishing, the printed version must be identical to the pdf-version.
Now I tried to solve the problem by replacing \tilde by \widetilde and it worked, but I would feel much more comfortable if I have a solution that also works with \tilde. Can somebody help?
Thanks,
Martin
** pdfx: No file (filename).xmpdata . Metadata will be incomplete! ! No color profile found to use for RGB screen colors.. \reserved@a ...ound to use for RGB screen colors.}
. I'm not sure if the color thing has something to do with the missing.xmpdata
file or not, or if it is a problem with my setup or not, but could you verify that your example indeed produces your error?accents
package, and there I don't get any error, and the double tilde looks fine on the pdf. Not sure if it is actually compliant though (my pdf viewer reports the format asPDF/A - 1b
but that may not be accurate).