I am quite newbie in LaTeX. Following examples in other questions for using lower case in titles, I tried to mimic them without success, when applying it to a section:
I am working in LyX2.0.
\documentclass{book}
\usepackage{textcase}
\begin{document}
\chapter{X}
\section{Y}
\section{Introduction to A\MakeLowercase{g} compounds}
\end{document}
I get the error:
! Undefined control sequence.
\MakeLowercase ...owercaseUnsupportedInPdfStrings
l.17 ...roduction to A\MakeLowercase{g} compounds}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
Is this somehow possible to get?

hyperref, which however is missing from the example. – egreg Feb 8 at 21:52