Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am converting dvi file to pdf but in that process my figures are misplaced. i used \FloatBarrier command to fix figures in dvi. but facing the same problems in pdf. Can any one help?

share|improve this question

closed as unclear what you're asking by Speravir, Adam Liter, Heiko Oberdiek, Jesse, Guido Mar 15 at 5:17

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Try to convert to ps first. –  Sigur Dec 16 '13 at 13:20
3  
Exactly how are you coing from dvi to pdf? I know of at least two methods, so more detals would be helpful. And why don't you just work exclusively in PDF? –  daleif Dec 16 '13 at 13:28
1  
You need to take care that the paper format is not changed in conversion. E.g. if you use A4 paper size. The default is letter and in the conversion dvi->ps->pdf this might get mixed. See here for details: tex.stackexchange.com/questions/21769/… –  Martin H Dec 16 '13 at 13:30
    
What is your OS? On linux, you could try dvips your_file.dvi and then ps2pdf your_file.ps in the terminal. –  ppr Dec 16 '13 at 16:24
1  
The pagination shouldn't be changing when converting from .dvi to .pdf --- the problem instead should be that the figures are showing up in the wrong place, which is a different problem. See this: tex.stackexchange.com/questions/2275/… –  WillAdams Dec 16 '13 at 16:58

1 Answer 1

There's a utility called dvipdfm that can do this. It probably came with your TeX distribution. Try this at the command line:

dvipdfm myfile.dvi

This should create a file called myfile.pdf. If you run into trouble, the documentation can be found in http://gaspra.kettering.edu/dvipdfm/.

share|improve this answer
    
The documentation can also be found within the TeX distributions. And I would prefer dvipdfmx. Not to forget the way DVI —> PS —> PDF with first dvips and then ps2pdf. –  Speravir Mar 15 at 2:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.