On Sunday, October 26, 2008, at 05:45PM, "Christiaan Hofman" <[EMAIL 
PROTECTED]> wrote:
>
>On 27 Oct 2008, at 1:28 AM, Justin C. Walker wrote:
>
>>
>> On Oct 26, 2008, at 17:02 , Christiaan Hofman wrote:
>>> On 27 Oct 2008, at 12:54 AM, Justin C. Walker wrote:
>>>> On Oct 26, 2008, at 16:25 , Christiaan Hofman wrote:
>> [snip]
>>>>> Confirms that it's probably just a few items incompatible with TeX.
>>>>
>>>> Not really, but only because my description of the problem lacked a
>>>> few details (sorry about that; I edited too many times before
>>>> sending).
>>>>
>>>> Specifically, it seems that the "463 out of 531" number is  
>>>> important.
>>>> Again, though I have not done an exhaustive study, it appears that
>>>> 463
>>>> is the smallest number of entries from this .bib that causes the
>>>> problem, and additionally, *none* of the entries which seem to be
>>>> critical (as I described in an earlier reply) show this problem.
>>>>
>>>> To restate, if I just select those entries, in the groups in
>>>> question,
>>>> whose presence seems to be needed to cause the error, I get no  
>>>> error.
>>
>>> The only difference between the two is the RTF preview that's
>>> generated for the separate window, but not for the  preview pane. So
>>> it's probably a problem with latex2rtf.
>>
>> Wait.  What?  How did RTF get into this?  In "View->Bottom Preview", I
>> have TeX selected, and no default template (according to the menu).
>> What am I missing?  The "separate window" invoked by SHFT-CMD-T is
>> also TeX, no?  At least that's what the Window menu calls it.
>>
>> Justin
>
>The separate tex preview window also generates RTF, displayed in the  
>second tab labeled Text.

I didn't know latex2rtf wasn't generated for the main window anymore, so I was 
thinking this was a race problem in the code I wrote to fix Justin's other TeX 
problem!  

As Justin said, it doesn't appear to be a malformed BibTeX or TeX input.  The 
number of entries is significant, in that it appears to be hitting a buffer 
limit in the latex2rtf parser.  Turning on the standard error logging, I see

bibpreview.tex:28  Error! Misplaced '' (Not found within 5000 chars)

which comes from latex2rtf/parser.c.  I vaguely recall that I ran across this 
when processing my dissertation and worked around it by increasing the buffer 
size in latex2rtf from 5K to 16K, but I'll see about a better fix.  In the 
meantime, this is totally harmless, although admittedly annoying.

-- adam



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to