[pdftex] can't open pdf with acrobat

Paul Vojta vojta at math.berkeley.edu
Tue Nov 13 23:45:32 CET 2012


Your script is a little too short:  I get:

! Undefined control sequence.
l.3 \SweaveOpts
               {concordance=TRUE}

Sincerely,


Paul Vojta


On Tue, Nov 13, 2012 at 10:50:35PM +0100, Pieter Mestdagh wrote:
> Here's the LaTex script:
> 
> \documentclass{article}
> \begin{document}
> \SweaveOpts{concordance=TRUE}
> 
> Hello
> 
> \end{document}
> 
> The error message from acrobat: 'There was an error opening this document. The file is damaged and could not be repaired.'
> 
> I tried changing the pdf compiler used by Sweave from pfdLaTex to XeLaTex and this does generate pdf files that can be opened with acrobat.
> 
> Best,
> Pieter
> 
> 
> Op 13-nov.-2012, om 22:35 heeft Paul Vojta <vojta at math.berkeley.edu<mailto:vojta at math.berkeley.edu>> het volgende geschreven:
> 
> I don't know much about pdftex, but almost certainly you need to provide the mailing list
> with:
> 
> 1.  The "most basic LaTeX script" that you used (and details on how you used it, as
>    appropriate)
> 
> and
> 
> 2.  What symptoms you get when you can't open the files with acrobat.
> 
> Sincerely,
> 
> 
> Paul Vojta
> 
> 
> On Tue, Nov 13, 2012 at 05:28:58PM +0100, Pieter Mestdagh wrote:
> Hi,
> 
> I use Sweave in combination with MacTex to generate pdf's directly from R (using RStudio). I can open these pdf's with preview on Mac but not with Acrobat (tried both on Mac and Windows).
> 
> To rule out issues with figures included in the pdf I tried the most basic LaTex script but had the same problem. Any help would be highly appreciated.
> 
> Thanks,
> Pieter
> --
> dr. ir. Pieter Mestdagh
> Center for Medical Genetics Ghent (CMGG)
> Ghent University Hospital
> Medical Research Building (MRB), 2nd floor, room 120.055
> De Pintelaan 185, B-9000 Ghent, Belgium
> +32 9 332 6979 (phone) | +32 9 332 6549 (fax)
> http://medgen.ugent.be<http://medgen.ugent.be/>
> http://www.mirnabodymap.org
> Pieter.Mestdagh at UGent.be<mailto:Pieter.Mestdagh at UGent.be>
> 
> 
> 
> 
> 
> 
> 
> --
> dr. ir. Pieter Mestdagh
> Center for Medical Genetics Ghent (CMGG)
> Ghent University Hospital
> Medical Research Building (MRB), 2nd floor, room 120.055
> De Pintelaan 185, B-9000 Ghent, Belgium
> +32 9 332 6979 (phone) | +32 9 332 6549 (fax)
> http://medgen.ugent.be<http://medgen.ugent.be/>
> http://www.mirnabodymap.org
> Pieter.Mestdagh at UGent.be<mailto:Pieter.Mestdagh at UGent.be>
> 
> 
> 
> 
> 
> 


More information about the pdftex mailing list