When a sectioning starts with \Glsentrylong{SomeEntry}, I'm running into issue that the capitalization is not transferred to the header, while the sectioning is properly capitalized.
MWE:
\documentclass[twoside,11pt]{book}
\usepackage{fancyhdr}
\fancypagestyle{plain}{
\fancyhf{}
\fancyfoot[RO,LE]{\thepage}
\renewcommand{\headrulewidth}{0pt}
}
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
\renewcommand{\chaptermark}[1]{\markboth{\chaptername\ \thechapter.\ #1}{}}
\fancypagestyle{mystyle}{
\fancyhf{}
\fancyfoot[LE,RO]{\thepage}
\fancyhead[RO]{\nouppercase{\rightmark}}
\fancyhead[LE]{\nouppercase{\leftmark}}
\renewcommand{\headrulewidth}{.4pt}
}
\usepackage{emptypage}
\usepackage[nopostdot,nonumberlist,section=paragraph]{glossaries}
\renewcommand*\glossaryname{}
\makeglossaries
\setglossarystyle{super}
\glstoctrue
\newacronym{ACR}{ACR}{acronym}
\usepackage{lipsum}
\title{Some title}
\begin{document}
\maketitle
\pagestyle{mystyle} % if this is commented out, the default section formating is capitalizing the first letter appropriately
\chapter{First chapter}
\section{\Glsentrylong{ACR}}
\lipsum[1-10]
\end{document}
I noticed the issue is with fancyhdr, as if the default book.cls header is used, the first letter of the section name in the header is properly capitalized.


\Glsfmtlongprovided byglossaries-extradoes not solve the above mentioned issue. – s__C Jan 09 '18 at 09:28fancyhdrand the\sectionmarkformatting, since with the defaultbook.clsheader the capitalization of the first letter of the section is obtained. – s__C Jan 10 '18 at 13:07