निरंजन
I am compiling a TeX file which can be found [here](https://gitlab.com/niruvt/tipauni/-/blob/master/tipauni/tipauni-example.tex). (You need to install the package tipauni from that repository itself for a successful compile. It's unreleased currently.) I have pasted my log [here](https://pastebin.com/rpt2mSN8). I am getting a warning which makes a very little sense to me and I am curious why I am getting it.

My source file is of 344 lines. It uses Charis SIL as its main font set by package fontspec. In PDF properties too, there is no mention of Latin Modern Roman font. It shows Latin Modern Sans font and I know where I have used it in the input, so that's not a problem, but TU/lmr/bx/n is weird. Also the line number is said to be 503. About this I am absolutely clueless.


LaTeX Font Warning: Font shape TU/lmr/bx/sc' undefined
(Font)              using TU/lmr/bx/n' instead on input line 503.


Can somebody guess why this happens?
samcarter
The warning does not have any connection to your package, you can reproduce it by just loading the leipzig package:


% !TeX TS-program = xelatex
\documentclass{article}
\usepackage{leipzig}
\begin{document}
This document
\end{document}


In section 7 FAQ of the package documentation it is explained that not every font provides all shapes and you'll also find an example how to avoid the warning by loading a font which provides the necessary shapes:


% !TeX TS-program = xelatex
\documentclass{article}

\usepackage{fontspec}
\setmainfont[
Mapping=tex-text,%
SmallCapsFont={TeX Gyre Termes},%
SmallCapsFeatures={Letters=SmallCaps}
]{Times New Roman}

\usepackage{leipzig}
\begin{document}
This document
\end{document}


Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.