 LATEX is the name of a 0-argument macro (e.g., \eg).  PILLAR is
 the Pillar markup to replace the macro with.  NEWLINE, if t, will
 make sure the replacement text will start on a newline."
+LATEX is the name of a 0-argument command (e.g., \eg).  PILLAR is
   (when (re-search-forward
          (concat "\\\\" latex) nil t)
     (let ((start (match-beginning 0))

  (p2l--setup-buffer)
  (delete-matching-lines "^%.*$"))

(defun p2l-remove-useless-macros ()
  "Delete some LaTeX macro that do not affect output."
  (interactive)
  (p2l--setup-buffer)
  (while (re-search-forward
          (concat "\\\\"
                  (regexp-opt
                   (append p2l-editor-macros
                           p2l-misc-macros-to-remove))
                  "{")
          nil t)
    (backward-char)

  (interactive)
  (p2l--setup-buffer)
  (p2l-remove-latex-comments)
  (p2l-remove-useless-commands)
  (p2l-remove-header)
  (p2l-remove-footer)
  (p2l--interpret-command0-conversion-table)
