Preview "breaks" my pdf files

I am working on a remote directory, mounted with sshfs. I create pdf files in this directory with pdflatex.
Whenever I open a pdf file (made with pdflatex) using preview, it creates a dot-underscore file that is apparently "broken:"
If I close preview, then try to reopen the file again, preview says "file.pdf is damaged and can't be opened. You should move it to the trash".
However, if I delete the dot-underscore file, I can open the file fine with preview (although it will again create a "broken" dot-underscore file).
I should note that the pdf files I create can be read just fine by all types of viewers - they are for a class I teach and students read them with all sorts of devices and operating systems.
Thanks for any advice.

You can delete the attributes in the Terminal with:
xattr -d com.apple.quarantine filename
Or from a whole directory with:
xattr -dr com.apple.quarantine diretoryName
I'm not sure why Preview is adding these to existing files. There are loads of pages about how Apple's quarantine system works, though.

Similar Messages

  • Flash preview failing on PDF file

    I have what appears to be a perfectly valid PDF file for
    which Share seems unable generate a Flash preview.
    The PDF file was created with a fairly old version of Acrobat
    (PDFWriter 2.0 for Macintosh), but displays without error with
    Acrobat 8 on Windows XP. When viewed in Share, I see message
    "Creating Flash Preview" -- as is typical when a document is first
    uploaded -- but the message just stays there, with no preview
    created.
    Here's the link to document:
    https://share.adobe.com/adc/document.do?docid=214420ef-9544-11dc-88f8-9b7d3e789675
    :Kendall

    OK. Open your PDF with Preview and at the top of the window (near the file's title) you will see Locked in grey.
    Click on it and in the menu that appears click Unlock.
    It looks like this in OS 10.7.3 :
    For information you can view the permissions of a PDF file in Preview by choosing in the menu bar Tools > Inspector, and then click Encryption (the lock).
    Hope this will help.

  • How do I set Preview to open pdf files

    when I try to open a pdf file in safari 6, I get an error telling me to accept the end user license for adobe acrobat. Why?

    You should contact Adobe Support and/or post in the Adobe Forums since it's their product.
    To get Preview to open PDF files:
    Highlight the PDF file>File>Get Info> 
    In the Get Info window, scroll down to "Open with:"
    Select Preview open the file.
    Click the "Change All..." button if you want to "Use this application to open all documents like this.”

  • How to break the PDF file into images?

    How to break the PDF file into images? There should be settings in Photoshop CS 6 that imports PDF file and break it into images.  I have a short instruction:
    2.    Open the file in Photoshop.
    3.    A new window should open to Import PDF.  Click on images, not pages  import pdf into Photoshop.doc
    4.    Select all the files shown (shift + click), Click O.K.  Four files should open on your screen.
      Was anybody successful with that?

    Whether this is available solely depends on the structure of the PDF and whether it actually contains whole images that can be extracted separately. Depending on whatgoing on in the PDF this may simply not be the case and the images have been tiled and split up in multiple "objects" whose appearance can only be retained by rasrerizing the whole page...
    Mylenium

  • Opening PDF files using preview on some PDF file result in the content not displaying properly. The file I tried to look at has pictures and text. The pictures are displayed ok but the text is shown as pixalated boxes. The same file opens ok via a PC.

    Solutions please. Accessing PDF files online using preview normally works ok. However there are a clutch of files on the mothers union web site that although can be opened, present text as pixalated boxes. The pictures contained in the documents are however displayed OK. I experience the same problem on my Imac and my wifes laptop that runs Lion. The same site has other PDF files that can be opend OK. If I access the same problem files using a PC laptop running microsoft windows, they are opened OK with the text displayed as it should be. This is driving me mad....

    Raymondo1 wrote:
    The offending PDF files were created using word
    Yes. Word 2007. (You can see it in Preview if you do ⌘I or choose Tools > Show Inspector.) And it's the transparency issue. The three pics attached show the Jan 2012 newsletter (a) in Preview, (b) in Acrobat Pro, (c) again in Preview, after I saved it in Acrobat, flattening the transparency.
    For you, the solution is to use Adobe Reader -- with due note taken of
    <http://www.adobe.com/support/security/bulletins/apsb12-01.html>
    For them, I don't know. Presumably, they wish max compatibility for their newsletter, but I really don't know how Office 2007 generates PDF. Maybe they should check transparency settings and flatten before generating PDF? Or perhaps save as PDF v1.4 instead of PDF v1.5? I would use Distiller, but perhaps they can't afford it.

  • Preview.app increases PDF file size.

    When making changes to a PDF (in my case, creating annotations), Preview.app will increase the file size of a PDF if that PDF was run through Acrobat Pro's "Reduce File Size" process. For example, I have a PDF that I created using a Book2Net book scanner. I then used Acrobat Pro 10 to OCR the file, then ran Reduce File size which shrank the file size from almost 1.6gb down to about 62mb. If I use Preview.app to make an annotation and then save the file, Preview.app will inflate the file back up to 1.6gb.
    An earlier thread (https://discussions.apple.com/thread/1478588?start=0&tstart=0) also discusses a similar issue. I'm not sure if those folks were also working with PDFs that were reduced in size by Acrobat Pro or not.
    Anyone else have this issue?
    10.6.8 on a MacBook Pro.

    That is not normal. same action with acrobat and skim do not do this. Changing file size from 170mb to 780mb (my case) should not be expected.
    Preview re-formats the file (which takes a while the first "save"). It may even make scrolling and searching for text faster, but is not desirable all the time.
    There is NO explanation from Apple in help or online. Keeping things simple is one thing, having unexpected and unexplained behavior is another.
    Last preview update made it pretty much useless for annotations anyways.
    Choosing "text" annotation used to allow for clicking anywhere on the pdf and start typing. Now, it automatically creates a text box at the center of page that has to be the dragged (and make sure not dragging other annotations with it). click T multiple times, multiple text boxes on top of each other.
    I never thought I would look at Windows users with jealousy. What a bad job they are doing.

  • Preview copy on PDF files produces a raster rather than a vector

    I used to open PDF files with Preview and copy stuff out of it, then paste it in Keynote (or anywhere else) and obtain vector graphics.
    Since some time when I copy stuff out of a PDF file I get an image, rather than a vector graphics. This is evident when you try to rescale the image and looses quality, whereas the vector does not.
    This seems to be something that has to do with Preview, since if I open the same PDF with Skim and I copy anything out of it I get a vector, that scales perfectly when I paste it in Keynote.
    Any idea what is going on with Preview? (on 10.9.5)
    Cheers,
    Roberto

    In Windows you can right-click the Acrobat icon in the task bar and select Close All Windows.

  • Preview not opening PDF files

    Hi.  For a while now (to when I was on Lion as well as Mavericks) my Macbook Air has been unable to load PDF's in Preview.  When I right click a PDF and Open With, Preview isn't even listed.  When I go to Other, Preview is even greyed out in the Recommended Applications list.  I can select All, and then select Preview, and Preview loads its icon on my dock, but nothing gets displayed.  If I load Preview and try to load a PDF from within it, the PDF file is greyed out.  I was told a while ago to install Adobe Reader to at least be able to read PDF's using another app until this is fixed.  I was hoping Mavericks install was going to fix this, but it has made no difference.  I have also tried repairing disk permissions to no avail.  My friend has also tried putting their Preview app on a USB stick and for me to try their app, but it does exactly the same thing on my Macbook, yet it works perfectly on theirs.
    Is there anything I can do to fix this?

    Never mind.  I uninstalled Adobe Reader, then found another app I'd downloaded a while ago was set as the default reader, which basically just scanned the file.  Uninstalling that resolved the issue.  Preview was then set as default and PDF's were then viewable in Quick Look and Preview.

  • Why doesn't "Preview" open my .PDF files on my computer?

    Hello Guys,
    My "Preview" program stopped opening .PDF files about a week ago. The program shows up in the dock, but it doesn't display the PDF. It displays JPEG's no problem, but for some reason it' doesnt open PDF fils.It is driving me crazy. I have googled and googled, but no luck in fixing my problem.
    I have even set the PDF files to "always open with preview"
    Any help would be greatly appreciatd
    Thanks in advance
    -Miguel

    I suspect your problem has to do with the file on the drive that stores the preferences to open what up with what program.
    I don't know exactly what that preference file is, but I know of a way to check for corruption of the preference files and once you know which one is corrupted, then we can delete it and it will rebuild.
    So do the #12 and #13 OnyX routines here, that will also clear your caches and speed up your machine a little as well.
    ..Step by Step to fix your Mac
    Once #13 is competed then see this Ut here.
    Deleting the System Preference or other .plist file

  • Can't preview or save pdf files with Firefox 5

    Ever since I updated to Firefox 5, I've been unable to preview/save pdf documents in websites. One example is the Citibank website.
    Is there any plug-in you would recommend? I would prefer if it's a freeware. Thanks.

    Thanks for taking the trouble to look at my problem, Michael.   I don't know to post a link to a file.
    The files I want to view and save are located on the separate websites of 2 different share registries.   I used to be able to do this, but now can't.   When I try to "Save As ....."  I can't because the files show up as a non-pdf file, a specific example of such a filename is:  "PaymentAdvice?Paymentkey=AGKHAINTJUN12,109011151746,1,1".   I rang both of the 2 share registries who confirmed that I should not have the problem I am experiencing.
    Looking at other threads, some folk have got things to work when the went back to Adobe 9 instead of 10.  Any thoughts?

  • Preview not opening pdf files unless they have an pdf extension

    Preview will not open pdf that does not have a pdf extension. If I give a valid pdf file a random extension like .xxx, preview opens without windows. If I give it .jpg it opens with a questionmark in a window. If I give it pdf it open without a glitch.
    Why cannot Preview detect whether a file is open-able or not an not give a **** about extension. This is not windows but a unix system
    The problem exist when a pdf file is downloaded by firefox and not given a .pdf extention in the downloads folder. In Safari the file is opened without problems inside Safari.

    Yeah, but Preview wont open the file at all, even through the open dialog, all files not associated with preview are greyed out. Shouldn't a program open a file if told to?
    Yes, I agree with you. I also could not open the files unless I changed their extensions.
    Also the "file" command has no problem finding out it's a pdf. I believe its an obsolete thing specifying filetype on extension, and not on content. Is is possible to get preview to open the file depending on content and not on extention.
    Like I said, I think this was a conscious choice that Apple made with OS X, but I'm not sure why the decided to go that way (maybe posting on one of the dev lists would give you the answer to that).
    I haven't been able to get Preview to open files once I've changed the file extension...

  • Can't use preview to open pdf files

    In the last week Preview has stopped opening my PDF files, it's like the  pdf that comes via email has no link so I have to right click and use "open with" and can only open pdf files now using adobe reader.  I have not installed anything lately so not sure why this has happened recently.
    Could a file have been deleted by mistake somewhere or preview become corrupt? Or a setting changed?
    Any help would be appreciated as I like using preview (seeing as it was my default program)
    Have also clicked on pdf file and did the I command, tried to change it as if new to open with preview and same thing an error message appears.
    Thanks

    Adobe Reader installed? If so, remove Reader.
    Macintosh HD > Library > Internet PLug-ins
    Look for these two files.
    AdobePDFViewerNPAPI.plugin
    AdobePDFViewer.plugin
    Right click those and select “Move To Trash’.

  • I want to use preview to view pdf files without trashing the adobe plug-ins?

    Some of the government web sites that I need to visit regularly require me to use firefox and adobe for opening and viewing files. I would like to still be able to use Safari and Preview for opening, viewing and printing files from other web sites. Before the latest adobe update this was no problem, but now Adobe seems to have taken control over the viewing and printing settings so that even though I try printing from a Safari viewer window I get an Adobe message that this is not supported. I tried to search for an answer as I suppose I am not the only one having this problem after the most recent Adobe update. Thanks for your great help everyone. /Christian

    See if either of these help you.
    https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox
    https://support.mozilla.com/en-US/kb/Opening+PDF+files+within+Firefox

  • Preview troubles with PDF files?

    Until recently, Preview had opened every and any PDF file. Now, I receive the following message.
    +Multiple files are bound together in this PDF Package.+
    +Adobe recommends using Adobe Reader or Adobe Acrobat version 8 or later to work with documents contained within a PDF Package. By updating to the latest version, you’ll enjoy the following benefits:+
    +• Efficient, integrated PDF viewing • Easy printing • Quick searches+
    +Don’t have the latest version of Adobe Reader?+
    +Click here to download the latest version of Adobe Reader+
    +If you already have Adobe Reader 8, click a file in this PDF Package to view it.+
    What's going on?
    Please help!

    If you want to use preview always as the default PDF file viewer then follow above tip. And, you might see a button 'change all...' you might want to click that too to make it the default viewer.

  • Can Preview combine separate PDF files into one?

    I scanned two separate papers into pdf files to store on my Mac.  Is there a way to combine the two separate PDF files into one using Preview?

    Yes there is, rather than my trying to describe how I will let this article do the job. I'm going to assuming you are still using Leopard. If you have upgraded to Snow Leopard or Lion the process is slightly different and can be found using Google:
    http://macintoshhowto.com/leopard/how-to-merge-pdf-files-with-preview-in-leopard .html

Maybe you are looking for

  • ITextRangeProvider.Move constantly called by screen reader when at end of line.

    I am currently implementing ITextRangeProvider and ITextRange interfaces to allow screen readers to gather information from a custom RichText control. I am currently having a problem with the JAWS screen reader.  When I navigate to the end or beginni

  • From SQL Server to Oracle 10g

    Hi!! My IT staff have been using SQL Server for quite a time and we have set up all our procedures under this platform, for example, our initial concern in this phase of the migration is: Under SQL Server we use templates that we use to import data i

  • Superslow download speed from itunes store

    Im getting "13 hours"?? download of a 50 minute program? On 16meg cable? First time this has ever happened

  • Add an Email Subscription to Your Blog

    Hi, Is it possible to add an email subscription to my blog, like feedburner, but using BC? Thanks Robert

  • IMessage, can't connect to server via id

    Hi For several days now I try to connect to iMessages from my MacAir. Each time I try to log-on via my apple-id I get an error message stating that there is a server issue and I should try later. I'm well able to connect to iMessages via my iPad. Any