TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.



\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). 
\Delta{}h_\mathrm{tandem-mismatch} =
\delta{}h_\mathrm{Crick's-pair-containing-tandem-mismatch} \\ + 
\sum \delta{}h_\mathrm{Crick's-pair-containing-single-mismatch}


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







Not hello

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

share|improve this question

closed as off-topic by egreg, Mico, Torbjørn T., Papiro, Kurt Oct 4 '14 at 21:54

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

Please make your code compilable, starting with \documentclass{...} and ending with \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to help you. Help them help you: remove that one hurdle between you and a solution to your problem. – Kurt Aug 12 '13 at 12:13
@Kurt - do you want me to make a full reproducible test case? I was just including my prologue in case anyone could spot any problems in there, and I wasn't expecting anyone to want to compile it. I'll give you some more code, if you want. No need for the lecture! – Donkey_2009 Aug 12 '13 at 12:15
Does it help simply killing Evince, it sometimes get struck by cosmic rays. – daleif Aug 12 '13 at 12:34
Package times is outdated, please use instead package math­ptmx. (see package times on ctan) – Kurt Aug 12 '13 at 12:42
This question appears to be off-topic because it is about a non reproducible problem – egreg Oct 4 '14 at 21:25

Browse other questions tagged or ask your own question.