Re: Cross-references problem

2011-12-07 Thread Richard Heck

On 12/07/2011 04:24 AM, Sølvi wrote:

On 12/06/2011 08:52 AM, Wolfgang Engelmann wrote:
>  Am Dienstag, 6. Dezember 2011, 14:18:58 schrieb Sølvi:
>>  I have LyX v.2.0.1 and Windows XP.
>>
>>  I have a hughe document with a lot of references and cross-references
>>  (master document with included child docs). I'm experience problems
>>  with, especially, the cross-references when I'm pdf-ing the document -
>>  some of them just turn up as "??" in the document. I have checked them
>>  several times, deleted and then put them back in. I have also tried to
>>  change them all togheter without success.
>>
>>  Anyone knows what causes this problem and how to fix it?
>>
The best way to start debugging this is to look at the LaTeX log
(Document>LaTeX Log) and see what errors, if any, LaTeX is reporting. Do
you have any unusual characters in these Xrefs? Perhaps there is some
issue about the encoding. It's hard to know in the abstract.

Richard

I have no problems pdf-ing the documents and gets no error messages, just some 
?? for some of the Xrefs.
I have looked at the Latex-log now and that doesn't tell me anything (there is 
a reason why I use Lyx and not TeXnicCetnter e.g.),

beacuse I really don't get Latex. I have found some warnings but I don't 
understand them.
I don't use any special/unusualcharacters  in the Xrefs, just normal names.

Try posting the log here then. That's where the answer is.

The other suggestion is to "bisect". Start removing things from your 
document until

it works right. Then you'll know where the problem is.

Richard



Re: Cross-references problem

2011-12-07 Thread Sølvi
On 12/06/2011 08:52 AM, Wolfgang Engelmann wrote:
> Am Dienstag, 6. Dezember 2011, 14:18:58 schrieb Sølvi:
>> I have LyX v.2.0.1 and Windows XP.
>>
>> I have a hughe document with a lot of references and cross-references
>> (master document with included child docs). I'm experience problems
>> with, especially, the cross-references when I'm pdf-ing the document -
>> some of them just turn up as "??" in the document. I have checked them
>> several times, deleted and then put them back in. I have also tried to
>> change them all togheter without success.
>>
>> Anyone knows what causes this problem and how to fix it?
>>
The best way to start debugging this is to look at the LaTeX log
(Document>LaTeX Log) and see what errors, if any, LaTeX is reporting. Do
you have any unusual characters in these Xrefs? Perhaps there is some
issue about the encoding. It's hard to know in the abstract.

Richard

I have no problems pdf-ing the documents and gets no error messages,
just some ?? for some of the Xrefs.
I have looked at the Latex-log now and that doesn't tell me anything
(there is a reason why I use Lyx and not TeXnicCetnter e.g.),
beacuse I really don't get Latex. I have found some warnings but I
don't understand them.
I don't use any special/unusual characters in the Xrefs, just normal names.

Solvi


Re: Cross-references problem

2011-12-06 Thread Richard Heck
On 12/06/2011 08:52 AM, Wolfgang Engelmann wrote:
> Am Dienstag, 6. Dezember 2011, 14:18:58 schrieb Sølvi:
>> I have LyX v.2.0.1 and Windows XP.
>>
>> I have a hughe document with a lot of references and cross-references
>> (master document with included child docs). I'm experience problems
>> with, especially, the cross-references when I'm pdf-ing the document -
>> some of them just turn up as "??" in the document. I have checked them
>> several times, deleted and then put them back in. I have also tried to
>> change them all togheter without success.
>>
>> Anyone knows what causes this problem and how to fix it?
>>
The best way to start debugging this is to look at the LaTeX log
(Document>LaTeX Log) and see what errors, if any, LaTeX is reporting. Do
you have any unusual characters in these Xrefs? Perhaps there is some
issue about the encoding. It's hard to know in the abstract.

Richard



Re: Cross-references problem

2011-12-06 Thread Richard Heck
On 12/06/2011 08:52 AM, Wolfgang Engelmann wrote:
> Am Dienstag, 6. Dezember 2011, 14:18:58 schrieb Sølvi:
>> I have LyX v.2.0.1 and Windows XP.
>>
>> I have a hughe document with a lot of references and cross-references
>> (master document with included child docs). I'm experience problems
>> with, especially, the cross-references when I'm pdf-ing the document -
>> some of them just turn up as "??" in the document. I have checked them
>> several times, deleted and then put them back in. I have also tried to
>> change them all togheter without success.
>>
>> Anyone knows what causes this problem and how to fix it?
>>
>> Solvi
> Are you using a bibfile program such as jabref for your ref?
> Are the ?? files in there and correctly transferred to lyx (in jabref, you 
> click on LyX to do that after having made sure lyx and jabref communicate)
> You can check this by putting your mouse pointer on the  lyx ref, the 
> content of it should show up.
>
> Usually this kind of error occurs when the ref contains some inadequate 
> coding (occurs often by cut and past from references in internet). There 
> are ways of checking the code with certain editors; I usually take half of 
> the document away, do the pdf, if ok, check the other half-half etc which 
> finally ends up at the problematic refs. I learned to do the pdf export 
> frequently while inserting refs; in this way I often find offending 
> characters (eg long - versus -- in bibtex) before I forget what went in the 
> text recently)
>
These were described as cross-references, rather than just references,
so I think it's not a BibTeX thing.

Richard



Re: Cross-references problem

2011-12-06 Thread Wolfgang Engelmann
Am Dienstag, 6. Dezember 2011, 14:18:58 schrieb Sølvi:
> I have LyX v.2.0.1 and Windows XP.
> 
> I have a hughe document with a lot of references and cross-references
> (master document with included child docs). I'm experience problems
> with, especially, the cross-references when I'm pdf-ing the document -
> some of them just turn up as "??" in the document. I have checked them
> several times, deleted and then put them back in. I have also tried to
> change them all togheter without success.
> 
> Anyone knows what causes this problem and how to fix it?
> 
> Solvi

Are you using a bibfile program such as jabref for your ref?
Are the ?? files in there and correctly transferred to lyx (in jabref, you 
click on LyX to do that after having made sure lyx and jabref communicate)
You can check this by putting your mouse pointer on the  lyx ref, the 
content of it should show up.

Usually this kind of error occurs when the ref contains some inadequate 
coding (occurs often by cut and past from references in internet). There 
are ways of checking the code with certain editors; I usually take half of 
the document away, do the pdf, if ok, check the other half-half etc which 
finally ends up at the problematic refs. I learned to do the pdf export 
frequently while inserting refs; in this way I often find offending 
characters (eg long - versus -- in bibtex) before I forget what went in the 
text recently)

I am sure there are better advices

but thats my -clumpsy- way

Wolfgang


Cross-references problem

2011-12-06 Thread Sølvi
I have LyX v.2.0.1 and Windows XP.

I have a hughe document with a lot of references and cross-references
(master document with included child docs). I'm experience problems with,
especially, the cross-references when I'm pdf-ing the document - some of
them just turn up as "??" in the document. I have checked them several
times, deleted and then put them back in. I have also tried to change them
all togheter without success.

Anyone knows what causes this problem and how to fix it?

Solvi