Cannot generate pdf when there is an underscore in the Note field of a reference in the bibliography

2016-03-10 Thread Ken Allen
Thanks to anyone bothering to read this.

When generating a pdf, the process aborts with a latex error message:

Missing $ inserted.

I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
---

This only occurs if there is an underscore in the note field of a reference
in the bibtex database. I have looked for hidden special characters in the
.bib file using the terminal command cat -TEA and found none. The underscore
has to be in the note field of the reference entry. Seems really odd.

I posted this to the bug list but was told to post it here.

I'm using:

Ubuntu 14.4 with the texlive in the Ubuntu ppa
Lyx 2.1.4
Natbib, style author-year
processor bibtex8
style apalike

I need to be able to produce a pdf of my document.

Thanks.




Re: Cannot generate pdf when there is an underscore in the Note field of a reference in the bibliography

2016-03-10 Thread Joel Kulesza
Ken,

Can you attach a minimum working/failing example (MWE) to play with which
has just enough to show the behavior?

In the meantime, have you tried escaping the underscore (e.g., \_)?  Very
likely it is being interpreted as a math-mode subscript.

Hope this helps.

Joel

On Tue, Feb 23, 2016 at 6:25 PM, Ken Allen  wrote:

> Thanks to anyone bothering to read this.
>
> When generating a pdf, the process aborts with a latex error message:
>
> Missing $ inserted.
>
> I've inserted a begin-math/end-math symbol since I think
> you left one out. Proceed, with fingers crossed.
> ---
>
> This only occurs if there is an underscore in the note field of a reference
> in the bibtex database. I have looked for hidden special characters in the
> .bib file using the terminal command cat -TEA and found none. The
> underscore
> has to be in the note field of the reference entry. Seems really odd.
>
> I posted this to the bug list but was told to post it here.
>
> I'm using:
>
> Ubuntu 14.4 with the texlive in the Ubuntu ppa
> Lyx 2.1.4
> Natbib, style author-year
> processor bibtex8
> style apalike
>
> I need to be able to produce a pdf of my document.
>
> Thanks.
>
>
>


Re: I can't open old Lyx files

2016-03-10 Thread Scott Kostyshak
On Wed, Mar 02, 2016 at 02:08:42PM -0500, Richard Heck wrote:
> On 03/02/2016 02:00 PM, Ross Reyes wrote:
> > I often have the same problem. 
> > To solve I usually just open the file and edit this to match the
> > current version of LyX.  
> >
> > I must be doing something wrong because you'd think the files would be
> > automatically upconverted but for some reason I have to manually edit
> > them, but it works.
> 
> Yes, there is something wrong and the question is what. LydX is supposed
> to convert old files to the new format. Of course, there can be bugs
> that prevent this from happening, but those are, well, bugs, and we take
> them very, very seriously. I.e., we try to fix them as fast as possible.
> In this case, if there is a bug that is preventing files from being
> converted to 2.2 format, then we want to know about it NOW and get it
> solved NOW.
> 
> So please report all such bugs. They can usually be fixed very fast if
> we have example files that we can use to investigate them.

Dear Ross and Aaron,

Do you have any example files that you can send us that do not open for
you on newer versions of LyX? This could really help us fix bugs so that
future users do not run into similar problems.

Best,

Scott


signature.asc
Description: PGP signature