Λογότυπο Accessible Pdf

Accessible Pdf

Κοινότητα
yy
accessible-pdf

Make a LaTeX document produce accessible tagged PDFs (PDF/UA-1, PDF/A-2b). Creates a non-destructive copy and Makefile target. Use when the user needs accessible or tagged PDFs.

Επισκόπηση

Εκδότηςyy
Αποθετήριοscholar-kit
Όνομα δεξιότηταςaccessible-pdf
Αστέρια
39
Forks
4
Συνοδευτικά αρχεία
Μόνο οδηγίες
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Αυτοτελής

    Όλα όσα χρειάζεται το μοντέλο περιλαμβάνονται στις οδηγίες — χωρίς επιπλέον αρχεία για συγχρονισμό.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε από yy στο GitHub. Διαβάστε το πηγαίο περιεχόμενο πριν εγκαταστήσετε τη δεξιότητα.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Accessible Pdf στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/yy/scholar-kit/tree/main/skills/accessible-pdf
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Νέα δεξιότητα → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που διαβάζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/yy/scholar-kit.git /tmp/scholar-kit
mkdir -p .claude/skills
cp -r /tmp/scholar-kit/skills/accessible-pdf .claude/skills/accessible-pdf
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Accessible Pdf σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Accessible Pdf μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Accessible Pdf δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλα κατά τη συνομιλία

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

accessible-pdf — Accessible PDF from LaTeX

Transform a LaTeX document to produce tagged, screen-reader-friendly PDFs compliant with PDF/UA-1 and PDF/A-2b. Applies preamble changes and switches the build to LuaLaTeX. The user chooses whether to edit the original file in place or create a -accessible copy with a separate Makefile target.

Reference: https://yyahn.com/wiki/Accessible-PDF-from-LaTeX/

When to Use

  • "make my PDF accessible", "tagged PDF", "PDF/UA", "screen reader"
  • ADA/accessibility compliance for any LaTeX document (CV, syllabus, report, paper)

Prerequisites

  • TeX Live 2025+ (the \DocumentMetadata tagging framework is recent)
  • LuaLaTeX and latexmk (both ship with TeX Live)
  • pdfinfo from poppler (for verification): brew install poppler on macOS
  • make (optional) — used for the Makefile target; latexmk can be run directly instead

Windows users: make is not standard on Windows — run latexmk -lualatex <basename> directly instead of using the Makefile. Install poppler via choco install poppler or scoop install poppler.

Check early: run lualatex --version and pdfinfo -v. If either is missing, tell the user what to install and stop.

Workflow

Phase 1: Find, analyze, and plan

1. Find the document

Use the user-provided path. If none given, glob for **/*.tex files containing \begin{document}. If multiple matches, ask the user to pick. No assumptions about directory structure — this could be a CV, syllabus, report, or paper.

2. Read the preamble

Read everything before \begin{document}. Identify:

  • \documentclass line and options
  • All \usepackage lines
  • Whether \DocumentMetadata already exists
  • Whether hyperref / \hypersetup already exists
  • Font-related packages: inputenc, fontenc, fontspec, mathpazo, mathptmx, newtxtext, newtxmath, helvet, courier, libertine, libertinus, lmodern, inconsolata, etc.
  • Symbol packages: marvosym, pifont, wasysym, etc.
  • \title{...} and \author{...} content (needed for hypersetup metadata)
  • Language settings from babel or polyglossia

If the document already has \DocumentMetadata and uses fontspec, it may already be configured for accessibility. Note this in the questions below.

3. Ask the user

Present all decisions as a single numbered list so the user can answer in one message:

  1. Edit in place or create a copy? Edit the original .tex file, or create <basename>-accessible.tex alongside it? (Multi-file projects: only the main file changes either way.)
  2. Makefile? Add a Makefile target, or just run latexmk directly? (If a Makefile already exists, note this.)
  3. Platform? macOS, Linux, or Windows? (Affects install instructions for poppler and whether make is available.)
  4. Build and verify now? Build the PDF and check tagging after applying changes, or stop after editing?

Use the answers to tailor Phases 2–4 below.

Phase 2: Apply transformations

4. Apply transformations

Apply these 5 ordered changes to the target file (either the original or the -accessible copy):

a) Add \DocumentMetadata block

Insert before the \documentclass line:

latex
\DocumentMetadata{
  lang = en,
  pdfstandard = a-2b,
  pdfstandard = ua-1,
  pdfversion = 2.0,
  testphase = {phase-II},
}

If the document uses babel or polyglossia with a non-English language, use the appropriate language code instead of en.

b) Replace Type1 font packages with OpenType equivalents

Add \usepackage{fontspec} after \documentclass (if not already present). Then apply these replacements:

RemoveReplace with
\usepackage[utf8]{inputenc} (any options)Remove entirely — LuaLaTeX handles UTF-8 natively
\usepackage[T1]{fontenc} (any options)Remove entirely — fontspec handles encoding
\usepackage{mathpazo} or \usepackage[sc]{mathpazo}\setmainfont{TeX Gyre Pagella}
\usepackage{mathptmx}\setmainfont{TeX Gyre Termes}
\usepackage{newtxtext}\setmainfont{TeX Gyre Termes}
\usepackage{helvet} (any options)\setsansfont{TeX Gyre Heros}
\usepackage{courier}\setmonofont{TeX Gyre Cursor}
\usepackage{lmodern}Remove entirely — Latin Modern is the LuaLaTeX default
\usepackage{inconsolata}\setmonofont{Inconsolatazi4-Regular.otf}[BoldFont=Inconsolatazi4-Bold.otf]
\usepackage{libertine} or \usepackage{libertinus}\setmainfont{Libertinus Serif}

Math font packages (newtxmath, eulervm, mathpazo with math features): flag these for the user to review rather than silently replacing. Math font compatibility with LuaLaTeX can be tricky. Add a % TODO: review math font compatibility comment.

For any font package not in the table above, add a % TODO: find OpenType equivalent for <package> comment and warn the user.

c) Add/update hyperref accessibility metadata

If hyperref is not loaded, add \usepackage{hyperref}.

Add or merge into the existing \hypersetup:

latex
\hypersetup{
  pdftitle={<from \title{}>},
  pdfauthor={<from \author{}>},
  pdflang={en},
  pdfdisplaydoctitle=true,
}

Preserve any existing \hypersetup keys (like colorlinks, linkcolor, etc.) — only add the accessibility-specific keys that are missing. pdfdisplaydoctitle=true is required for PDF/UA.

d) Replace symbol font packages

RemoveAddCommand mappings
\usepackage{marvosym}\usepackage{fontawesome5}\Letter -> \faEnvelope, \Mundus -> \faGlobe, \Telefon -> \faPhone

Search the document body (not just the preamble) for uses of replaced commands and apply the mappings. For commands with no known mapping, leave the original with a % TODO: replace with accessible equivalent comment.

pifont and wasysym: keep them but flag for review if heavily used — some of their symbols may lack Unicode mappings.

5. Show the user a summary

List all changes made, organized by category (metadata, fonts, hyperref, symbols). Highlight any % TODO: items that need manual attention.

Phase 3: Makefile target (if requested)

Skip this phase if the user declined a Makefile.

6. Add build target

Copy mode — append or create a target:

makefile
# Accessible PDF (PDF/UA-1, PDF/A-2b) — built with LuaLaTeX
<basename>-accessible.pdf: <basename>-accessible.tex
	latexmk -lualatex <basename>-accessible

In-place mode — if a Makefile exists with a pdflatex target, update it to use latexmk -lualatex. Otherwise, append or create:

makefile
# Build with LuaLaTeX for accessible tagged PDF
<basename>.pdf: <basename>.tex
	latexmk -lualatex <basename>

Phase 4: Build and verify (if requested)

Skip this phase if the user declined building now.

7. Build

Run the appropriate command:

  • Makefile: make <basename>-accessible.pdf (copy) or make <basename>.pdf (in-place)
  • No Makefile: latexmk -lualatex <basename>-accessible (copy) or latexmk -lualatex <basename> (in-place)

If the build fails, diagnose:

  • Missing fonts: suggest tlmgr install <font-package>
  • Package conflicts with testphase: suggest downgrading to phase-I
  • unicode-math conflicts: common with certain math packages — flag for user
8. Quick sanity check (pdfinfo)

Run pdfinfo <output>.pdf and check:

  • Tagged: should be yes. If no, the \DocumentMetadata setup needs debugging.
  • Title: should match the document title. If missing, \hypersetup wasn't applied correctly.
  • Author: should be present.

This is a basic sanity check only — it confirms the PDF has tags and metadata but says nothing about whether the tags are correct or the reading order makes sense.

9. Present summary

Report:

  • File locations and build command
  • pdfinfo results (tagged, title, author)
  • Any % TODO: items remaining
  • Tell the user they must validate manually. This skill applies the right LaTeX changes, but real accessibility verification requires external tools:
    • PDFix Validate (https://pdfix.net/products/pdfix-validate/) — web-based PDF/UA validator; upload the PDF and review the report. This is the recommended first check.
    • PAC (PDF Accessibility Checker) — desktop tool, considered the gold standard for PDF/UA validation (Windows only).
    • macOS VoiceOver (Cmd+F5 in Preview) — test actual screen reader navigation.
    • axesCheck — another web-based checker, though it may flag issues that PDFix does not and vice versa.

Rules

  • Flag uncertain font mappings with % TODO: rather than guessing
  • Use testphase = {phase-II} as default — phase-III is more complete but conflicts with more packages
  • If the document already appears configured for accessibility, confirm with the user before proceeding

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Accessible Pdf;

Make a LaTeX document produce accessible tagged PDFs (PDF/UA-1, PDF/A-2b). Creates a non-destructive copy and Makefile target. Use when the user needs accessible or tagged PDFs.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Accessible Pdf στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Accessible Pdf είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη Accessible Pdf στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε το https://github.com/yy/scholar-kit/tree/main/skills/accessible-pdf. Το TypingMind διαβάζει το αρχείο SKILL.md και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Accessible Pdf;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη Accessible Pdf;

Με όσα θέλετε. Εφόσον ένα μοντέλο υποστηρίζει δεξιότητες, μπορείτε να χρησιμοποιήσετε τη Accessible Pdf με αυτό — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama και άλλα — όλα στο TypingMind με τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Accessible Pdf;

Ναι. Δημοσιεύεται στο GitHub από τον χρήστη yy με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇