Questions tagged [dvips]

dvips is the process that converts `myfile.dvi` to `myfile.ps`

Filter by
Sorted by
Tagged with
34
votes
6answers
47k views

How to allow line break in a long hyperlink in a PDF compiled by latex-dvips-ps2pdf?

I am using latex-dvips-ps2pdf steps with -Ppdf option passed to dvips. The following code snippet \documentclass{article} \usepackage[colorlinks]{hyperref} \usepackage{breakurl} \hypersetup{...
13
votes
1answer
29k views

hyperref: Wrong DVI mode driver option `dvips',(hyperref) because pdfTeX or LuaTeX is running in PDF mode. \ProcessKeyvalOptions{Hyp} [duplicate]

hyperref: Wrong DVI mode driver option `dvips',(hyperref) because pdfTeX or LuaTeX is running in PDF mode. \ProcessKeyvalOptions{Hyp} How can i fix this error? I m trying to compile a template of ...
12
votes
1answer
886 views

tikzpictures give huge pdf files when processed via dvips and ps2pdf

I have written a paper that includes a couple of TikZ pictures and submitted it to a (Springer) journal. I was quite shocked when I got the pdf file they produced from my source file, since it was ...
11
votes
6answers
19k views

How do I avoid Type3 fonts when submitting to ManuscriptCentral

I am trying to submit a publication to ManuscriptCentral. All I am allowed to do is to submit my tex file and any missing packages (it seems to have a fair selection of standard packages) and it will ...
10
votes
3answers
25k views

How to fix “Package hyperref Error: Wrong DVI mode driver option `dvips'”?

I'm having this Error when I try to compile my .tex file with xelatex: ! Package hyperref Error: Wrong DVI mode driver option `dvips', (hyperref) because XeTeX is running. See the ...
10
votes
0answers
109 views

Why does compiling TikZ with latex-dvips-ps2pdf produce a much much bigger PDF than with pdflatex? [duplicate]

The following MWE simulates the problem. Compile it with pdflatex -shell-escape. \documentclass[preview,varwidth,border=12pt]{standalone} \usepackage{filecontents} \begin{filecontents*}{common.tex} \...
9
votes
3answers
29k views

How to fix EPS with incorrect bounding box?

I want to get a standalone EPS graphic from DVI. This process can be done using the batch file as follows latex %1 dvips -E %1 -o %1.eps And the test file is as follows \documentclass{minimal} \...
9
votes
3answers
1k views

Plain TeX and different hyperlink styles in dvi and pdf

I use the harvmac macros to write papers with plain TeX, and harvmac loads the hyperbasics file to enable hyperlinks. However I can't figure out why the hyperlinks have a different appearance in the ...
9
votes
1answer
2k views

PNG figures in black and white

I'm trying to include a png figure and it works when I see it in dvi, but the ps comes in black and white. If I compile directly to pdf there is no problem. However I'm using psTricks for a different ...
9
votes
2answers
238 views

Does dvips's “ps:” special alter the standard PostScript (bp) units?

Working on developing some clipping code based on the approach taken by pgf, I've stumbled across some odd effects with the \special{ps: construct of dvips. A couple of examples will show this. The ...
9
votes
1answer
209 views

Is there any compiler-dependent font loadable for pdflatex but not for latex-dvips-ps2pdf?

I want to make sure that I can load the same fonts for each input file either for diagrams and text contents. It is related to my statement below, Even though PSTricks cannot work with pdflatex ...
8
votes
1answer
1k views

Searching for Euro symbol

I found egreg's answer to the question "eurosym seems to not be working" some time ago and it works perfect if I compile using pdflatex, but if I compile using latex dvips ps2pdf the Euro symbol is ...
7
votes
2answers
2k views

Can't get my pdf and .ps files to use type 1 fonts

I am preparing a paper for submission to ACM proceedings and Digital Library. However, I keep getting the "Your pdf and .ps files both use type 3 fonts, you need use type 1 fonts" error from the ...
6
votes
2answers
1k views

What steps are done by XeLaTeX when compiling input files with PSTricks codes, jpeg, png, eps, pdf images?

I am confused why XeLaTeX can produce a pdf output from an input file that contains PSTricks codes, PNG, JPEG, PDF, EPS images. It is the first time I use XeLaTeX and I am really surprised that I can ...
6
votes
2answers
4k views

Biblatex: URL-breaking not working in DVI-mode

I'm preparing my bibliography and noticed that biblatex-printbibliography produces Overfull \hbox several times. Examples (gray lines indicates text margins, red line is the physical page margin): ...
6
votes
1answer
84 views

convert ancient dvi file that uses special fonts to pdf?

I have a dvi file from 1989 that uses special fonts. The dvi file was created from LaTeX. I saved all of the LaTeX source, all of the .tfm files, all of the .pk files, all of the .pxl files, and all ...
6
votes
1answer
372 views

Asymptote with lualatex and otf fonts

Consider the following simple asymptote file: import settings; import three; settings.tex = 'lualatex'; settings.outformat = 'pdf'; texpreamble("\usepackage{luatex85} \usepackage[math-style = TeX]{...
6
votes
1answer
345 views

Is it possible to improve legibility of an old (La)TeX document with problematic fonts?

(Edit: Somehow an addition I made to this question got lost before I pressed the bounty button. Apologies to whoever already answered partially.) I occasionally come across old(ish) papers written in ...
5
votes
2answers
4k views

Problems with TexLive 2012 on Ubuntu after network installation

I totally purged TexLive from my system, and then I installed the latest version of TexLive from the internet installer as described here instead of via the Ubuntu package manager. Next, I installed ...
5
votes
1answer
945 views

Searching for a better workflow to get a cropped PDF and EPS graphics - Stage 1

I am using TeX Live 2010. I don't use MikTeX anymore because of many troubles I found in the past. Input files: gridon.tex: % gridon.tex \documentclass{minimal} \usepackage{pstricks} \pagestyle{...
5
votes
2answers
23k views

How to use “latex -> dvips -> ps2pdf” to get pdf output?

I am using pdflatex to produce a .pdf file. But, it is not working when .eps files are compiled. I have tried it with XeLatex but, it is hanging out sometimes. Now I want to produce a .pdf file using ...
5
votes
1answer
2k views

Use TeX Gyre fonts with latex+dvips+ps2pdf

I want to use the TeX Gyre fonts (especially the Pagella and Pagella Math) with LaTeX+dvips+ps2pdf. In the future I want to use this for PSTricks but first I've to solve my font problems. I use this ...
5
votes
1answer
1k views

PDF Layers (OCG) using latex->dvips

I want to generate a ps file with layers. Ocg.sty does not support ps, so I want to write a simple example by myself to see if its possible. I took a pdf version from here and tried to change the ...
5
votes
1answer
80 views

Fixing paths in a legacy dvi file

I have a legacy book written in LaTeX for which I have all sources, eps figures, and the final dvi file. I have to produce a pdf for the book that matches the original book published in paper. Since ...
5
votes
1answer
4k views

dvips / mktexpk can't find font

I have an application that builds input for LaTeX, runs latex on that input, runs dvips on the output, and converts that file to an image. I just deployed the application to a new server with the ...
4
votes
3answers
2k views

How to replace AUCTeX's “LaTeX” command with latex->dvips->ps2pdf chain?

What is the proper way of solving this problem with respect to AUCTeX's design - I mean, how to do that in a way that it will still recognize the errors, display log on demand, make "View" command ...
4
votes
1answer
641 views

What kind of “magic” does preview package do to produce a tight paper size?

Actually the following method, that looks like reinventing the wheel, has been discarded once I have known the existence of preview package. % WithoutPreview.tex \documentclass{article} \usepackage{...
4
votes
2answers
1k views

Problem with hyperref and hypdvips

In my table of contents, there are entries that span more than one line. Since I compile with LaTeX -> PS -> PDF, the links created by hyperref are not correctly displayed in the output file (pdf). To ...
4
votes
1answer
768 views

Compiling the latex->dvips->ps2pdf with dvips -Ppdf

The documents I create heavily depend on postscripts (I use pstricks quite a lot). I've had some issues with resolution, and it's been recommended to try using dvips -Ppdf. But recently, I've been ...
4
votes
1answer
645 views

Why do LaTeX and pdflatex produce different margins?

I am working with TeXStudio on Windows. When I use latex + dvips + ps2pdf and pdflatex the margins in the resulting PDF file are different. Has anyone else encountered this? Is there a way to avoid ...
4
votes
1answer
125 views

What's the difference between tex.pro and texc.pro with dvips?

I sometimes see tex.pro mentioned and sometimes texc.pro mentioned. What are the differences betweeen those two? Possibly resulting questions: Are those relevant to the end user (me)? Should I ...
4
votes
1answer
219 views

colored box hyperref error for latex->dvips->ps2pdf in tex live 2019

I am using tex live 2019, and I have a problem with hyperref. The error does not happen when I use PDFLaTeX as shown in the first image. However, when I use latex->dvips->ps2pdf, all citations and ...
4
votes
2answers
6k views

How to generate .pdf files with vim-latex suite?

I'm having trouble setting up vim-latex suite to produce .pdf files. Right now the \ll (<leader>ll) command will compile latex. Then \lv (<leader>lv) will produce a .dvi file. Is ...
4
votes
1answer
440 views

PS file is not well included using latex->dvips chain

I'm trying to include given PostScript files in my document. However, I'm not really successful using the latex -> dvips chain as the image is not well included: However, the same file works fine ...
4
votes
1answer
992 views

Drawing graphs and Feynman diagrams with axodraw

I used CalcHEP to get following graph. However, the output gives a problem and it does not draw any graphs. (I have install axodraw.sty locally). The code is as follows: % u, D -> W+, b, B \...
4
votes
3answers
435 views

Shortening compile time with large eps files when using pstricks and dvips

So I am also sending this to both the pstricks and the powerdot lists as it relates to both, but mostly to compiling via dvi-> dvips -< ps2pdf or similar. I make my lecture slides with Powerdot ...
4
votes
1answer
424 views

pdf link does not work with latex/dvips/pstopdf execution

I have this simple LaTeX file: \documentclass{book} \usepackage{hyperref} \hypersetup{% linkcolor=blue, colorlinks=true,% hyperlinks will be black pdfborderstyle={/S/U/W 1}% border style with ...
3
votes
2answers
197 views

Adding crop marks to legacy document

I have a legacy book written in Plain TeX which contains code that centers the page in A4 paper. I need to add crop marks to these A4 pages at the correct positions for the target book size. I have ...
3
votes
2answers
306 views

Output difference between MacTeX 2015 and 2017 with powerdot class

I upgraded MacTeX on my laptop from the 2015 distribution to the basic 2017 distribution. After installing the required packages, I tried to compile one of my slide decks which use the powerdot class, ...
3
votes
1answer
310 views

Texlive, update and dvips

When I run tlmgr update -all, I see that, or at least I understand that the engine dvips is updated at some point. If yes, what is updated in dvips?
3
votes
1answer
292 views

Including spotcolors in a DVI file

Consider, the PDF is generated using DVI-PS-PDF. Is there an easy way to add spotcolor in a dvi file, so that the resulting PDF contains the spotcolor. I know that using pdflatex this is possible. ...
3
votes
1answer
2k views

Is it possible to force dvips to produce an EPS with %%HiResBoundingBox header?

Invoking the following command dvips input.dvi -E -o output.eps will produce an EPS file with only %%BoundingBox header as follows: %!PS-Adobe-2.0 EPSF-2.0 %%BoundingBox: 85 626 184 729 ...
3
votes
2answers
65 views

Points of psline are in reverse order in Postscript code

I build an animation (using animateinline of animate-package in a beamer presentation) containing a \psline with 4 points. The points are calculated with "postscript math". I wanted to include the ...
3
votes
1answer
957 views

hyperref with ocgcolorlinks option & dvips/ps2pdf

In my PDF document, while opened in the PDF viewer (AR), I would like to have coloured text as hyperlinks instead of boxes. So I set the package option ocgcolorlinks with hyperref, because links ...
3
votes
1answer
145 views

Different line breaks with pdflatex and latex-dvips-ps2pdf

I have noticed that, for the same text, I get slightly different line breaks depending on whether I use pdflatex or a latex-dvips-ps2pdf sequence. This is what I get with pdflatex And this is what I ...
3
votes
1answer
572 views

eforms using a LaTeX (custom) font for text fields \textFont

I'm unable to use a LaTeX font (e.g., Augie) for text fields in a PDF form generated with eforms. I'm using MikTeX 2.9 on Windows 10. Acrobat Reader is choosing another font to display in its place (...
3
votes
1answer
4k views

pdflatex, dvips: cannot determine size of graphic in … (no Bound ingBox)

I know that there are threads related to this, but it is really painful... I would like to insert images saved from a tool into latex. The images could be saved in any format of the followings: PNG, ...
3
votes
0answers
32 views

dvips not thread-safe

Running dvips -z produces two temporary files head.tmp and body.tmp. So when I run dvips on different files concurrently in the same dir, sometimes the different head.tmp or body.tmp "overlap" (AFAICT)...
3
votes
0answers
94 views

Unable to generate PDF using hyperref along with babel[arabic]

I am unable to generate PDF when using hyperref & bookmark package alongwith \usepackage[arabic,english]{babel}. If I remove the packages hyperref & bookmark, then PDF generated successfully. ...
3
votes
0answers
509 views

Line breaking with adjustment but no hyphenation

I have the following situation: very long function names that are put into text with a macro \fun{this-is-a-very-long-fuction-name}. This macro includes indexing, but then finally puts the function ...