LaTeX에서 생성된 PDF의 메타데이터 제거

LaTeX에서 생성된 PDF의 메타데이터 제거

내 질문이 이 포럼과 얼마나 관련이 있는지 잘 모르겠지만 어쨌든 물어보겠습니다 :). 나는 LaTeX를 사용하여 예상대로 "TeX"를 소스로 나타내는 pdf를 만듭니다. 이 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}

여기에 이미지 설명을 입력하세요

추신: 저는 의도적으로 다른 (아마도 관련이 없는) 항목을 모두 에 남겨두었습니다 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 플랫폼

관련 정보