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
1 vote
0 answers
61 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
1 vote
0 answers
44 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
68 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
87 views

Why is my Arabic writing broken?

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
19 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
177 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
0 votes
0 answers
45 views

glossaries: spurious space before the glossarized item at the start of a line

Feeding mwe.tex containing \documentclass{article} \pagestyle{empty} \usepackage{amsfonts} \usepackage[style=long3colheader,toc]{glossaries}% using v4.52. If instead we use glossaries-extra v1.50, the ...
AlMa0's user avatar
  • 479
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 ...
AlMa0's user avatar
  • 479
1 vote
1 answer
66 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[...
AlMa0's user avatar
  • 479
0 votes
1 answer
47 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
119 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
32 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
28 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
  • 593
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
142 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
276 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,806
0 votes
0 answers
48 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
78 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
94 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
702 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
341 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
68 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
157 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
208 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
251 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
233 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 ...
m93a's user avatar
  • 271
3 votes
1 answer
69 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
436 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
137 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
169 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
  • 258
1 vote
1 answer
176 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
394 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
274 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
98 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
236 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
  • 13.8k
1 vote
0 answers
173 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
334 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
  • 595
2 votes
2 answers
223 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
  • 27.5k
0 votes
0 answers
143 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
354 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,793
1 vote
0 answers
126 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
38 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
524 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
115 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
0 votes
0 answers
241 views

Mikitex problem report during compilation from latex to dvi

I m facing a problem named as Mikitex problem report in some documents during compilation from latex to dvi. Copied information given below: > MiKTeX Problem Report Message: The page could not be ...
Shahid Rafiq's user avatar
1 vote
0 answers
1k views

dvisvgm: DVI to SVG issue

I am trying to convert a DVI to SVG on Manjaro / Arch Linux, but it just won't work. I use the following latex (test.tex) to create a dvi file (test.div) \documentclass{standalone} \usepackage{tikz} ...
swap's user avatar
  • 21
0 votes
0 answers
357 views

Getting a .dvi output from Overleaf

This question deals with what I am trying to achieve above, but when I changed the compiler to LaTeX from PdfLaTeX, my output PDF only had 3 pages, when the entire document is supposed to be 8 pages ...
SDG's user avatar
  • 161
1 vote
0 answers
299 views

Reset font size of dvi file in Latex (Yap problem)

I am using WinEdt editor for LaTeX. Suddenly, the DVI file has shrinked so much in size that it is totally impossible to see it with a naked eye. Maybe that I've hit some button by mistake. It is of ...
monalisa's user avatar
  • 685
0 votes
1 answer
171 views

How to concatenate XeTeX's .xdv files

For concatenating LaTeX's .dvi files you can use the program dviconcat: dviconcat -o combined.dvi file1.dvi file2.dvi file3.dvi What program can you use for concatenating XeLaTeX's .xdv files?
Jewdokija's user avatar
0 votes
0 answers
90 views

Latex problem with eps figures generated with Matlab

I have generated eps figures for my article which encountered problem with Latex. When I compile it with Latex --> dvi , The figure on the left side does not appear properly as can be seen in the ...
Skeptical Khan's user avatar