Found out the solution, for all who need to insert citation into caption of tables, figures etc:
You need to insert a latex tag with \protect before inserting a reference in a caption. so you could compile your document without any problems
Hi. Can you explain more on this?
I did type in ...
Search found 3 matches
- Sat Oct 23, 2010 2:19 pm
- Forum: LyX
- Topic: cite in picture caption
- Replies: 5
- Views: 7326
- Tue Oct 05, 2010 11:40 pm
- Forum: LyX
- Topic: MacTex 2010 - Lyx can't detect siunitx.lyx?
- Replies: 3
- Views: 3219
MacTex 2010 - Lyx can't detect siunitx.lyx?
It's hard to tell from your error, but I suspect that you've moved from siunitx v1 to v2 and are expecting to use units outside of the \SI/\si macros. To do that, you need to set a load-time option. Now, I'm not a Lyx user so this is a tough one for me. In pure LaTeX:
\documentclass{article ...
\documentclass{article ...
- Tue Oct 05, 2010 8:38 am
- Forum: LyX
- Topic: MacTex 2010 - Lyx can't detect siunitx.lyx?
- Replies: 3
- Views: 3219
MacTex 2010 - Lyx can't detect siunitx.lyx?
After I update my MacTex to 2010, my Lyx could not detect siunitx.lyx.
It was alright before I update it. Now when I try to compile my file to pdf, the errors:"undefined control sequence" keep popping out.
One of the description is as following:
...ires about $\mbox{2.21 \kilowatthour/\kg}
$ to ...
It was alright before I update it. Now when I try to compile my file to pdf, the errors:"undefined control sequence" keep popping out.
One of the description is as following:
...ires about $\mbox{2.21 \kilowatthour/\kg}
$ to ...