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.

How can I easily disable all ligatures, when converting my LaTex-file to html?

For the html-generation I am using the command-line

mk4ht htlatex file.tex 'xhtml,charset=utf-8' ' -cunihtf -utf8 -cvalidate' '-d./html/'

My latex document begins with the following lines

\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[none]{hyphenat}
\usepackage{microtype}

As suggested in How can I completely suppress ligatures? I tried the following options for microtype: \DisableLigatures[f]{encoding = *, family = * }

The html-output though still contains characters .

share|improve this question
    
I don't think that hyphenat and microtype make much sense for htlatex. –  egreg Jun 15 '12 at 14:56
    
@egreg You are right for htlatex but the document is intented for compilation using pdflatex. I only need to create an html once my document is ready. –  Peter Pablo Jun 18 '12 at 8:22

1 Answer 1

up vote 1 down vote accepted

Trying several different options led to the following simple solution:

htlatex file.tex

I did not modify my preamble (stated in the question) and did not enable the command \DisableLigatures.

share|improve this answer

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.