1

I am using WinEdt 10 (64 bit). Today, I observed a strange behavior that I cannot understand. I would appreciate if anyone could explain why parts of my text would disappear due to a grammatical error in my text!

When I compile my text that has a grammatical error at the end of the last sentence, parts of my text disappears in the output pdf (the figure below shows a snapshot of my latex file with a duplicate word "to" at the end and its pdf output which is missing parts of its second line): enter image description here

enter image description here

When I fix the grammatical error by deleting the duplicate word "to", the disappeared part shows up! Can anyone understand why winedt/latex behaves this way?

enter image description here

enter image description here

For clarification: Lines in pdf snapshots are end-of-page and header lines, so they are not parts of the text.

  • 1
    Can you make this happen with only that paragraph in question, plus a few packages? Could you paste that corresponding tex code, instead of giving us screen shots? – Teepeemm Mar 20 '18 at 2:41
  • 1
    What compiler are you using? Can you compile your document using command line, instead of WinEdt? Is the result the same? – user139954 Mar 20 '18 at 3:29
  • 1
    Try this: Open a Windows command prompt (some people call it a "DOS box"). Type pdflatex -v and see the result. Assuming it is found: Navigate to the folder containing your tex document. Then type: pdflatex yourfilename.tex modified for your file name. Works better if no spaces in file name. Does that compile as expected? If it does, then the problem is with WinEdit. But if you see the same problem, then the problem is with your TeX code. Note: Use xelatex or lualatex as compiler, if necessary. – user139954 Mar 20 '18 at 18:17
  • 1
    @amir In a Windows command Prompt, after running pdflatex yourfilename.tex run bibtex yourfilename and then again pdflatex yourfilename.tex twice, so to have your references compiled. – Arzigoglu Mar 20 '18 at 19:48
  • 1
    Did you ever find out what's the problem? I got it and can't figure out what is going on. This must be the most ridiculous bug I've seen with LaTeX so far! I'm using MiKTeX 2.9.5700 on Win7 and it's impossible to find a MWE. Only a document that has the same exact spacing causes MiKTeX to fail; it outputs a line with only the first word, and the rest of the line seems to have vanished far to the right beyond the page margin. – user21820 May 12 '18 at 12:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.