Skip to content

microtype v3.0a is not compatible with book class #3

@akiyks

Description

@akiyks

Description

microtype v3.0a stopped working with a document of the book class, which has a title page and a footnote, with hyperref.

_Please also indicate the engine(s) with which the issue occurs: pdfTeX

Minimal example demonstrating the issue (works with v3.0)

\documentclass{book}
\usepackage{lmodern}
\usepackage{hyperref}
\usepackage{microtype}

\title{Test of microtype}
\author{A microtype User}

\begin{document}

\frontmatter

\maketitle

\mainmatter

\chapter{Test 1}

Xxxx yyyy zzzz.\footnote{
  Aaaa bbbb cccc.}

\end{document}

With v3.0a, pdflatex stops with the error of:

[...]
(./main.aux) (/usr/local/texlive/2021/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/local/texlive/2021/texmf-dist/tex/latex/refcount/refcount.sty)
(/usr/local/texlive/2021/texmf-dist/tex/generic/gettitlestring/gettitlestring.s
ty)) (/usr/local/texlive/2021/texmf-dist/tex/latex/microtype/mt-cmr.cfg)
Runaway argument?
{\scantokens {\LARGE \@title 
! Paragraph ended before \MT@prot@l was complete.
<to be read again> 
                   \par 
l.14 
     
? 

Can you look into this?

BR, Akira

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfixed in devFixed in the dev branch

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions