LaTeX forum ⇒ Conversion ToolsConversion from DVI to PDF with a lot of Warnings

Information and discussion about output converters related to LaTeX (e.g. dvips, ps2pdf, ...)
mahmood
Posts: 26
Joined: Sun Oct 31, 2010 11:42 am

Conversion from DVI to PDF with a lot of Warnings

Postby mahmood » Fri Jun 22, 2012 11:57 am

When I convert dvi to pdf I get a lot of warnnings. For example:
  1. egpaper_for_review.dvi -> egpaper_for_review.pdf
  2. [1
  3. ** WARNING ** Unparsed material at end of special ignored.
  4.  
  5. Current input buffer is -->! systemdict /pdfmark known{userdict /?pdfmark sys...<--
  6.  
  7. ** WARNING ** Unknown token "SDict"
  8. ** WARNING ** Interpreting PS code failed!!! Output might be broken!!!
  9. ** WARNING ** Interpreting special command ps: (ps:) failed.
  10. ** WARNING ** >> at page="1" position="(72, 720)" (in PDF)
  11. ** WARNING ** >> xxx "ps:SDict begin [/Producer (dvips + Distiller)/Title ()/Subje..."
  12. ** WARNING ** >> Reading special command stopped around >>begin [/Producer (dvips + Distiller)/Title ()/Subject ()/Cre...<<
  13. ** WARNING ** Unparsed material at end of special ignored.
  14.  
  15. Current input buffer is -->! /DvipsToPDF{72.27 mul Resolution div} def/PDFToD...<--
  16.  
  17. ** WARNING ** Unknown token "SDict"
  18. ** WARNING ** Interpreting PS code failed!!! Output might be broken!!!
  19. ** WARNING ** Interpreting special command ps: (ps:) failed.
  20. ** WARNING ** >> at page="1" position="(72, 720)" (in PDF)
  21. ** WARNING ** >> xxx "ps:SDict begin /product where{pop product(Distiller)search{p..."
  22. ** WARNING ** >> Reading special command stopped around >>begin /product where{pop product(Distiller)search{pop pop po...<<
  23. ** WARNING ** Unknown token "SDict"
  24. ** WARNING ** Interpreting PS code failed!!! Output might be broken!!!
  25. ** WARNING ** Interpreting special command ps: (ps:) failed.
  26. ** WARNING ** >> at page="1" position="(49.112, 721)" (in PDF)
  27. ** WARNING ** >> xxx "ps:SDict begin H.S end"
  28. ** WARNING ** >> Reading special command stopped around >>begin H.S end<<
  29. ** WARNING ** Unknown token "SDict"
  30. ** WARNING ** Interpreting PS code failed!!! Output might be broken!!!
  31. ** WARNING ** Interpreting special command ps: (ps:) failed.
  32. ** WARNING ** >> at page="1" position="(49.112, 721)" (in PDF)
  33. ....
  34. ....

Are they important. How can I fix them?

Tags:

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

Postby Stefan Kottwitz » Fri Jun 22, 2012 1:20 pm

mahmood wrote:When I convert dvi to pdf I get a lot of warnings.


Which tool do you use? dvipdf, dvipdfm, dvipdfmx, or dvips and ps2pdf?

Stefan
Site admin

mahmood
Posts: 26
Joined: Sun Oct 31, 2010 11:42 am

Postby mahmood » Fri Jun 22, 2012 2:10 pm

dvi2pdf

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

Postby Stefan Kottwitz » Fri Jun 22, 2012 2:23 pm

dvipdf is actually a combination of dvips and ps2pdf. So you could try one of the other mentioned options, or use dvips and ps2pdf directly to see in which step warnings occur.

Stefan
Site admin

mahmood
Posts: 26
Joined: Sun Oct 31, 2010 11:42 am

Postby mahmood » Fri Jun 22, 2012 3:36 pm

let me state more precisely.

  1. the tool that I said generate a lot of warnings is actually
    1. dvipdfmx.exe "egpaper_for_review.dvi"
  2. when I run dvi2ps, there is no warning:
    1. dvips.exe "egpaper_for_review.dvi"
  3. also there is no problem with ps2pdf
    1. ps2pdf.exe "egpaper_for_review.dvi"

bastlwastl
Posts: 1
Joined: Sat Dec 28, 2013 7:37 pm

Postby bastlwastl » Sat Dec 28, 2013 7:46 pm

Hey there,

in case you get these awfull lots of warnings by using the LEd Editor and it's built-in conversion features, here is a simple minded work around:

By clicking on th PDF button in LEd, you invoce a batch-script here: <LEd-Install-Folder>\Batches
In the case you convert the dvi to a pdf it's DviPdf.bat. This is the script you have to edit.

If you have ghostscript installed, you can replace this line:
  1. dvipdfm.exe %2.dvi


with these lines:
  1. dvips -q %2.dvi
  2. gswin64c -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=%2.pdf -f %2.ps


and leave the rest, save it and enjoy.

Cheers,
bastlwastl


Return to “Conversion Tools”

Who is online

Users browsing this forum: No registered users and 2 guests