Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

List of things that cause LyX compilation errors

  • 21-10-2009 10:31AM
    #1
    Closed Accounts Posts: 5,284 ✭✭✭


    I have encountered a lot of errors in compiling LyX files. I noticed a few things that cause them. I thought it would be useful to have a thread listing things that will prevent compilation in LyX.

    The following things prevent comilation in my experience:

    -A very long comment
    -A comment inside a caption
    -Using backslashes to represent special characters in the bib file

    Feel free to add to this


Comments

  • Closed Accounts Posts: 5,284 ✭✭✭pwd


    underscores in bib files cause a compile error, with absolutely no indication of the source, it appears.


  • Closed Accounts Posts: 5,284 ✭✭✭pwd


    not a compile error, but cross references to figures will reference the section number instead of the figure number if the label is inserted before the caption, rather than the other way around.


  • Registered Users, Registered Users 2 Posts: 13,104 ✭✭✭✭djpbarry


    pwd wrote: »
    -Using backslashes to represent special characters in the bib file
    pwd wrote: »
    underscores in bib files cause a compile error, with absolutely no indication of the source, it appears.
    I don't use LyX, but Latex should be able to deal with special characters in a BIB file. I've used all sorts of crazy crap in my BIB files (a little creativity is sometimes required) without any problems (yet)!


  • Closed Accounts Posts: 5,284 ✭✭✭pwd


    djpbarry wrote: »
    I don't use LyX, but Latex should be able to deal with special characters in a BIB file. I've used all sorts of crazy crap in my BIB files (a little creativity is sometimes required) without any problems (yet)!
    I don't know. I've never used native LaTeX apart from tiny snippets. It could be something to do with the configuration of my LyX/MiKTeX installations, but changing these things definitely stopped compilation errors in several instances for me.


  • Closed Accounts Posts: 5,284 ✭✭✭pwd


    using multicols stops most floats from rendering on publish.
    multicols is used to switch between columns settings inside the same page.
    You can work around this by using multicols only on the pages where you switch (although you still can't use floats as normal in those pages).


  • Advertisement
Advertisement