Entfernen Sie die Metadaten eines von LaTeX generierten PDFs

Entfernen Sie die Metadaten eines von LaTeX generierten PDFs

Ich bin mir nicht sicher, wie relevant meine Frage für dieses Forum ist, aber ich stelle sie trotzdem :). Ich verwende LaTeX, um PDFs zu erstellen, die erwartungsgemäß „TeX“ als Quelle angeben. Ich muss diese PDF online hochladen, möchte aber vermeiden, Original-LaTeX-Dateien hochzuladen. Ich habe die Metadaten der PDF mit AdobePro, Option „PDF Optimizer“, entfernt. Aber irgendwie erkennt die Site die PDF immer noch als TeX-generierte Datei. Weiß jemand, wie man die PDFs vollständig bereinigt?

Antwort1

All dies können Sie mit dem Paket tun hyperref. Fügen Sie diese Zeilen zu Ihrer Präambel hinzu und ändern Sie den Inhalt wie folgt pdfproducer={},:

\usepackage{hyperref}
%
\hypersetup{
    bookmarks=true,         % show bookmarks bar?
    unicode=false,          % non-Latin characters in Acrobat’s bookmarks
    pdftoolbar=true,        % show Acrobat’s toolbar?
    pdfmenubar=true,        % show Acrobat’s menu?
    pdffitwindow=false,     % window fit to page when opened
%    pdfstartview={FitW},    % fits the width of the page to the window
    pdftitle={Certificate},    % title
    pdfauthor={Dr. Harish Kumar},     % author
    pdfsubject={TEQIP certificates},   % subject of the document
    pdfcreator={Dr. Harish Kumar},   % creator of the document
    pdfproducer={},  % producer of the document
    pdfkeywords={Certificates,} {TEQIP} {Participation}, % list of keywords
    pdfnewwindow=true,      % links in new window
    colorlinks=false,       % false: boxed links; true: colored links
    linkcolor=red,          % color of internal links
    citecolor=green,        % color of links to bibliography
    filecolor=magenta,      % color of file links
    urlcolor=cyan           % color of external links
}

MWE:

\documentclass{article}
\usepackage{hyperref}
%
\hypersetup{
    bookmarks=true,         % show bookmarks bar?
    unicode=false,          % non-Latin characters in Acrobat’s bookmarks
    pdftoolbar=true,        % show Acrobat’s toolbar?
    pdfmenubar=true,        % show Acrobat’s menu?
    pdffitwindow=false,     % window fit to page when opened
%    pdfstartview={FitW},    % fits the width of the page to the window
    pdftitle={Certificate},    % title
    pdfauthor={Dr. Harish Kumar},     % author
    pdfsubject={TEQIP certificates},   % subject of the document
    pdfcreator={Dr. Harish Kumar},   % creator of the document
    pdfproducer={},  % producer of the document
    pdfkeywords={Certificates,} {TEQIP} {Participation}, % list of keywords
    pdfnewwindow=true,      % links in new window
    colorlinks=false,       % false: boxed links; true: colored links
    linkcolor=red,          % color of internal links
    citecolor=green,        % color of links to bibliography
    filecolor=magenta,      % color of file links
    urlcolor=cyan           % color of external links
}
\usepackage{blindtext}
\begin{document}
  \Blinddocument
\end{document}

Bildbeschreibung hier eingeben

PS: Alle anderen (wahrscheinlich irrelevanten) Elemente habe ich bewusst in belassen hypersetup. Näheres dazu finden Sie im hyperrefHandbuch.

Antwort2

MetaClean ist ein leistungsstarkes Tool zum Anzeigen, Entfernen und Bearbeiten von Metadaten von Microsoft Office- (Word, Excel, PowerPoint und Visio), OpenOffice- (Textverarbeitungsprogramme, Tabellenkalkulationen und Präsentationen) und PDF-Dokumenten (Version 1.0 und höher). Bereinigen Sie Hunderte Dokumente auf einmal.

http://adarsus.com/en/metaclean.html

Microsoft Windows-, Linux-, Unix- und Mac OS X-Plattformen

verwandte Informationen