I have a .tex file and after compiling with XeLatex , when I want to extract pages of the PDF or open a single-page PDF in Illustrator, it tells the file is Password-Protected (in Adobe Acrobat, no extraction is allowed :tools>content editing>pages>extract) Does any body have idea about this? As an example, consider the pdf created of the following code:

    \settextfont{Yas} %or {Scheherazade}
    \setlatintextfont{Times New Roman}
f=(f_1^{- 2}+f_2^{- 2})^{- \frac{1}{2} }

the pdf and log file creaded of the code can be downloaded here: https://ufile.io/9rc3w and a screenshot of the Properties>Security Tab is appended. enter image description here

  • 2
    Welcome to TeX.se, and thanks for posting a minimal document. Does this depend on the font? I don't have the Yas font, but changing it to Scheherazade I can't reproduce the problem with Adobe Acrobat Pro (no Illustrator to test with.) – Alan Munn Jan 31 '19 at 19:12
  • Glad to hear that and appreciate your help, the problem is independent of the font and still resist although I've changed it to Scheherazade. Something is wrong with the xepersian package – Alireza Farhadi K. Jan 31 '19 at 20:44
  • Can you add \listfiles before \documentclass and edit your question to show the output? Also is there anything in the log file that might indicate some security measures being made? – Alan Munn Jan 31 '19 at 22:02
  • Can you show a screenshot of the file properties, tab security from adobe? – Ulrike Fischer Jan 31 '19 at 22:04
  • 2
    Hm. Well bidi.sty contains code to change the security settings. But I'm quite at loss to understand why they are used on your system and why you get the specific security settings (the default value is another). What happens if you load only bidi? What happens if you add \pdfencryptsetup{permissionflags=4095} to your preamble. Are the settings then changed? – Ulrike Fischer Feb 1 '19 at 9:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.