I am trying to convert following notebook, which only contains two figures into LaTeX file. However, it keeps failing. It only works when I get rid of the Legends. Wondering is there anyway I can save two figures with legends as a LaTeX file.
Thanks in advance.
Writing notebooks with the intention to convert them to LaTeX later is not a very good idea. You'll hit many problems. It's better to write LaTeX from scratch.
If you just want to convert an old notebook, then you can always Export the figures separately. If the notebook won't export to LaTeX at all with a certain figure, remove that figure, export without it, then re-insert it later.