Skip to main content

Questions tagged [dvi]

{dvi} should be used for questions about the DeVice Independent format produced by the classic (la)tex compiler. If the question is about how to produce a dvi file with the classic (la)tex compiler then the tag {dvi-mode} should be used instead.

Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

(VSCode/LaTeX Previewer) Can someone help me figure out why my installation of the plugin doesn't work?

Posted on the VSCode Stack Overflow but since this is a latex plugin I am having trouble with, this should be allowed here. I have the following LuaLaTeX code that I want to be able to have coupled ...
Felix Maldonado's user avatar
0 votes
0 answers
33 views

Viewing .dvi files [duplicate]

I want to know how to view .dvi files using Overleaf as my TeX editor. I have a dvi file version of lecture note downloaded on my computer.
PlayerUnknown1098's user avatar
5 votes
2 answers
488 views

Is DVI used as an intermediate format by pdfLaTeX and LuaLaTeX?

As I understand it, the LaTeX ecosystem has been gradually inching toward PDF as the default output format for a while. However, DVI is indispensable for a workflow I've been experimenting with to ...
steve's user avatar
  • 2,256
2 votes
1 answer
153 views

How to make cmyk colors work with dvisvgm?

I have a tex file like this: \documentclass{standalone} \usepackage[cmyk]{xcolor} \usepackage{tikz} \begin{document} \begin{tikzpicture} \fill[green] circle (3); \end{tikzpicture} \end{document}...
ttsc's user avatar
  • 415
0 votes
0 answers
16 views

xdvi - is the "margins" option working?

I'm using xdvi with a shrink factor of 2 (xdvi -s 2). From the xdvi man pages:"-margins (.Margin) Specifies the size of both the top margin and side margin. This determines the ``home'' ...
jzz11's user avatar
  • 23
1 vote
2 answers
89 views

Shipout and writes to file

During compilation of a latex document, the pages are "shipped out" one at a time. I understand this is marked by console message [1], [2], [3] etc, making each page. However, by inspecting ...
Jamie Vicary's user avatar
  • 11.2k
1 vote
0 answers
34 views

Arbitrary sections in a dvi file

I'm writing a rendering program that as a part of it will allow the user to render TeX strings. I was planning on converting the tex string to a dvi and then rendering the dvi myself. I want the ...
sudgy's user avatar
  • 133
1 vote
0 answers
78 views

How to retrieve coordinates of the bounding boxes from rendered latex that may contain math expressions?

I'm wondering if there is a path to retrieve bounding boxes of the rendered glyphs (text, math symbols, etc) from latex. pdftotext supports partially of that but won't cover non-text glyphs like \frac{...
galactica's user avatar
2 votes
0 answers
48 views

Equality of compiled LaTeX documents

I want to test whether or not the output of two different compilations of the same .tex file under different circumstances is equal.I first considered compiling to pdf and then comparing the pdf's ...
Marc Miller's user avatar
1 vote
0 answers
111 views

Why does this code generate a DVI file that can't be opened?

I am generating a .DVI file with MiKTeX, that can't be opened. By looking online, I found this reply: https://latex.org/forum/viewtopic.php?t=500 suggesting the problem could be related to PostScript. ...
Federico Tedeschi's user avatar
1 vote
0 answers
110 views

Why is my Arabic writing broken? [closed]

Previously, I tested LyX for writing in Arabic with the Arabic (Arabi) language setting. LyX could render Arabic writing properly at that time without punctuation or harakat. But, if I add harakat or ...
Muhammad Hikam Zainuri's user avatar
0 votes
0 answers
45 views

writing own commands in Tex studio

In Texstudio how to open my own window to write div my own Latex command? Also, in Tex studio, how to run Latex and create a dvi file only, not PDF?
Marina's user avatar
  • 1
0 votes
1 answer
479 views

How to get bounding boxes for jpg/png in latex

Currently i include png/jpg files with graphicx package compiling with lualatex, no problem, in particular no error message because of bounding box not found. This question is about historic ways to ...
user2609605's user avatar
1 vote
0 answers
42 views

\scriptstyle doesn't propagate into the output of \gls{…} when using latex+dvips

Feeding mwe.tex containing \documentclass{article} \pagestyle{empty} \usepackage{amsfonts} \usepackage[hidelinks]{hyperref}%%% The documentation of glossaries tells to load hyperref first. But this ...
user avatar
1 vote
1 answer
72 views

latex + hyperref + glossaries + pstricks produces colored text and underlined links in DVI though neither is commanded

Feeding mwe.tex containing \documentclass{article} \pagestyle{empty} \usepackage{amsfonts} \usepackage[hidelinks]{hyperref}%%% The documentation of glossaries tells to load hyperref first. \usepackage[...
user avatar
0 votes
1 answer
76 views

Metadata in dvi files

I found out that even when creating dvi files, e.g. with pdflatex --output-format=dvi ... one can use hyperref. When i use just \usepackage{hyperref}, then my viewer okular shows some content. On the ...
user2609605's user avatar
2 votes
1 answer
170 views

Read and convert very old DVI files

I have some very old DVI files from the 80s and 90s which were created using the version of TeX and/or LaTeX available at that time. YAP barfs on these complaining of no preamble; so does present-...
pbpb's user avatar
  • 41
0 votes
0 answers
34 views

long equality symbol for DVI output

Continuing A better long ≝ (defining equals, equals to by definition) without bumps, feeding \documentclass{article} \pagestyle{empty} \usepackage{graphicx} \newcommand*{\longEquals}{\mathrel{\...
user avatar
0 votes
0 answers
30 views

How to build index of words from PostScript generated by DVIPS?

The background story is, I'm building Common Lisp the Language from its publicly released source, the source is in LaTeX 2.09 and was build by "Textures, an implementation of TeX by Blue Sky ...
LdBeth's user avatar
  • 1,028
0 votes
0 answers
36 views

powerdot: slides no longer rendering (problem with dvi files?) [duplicate]

I have many powerdot slides that have rendered successfully in the past. Today, I re-rendered one of my old files using the same command as before but now, the slides are all cut-off on the right-hand ...
Pearson250's user avatar
0 votes
2 answers
172 views

Are output files other than PDF obsolete?

I always thought tex turned code into pdf but it seems that has not always been the case. Depending on the process, I could end up with a DVI file or a PS file. Are these still commonly used? Can they ...
ames1989's user avatar
1 vote
2 answers
419 views

latex>dvips>ps2pdf in a single step

As explained in How to use "latex -> dvips -> ps2pdf" to get pdf output? sometimes it necessary to produce a pdf file from a tex file in two steps: latex input.tex dvips input.dvi ...
Name's user avatar
  • 2,858
0 votes
0 answers
51 views

Extracting spatial metadata about \hboxes, \vboxes, glyphs, glues, etc

I have been using TeX for almost 10 years, but only very recently decided to learn more about what TeX really does under the hood. This is because I want to display LaTeX-rendered text and mathematics ...
niran90's user avatar
  • 204
0 votes
0 answers
92 views

Inferring the baseline height and bounding box widths of characters/text/equations in the 'standalone' environment

I am writing a mathematics visualisation tool using C++ and OpenGL, and want to incorporate LaTeX text and equations. I was initially looking for a C++ library to directly render LaTeX text/equations ...
niran90's user avatar
  • 204
1 vote
0 answers
111 views

dvips or dvipdf + evince = missing special characters on printout

This started happening fairly recently (sometime between April 7 and May 5). It appears that if I convert a DVI to a PDF (e.g. using dvipdf, although I'm not sure what all tools trigger this) and then ...
ddawson's user avatar
  • 119
0 votes
0 answers
800 views

Call LaTeX (not PDFLaTeX) in Miktex

I am a bit confused because in the "good old days", the command latex seemed to create a dvi document. Now, when I run latex, obviously pdflatex is run, even if I specify an output format: C:...
J Fabian Meier's user avatar
2 votes
1 answer
471 views

Can latexmk generate a DVI file with lualatex or an XDV file with xelatex without generating a PDF?

Background: I am the developer of IguanaTex, a PowerPoint add-in to insert LaTeX displays in Powerpoint. I would like to let my users generate SVG files using dvisvgm via either a DVI file or an XDV ...
Mustang's user avatar
  • 213
0 votes
0 answers
80 views

Can vimtex be integrated with a DVI viewer?

Is it possible to configure vimtex to produce a DVI file (instead of PDF) from the a latex source file and update an external DVI viewer? This could potentially speed up the compilation times.
Amit Moscovich's user avatar
0 votes
1 answer
191 views

My pictures disappeared

I'm writing a text and everything was fine but today two files named "Main.out.ps" and "Main.dvi" appeared in my main folder. My problem is that in the Main.pdf my images that I ...
Luis Alexandher's user avatar
1 vote
1 answer
266 views

How to specify backgroundcolor with dvisvgm

I am trying to convert a DVI to SVG with some white background. How do I need to specify the color? I have tried to convert the following example using latex (generating the DVI) and dvisvgm (...
Uwe Ziegenhagen's user avatar
3 votes
0 answers
312 views

How can I write a LaTeX interpreter for Roblox?

I want to render LaTeX inside Roblox, a 3D game engine, to create educational math games. There are 3 problems with this plan: You can only run Lua code in Roblox, so natively compiling LaTeX is not ...
user avatar
1 vote
1 answer
264 views

Emoji in DVI? (dvilualatex, dvisvgm and twemojis)

Motivation I want to use emojis in Manim, an animation software which uses LaTeX for rendering in the background. The pipeline is: generate a TeX file run dvilualatex on it to convert it to DVI run ...
csha's user avatar
  • 281
3 votes
1 answer
72 views

Custom PK-file is not accessible for DVI-driver

I try to understand how new fonts are created. I drew my stylized letter 'L'. Then I programmed it in Metafont (MyL.mf). mode_setup; fontmaking:=1; pixels_per_inch:=600; beginchar(&...
Vladimir's user avatar
  • 589
0 votes
0 answers
688 views

pk: height, ascend, descend and cap-height of a pk font face

still working on my dvi-to-png program in Go ([1]), I am trying to shoehorn face metrics from pk and tfm into this structure from "the" Go font library: package font // import "golang....
sbinet's user avatar
  • 41
1 vote
1 answer
156 views

pk: how to compute the advance of a given glyph

I am working on a Go library that reads a .dvi file and produces a .png file. I have already the packages that find+parse .tfm and .pk files working: I have the pk2bm, tfm2pl and dvitype equivalent ...
sbinet's user avatar
  • 41
1 vote
0 answers
193 views

Generate eps from tex

Assume the test.tex file for an image is as \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node [draw] {hello world!}; \end{tikzpicture} \end{document} I used the ...
CLAUDE's user avatar
  • 268
1 vote
1 answer
206 views

AUCTeX: TeX-PDF-from-DVI is always "Dvips" and file is compiled to DVI instead of PDF

I have a weird behavior of the TeX-PDF-from-DVI variable from AUCTeX: it keeps being set to "Dvips", and Emacs keeps calling latex instead of pdflatex. I start with a minimal file test.tex. \...
Evgeny Makarov's user avatar
2 votes
1 answer
454 views

Tex document compiles fine, but converting it to .odt or .docx failes for mk4ht and pandoc

I am able to compile my document fine using the pdflatex chain in Kile, but when I try to convert it to an .odt file using mk4ht oolatex 0.main.tex I get the following error. ! pdfTeX error (\...
Dude McBro's user avatar
1 vote
1 answer
405 views

LateXML can't find binding for class

I'm using LateXml for the first time and I can't get the conversion. There are some details I must comment first: I use TexLive 2019 in linux. I'm using a .cls file in which the documentclass is ...
Charlie's user avatar
  • 13
0 votes
0 answers
117 views

Yap suddenly fails to print .dvi files and .ps files

dvi-Files that used to print with Yap (up to March 9) don't now (from March 12 onwards), although Yap shows them on screen, nor does "File - Print - Postscript" work. Instead error messages ...
Schlurch's user avatar
6 votes
1 answer
248 views

DVI files with modern TeX workflows

Out of curiosity, are there any modern TeX workflows that still use .dvi files? Or is everything going straight to PDF these days? In other words, can I safely ignore the existence of such things as I ...
Don Hosek's user avatar
  • 14.2k
1 vote
0 answers
182 views

yap suddenly fails to print .dvi-Files [closed]

yap suddenly fails to print .dvi-Files, instead displays message "MiKTeX encountered an internal error", although MiKTeX installed October 2020 hasn't been changed/updated since. (The ...
Schlurch's user avatar
0 votes
0 answers
419 views

How to preview a DVI (rather than a PDF) in TeXstudio

TeXstudio is very slow when compiling and previewing a 400-page book. I was told that previewing a DVI is faster than PDF, so I want to preview a DVI instead. How do I do that in TeXstudio? By ...
Echeban's user avatar
  • 605
2 votes
2 answers
272 views

Differences between .dvi-files created via LuaLaTeX and .dvi-files created via pdfLaTeX

System in use for experiments: Debian buster (i386), vanilla TeX Live 2020 Creating .dvi-files with LuaLaTeX currently appears to have no practical use to me as end-user as long as due to the lack of ...
Ulrich Diez's user avatar
  • 29.7k
0 votes
0 answers
150 views

eps pictures don't work in my new LaTeX

I have been writing this book for 10 years, no problem with LaTeX-ing. Last week I had to update my MacOS from 10.9 to 10.14. As a result, I had to reinstall my TeXShop, as well. Now I'm getting this ...
gabor's user avatar
  • 11
4 votes
1 answer
411 views

How to use spotcolor inside \special for dvi -> ps -> pdf?

I have a bunch of old figures using the picture environment. To compile the figures I have to use the dvi->dvips->ps2pdf toolchain. I need to change the colours in these pictures from rgb model ...
TeXtnik's user avatar
  • 5,873
1 vote
0 answers
132 views

On TeX and LaTeX relations [closed]

Could you help me with the following questions? I have downloaded the source files of MiKTeX of the last version and I want to see the source code of latex.exe but cannot find it. Where is it located?...
Vladimir's user avatar
0 votes
0 answers
42 views

Can one retrieve the content of dvi.tex files?

Hello: I still have some dvi.tex files which were created in the times of Textures. They all indicate a size of 0 bytes. Are they really ghosts, or is there a way to retrieve their contents?
Bruno Kahn's user avatar
3 votes
1 answer
609 views

How to put a picture inside a dvi file?

I want to use Helevetica Neue for producing a dvi file. As this means using a standard system (non LaTex) font, this leave LuaTeX as the only option. I’m simply using something like this: \photo{/...
user2284570's user avatar
0 votes
1 answer
117 views

inconsistent pdf eps output: pst2pdf acting on original.tex vs pdflatex acting on pst2pdf original.tex->produced.tex(multiple)

Following "The current state of pstricks project" (Herbet Voss, TUGboat, Vol31 (2101), no.1) I prepared a file unitz.tex containing 3 pspicture. \documentclass{standalone} \usepackage{pstricks} \...
paul's user avatar
  • 51