I am using LyX 2.2 on Windows 7, MiKTeX is up to date. I am using currfile to get the file name and display it on the header. My problem is that it is displaying spaces with underscores. Example
what I have:
what I want:
RP-C-1 Strontium constancy checks
Here is my MWE preamble, all other settings are as default
I am using pdfLaTeX. If I export to LaTeX (pdflatex) from LyX and run it the underscores are not there?
Any ideas how I can get rid of the underscores?