sharpening pencils…coloring inside the lines…fetching ice cream…untangling the wires…almost there, probably…

Skip to content
nish
  • Projects
  • Blogs
  • Resume
  • Guestbook
ProjectsBlogsResumeGuestbook
Theme
Sound

End of the page

Aaah, you hit the bottom.

Scrolled all the way down and still curious? Good. There's more lying around. Pick a sign and wander off.

you are hereGuestbooksign it!Blogsrants & fixesProjectsshipped chaos
nish

I build interfaces, bots, and questionable automation scripts, mostly so I don't have to repeat myself. TypeScript, React, and Next.js.

Building opinionated interfaces for the web.

Elsewhere

Pages

  • Projects
  • Blogs
  • Resume
  • Guestbook

Site

  • Branding
  • Privacy Policy
zz

© 2022–2026 Anish Shobith P S. All rights reserved.

lights off?lights on?

last listened to Milegi Milegi (From "Stree")

0
Blog
PreviousNext
0
Post header

Making My Resume Machine-Readable

Anish Shobith P S

Published March 7, 2026

15 min read

2010 reads

How I treated my resume like production software, tuning content, structure, metadata, and accessibility so that ATS systems, AI models, and other machines parse it correctly.

  • LaTeX
  • ATS Optimization
  • Machine Readability
  • PDF Metadata
  • Accessibility
  • Structured Data
  • Personal Branding
  • Resume Engineering
0

Disclaimer

On this page
The problemWhat PDF metadata is, and why it mattersChecking the current stateInstalling exiftoolReading the metadataThe fix, part 1: basic PDF metadata with hyperref and hyperxmpThe encoding trapThe pdforcid trapThe \pdfcatalog trapThe Docker setup, and why it mattersVerifying the XMP outputInspecting the raw XMP packetThe fix, part 2: embedded structured dataWhy two files?The attachfile2 dead endschema.jsonresume.jsonEmbedding the files with embedfileVerifying the attachmentsThe fix, part 3: short links that extract as the real onesAutomating everything with GitHub ActionsWhat the final PDF containsWas any of this worth it?Sources

Links from this post

4
0
Post engagement
0
Blog
PreviousNext

None of what I describe in this post will directly improve your chances of getting a job. ATS systems are notoriously inconsistent, most recruiters never look at PDF metadata, and no amount of embedded JSON is going to compensate for weak experience or a poorly written resume. This post is about treating your resume as a piece of software: building it with the care you'd give a production system, and understanding the infrastructure underneath a document most people treat as a Word file. I did it because I was curious, because I enjoy over-engineering things, and because if a machine is going to read my resume, I'd rather it read it correctly.

The problem

When I added a /resume page to my website and embedded the PDF in a viewer, I noticed something small and annoying: the title bar of the PDF viewer showed the word resume instead of my name or the document title.

It's a minor thing. Most people would ignore it. But I'm the kind of person who opens twelve browser tabs to understand why something works the way it does, so I started digging.

It turns out PDFs carry metadata (title, author, subject, keywords, creator, and more) embedded inside the file itself, completely separate from the visible content. This metadata is used by PDF viewers to display the document title, by search engines to index the content, by screen readers for accessibility, and by ATS (Applicant Tracking Systems) to parse and categorise resumes automatically.

My resume had almost none of it. I set out to fix that, then kept going much further than I meant to.

What PDF metadata is, and why it matters

A PDF file is not a flat document. It's a structured binary format that contains, among other things, a document information dictionary (the legacy metadata format) and an XMP stream (the modern standard)1. Both can carry structured information about the document: who created it, when, what it's about, what language it's in, who owns the rights to it, and more.

The XMP (Extensible Metadata Platform) standard was developed by Adobe1 and is now the format used by archival systems (PDF/A)2, enterprise document management platforms, and most modern ATS software. It's built on RDF/XML, so the metadata is machine-readable in a proper semantic sense: typed, namespaced, linked data rather than flat key-value pairs.

For a resume specifically, this matters in a few ways. Systems like Workday, Greenhouse, and Lever extract text from PDFs and try to identify sections, dates, job titles, and skills, and well-structured metadata helps them get it right. Google and other crawlers that index PDFs read XMP metadata to work out what a document is about. Screen readers use document metadata to describe a file to visually impaired users. And metadata like author, date, and license makes it clear who created the document and under what terms.

None of it will get you a job. It does mean that when a machine reads your resume, it reads it correctly.

Checking the current state

The first step was to actually see what metadata my resume had. I used exiftool3, a free, open-source command-line tool that reads and writes metadata in virtually any file format, including PDFs.

Installing exiftool

brew install exiftool

Reading the metadata

exiftool Anish_Shobith_P_S_Resume.pdf

Output:

ExifTool Version Number         : 13.51
File Name                       : Anish_Shobith_P_S_Resume.pdf
Directory                       : .
File Size                       : 185 kB
File Modification Date/Time     : 2025:12:31 03:28:46+05:30
File Access Date/Time           : 2026:02:24 03:14:13+05:30
File Creation Date/Time         : 2026:02:24 03:13:29+05:30
File Permissions                : -rw-rw-rw-
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.7
Linearized                      : No
Page Count                      : 1
Page Mode                       : UseOutlines
Producer                        : pdfTeX-1.40.28
Author                          :
Title                           :
Subject                         :
Creator                         : LaTeX with hyperref
Create Date                     : 2025:11:22 20:51:41Z
Modify Date                     : 2025:11:22 20:51:41Z
Trapped                         : False
PTEX Fullbanner                 : This is pdfTeX, Version 3.141592653-2.6-1.40.28 (TeX Live 2025) kpathsea version 6.4.1

Author, Title, and Subject are all empty. There's no XMP stream at all, just the bare legacy PDF dictionary. The producer identifies the tool (pdfTeX) but the creator says LaTeX with hyperref, which is the default when you use \usepackage{hyperref} without configuring it. No keywords, no language, no rights information, no contact details. Basically, the minimum a PDF can have while technically being a PDF.

To specifically check whether there's any XMP metadata:

exiftool -xmp:all Anish_Shobith_P_S_Resume.pdf

Empty output, so there is nothing to build on.

The fix, part 1: basic PDF metadata with hyperref and hyperxmp

My resume is written in LaTeX, so the right place to add metadata is in the LaTeX source itself. That way the metadata is generated automatically every time I compile, always reflecting the current state of the document.

The two packages that handle this are:

  • hyperref4: The standard LaTeX package for hyperlinks and PDF metadata. It writes to the legacy PDF information dictionary.
  • hyperxmp5: An extension that hooks into hyperref and writes a full XMP stream to the PDF. This is the package that makes the metadata actually useful to modern parsers.

The critical thing about hyperxmp is load order. It must be loaded immediately after hyperref, before any other package that might interact with hyperref's output routines:

\RequirePackage[hidelinks]{hyperref}
\RequirePackage{hyperxmp}   % immediately after; order matters

And the \hypersetup configuration block must live in main.tex, not in a .sty file. When it's inside a style file, it runs during package loading, before hyperxmp has registered its \AtBeginDocument hooks. The result is that hyperxmp loads fine, writes no errors, but produces an empty XMP stream. This is exactly what happened to me, and it took a lot of log-file grepping to diagnose.

Here's the full \hypersetup block in main.tex:

\hypersetup{
  pdftitle={Anish Shobith P S},
  pdfauthor={Anish Shobith P S},
  pdfauthortitle={Software Engineer},
  pdfsubject={Software Engineer and Open Source Developer Resume - TypeScript, React, Next.js, Node.js},
  pdfkeywords={
    JavaScript, TypeScript, Python, C++, Go,
    React, Next.js, Astro, Tailwind CSS, shadcn/ui,
    Node.js, Bun, REST, Server-Sent Events, Redis,
    PostgreSQL, Neon, Drizzle, Docker, CI/CD, Vite, Git,
    Software Engineer, SDE, Full Stack, Frontend, Backend,
    Developer Advocate, Open Source, DevRel,
    Mangaluru, India, Open to Work,
    n10nce, anishshobithps
  },
  pdfcreator={pdflatex + XCharter},
  pdfproducer={Anish Shobith P S},
  pdflang={en-US},
  pdfmetalang={en-US},
  pdfcontactaddress={Mangaluru - Karnataka - India},
  pdfcontactemail={anish.shobith19@gmail.com},
  pdfcontacturl={https://anishshobithps.com},
  pdfcopyright={Copyright 2024-\the\year\ Anish Shobith P S. Licensed under Apache-2.0.},
  pdflicenseurl={https://www.apache.org/licenses/LICENSE-2.0},
  pdfurl={https://anishshobithps.com},
  pdfpubtype={other},
}

A few things worth noting here:

  • pdfauthortitle embeds your job title as a discrete structured field, not just freeform text. This maps to photoshop:AuthorsPosition in the XMP stream, a field that Adobe and some HR systems read specifically for the creator's role.
  • pdfcontact* fields (email, URL, address) map to the IPTC Core CreatorContactInfo structure6 in the XMP output, giving parsers your contact details as typed, discrete fields rather than text buried in keywords.
  • pdfcopyright uses \the\year so the copyright range updates automatically at every compile. The 2024 at the start is hardcoded as the original publication year, and \the\year expands to the current compilation year.
  • pdfdate is intentionally omitted. I originally included pdfdate={\DTMtoday} to embed the compile date, but \DTMtoday from the datetime2 package expands at the wrong time inside \hypersetup and silently corrupts the entire options block, so hyperxmp writes nothing. Removing it entirely is the right call; hyperxmp automatically sets the date from the PDF creation timestamp anyway.

The encoding trap

One more pitfall: using -- or \textendash inside metadata string fields. These are LaTeX typographic commands that work fine in the document body, but inside \hypersetup string values they get passed raw to the PDF encoder, which interprets them as Windows CP1252 ligatures. The result is ΓÇô in the metadata instead of –.

The fix is to use a plain ASCII hyphen in every metadata string:

pdfsubject={Software Engineer and Open Source Developer Resume - TypeScript, React, Next.js, Node.js},
pdfcopyright={Copyright 2024-\the\year\ Anish Shobith P S. Licensed under Apache-2.0.},

Reserve -- and \textendash for the visible document body only.

The pdforcid trap

While adding fields, I also tried to include pdforcid=, a field for linking an ORCID identifier, useful for academic profiles. It seemed reasonable to add even as an empty placeholder.

It caused a fatal compile error:

! Package kvsetkeys Error: Undefined key `pdforcid'.
l.47 }
! Emergency stop.

The pdforcid key is only supported in newer versions of hyperxmp. The version shipped with TeX Live 2025 (v5.13) doesn't recognise it. Remove it. If you ever get an ORCID, you can add it back once you've verified your hyperxmp version supports it.

The \pdfcatalog trap

I also tried to manually embed a raw XMP stream using \pdfcatalog with inline XML, attempting to add Dublin Core, FOAF, vCard, PRISM, and Schema.org namespaces directly into the XMP packet. It caused a fatal compile error because pdflatex sees the angle brackets in the XML and tries to interpret them as LaTeX commands.

The correct approach is to let hyperxmp handle the XMP stream entirely. The \pdfcatalog block should only contain valid PDF primitive syntax: viewer preferences, language tags, mark info. No XML. The correct block is:

\pdfcatalog{
  /Lang (en-US)
  /ViewerPreferences <<
    /DisplayDocTitle true
    /FitWindow false
    /CenterWindow false
    /PrintScaling /None
  >>
  /MarkInfo << /Marked true >>
}

/DisplayDocTitle true is the important one here, because it's what makes PDF viewers show your name in the title bar instead of the filename7. That was the original problem that started this whole rabbit hole.

Note

Even this \pdfcatalog block needs to stay out of main.tex if you want the XMP stream to be written correctly. During debugging I discovered that placing \pdfcatalog between \hypersetup and \begin{document} also silently breaks the XMP output. Move it into formatting.sty or remove it entirely. hyperxmp handles MarkInfo automatically, and the DisplayDocTitle hint is cosmetic.

The Docker setup, and why it matters

I compile my resume inside a Docker container, for reproducibility. LaTeX installations are notoriously environment-dependent. A package installed on one machine might be a different version on another. Fonts render differently. Compilation fails silently because a package is missing. Using Docker means the resume always compiles identically, on any machine, in any environment, including CI.

The repository layout, for reference:

Dockerfile
release.yml
formatting.sty
main.tex
resume.json
schema.json
LICENSE
README.md

The base image I originally used was pandoc/latex:latest8, which ships a minimal frozen subset of TeX Live. The problem is that tlmgr install is effectively broken on this image: the TeX Live installation is frozen and network-restricted, so packages silently fail to install. You can see this by running:

docker run --rm --entrypoint tlmgr pandoc/latex:latest info enumitem

Output:

TeX Live 2025 is frozen
and will no longer be routinely updated.
...
installed:   No

The package shows as not installed, and there's nothing you can do about it from within that image. The fix is to switch the base image to texlive/texlive:latest, which is the official TeX Live Docker image with a fully functional tlmgr.

But that introduces another problem. texlive/texlive:latest ships TeX Live 2025, and by the time I was building this, the default tlmgr remote repository had already moved to 2026. Cross-release updates are not supported:

tlmgr: Local TeX Live (2025) is older than remote repository (2026).
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update

The fix is to pin the repository to the frozen 2025 archive:

RUN tlmgr option repository https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2025/tlnet-final

With that in place, tlmgr install worked against the frozen archive. That Dockerfile built the first version of this resume, and it isn't the one in the repo now. Later I rebuilt the image on TinyTeX9, a small TeX Live distribution, on top of debian:bookworm-slim, and the pin to the 2025 archive is gone.

The version skew came back anyway. The TinyTeX installer ships its own tlmgr, the rolling repository moves past it, and tlmgr install refuses to run. So the Dockerfile runs tlmgr update --self before it installs anything. I also download the installer to a file instead of piping it into a shell, so a failed download stops the build before anything runs. The image is amd64-only, pinned with a PLATFORM build argument. The full Dockerfile:

ARG PLATFORM=linux/amd64
FROM --platform=${PLATFORM} debian:bookworm-slim

ENV PATH="/root/.TinyTeX/bin/x86_64-linux:${PATH}"

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

RUN apt-get update && \
    apt-get install -y --no-install-recommends \
      wget xz-utils perl ca-certificates fontconfig gnupg && \
    rm -rf /var/lib/apt/lists/* && \
    wget -qO /tmp/install-tinytex.sh "https://yihui.org/tinytex/install-bin-unix.sh" && \
    sh /tmp/install-tinytex.sh && \
    rm /tmp/install-tinytex.sh && \
    tlmgr update --self && \
    tlmgr install \
      enumitem titlesec xcharter xcharter-math fontaxes mweights carlisle etoolbox \
      xstring geometry fancyhdr xkeyval microtype hyperxmp \
      datetime2 datetime2-english embedfile accsupp && \
    tlmgr path add

WORKDIR /data
ENTRYPOINT ["pdflatex"]

Here's why each package is included:

  • enumitem: fine-grained control over list spacing and indentation
  • titlesec: custom section heading formatting
  • xcharter + xcharter-math + fontaxes: the XCharter font family, an extension of Charter, which renders cleanly at small sizes and survives PDF text extraction better than many alternatives
  • mweights: support for multiple weights in a font family, added in the TinyTeX rebuild
  • carlisle: David Carlisle's bundle of small LaTeX packages, also added in the TinyTeX rebuild
  • etoolbox: LaTeX programming utilities used by several other packages
  • xstring: string manipulation, used for the \shorturl command that strips https:// from displayed URLs
  • geometry: page margin control
  • fancyhdr: header/footer control (used to suppress headers on a single-page document)
  • xkeyval: key-value option parsing, dependency of xcharter
  • microtype: micro-typographic refinements: character protrusion and font expansion, which improve text justification and make the document look less like it was typeset by a machine
  • hyperxmp: XMP metadata embedding, the core of all this
  • datetime2 + datetime2-english: proper ISO 8601 date formatting, used elsewhere in the document
  • embedfile: embeds arbitrary files as PDF attachments using the spec-compliant PDF name tree method
  • accsupp: attaches replacement text to a piece of the page, which the header links use (see part 3 below)

One important note on rebuild strategy: always use --no-cache when rebuilding after Dockerfile changes, and if the image still behaves oddly, remove it explicitly first:

docker rmi latex-builder
docker build --no-cache --platform=linux/amd64 --provenance=false -t latex-builder .docker

Without --no-cache, Docker may reuse cached layers that pre-date your changes, and you'll end up running the same broken image you were trying to replace.

The other two flags come from the amd64-only image. On an arm64 machine like Apple Silicon, --platform=linux/amd64 makes the build match the image. Leave out --provenance=false and Buildx wraps the result in a manifest list that the local image store won't load. docker build reports success, then docker run can't find the image and tries to pull it from a registry. The README in the repo has the same flags.

Verifying the XMP output

After compiling, the first check is whether the XMP stream exists and what it contains:

exiftool -xmp:all Anish_Shobith_P_S_Resume.pdf

If the output is empty, something went wrong. The most common causes are:

  1. \hypersetup is in a .sty file instead of main.tex
  2. pdfdate={\DTMtoday} is corrupting the options block
  3. hyperxmp is not loaded immediately after hyperref
  4. A \pdfcatalog block is sitting between \hypersetup and \begin{document}
  5. pdforcid or another unsupported key is causing a fatal error that prevents any output from being written

When it's working correctly, the output looks like this. This output and the raw packet below come from the first build. I changed the subject and keywords afterwards, so they're older than the \hypersetup block above:

Producer                        : Anish Shobith P S
Keywords                        : JavaScript, TypeScript, Python, C, C++, React,
                                  Next.js, Astro, Tailwind CSS, Three.js, Framer Motion,
                                  Node.js, Bun, Express.js, Hono, REST, GraphQL,
                                  PostgreSQL, MySQL, SQLite, MongoDB, Prisma, Drizzle,
                                  Git, Docker, Linux, Typst, LaTeX, Software Engineer,
                                  SDE, Full Stack, Frontend, Backend, Mangaluru, India,
                                  Open to Work, n10nce, anishshobithps
PDF Version                     : 1.7
Marked                          : True
Web Statement                   : https://www.apache.org/licenses/LICENSE-2.0
Format                          : application/pdf
Title (en-US)                   : Anish Shobith P S
Description (en-US)             : Software Engineer Resume - JavaScript, TypeScript, React, Next.js
Rights (en-US)                  : Copyright 2024-2026 Anish Shobith P S. Licensed under Apache-2.0.
Date                            : 2026:03:06 16:23:07Z
Type                            : Text
Creator                         : Anish Shobith P S
Subject                         : JavaScript, TypeScript, Python, C, C++, React ...
Source                          : Anish_Shobith_P_S_Resume.tex
Language                        : en-US
Authors Position                : Software Engineer
Create Date                     : 2026:03:06 16:23:07Z
Modify Date                     : 2026:03:06 16:23:07Z
Metadata Date                   : 2026:03:06 16:23:07Z
Creator Tool                    : pdflatex + XCharter
Document ID                     : uuid:8205fd18-26c9-4b6c-86c9-b1d13e4c4182
Instance ID                     : uuid:46cefdc9-b67a-482b-b62b-6200aeaeae4c
Creator Address                 : Mangaluru - Karnataka - India
Creator Work Email              : anish.shobith19@gmail.com
Creator Work URL                : https://anishshobithps.com
Compliance Profile              : Three
URL                             : https://anishshobithps.com
N Pages                         : 1

Inspecting the raw XMP packet

The exiftool summary is convenient but lossy, because it maps XMP fields to its own tag names and drops what it doesn't recognise. To see the actual raw XMP XML that's embedded in the PDF, dump it directly:

exiftool -xmp -b Anish_Shobith_P_S_Resume.pdf | xmllint --format -

The raw packet is proper RDF/XML and shows every namespace that hyperxmp wrote. Here's the actual output from my compiled PDF:

<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/">
  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
    <rdf:Description rdf:about=""
      xmlns:pdf="http://ns.adobe.com/pdf/1.3/"
      xmlns:xmpRights="http://ns.adobe.com/xap/1.0/rights/"
      xmlns:dc="http://purl.org/dc/elements/1.1/"
      xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
      xmlns:xmp="http://ns.adobe.com/xap/1.0/"
      xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
      xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/"
      xmlns:prism="http://prismstandard.org/namespaces/basic/3.0/"
      xmlns:xmpTPg="http://ns.adobe.com/xap/1.0/t/pg/"
      xmlns:pdfaExtension="http://www.aiim.org/pdfa/ns/extension/"
      xmlns:pdfaSchema="http://www.aiim.org/pdfa/ns/schema#"
      xmlns:pdfaProperty="http://www.aiim.org/pdfa/ns/property#">

      <!-- Adobe PDF basic fields -->
      <pdf:Producer>Anish Shobith P S</pdf:Producer>
      <pdf:Keywords>JavaScript, TypeScript, Python, C, C++, React ...</pdf:Keywords>
      <pdf:PDFVersion>1.7</pdf:PDFVersion>

      <!-- XMP Rights Management -->
      <xmpRights:Marked>True</xmpRights:Marked>
      <xmpRights:WebStatement>https://www.apache.org/licenses/LICENSE-2.0</xmpRights:WebStatement>

      <!-- Dublin Core -->
      <dc:format>application/pdf</dc:format>
      <dc:title>
        <rdf:Alt>
          <rdf:li xml:lang="en-US">Anish Shobith P S</rdf:li>
        </rdf:Alt>
      </dc:title>
      <dc:description>
        <rdf:Alt>
          <rdf:li xml:lang="en-US">Software Engineer Resume - JavaScript, TypeScript, React, Next.js</rdf:li>
        </rdf:Alt>
      </dc:description>
      <dc:rights>
        <rdf:Alt>
          <rdf:li xml:lang="en-US">Copyright 2024-2026 Anish Shobith P S. Licensed under Apache-2.0.</rdf:li>
        </rdf:Alt>
      </dc:rights>
      <dc:date>
        <rdf:Seq>
          <rdf:li>2026-03-06T16:30:31Z</rdf:li>
        </rdf:Seq>
      </dc:date>
      <dc:type><rdf:Bag><rdf:li>Text</rdf:li></rdf:Bag></dc:type>
      <dc:creator>
        <rdf:Seq>
          <rdf:li>Anish Shobith P S</rdf:li>
        </rdf:Seq>
      </dc:creator>
      <dc:subject>
        <rdf:Bag>
          <rdf:li>JavaScript</rdf:li>
          <rdf:li>TypeScript</rdf:li>
          <rdf:li>Python</rdf:li>
          <!-- ... all skills and keywords as individual typed items ... -->
          <rdf:li>n10nce</rdf:li>
          <rdf:li>anishshobithps</rdf:li>
        </rdf:Bag>
      </dc:subject>
      <dc:source>Anish_Shobith_P_S_Resume.tex</dc:source>
      <dc:language><rdf:Bag><rdf:li>en-US</rdf:li></rdf:Bag></dc:language>

      <!-- Photoshop namespace — used for AuthorsPosition (job title) -->
      <photoshop:AuthorsPosition>Software Engineer</photoshop:AuthorsPosition>

      <!-- XMP Basic — creation and modification timestamps -->
      <xmp:CreateDate>2026-03-06T16:30:31Z</xmp:CreateDate>
      <xmp:ModifyDate>2026-03-06T16:30:31Z</xmp:ModifyDate>
      <xmp:MetadataDate>2026-03-06T16:30:31Z</xmp:MetadataDate>
      <xmp:CreatorTool>pdflatex + XCharter</xmp:CreatorTool>

      <!-- XMP Media Management — document identity -->
      <xmpMM:DocumentID>uuid:8205fd18-26c9-4b6c-86c9-b1d13e4c4182</xmpMM:DocumentID>
      <xmpMM:InstanceID>uuid:b6754139-0546-4cef-b5fd-c90a8d7a3954</xmpMM:InstanceID>
      <xmpMM:VersionID>1</xmpMM:VersionID>
      <xmpMM:RenditionClass>default</xmpMM:RenditionClass>

      <!-- IPTC Core — contact information as structured fields -->
      <Iptc4xmpCore:CreatorContactInfo rdf:parseType="Resource">
        <Iptc4xmpCore:CiAdrExtadr>Mangaluru - Karnataka - India</Iptc4xmpCore:CiAdrExtadr>
        <Iptc4xmpCore:CiEmailWork>anish.shobith19@gmail.com</Iptc4xmpCore:CiEmailWork>
        <Iptc4xmpCore:CiUrlWork>https://anishshobithps.com</Iptc4xmpCore:CiUrlWork>
      </Iptc4xmpCore:CreatorContactInfo>

      <!-- PRISM — publishing metadata -->
      <prism:complianceProfile>three</prism:complianceProfile>
      <prism:aggregationType>other</prism:aggregationType>
      <prism:url>https://anishshobithps.com</prism:url>
      <prism:pageCount>1</prism:pageCount>

      <xmpTPg:NPages>1</xmpTPg:NPages>
    </rdf:Description>
  </rdf:RDF>
</x:xmpmeta>
<?xpacket end="w"?>

hyperxmp writes a proper RDF graph with multiple named namespaces rather than one flat list of key-value pairs. A few things worth pointing out:

  • Dublin Core (dc:)11 writes each keyword as a separate <rdf:li> node in a typed <rdf:Bag>, not a comma-separated string. This means a parser can enumerate skills without having to split on commas and guess at boundaries.
  • IPTC Core (Iptc4xmpCore:CreatorContactInfo) is the namespace that maps to the Creator Address, Creator Work Email, and Creator Work URL fields you see in exiftool's output. These are discrete typed fields, not freeform text.
  • photoshop:AuthorsPosition is how hyperxmp stores the pdfauthortitle value. It uses the Photoshop namespace not because this has anything to do with Photoshop, but because that namespace became the de facto standard for this field before a proper XMP extension was defined.
  • xmpMM:DocumentID stays constant across recompiles of the same document. xmpMM:InstanceID changes with each compile. This lets document management systems track versions of the same file over time.
  • xmpRights:WebStatement and dc:rights are where the license information lives. exiftool surfaces xmpRights:WebStatement as Web Statement and dc:rights as Rights (en-US) in its output, which is why exiftool -xmp-rights:all returns empty (it's looking for a namespace prefix that doesn't map cleanly) while the data is clearly there when you look at the raw XML.
  • The pdfaExtension:schemas block at the top of the full raw packet is a schema registry declaring every custom namespace used in the document, which PDF/A compliance validation requires.

To check specific metadata standards by namespace:

# Dublin Core fields
exiftool -xmp-dc:all Anish_Shobith_P_S_Resume.pdf

# All fields including unknown/custom tags
exiftool -a -u Anish_Shobith_P_S_Resume.pdf

# Check if XMP exists at all (returns count of matches)
docker run --rm -v "$(pwd):/data" -w /data --entrypoint bash \
  latex-builder -c "grep -c 'xmpmeta' Anish_Shobith_P_S_Resume.pdf"
# Should return 2 (opening and closing tag)

The fix, part 2: embedded structured data

XMP metadata is good, but it's still a flat set of key-value fields. It tells a parser your name, email, and keywords, but not which part of the document is your work history, which text is a job title, or what date range belongs to which role. For that, you need a different approach.

The solution is to embed structured data files directly inside the PDF as attachments. Two standards are worth using here, because different systems understand different things.

Why two files?

Different parsers speak different languages:

  • Schema.org12 is the vocabulary used by Google, semantic web crawlers, and increasingly by AI systems processing documents. It's typed, linked, and hierarchical.
  • JSON Resume13 is an open standard built for resumes. It's simpler and more opinionated, so anything built for the format knows the schema and can map fields directly without inference. I couldn't find an applicant tracking system that documents reading it, so treat the embedded copy as a bet, not a feature.

Embedding both covers the widest possible surface area.

The attachfile2 dead end

My first attempt was to use the attachfile214 LaTeX package. This package embeds files as PDF annotations, essentially clickable paperclip icons pinned to a position in the document. You can make them invisible with an empty text argument:

\textattachfile[
  mimetype=application/ld+json,
  description={Structured metadata}
]{schema.json}{}

This compiles without errors, but the attachment doesn't actually appear in the PDF in a way that standard parsers can find. When you run:

exiftool -b -EmbeddedFile Anish_Shobith_P_S_Resume.pdf > extracted.json

The output is empty. The file wasn't embedded in the PDF's EmbeddedFiles name tree. It was attached as an annotation object, which is a fundamentally different thing. Some PDF viewers will show it as a paperclip. Most parsers will ignore it entirely.

The correct package for proper spec-compliant embedding is embedfile15.

schema.json

{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Person",
      "@id": "https://anishshobithps.com",
      "name": "Anish Shobith P S",
      "alternateName": "n10nce",
      "jobTitle": "Software Engineer",
      "email": "anish.shobith19@gmail.com",
      "url": "https://anishshobithps.com",
      "sameAs": [
        "https://github.com/anishshobithps",
        "https://www.linkedin.com/in/anishshobithps",
        "https://x.com/n10nce"
      ],
      "address": {
        "@type": "PostalAddress",
        "addressLocality": "Mangaluru",
        "addressRegion": "Karnataka",
        "addressCountry": "IN"
      },
      "alumniOf": [
        {
          "@type": "CollegeOrUniversity",
          "name": "Manipal School of Information Sciences",
          "url": "https://www.manipal.edu/msis-manipal"
        },
        {
          "@type": "CollegeOrUniversity",
          "name": "St Joseph Engineering College",
          "url": "https://sjec.ac.in"
        }
      ],
      "hasOccupation": [
        {
          "@type": "Occupation",
          "name": "Open Source Developer",
          "alternateName": ["Open Source Maintainer", "Open Source Contributor", "Software Developer"],
          "occupationLocation": { "@type": "Place", "name": "Hybrid" },
          "startDate": "2023-01"
        },
        {
          "@type": "Occupation",
          "name": "Software Engineer Intern",
          "alternateName": ["SDE Intern", "Software Engineer Intern", "Developer Intern"],
          "hiringOrganization": {
            "@type": "Organization",
            "name": "Zenduty",
            "url": "https://www.zenduty.com",
            "parentOrganization": {
              "@type": "Organization",
              "name": "Xurrent",
              "url": "https://www.xurrent.com"
            }
          },
          "startDate": "2025-02",
          "endDate": "2025-11"
        }
      ],
      "copyrightYear": 2024,
      "dateCreated": "2024",
      "dateModified": "2026",
      "copyrightHolder": { "@type": "Person", "name": "Anish Shobith P S" },
      "license": "https://www.apache.org/licenses/LICENSE-2.0"
    },
    {
      "@type": "CreativeWork",
      "hasPart": [
        {
          "@type": "ItemList",
          "name": "Work Experience",
          "alternateName": ["Experience", "Employment History", "Professional Experience", "Career History"]
        },
        {
          "@type": "ItemList",
          "name": "Education",
          "alternateName": ["Academic Background", "Qualifications", "Academic History"]
        },
        {
          "@type": "ItemList",
          "name": "Technical Skills",
          "alternateName": ["Skills", "Core Competencies", "Technologies", "Tech Stack", "Expertise"]
        },
        {
          "@type": "ItemList",
          "name": "Projects",
          "alternateName": ["Personal Projects", "Portfolio", "Open Source Work", "Side Projects"]
        }
      ]
    }
  ]
}

The alternateName fields on each ItemList are the ATS compatibility layer. Different systems use different heading names to identify sections when extracting text from a PDF. A Schema.org-aware parser reading this attachment knows that "Experience", "Employment History", and "Career History" all refer to the same section.

One Schema.org gotcha worth knowing: copyrightYear must be a 4-digit integer, not a string16. Writing "2024 - Present" will fail structured data validation. Use dateCreated for the origin year and dateModified for the current year, and keep copyrightYear as a plain integer.

resume.json

{
  "$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
  "basics": {
    "name": "Anish Shobith P S",
    "label": "Software Engineer",
    "email": "anish.shobith19@gmail.com",
    "url": "https://anishshobithps.com",
    "summary": "Software engineer and open source developer building full-stack web applications and developer tools with TypeScript, React, Next.js, and Node.js.",
    "location": {
      "city": "Mangaluru",
      "region": "Karnataka",
      "countryCode": "IN"
    },
    "profiles": [
      { "network": "GitHub", "username": "anishshobithps", "url": "https://github.com/anishshobithps" },
      { "network": "LinkedIn", "username": "anishshobithps", "url": "https://www.linkedin.com/in/anishshobithps" },
      { "network": "X", "username": "n10nce", "url": "https://x.com/n10nce" }
    ]
  },
  "work": [
    {
      "name": "Independent",
      "position": "Open Source Developer",
      "url": "https://anishshobithps.com",
      "startDate": "2023-01",
      "location": "Hybrid"
    },
    {
      "name": "Zenduty (Xurrent)",
      "position": "Software Engineer Intern",
      "url": "https://www.zenduty.com",
      "startDate": "2025-02",
      "endDate": "2025-11",
      "location": "Bengaluru, Karnataka, India"
    }
  ],
  "education": [
    {
      "institution": "Manipal School of Information Sciences",
      "url": "https://www.manipal.edu/msis-manipal",
      "area": "Computer Science and Engineering (Cyber Security)",
      "studyType": "Master of Engineering",
      "startDate": "2026-07"
    },
    {
      "institution": "St Joseph Engineering College",
      "url": "https://sjec.ac.in",
      "area": "Computer Science and Engineering",
      "studyType": "Bachelor of Engineering",
      "startDate": "2020-12",
      "endDate": "2024-05"
    }
  ],
  "skills": [
    { "name": "Languages", "keywords": ["TypeScript", "JavaScript", "Python", "C++", "Go"] },
    { "name": "Frontend", "keywords": ["React", "Next.js", "Tailwind CSS", "shadcn/ui"] },
    { "name": "Backend", "keywords": ["Node.js", "REST", "Server-Sent Events"] },
    { "name": "Data and Tools", "keywords": ["PostgreSQL", "Drizzle", "Docker", "CI/CD", "Vite"] }
  ],
  "meta": {
    "canonical": "https://anishshobithps.com",
    "version": "v2.2.0",
    "lastModified": "2026-10-25"
  }
}

Embedding the files with embedfile

In main.tex, just before \end{document}:

\embedfile[
  mimetype=application/ld+json,
  desc={Schema.org structured data - Anish Shobith P S},
  afrelationship={/Supplement}
]{schema.json}

\embedfile[
  mimetype=application/json,
  desc={JSON Resume - Anish Shobith P S},
  afrelationship={/Supplement}
]{resume.json}

The afrelationship={/Supplement} tag marks these as supplementary files in the PDF spec: metadata companions to the main document rather than replacements or alternatives.

Verifying the attachments

exiftool -b -EmbeddedFile won't find these files because it looks for annotation-based attachments, not name tree attachments. Use pypdf17 instead:

import pypdf

r = pypdf.PdfReader('Anish_Shobith_P_S_Resume.pdf')
print(list(r.attachments.keys()))
# ['resume.json', 'schema.json']

To extract and read the full contents:

import pypdf

r = pypdf.PdfReader('Anish_Shobith_P_S_Resume.pdf')
for name, data_list in r.attachments.items():
    for data in data_list:
        print(f'--- {name} ---')
        print(data.decode('utf-8'))

Or run it directly in Docker without installing anything locally:

docker run --rm -v "$(pwd):/data" -w /data python:3.11-slim sh -c \
  "pip install pypdf -q && python3 -c \"
import pypdf
r = pypdf.PdfReader('Anish_Shobith_P_S_Resume.pdf')
print(list(r.attachments.keys()))
\""

The fix, part 3: short links that extract as the real ones

The header of my resume shows n10nce.dev/github and n10nce.dev/linkedin, short redirects on a domain I own. They look tidy on the page. A parser that extracts the text only sees those strings, and nothing in them says which site they lead to.

Later I gave each link a second piece of text, stored in the PDF as an /ActualText entry. Text extractors, copy and paste, and screen readers that honour it read the replacement and not what's printed. The accsupp package writes the entry, and I wrapped it in a macro in formatting.sty:

\newcommand{\atslink}[3]{%
  \href{#1}{\BeginAccSupp{method=pdfstringdef,ActualText={#3}}#2\EndAccSupp{}}%
}

The three arguments are the link target, the text printed on the page, and the text a parser should read:

\atslink{https://n10nce.dev/github}{n10nce.dev/github}{github.com/anishshobithps}
\atslink{https://n10nce.dev/linkedin}{n10nce.dev/linkedin}{linkedin.com/in/anishshobithps}

Clicking the link still goes through the redirect and the printed page looks the same. Only the extracted text changes, from the short URL to the canonical one. To see what a parser sees:

pdftotext Anish_Shobith_P_S_Resume.pdf - | grep -iE 'github|linkedin'

Automating everything with GitHub Actions

The last piece is making sure none of this requires manual maintenance. Every time I push a change to main that touches the sources (the .tex, .sty and .json files, the Dockerfile, or the workflow itself), a GitHub Actions workflow:

Builds the Docker image and pushes it to the GitHub Container Registry as latest and a short commit tag, with layer caching so it's fast when nothing changed

Patches the lastModified date in resume.json and dateModified in schema.json with today's date

Compiles the PDF with pdflatex, in two passes

Creates a GitHub Release18 with the compiled PDF attached. The release body is a download link with the file size, the compile date and the commit

The date patching step is what keeps the embedded JSON files current:

- name: Stamp metadata dates
  run: |
    sed -i "s/\"lastModified\": \".*\"/\"lastModified\": \"$(date -u +'%Y-%m-%d')\"/" resume.json
    sed -i "s/\"dateModified\": \".*\"/\"dateModified\": \"$(date -u +'%Y')\"/" schema.json

This runs before the pdflatex compile step, so the patched dates are baked into the embedded files in the final PDF. The schema.json and resume.json in the repository itself keep their placeholder dates. Only the compiled PDF gets the real one.

The copyright year in main.tex handles itself:

pdfcopyright={Copyright 2024-\the\year\ Anish Shobith P S. Licensed under Apache-2.0.},

\the\year is a pdflatex primitive that expands to the current year at compile time. No scripts needed.

What the final PDF contains

LayerWhat's embedded
XMP / Dublin CoreTitle, author, keywords as individual typed nodes, rights statement, language, format, create/modify/metadata dates
IPTC Core (Iptc4xmpCore:CreatorContactInfo)Email, URL, and address as discrete structured fields
XMP Rights (xmpRights:)License URL via WebStatement, rights ownership via dc:rights
XMP Media Management (xmpMM:)Document UUID (stable across versions), Instance UUID (unique per compile), version ID
Photoshop namespace (photoshop:AuthorsPosition)Job title as a discrete typed field
PRISMCompliance profile, aggregation type, canonical URL, page count
Schema.org JSON-LD (attachment)Typed person entity with occupation, education, projects, skills, and section name aliases for ATS matching
JSON Resume (attachment)Open standard structured data for resumes, with no applicant tracking system I know of documenting that it reads it
/ActualText on the header linksThe canonical GitHub and LinkedIn URLs, for text extraction

The document also compiles with \pdfgentounicode=1 and \input{glyphtounicode}, which ensures Unicode character mapping is embedded in the PDF. Text copied from the PDF, or extracted by a parser, then comes out as proper Unicode characters rather than glyph codes. It's a small thing, but it's the difference between an ATS reading "JavaScript" and reading a garbled sequence of glyph references.

Was any of this worth it?

Honestly, probably not in a practical sense. Most ATS systems parse the raw text of a PDF by extracting it with a library like pdftotext and running regex patterns or ML classifiers over it. They're not reading XMP streams. They're not extracting JSON-LD attachments. The metadata I spent a weekend embedding will go completely unread by most of the systems that will ever process this resume.

The payoff was elsewhere. I now understand exactly what a PDF is, what information it can carry, and how that information is structured. I understand why my resume wasn't showing a title in the PDF viewer. I understand the difference between annotation-based and name-tree-based PDF attachments, between the legacy PDF dictionary and an XMP stream, between pandoc/latex and texlive/texlive as base images and why one of them silently fails to install packages. I understand why \hypersetup has to live in main.tex and not in a .sty file, and what happens to your XMP stream when you put \DTMtoday in the wrong place.

I treated a document like a software system, with versioning, reproducible builds, structured data, and automated deployment, and doing it taught me far more than the result itself was worth.

If you want to look at the source, or use it as a starting point for your own resume, the whole repository is in the card at the top of this post and in the links below.

Sources

  1. Wikipedia, Extensible Metadata Platform. ↩ ↩2

  2. Wikipedia, PDF/A. ↩

  3. ExifTool by Phil Harvey. ↩ ↩2

  4. CTAN, hyperref. ↩

  5. CTAN, hyperxmp. ↩

  6. IPTC, IPTC Photo Metadata Standard. ↩

  7. W3C, WCAG 2.1 Technique PDF18. ↩

  8. Pandoc, pandoc/dockerfiles. ↩

  9. Yihui Xie, TinyTeX. ↩

  10. CTAN, accsupp. ↩

  11. Dublin Core Metadata Initiative, Dublin Core Metadata Element Set.

  12. Schema.org, Person.

  13. JSON Resume, The open resume standard.

  14. CTAN, attachfile2.

  15. CTAN, embedfile.

  16. Schema.org, copyrightYear.

  17. pypdf documentation, PdfReader.

  18. GitHub Docs, About releases.

Links from this post

That's the end. What did you think?

// 2 people have already said something.

10
↩
↩
↩
↩
↩
↩
↩
↩
.docker/Dockerfileanishshobithps/resume on main
  • GitHub file
  • TeX
  • 30
.github/workflows/release.ymlanishshobithps/resume on main
  • GitHub file
  • TeX
  • 30
anishshobithps/resume v38Resume v38 — 2026-10-24
  • GitHub release
  • 19d ago
Resume sourceThe LaTeX source, Dockerfile, embedded JSON files and the GitHub Actions workflow this post walks through.
  • anishshobithps/resume
  • TeX
  • 30
  • 6
  • v38
Resume sourceThe LaTeX source, Dockerfile, embedded JSON files and the GitHub Actions workflow this post walks through.
  • anishshobithps/resume
  • TeX
  • 30
  • 6
  • v38
Resume sourceanishshobithps/resume30
exiftoolA command-line application and Perl library for reading and writing EXIF, GPS, IPTC, XMP, makernotes and other meta information in image, audio and video files. For Windows, MacOS, and Unix systems.
  • exiftool.org
exiftoolexiftool.org
hyperxmp on CTAN
  • ctan.org
hyperxmp on CTANctan.org
JSON Resume schemaEvery section and field of resume.json, schema version 1.7.1, with examples and ways to validate.
  • JSON Resume
JSON Resume schemaJSON Resume

2 thoughts (and a vibe check)

What did you think?

One tap. No account needed.

Comments

2