Как открыть этот файл? * .ps.gz

4808
Ajith

Пожалуйста, кто-нибудь, помогите мне открыть этот файл . Я не могу открыть / разархивировать его после загрузки. Я всегда получаю сообщение об ошибке при попытке разархивировать с помощью 7zip.

2
Загрузки отлично для меня. Попробуйте снова? Journeyman Geek 8 лет назад 0
Проверьте его действительно GZIP-файл, попробуйте открыть его в текстовом редакторе Romeo Ninov 8 лет назад 0

2 ответа на вопрос

2
Hennes

First the file's corrupt or not status: It works for me when I download it:

toad:/home/hennes>wget www.robots.ox.ac.uk/~ndm/PhDthesis.ps.gz --2016-02-26 07:57:37-- http://www.robots.ox.ac.uk/~ndm/PhDthesis.ps.gz Resolving www.robots.ox.ac.uk (www.robots.ox.ac.uk)... 129.67.94.2 Connecting to www.robots.ox.ac.uk (www.robots.ox.ac.uk)|129.67.94.2|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3369790 (3.2M) [application/x-gzip] Saving to: `PhDthesis.ps.gz' 100%[======================================>] 3,369,790 8.83M/s in 0.4s 2016-02-26 07:57:38 (8.83 MB/s) - `PhDthesis.ps.gz' saved [3369790/3369790] 

Donwloaded via wget. Notice that it recognises the file as being gzipped ([application/x-gzip]). To save bandwidth many webservers serve gzip compressed information and many browsers can decompress this on the fly.

This means that one some browsers you can download a file.gz and when you save it is already decompressed. The file name does not always get adjusted for this.


Lets see what file thinks of the downloaded result:

toad:/home/hennes>file PhDthesis.ps.gz PhDthesis.ps.gz: gzip compressed data, was "thesis.ps", from Unix, last modified: Wed May 19 20:15:48 1999 


If it is a gzip file I should be able to uncompress it: toad:/home/hennes>gzip -d PhDthesis.ps.gz

No errors reported.

Rerunning file in the uncompressed result:

toad:/home/hennes>file PhDthesis.ps PhDthesis.ps: PostScript document text conforming at level 2.0 

Looks like correct postscript to me. One final check, opening it in a text editor:

vim postscipt file - in colour!

Postscript al right. And even showing the traditional TeX to DVI to PS path. Classic.


Secondly, how to open it:

The classical way would be in ghostview, but there are many programs which should be able to handle postscript files. gs is probably installed on most unix like systems. If it is windows than see this answer for ePS files.

Спасибо! Это сработало, когда я использовал wget для загрузки. Детали в ответе были действительно полезны. Ajith 8 лет назад 0
1
kshpolvind

Seems to be a raw PostScript file, not compressed at all. Just rename it to be *.ps and open the way you like.

Правильный ответ, но было бы неплохо предоставить дополнительную информацию по этому вопросу. В качестве отправной точки см. Http://www.dontveter.com/qi/psandtex.html. bwDraco 8 лет назад 1

Похожие вопросы