Viewers for PDF, PS, and DVIYAP can not render a page

Information and discussion about output viewers related to LaTeX (e.g. Adobe Reader, Ghostview, YAP, ...)
ciclotron
Posts: 11
Joined: Wed May 15, 2019 10:28 am

YAP can not render a page

Post by ciclotron »

Hello Latex Community,

I am working with texmaker 5.0.2, MikTex 2.9, ghostscript 8.11 and gsview 4.9 under windows 10 Pro.

I have a .tex document and I have problems visualizing and compiling .dvi files. My colleagues do not have the same problem so I consider it is a problem of compilation and visualization.

My initial problem is I can not see .dvi files.

When I tried to view, it appeared this message "Some PostScript Specials could not be rendered".

Then I change the display options of YAP to Dvips and I can see the first page of the document, at least.

Nevertheless, several pages can not be viewed. So I continue having the same problem.

I have change the option latex -interation=nonstopmode %.tex to latex %.tex like my colleagues and the problem continues.

The error is this:

MiKTeX Problem Report
Message: The page could not be rendered.
Data:
Source: Libraries\MiKTeX\Dvi\DviPage.cpp
Line: 752
MiKTeX: 2.9
OS: Windows 10 Pro, 64-bit, build 17134
Invokers: non-existing/explorer/texmaker
SystemAdmin: no
PowerUser: no
Root0: C:\Users\conrado\AppData\Roaming\MiKTeX\2.9
Root1: C:\Users\conrado\AppData\Local\MiKTeX\2.9
Root2: C:\ProgramData\MiKTeX\2.9
Root3: C:\Program Files\MiKTeX 2.9
UserInstall: C:\Users\conrado\AppData\Roaming\MiKTeX\2.9
UserConfig: C:\Users\conrado\AppData\Roaming\MiKTeX\2.9
UserData: C:\Users\conrado\AppData\Local\MiKTeX\2.9
CommonInstall: C:\Program Files\MiKTeX 2.9
CommonConfig: C:\ProgramData\MiKTeX\2.9
CommonData: C:\ProgramData\MiKTeX\2.9


This is my initial problem. Then I can not compile from dvi 2 pdf. I can compile from dvi2ps but not from ps2pdf.

I hope somebody can help me.

Regards

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

thomasb
Posts: 134
Joined: Thu Aug 03, 2017 10:54 am

YAP can not render a page

Post by thomasb »

Do you have pdflatex compiler ?
ciclotron
Posts: 11
Joined: Wed May 15, 2019 10:28 am

YAP can not render a page

Post by ciclotron »

Yes and when i apply pdflatex to my tex file, the result is not good . It generates a full file but the quality of the images (.eps files) is very poor. The converted images (.pdf) do not look like the originals (.eps)

Here I put the result with pdflatex:

LOG FILE :

Code: Select all

This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6400 64-bit) (preloaded format=pdflatex 2017.8.24) 28 MAY 2019 14:07
entering extended mode
**./agujetas.tex
(agujetas.tex
LaTeX2e <2017-04-15>
Babel <3.12> and hyphenation patterns for 5 language(s) loaded.
(WileyNJD-v2.cls
Document Class: WileyNJD-v2 2017/06/23 v0.2 Standard LaTeX document class for J
ournal
\job@temptoken=\toks14
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\fleqn.clo"
File: fleqn.clo 2016/12/29 v1.2a Standard LaTeX option (flush left equations)
\mathindent=\dimen102
Applying: [2015/01/01] Make \[ robust on input line 50.
LaTeX Info: Redefining \[ on input line 51.
Already applied: [0000/00/00] Make \[ robust on input line 62.
Applying: [2015/01/01] Make \] robust on input line 74.
LaTeX Info: Redefining \] on input line 75.
Already applied: [0000/00/00] Make \] robust on input line 83.
)
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen103
)
("C:\Program Files\MiKTeX 2.9\tex\latex\etex-pkg\etex.sty"
Package: etex 2016/08/01 v2.7 eTeX basic definition package (PEB,DPC)
\et@xins=\count87
)
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Last edited by Stefan Kottwitz on Wed May 29, 2019 12:41 pm, edited 1 time in total.
thomasb
Posts: 134
Joined: Thu Aug 03, 2017 10:54 am

YAP can not render a page

Post by thomasb »

It shows this line :

Code: Select all

Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4
38.
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The package epstopdf is for pdftex : epstopdf documentation

If you can, try to compile with pdftex or, firstly, try this command in the command line :

Code: Select all

pdflatex --enable-write18 yourfile.tex
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ciclotron
Posts: 11
Joined: Wed May 15, 2019 10:28 am

YAP can not render a page

Post by ciclotron »

I have run the code pdflatex --enable-write18 yourfile.tex and the result is almost the same as previously

Code: Select all

This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6400 64-bit) (preloaded format=pdflatex 2017.8.24) 28 MAY 2019 20:13
entering extended mode
**./agujetas.tex
(agujetas.tex
LaTeX2e <2017-04-15>
Babel <3.12> and hyphenation patterns for 5 language(s) loaded.
(WileyNJD-v2.cls
Document Class: WileyNJD-v2 2017/06/23 v0.2 Standard LaTeX document class for J
ournal
\job@temptoken=\toks14
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\fleqn.clo"
File: fleqn.clo 2016/12/29 v1.2a Standard LaTeX option (flush left equations)
\mathindent=\dimen102
Applying: [2015/01/01] Make \[ robust on input line 50.
LaTeX Info: Redefining \[ on input line 51.
Already applied: [0000/00/00] Make \[ robust on input line 62.
Applying: [2015/01/01] Make \] robust on input line 74.
LaTeX Info: Redefining \] on input line 75.
Already applied: [0000/00/00] Make \] robust on input line 83.
)
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen103
)
("C:\Program Files\MiKTeX 2.9\tex\latex\etex-pkg\etex.sty"
Package: etex 2016/08/01 v2.7 eTeX basic definition package (PEB,DPC)
\et@xins=\count87
)
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Last edited by Stefan Kottwitz on Wed May 29, 2019 12:40 pm, edited 1 time in total.
thomasb
Posts: 134
Joined: Thu Aug 03, 2017 10:54 am

YAP can not render a page

Post by thomasb »

and with pdftex ?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10330
Joined: Mon Mar 10, 2008 9:44 pm

YAP can not render a page

Post by Stefan Kottwitz »

Can you please post the .eps file as attachment here, that causes the problem?

> This is my initial problem.

It can be an issue of the YAP DVi viewer. Annoying, but not fatal since I understood the final output is PDF.

> Then I can not compile from dvi 2 pdf. I can compile from dvi2ps

Can you post this output .ps file here as attachment?

> but not from ps2pdf.

What errors do you get with ps2pdf?

Stefan
LaTeX.org admin
ciclotron
Posts: 11
Joined: Wed May 15, 2019 10:28 am

YAP can not render a page

Post by ciclotron »

I can not upload since it is a scientific article I am sending to peer reviewing. I think it is related to the combination between MikTex and texmaker because another colleague can compile without problems.

Regards
User avatar
Stefan Kottwitz
Site Admin
Posts: 10330
Joined: Mon Mar 10, 2008 9:44 pm

YAP can not render a page

Post by Stefan Kottwitz »

Perhaps send the error message(s) you get with ps2pdf?

Stefan
LaTeX.org admin
ciclotron
Posts: 11
Joined: Wed May 15, 2019 10:28 am

YAP can not render a page

Post by ciclotron »

Process started

MiKTeX GPL Ghostscript 9.19: Unrecoverable error, exit code 1

MiKTeX GPL Ghostscript 9.19: ERROR: A pdfmark destination page 4 points beyond the last page 3.

Process exited normally
Post Reply