LyXLyx returns question marks [??] instead of figure number

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Fed89
Posts: 21
Joined: Thu May 16, 2013 3:01 pm

Re: Lyx returns question marks [??] instead of figure number

Post by Fed89 »

does not make any difference. i tried both writing in all text like simple 35%, and also 35 followed by a Latex-code box with \% inside, but still it gives the same output

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Lyx returns question marks [??] instead of figure number

Post by cgnieder »

I find that rather strange. I'll attach a minimal lyx file with a % in a table caption which works fine for me. Please try if it works for you, too.
Attachments
test.lyx
(1.51 KiB) Downloaded 433 times
site moderator & package author
Fed89
Posts: 21
Joined: Thu May 16, 2013 3:01 pm

Re: Lyx returns question marks [??] instead of figure number

Post by Fed89 »

thanks, i ll try tomorrow at work ;-)
Fed89
Posts: 21
Joined: Thu May 16, 2013 3:01 pm

Re: Lyx returns question marks [??] instead of figure number

Post by Fed89 »

Yes, it works for me too...
i attach mine. can you try to see if it works on yours?
thanks in advance :-)
Attachments
Example.lyx
(14.92 KiB) Downloaded 388 times
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Lyx returns question marks [??] instead of figure number

Post by Johannes_B »

For some reason, LyX sets the type of the image as eps, which is not defined/valid since you are exporting to pdf directly. Try to remove the image completely and add it back using your normal workflow.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Fed89
Posts: 21
Joined: Thu May 16, 2013 3:01 pm

Re: Lyx returns question marks [??] instead of figure number

Post by Fed89 »

thanks for the suggestion, but it does not work :-(
i tried to remove readd the picture, but nothing.
i dont think that is the problem, cause even removing completely the picture float, i get the same ?? for the remaining references. It is the % in the caption, but i cannot find a way to solve it :-(
Post Reply