If you have cross-referenced a subheading in your document, and want to see what it looks like in PDF form and you get the following error:
Argument of \NoCaseChange has an extra }.
Paragraph ended before \NoCaseChange was complete.
All you have to do is type one space in between the heading and the cross-reference, and the PDF will now compile. I got the above error twice for missing a single space, meaning I couldn't compile the PDF. It wasn't very helpful advice by Lyx, but maybe the code gurus would have picked that up faster than me...
LyX ⇒ Argument of \NoCaseChange has an extra }.
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Posts: 3
- Joined: Fri May 06, 2011 12:02 pm
Argument of \NoCaseChange has an extra }.
I tried this, came up with a new problem.
In my case, the "Argument of \NoCaseChange has an extra }" error comes up whenever a Section heading is immediately followed by a Subsection heading, and I want to reference the Section.
Adding a space between the Section heading and the label breaks any cross-references referring to it.
Back to square one it seems!
Follow-up:
The workaround I'm using is to get rid of the Subsection heading completely. In most cases the Subsection heading was something like "Introduction" or "Background", so isn't strictly necessary.
In my case, the "Argument of \NoCaseChange has an extra }" error comes up whenever a Section heading is immediately followed by a Subsection heading, and I want to reference the Section.
Adding a space between the Section heading and the label breaks any cross-references referring to it.
Back to square one it seems!
Follow-up:
The workaround I'm using is to get rid of the Subsection heading completely. In most cases the Subsection heading was something like "Introduction" or "Background", so isn't strictly necessary.
-
- Posts: 3
- Joined: Fri May 06, 2011 12:02 pm
Re: Argument of \NoCaseChange has an extra }.
Nope, still not right.
Cross-references to Subsections work fine, without the extra space.
Cross-references to Sections are broken: I get the error mentioned above if I don't include an extra space; I get "Section ??" in the rendered pdf if I do.
Any ideas?
Cross-references to Subsections work fine, without the extra space.
Cross-references to Sections are broken: I get the error mentioned above if I don't include an extra space; I get "Section ??" in the rendered pdf if I do.
Any ideas?
-
- Posts: 3
- Joined: Fri May 06, 2011 12:02 pm
Re: Argument of \NoCaseChange has an extra }.
I think I finally solved it. In my case, inserting a space did not work. Putting the label on a new line (in "Standard" markup) immediately after the Section heading did work.