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
1answer
43 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 (...
0
votes
0answers
27 views

SOLVED ! Argument of \deferred@thm@head has an extra } [closed]

I'm using the Legrand Orange template and I didn't have any problem, but now I get the error: ! Argument of \deferred@thm@head has an extra } . referred to any of the following lines from the ...
3
votes
0answers
57 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
1answer
63 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 ...
3
votes
1answer
51 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(&...
0
votes
0answers
50 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....
1
vote
1answer
65 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 ...
1
vote
0answers
57 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 ...
0
votes
1answer
41 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
1answer
82 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 (\...
0
votes
1answer
61 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 ...
0
votes
0answers
44 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
1answer
176 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 ...
1
vote
0answers
90 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
0answers
65 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 ...
2
votes
1answer
80 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 ...
0
votes
0answers
103 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 ...
4
votes
1answer
253 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 ...
1
vote
0answers
100 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
0answers
34 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
1answer
217 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
1answer
99 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} \...
0
votes
0answers
141 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
0answers
467 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} ...
0
votes
0answers
188 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 ...
1
vote
0answers
207 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 ...
0
votes
1answer
102 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
0answers
83 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
2answers
176 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
3answers
856 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....
0
votes
1answer
481 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 ...
2
votes
0answers
94 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, ...
3
votes
2answers
326 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
1answer
162 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
2answers
511 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 ...
4
votes
1answer
970 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 ...
1
vote
1answer
250 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
1answer
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 ...
2
votes
1answer
69 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 ...
0
votes
1answer
137 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-...
23
votes
2answers
522 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
0answers
69 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?
4
votes
1answer
373 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\) \...
4
votes
1answer
226 views

\gls in the subscript has too normal size

Let us compile the following code with latex+dvips or latex+dvipdf (there are various reasons for using the DVI format; in my case, it's recompiling and adapting the old code): \documentclass{article} ...
1
vote
0answers
690 views

MiKTeX dvipng fails to generate font bitmaps (pk files)

I am trying to convert a dvi to a png using the following command: dvipng.exe -q -truecolor1 -freetype0 -D 100 -o "table.png" "table.dvi" This fails with the following error message: This is ...
3
votes
2answers
234 views

hyperref + glossaries + latex = bad spacing around math relations

Compile the following input with latex && dvips (which you sometimes have to do for a variety of reasons; my case is recompiling old documents): \documentclass{article} \usepackage[hidelinks]{...
2
votes
0answers
299 views

How to make dvisvgm output colors properly (wrong text color on dark background)?

Example code: \documentclass{standalone} \usepackage[alignedleftspaceno]{amsmath} \usepackage{tikz} \pagecolor{black} \begin{document} \begin{tikzpicture} \path node[text=white] ...
0
votes
0answers
1k views

How to generate a DVI file in Windows?

I have a .tex file and I need to generate a DVI file from this. I am using MiKTeX 2.9 under windows. I tried TeXworks, TeXstudio, and Emacs but none of them produce the DVI file. I also run the ...
2
votes
0answers
7k views

Can I use bitmap .bmp images in LaTeX? [duplicate]

I'm on overleaf and already tried all LaTeX engines, resulting in the same error: LaTeX Error: Unknown graphics extension: .bmp Is there a way to fix this rather than converting the images one by ...
7
votes
2answers
259 views

How do PostScript interpreters know the meanings of PGF-specific operators, such as 'pgfe' and 'pgfstr'?

A TikZ node "lives" in a TeX box. With latex as the TeX engine these boxes are converted to PostScript directives. Use \showbox to see how a box like this is implemented by following these steps. ...