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
2 answers
34 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 ...
  • 2,696
0 votes
0 answers
42 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 ...
  • 204
0 votes
0 answers
42 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 ...
  • 204
1 vote
0 answers
45 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 ...
  • 119
0 votes
0 answers
563 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:...
2 votes
1 answer
124 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 ...
  • 213
0 votes
0 answers
37 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.
0 votes
1 answer
102 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 ...
1 vote
1 answer
110 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 (...
3 votes
0 answers
109 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 ...
1 vote
1 answer
120 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 ...
  • 271
3 votes
1 answer
56 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(&...
  • 515
0 votes
0 answers
181 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....
  • 41
1 vote
1 answer
80 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 ...
  • 41
1 vote
0 answers
90 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 ...
  • 258
0 votes
1 answer
88 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. \...
1 vote
1 answer
242 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 (\...
1 vote
1 answer
133 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 ...
  • 13
0 votes
0 answers
52 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 ...
6 votes
1 answer
200 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 ...
  • 13.2k
1 vote
0 answers
127 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 ...
0 votes
0 answers
181 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 ...
  • 565
2 votes
1 answer
109 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 ...
  • 24.5k
0 votes
0 answers
125 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 ...
  • 11
4 votes
1 answer
310 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 ...
  • 5,693
1 vote
0 answers
109 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?...
0 votes
0 answers
37 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?
3 votes
1 answer
333 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{/...
0 votes
1 answer
108 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} \...
  • 51
0 votes
0 answers
185 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 ...
1 vote
0 answers
737 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} ...
  • 21
0 votes
0 answers
256 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 ...
  • 161
1 vote
0 answers
251 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 ...
  • 675
0 votes
1 answer
122 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?
0 votes
0 answers
86 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 ...
1 vote
2 answers
200 views

How to use latin modern fonts in dvips?

Consider the following example: \font\tenrm=rm-lmr10 \tenrm a \end Run tex on it, and then dvips: dvips: Font rm-lmr10 not found; using cmr10 dvips: Checksum mismatch in font rm-lmr10 As far as I ...
13 votes
3 answers
920 views

Syntax and semantics of XDV commands (XeTeX)

Donald E. Knuth has included a complete list of the syntax and semantics of DVI commands (opcode, symbolic name, number of parameters, meaning) in Computers & Typesetting Vol. E, §585, pp. 236–239....
  • 1,834
1 vote
1 answer
575 views

Generate DVI file from valid TEX with pdflatex returns error for images

I can render PDF using pdflatex normally, I used Makefile like this: all: pdflatex $(PAPER).tex bibtex $(PAPER) pdflatex $(PAPER).tex pdflatex $(PAPER).tex This renders PDF with no ...
  • 135
2 votes
0 answers
102 views

adding microtype package produces invalid DVI error when using fouriernc package

This MWE \documentclass[11pt,notitlepage]{article} \raggedbottom \usepackage{fouriernc} \usepackage[T1]{fontenc} \usepackage[activate={true,nocompatibility},final,tracking=true, ...
  • 18.5k
3 votes
2 answers
362 views

Computing letter coordinates (Typesetters Steganography)

Is there a way to find out about the coordinates of letters in a formatted piece of text? Suppose the compiled text has three columns, and the letters are equally spaced. Then what I'm looking for is ...
1 vote
1 answer
178 views

How to parse .dvi file in c#. Reading 24 word int in C# is my problem

I try to read .dvi file in c#. I have a problem with the 3 word or 24 byte integer. How do I do the HiLo field swapping on this, .NET is in little endian and i believe .dvi is in big endian. And the ...
1 vote
2 answers
636 views

Break URL in Bibtex reference without losing the link, with hyperref package and LaTeX compiler

I am trying to properly break some of the url in my references. When using \usepackage[breaklinks]{hyperref}, the url breaks but the link disappear (not clickable) even though the blue color is still ...
  • 11
4 votes
1 answer
1k views

Convert DVI into PDF properly

For viewing my work when I'm programming LaTeX, I decided to use the DVI format. The reason is that the result is perfect compare to the PDF. For example, the borders of tabulars appear perfeclty ...
  • 335
1 vote
1 answer
276 views

Error "missing DVI driver" in tabularht?

I'm using \usepackage[vlines]{tabularht} and got this error: ! Package tabularht Error: Missing DVI driver, option `vlines' disabled. See the tabularht package documentation for explanation. Type H &...
0 votes
1 answer
1k views

error compiling a beamer file with pdflatex

I type the command \pdflatex otticaCIDI.tex and get the following error: ! Package hyperref Error: Wrong DVI mode driver option `dvipdfmx', (hyperref) because pdfTeX or LuaTeX is ...
  • 1
2 votes
1 answer
73 views

Char in DVI file coded as 0x03 while actual hex value is 0xA4

latex file: \documentclass[12pt]{article} \begin{document} \thispagestyle{empty} $\mathbf{p}^*$ \end{document} output of dviasm on DVI of this file: [preamble] id: 2 numerator: 25400000 ...
  • 121
0 votes
1 answer
169 views

Which shortcut compiles user commands (different types of compyling) in texstudio

I want to run txs:///latex | txs:///bibtex | txs:///latex | txs:///latex | txs:///dvipdf | txs:///dvips | txs:///view txs:///pdflatex | txs:///bibtex | txs:///pdflatex | txs:///view txs:///dvi-ps-...
24 votes
2 answers
570 views

Should different TeX implementations (e.g. MiKTeX's and TeX Live's) produce identical DVI files?

It is said that TeX is supposed to work identically on all systems. For example, Knuth's TRIP test exists to ensure that any program can be called “TeX” only if it does certain things given certain ...
1 vote
0 answers
73 views

PostScript Driver for DVI Files has stopped working

How do i enable the PostScript Driver for DVI Files to work properly.I am not able to insert pictures in my latex document in PCTEX. How can i fix this problem?
  • 11
4 votes
1 answer
430 views

Different SVG Output for mathematics symbols with dvisvgm used with htlatex or make4ht

The tex file with the following code is to be converted into html. \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} \(\implies\) and \(\iff\) \\ \(a \implies b\) \...
  • 1,443