LaTeX で生成された PDF のメタデータを削除する

LaTeX で生成された PDF のメタデータを削除する

私の質問がこのフォーラムにどの程度関連があるかわかりませんが、とにかく質問します :)。私は LaTeX を使用して PDF を作成していますが、予想どおり、ソースとして「TeX」が示されています。この PDF をオンラインでアップロードする必要がありますが、元の LaTeX ファイルをアップロードすることは避けたいと思っています。AdobePro の「PDF Optimizer」オプションを使用して PDF のメタデータを削除しました。しかし、どういうわけか、サイトは PDF を TeX で生成されたファイルとして検出し続けます。PDF を完全にクリーンにする方法を知っている人はいますか?

答え1

これらはすべてパッケージで実行できますhyperref。プリアンブルに次の行を追加し、内容を次のように変更します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}

ここに画像の説明を入力してください

PS: その他の (おそらく無関係な) 項目は意図的に に残しましたhypersetup。詳細については、hyperrefマニュアルを参照してください。

答え2

MetaClean は、Microsoft Office (Word、Excel、PowerPoint、Visio)、OpenOffice (ワード プロセッサ、スプレッドシート、プレゼンテーション)、PDF (バージョン 1.0 以上) ドキュメントのメタデータを表示、削除、編集するための強力なツールです。一度に数百のドキュメントをクリーンアップします。

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

Microsoft Windows、Linux、Unix、Mac OS X プラットフォーム

関連情報