[tex4ht] [bug #435] tex4ht: Creates invalid html document when using \AtBeginDocument

Hilmar Preusse hille42 at web.de
Fri Aug 9 16:45:03 CEST 2019


URL:
  <http://puszcza.gnu.org.ua/bugs/?435>

                 Summary: tex4ht: Creates invalid html document when using
\AtBeginDocument
                 Project: tex4ht
            Submitted by: hpreusse
            Submitted on: Fr 09 Aug 2019 17:43:31 EEST
                Category: None
                Priority: 5 - Normal
                Severity: 3 - Minor
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

https://bugs.debian.org/550381

htlatex produces invalid html document if the source contains
\AtBeginDocument directive. Minimal example comes here. The title is printed
right at the top of the HTML code, i.e. even before the "<!DOCTYPE html"
statement.

\documentclass[english]{minimal}
\usepackage[utf8]{inputenc}

\makeatletter
\AtBeginDocument{\@title}
\makeatother

\title{Minimal example}

\begin{document}
Test body.
\end{document}




    _______________________________________________________

Reply to this item at:

  <http://puszcza.gnu.org.ua/bugs/?435>

_______________________________________________
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/


More information about the tex4ht mailing list