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 have installed the latest version of WinEdt v7 and MiKTeX (october 2012). When I run latex2html and tex4ht is called the tex4ht.env file is everytime overwritten with the default settings. Even if I edit it in the c:\Program Files\MiKTeX 2.9\tex4ht\base\win32 folder the version saved in my LaTex source folder looks like the original and if I modify that, it is also rewritten. Where does it come from?

I need to change the resolution dvi2png creates, and that is, as far as I understand done by changing the tex4ht.env file - but again - when I change it, it changes back

Any help is very appreciated.

share|improve this question
    
Welcome to TeX.sx! You don't have to sign with your name since it automatically appears in the lower right corner of your post. A tip: You can use backticks ` to mark your inline code as I did in my edit. –  Kurt Oct 13 '12 at 18:57
add comment

1 Answer

There is an option for tex4ht that allows specifying the pixel density of the generated images: graphics-300 would create 300-dpi bitmaps.

htlatex input "html, graphics-300"

Does this work for you?

This switch (and many other) are documented in this blog entry.

Please DO NOT change files that live in C:\Program Files.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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