[cstex] Poskozeny PDF soubor

Zdenek Wagner zdenek.wagner at gmail.com
Mon Jun 16 13:03:51 CEST 2008


Dne 16. červen 2008 12:00 Hana Skoumalova <Hana.Skoumalova at ff.cuni.cz>
napsal(a):
> Dobrý den,
>
> omlouvám se za mírně OT dotaz, ale podobné problémy se tu občas řeší.
> Dostali jsme PDF soubor, který nemůžeme otevřít - odesílatel přitom žádné
> problémy nemá. xpdf hlásí:
> Error: PDF file is damaged - attempting to reconstruct xref table...
> Error: Catalog object is wrong type (null)
> Error: Couldn't read page catalog
> a gv hlásí:
>   **** Warning:  An error occurred while reading an XREF table.
>   **** The file has been damaged.  This may have been caused
>   **** by a problem while converting or transfering the file.
>   **** Ghostscript will attempt to recover the data.
> Acroread ho taky neotevře (jenom ta hláška není moc informativní).
>
Já si myslím, že chyba je jinde. Soubor pravděpodobně nebyl poslán
jako binární a jakýsi program na cestě se pokusil interpretovat konce
řádků. Konec souboru tedy vypadá na pohled dobře, ale nejspíš odkazuje
na nesmyslná místa. Asi bych doporučil, aby tvůrce poslal ten PDF
zazipovaný.

> Konec souboru vypadá takto:
> xref
> 0 68
> 0000000000 65535 f
> 0000000009 00000 n
> 0000376361 00000 n
> 0000000064 00000 n
> 0000000383 00000 n
> 0000372968 00000 n
> 0000376267 00000 n
> 0000375503 00000 n
> 0000008335 00000 n
> 0000013231 00000 n
> 0000018515 00000 n
> 0000024400 00000 n
> 0000027488 00000 n
> 0000374286 00000 n
> 0000374087 00000 n
> 0000031930 00000 n
> 0000374189 00000 n
> 0000101388 00000 n
> 0000101681 00000 n
> 0000103732 00000 n
> 0000104025 00000 n
> 0000105943 00000 n
> 0000106236 00000 n
> 0000108155 00000 n
> 0000108461 00000 n
> 0000376454 00000 n
> 0000112922 00000 n
> 0000113216 00000 n
> 0000115896 00000 n
> 0000116178 00000 n
> 0000118157 00000 n
> 0000118439 00000 n
> 0000120473 00000 n
> 0000120767 00000 n
> 0000376549 00000 n
> 0000124013 00000 n
> 0000124319 00000 n
> 0000206624 00000 n
> 0000206918 00000 n
> 0000301005 00000 n
> 0000301311 00000 n
> 0000346358 00000 n
> 0000346664 00000 n
> 0000376644 00000 n
> 0000350003 00000 n
> 0000350309 00000 n
> 0000353093 00000 n
> 0000353387 00000 n
> 0000355314 00000 n
> 0000355596 00000 n
> 0000357580 00000 n
> 0000357874 00000 n
> 0000376739 00000 n
> 0000359787 00000 n
> 0000360081 00000 n
> 0000362373 00000 n
> 0000362667 00000 n
> 0000370699 00000 n
> 0000370981 00000 n
> 0000373086 00000 n
> 0000373914 00000 n
> 0000374400 00000 n
> 0000375335 00000 n
> 0000375621 00000 n
> 0000376096 00000 n
> 0000376834 00000 n
> 0000376921 00000 n
> 0000376972 00000 n
> trailer << /Size 68 /Root 66 0 R/Info 67 0 R >>
> startxref
> 377192
> %%EOF
>
> Nepozná z toho někdo, co je tam špatně?
>
> H.S.
> --
> Hana Skoumalova                Charles University, Faculty of Arts
>                                          Institute of Theoretical
> tel: +420 221619752             & Computational Linguistics (UTKL)
> fax: +420 221619753                     Celetna 13, 110 00 Praha 1
> http://utkl.ff.cuni.cz/~skoumal                     Czech Republic
> _______________________________________________
> csTeX mailing list
> csTeX at cs.felk.cvut.cz
> http://lists.felk.cvut.cz/mailman/listinfo/cstex
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz


More information about the csTeX mailing list