6

In a book, I set up indentation to be 1em for every paragraph, including the first paragraph in sections:

\setlength{\parindent}{1em}

However, TeX4HT doesn't honor this setting and sets the first paragraph to noindent.

How can I prevent TeX4HT from setting first paragraphs to noindent?

1
  • Will it honour the indentfirst package?
    – jon
    Commented Aug 5, 2012 at 18:32

1 Answer 1

3

There are many \noindents in tex4ht's configuration files, easiest way to solve this situation is to use custom CSS code to select p.noindent elements which are direct children of body (there are also p.noindents which are used in tables, theorems etc., where we probably don't want indentation)

Put this into custom config file or custom 4ht file:

\Css{body > p.noindent{
text-indent:1em;
}}
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .