On 03/31/2014 11:07 AM, Sylvia Hondke wrote:
Hello,
I'm pretty new to Lyx and use the 2.0.7 version on windows 7.
Currently I have the problem that some of my cross references are
shown as question marks, if i convert the Lyx file into a pdf file. I
already read that something may be disrupted in the reference process.
But I don't get, why some cross references work and other did not. I
got the same error for captions as well as tables. That problem only
occurs if I choose 'formatted reference' otherwise the file is
converted correctly. I already checked the document class (I'm using
article) and there 'use refstyle (not prettyref) for cross reference'
is chosen. I also checked the Latex source to see if there are
differences between the correct cross references and the once where it
doe not work. But I could not find anything.
You might try using prettyref instead.
[snip]
\begin{document}
... then there is a lot of text where it works and in the following
part the problems start
\subsubsection{Expression in Sf21 cells\label{sub:Expression-in-Sf21}}
Recombinant protein was produced in a baculovirus expression system.
Sf21 cells were splitted, seeded in protein expression medium as described
(\subref{Sf21 cultivation}) and infected with approximately 130~\textmu{}L
virus supernatant on one 150~cm\texttwosuperior{} cell culture flask.
The recombinant protein is secreted into the medium, which correlates
with a morphological change of the cells. After 6-7~days, the supernatant
was harvested and the recombinant protein purified at described
(\subref{Purification-of-rWISP3}).
It looks like the first \subref has a space in the label. I'm not sure
that's allowed.
In any event, the best thing to do would be to try to get a "minimal
example". I.e., keep deleting stuff until you have the smallest possible
file that exhibits the problem. Then post it here.
Richard