Skip to main content

Questions tagged [dvi-mode]

In dvi-mode LaTeX produces a Device Independent Format (.dvi) file which is usually converted to PostScript (.ps) or the Portable Document Format (.pdf). This tag is about the classic latex compiler which is now pdflatex in dvi-mode. Questions about the DVI format itself should be tagged with 'dvi' directly.

Filter by
Sorted by
Tagged with
3 votes
1 answer
249 views

invalid utf-8 sequence when using includegraphics with LuaTeX on MacOS 14.4

When compiling a document using LuaTeX, Version 1.16.0 (TeX Live 2023/Homebrew) dvilualatex --halt-on-error --interaction=nonstopmode --synctex=-1 C3.tex and containing \begin{figure}[h!] \...
David P's user avatar
  • 33
1 vote
1 answer
129 views

Why does running latex with a4paper or 210 mm × 297 mm followed by dvips result in bounding-box width 596 pt rather than 595 pt?

Various source on the Web (e.g., http://www.prepressure.com/library/paper-size) specify the A4 paper size as 210 mm × 297 mm or 595 pt × 842 pt. Using 1 pt = 25.4 mm / 72, the width 210 mm ≈ 595....
AlMa1r's user avatar
  • 541
0 votes
1 answer
60 views

draftwatermark picks up italics from the top of the next page and produces Postscript, and no large smallcaps italics fonts are available in fix-cm

Feeding latex with \RequirePackage{fix-cm} \documentclass{article} \usepackage[T1]{fontenc} \usepackage{amsthm} \usepackage[text={\textsc{Confidential \ Draft}}, angle=53.2, fontsize={92.4pt}]{...
user avatar
1 vote
1 answer
122 views

error using htlatex and no output file is generated :(

I am very new to using LaTeX so please be kind :) Specs: Using Windows OS, TexLive, Overleaf(initially). Used the accessible package from https://libguides.lib.msu.edu/c.php?g=995742&p=8207771 ...
Locke's user avatar
  • 13
1 vote
1 answer
51 views

Typesetting \gls in subscripts and superscript in the right size

Continuing \gls in the subscript has too normal size, running a loop of latex followed by makeglossaries till stabilization on \documentclass{article} \usepackage{amssymb} \usepackage[hidelinks]{...
user avatar
3 votes
1 answer
98 views

NewTX no longer prints ≗, ≖, blackboard bold (e.g., 𝔹), ⊛, Hebrew (say, ד) , ✓ properly

With the TeX Live 2023 as of 2023-08-13, upon running latex on \documentclass{article}% version 2023/05/17 v1.4n. Same problem with standalone. \usepackage{newtx}% version 2023/07/30 v1.723. Same ...
user avatar
0 votes
0 answers
44 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
0 answers
22 views

latex+dvips+gv: the left vertical bar of the frame of mdframe vanishes at certain magnifications [duplicate]

Feeding \documentclass{article} \usepackage{mdframed} \begin{document} \begin{mdframed} Test \end{mdframed} \end{document} to latex followed by dvips results in the left vertical bar (and, with ...
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
2 votes
1 answer
65 views

Running lualatex after latex while retaining auxiliary files in the presence of colon in labels and nonmain french language

Let's assume that we have a huge LaTeX document, out of which we produce a PostScript version via latex+dvips and a PDF version via lualatex. Compiling everything from scratch (without any auxiliary ...
user avatar
2 votes
1 answer
424 views

What is dvilualatex made for? Strange output

I might be asking something stupid, but why does pushing mwe.tex containing \documentclass{article} \pagestyle{empty} \begin{document} Text \end{document} through dvilualatex mwe && dvips mwe ...
user avatar
0 votes
1 answer
115 views

hyperref + glossaries + \DeclareMathOperator + latex + dvips = math italics instead of math upright

Let's save the input (which I believe to respesent a minimal or at least a rather small working example) \documentclass{article} \usepackage{hyperref} \usepackage[makeindex,nomain]{glossaries}%%% ...
user avatar
0 votes
0 answers
416 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
271 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
2 votes
1 answer
100 views

dvi mode - display other .dvi-file within .dvi-file

Assume you have fileA.tex and compiling it via latex yields fileA.dvi. What do you need to do if you don't want to have fileA.dvi converted to some other format (!!!) you wish to create a file fileB....
Jenna Denna's user avatar
1 vote
1 answer
239 views

Problem with rendering cropped eps files in pdf document

I have a bunch of EPS files which I'm cropping by changing their Bounding Box values. I put them in a .tex document and run Latex. Now, the resulting .dvi file shows the cropped figures correctly. ...
Shakti's user avatar
  • 13
3 votes
1 answer
607 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
1 vote
0 answers
153 views

dvipdfmx and dvips do not expand fonts properly with lualatex in DVI mode

dvilualatex with microtype is supposed to support expansion, even in DVI mode. And indeed it seems to work when producing the DVI file. But then the generated file does not actually include expanded ...
d909's user avatar
  • 77
1 vote
3 answers
278 views

Combining French and Greek Babel does not work in dvilualatex

For some reason, there is an error when trying to use French and Greek Babel support with dvilualatex. Try running the following, and it will work fine with dvilualatex+dvips/dvipdfmx: \...
d909's user avatar
  • 77
0 votes
1 answer
181 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
1 vote
1 answer
210 views

Error when using dvipng: "+tlig; source file could not be found"

I am trying to use dvipng to compile .tex files to .dvi and then to convert it to .png. Here is the test.tex file that I am using as a minimum reproducible example: \documentclass[]{article} \title{...
S08's user avatar
  • 13
0 votes
0 answers
213 views

Cannot do inverse search with vim's latex-suite and YAP

Though forward search works fine, something is going wrong with the inverse search. In YAP, the command line for inverse DVI search is set to be C:\Users\user\Vim\vim80\gvim.exe -c ":RemoteOpen +%l %...
Manan's user avatar
  • 101
1 vote
2 answers
94 views

problem with making simple lines

I tried to make two lines: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (1,1) -- (2,1); \draw (1,1) -- (1,2); \end{tikzpicture} \end{document} To my surprice, ...
Jacques Smeets's user avatar
2 votes
0 answers
453 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] ...
bp2017's user avatar
  • 3,796
4 votes
1 answer
716 views

Is it possible to use the tex-dvi-ps-pdf route with luatex?

This question should be of general interest. It is triggered by the Japanese edition of my free physics text (see http://www.motionmountain.net/japanese.html ), where lualatex (from TexLive 2017) ...
user avatar
3 votes
0 answers
820 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 ...
Edward Reingold's user avatar
0 votes
1 answer
393 views

From dvi file to the latex code [duplicate]

I have remember that my friend told me that I can just click a line in the *.pdf, then latex will direct me to the corresponding line in the latex code. I have tried this function when I am using ...
mnmn1993's user avatar
  • 132
3 votes
1 answer
8k views

transparent package not working in LaTeX

I've been working on a document which involves the transparent package. It compiles fine with pdfLaTeX, but when I try bare LaTeX (I want to get a DVI file) it generates an Undefined control sequence ...
user avatar
-1 votes
1 answer
206 views

titleformat and rotatebox: missing text with LaTeX => PS => PDF output profile

I modified my \part and \chapter style with \titleformat and it works just fine when i use the LaTeX=>PDF output profile. In the end I want to use the LaTeX => PS => PDF output profile but as soon as ...
Ronin's user avatar
  • 1
3 votes
1 answer
136 views

Connecting line does not show up when using nodes in PSTricks

I was trying to understand the nodes feature in pst-node. I copied the following example exactly as written in the PSTricks readme. \documentclass{article} \usepackage{pstricks, pst-node} \begin{...
sclee's user avatar
  • 51
2 votes
1 answer
131 views

Delete Chapter, section etc.. titles from pdf body only include them in TOC

I want chapter, section, subsections in TOC but I do not want them in the pdf body as 1 title occupies entire page. I have already put the chapter names, section names etc in headers. So the only task ...
latex's user avatar
  • 21
2 votes
1 answer
2k views

Figure is not shown in DVI

This is a sample .tex file \documentclass[dvipdfm]{article} \begin{document} \begin{figure*} \resizebox{\hsize}{!}{\includegraphics[bb = 0 0 1937 1912]{test.jpg}} \caption{This is a test figure.} \...
Vaggelis_Z's user avatar
3 votes
1 answer
1k 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 ...
AlexG's user avatar
  • 55.3k
2 votes
1 answer
298 views

Unexpected result when converting image from DVI to EPS

This question follows on from a prior question but is separate and can stand alone. The prior question is at pst-plot graph offset on page when graph has non-zero origin. This question is related to ...
James E Green's user avatar
1 vote
1 answer
2k views

Figures hiding behind text below it

I am preparing a paper for the SIAM journal and had lot of issues with including figures. Finally I converted my figures to pdf and added a bb field in \includegraphics. Now it produces output, but ...
user961708's user avatar
1 vote
1 answer
892 views

DVI file can not be generated correctly using tikz

I'm using this code: \documentclass[tikz,10pt]{standalone} \usepackage[scaled]{helvet} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{chemfig} \usepackage{...
saldenisov's user avatar
  • 2,485
3 votes
1 answer
2k views

Is it possible to use `lualatex`'s DVI output with `fontspec` without getting font-related errors?

Is it possible to use lualatex's DVI output with fontspec without getting font-related errors? I want to use the (eps-based) output of sagetex with a lualatex generated document with fontspec. As ...
rake's user avatar
  • 1,654
7 votes
3 answers
781 views

ucs clashes with DeclareUnicodeChar?

I'm forced to work with latex, and want to make use of unicode chars in math. So I write: \documentclass{article} \usepackage[utf8]{inputenc} \DeclareUnicodeCharacter{B7}{\cdot} \usepackage[...
Adobe's user avatar
  • 3,037
1 vote
1 answer
220 views

DVISVGM and PSTricks

EPS file conversion is not satisfactory with dvisvgm because labels are not displayed. \documentclass[a4paper,11pt]{article} \usepackage{etex} \usepackage[utf8]{inputenc} \usepackage[T1]{...
Fabrice's user avatar
  • 3,678
8 votes
1 answer
2k 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 ...
Svend Tveskæg's user avatar
6 votes
1 answer
1k views

AUCTeX: global pdf mode stop working after typesetting error occurs

Update: I've tested the problem in detail, and the results are appended at the end of the question. I guess now the problem becomes: How to avoid stupid diagnostic of AUCTeX when curly braces ...
4ae1e1's user avatar
  • 889
3 votes
2 answers
714 views

Enter single unicode code point in (dvi)latex and latin1 input

For various reasons, I'm stuck with (dvi)latex and inputencoding latin1. I still want to enter unicode codepoints (I have the hex/decimal numbers ready). I have seen https://tex.stackexchange.com/a/...
Elrond's user avatar
  • 485
1 vote
2 answers
317 views

How to make dvi show cyrillic letters? [closed]

I could copy the sentence "МАТЕМАТИЧКИ ВЕСНИК" into the LaTeX, however when I press the dvi, it does not show in the dvi. How to make the dvi show the sentence "МАТЕМАТИЧКИ ВЕСНИК"?
John's user avatar
  • 565
8 votes
4 answers
13k views

Line breaks and the URL package

Long URLs need to be broken at the end of a line. Here's a topic about that. That topic suggests adding the hyphens option to the URL package, and also to define \renewcommand{\UrlBreaks}{\do\/\do\a\...
user avatar
3 votes
1 answer
536 views

How can I get transparency in beamer compiling with LaTeX in DVI mode?

This is a follow-up question to How to make partially transparent beamercolorbox I compiled the code in the answer from Gonzalo Medina, and I noticed the transparency only works with pdflatex. Is ...
simona's user avatar
  • 341
17 votes
1 answer
6k views

Migrating from pdfTeX to LuaTeX: Problems with reproducing output for legacy projects

I'm currently analyzing and evaluating a migration process from pdfTeX to LuaTeX for our current TeX workflow. With LuaTeX being a fork of pdfTeX and packages like luainputenc at hand it seemed ...
Patrick Bergner's user avatar
2 votes
1 answer
482 views

Is example-image-a compatible with DVI mode?

I could not get the expected result when compiling the following with latex-dvips-ps2pdf. The unexpected result is just a single blank page with a page number 1. :-) \documentclass{article} \...
kiss my armpit's user avatar
9 votes
2 answers
1k views

Multiple inclusion of the same image gives huge PS file

I am using beamer and having included the same image many times with pgf, declare once and insert. It looks like the PS file from dvips grow linear as I create slides (the image is on the background)....
Poul K. Sørensen's user avatar
4 votes
1 answer
2k views

Springer template problem

I have installed the Springer template for monograph svmono, following this article, using the command line interface in linux. But something strange happens. If I use latex, everything compiles fine, ...
emanuele's user avatar
  • 183