2

I've just compiled a .tex file from the shell using the latex command, and it looks as if the entire text of the file has been passed through some strange substitution cipher. Part of the .dvi output is below:

The strange DVI output

As you can see, the math-mode is basically fine, but the text has been garbled. What am I doing wrong?

Update: The following code produces the figure above when compiled with latex.

\documentclass{article}

\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{times}
\usepackage{url}
\usepackage{amsmath}
\usepackage{alltt}
\usepackage[final]{graphicx}    
\begin{document}

\subsubsection{Tandem mismatches effect}

    The tandem mismatches (two adjacent mismatches) are taken into account but 
the two first and positions cannot
    be mismatched. Moreover the thermodynamic parameters are still not 
available for every possible cases.
    In such a case, the program, unable to compute any relevant result, will 
quit with a warning.

For DNA duplexes, this program computes the hybridisation enthalpy and entropy from the elementary 
parameters of each Crick's pair containing the mismatch(es). 
\begin{multline*}
\Delta{}h_\mathrm{tandem-mismatch} =
\delta{}h_\mathrm{Crick's-pair-containing-tandem-mismatch} \\ + 
\sum \delta{}h_\mathrm{Crick's-pair-containing-single-mismatch}
\end{multline*}

\end{document}

Update: Loading the times package causes the problem. The document

\documentclass{article}

\usepackage{times}

\begin{document}

hello

\end{document}

produces

Not hello

Leaving out the \usepackage{times} line gives the output you would expect.

23
  • No problem here (using TL13). How do you preview the dvi?
    – daleif
    Aug 12, 2013 at 12:24
  • I use Document Viewer 2.28.2 (gnome.org/projects/evince). I'm using pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) Aug 12, 2013 at 12:26
  • 2
    Does it help simply killing Evince, it sometimes get struck by cosmic rays.
    – daleif
    Aug 12, 2013 at 12:34
  • 1
    Package times is outdated, please use instead package math­ptmx. (see package times on ctan)
    – Mensch
    Aug 12, 2013 at 12:42
  • 4
    This question appears to be off-topic because it is about a non reproducible problem
    – egreg
    Oct 4, 2014 at 21:25

0

Browse other questions tagged .