How do you see latin9?
In lyx the setting Document/settings/language/encoding is 'language default'.

If I try export/LaTeX/luatex or export/LaTeX/pdflatex it crashes.
Haven't tried other varieties.
What other info is needed?  Do I need to supply the figures as well?

 If I open the .lyx file in emacs, the encoding says
U -- utf-8-unix (alias: mule-utf-8-unix cp65001-unix)

UTF-8 (no signature (BOM))
Type: utf-8 (UTF-8: Emacs internal multibyte form)
EOL type: LF
This coding system encodes the following charsets:
  unicode

The bib file says:
U -- utf-8-with-signature-dos

UTF-8 (with signature (BOM))
Type: utf-8 (UTF-8: Emacs internal multibyte form)
EOL type: CRLF
This coding system encodes the following charsets:
  unicode

On Wed, Oct 23, 2019 at 9:20 AM LyX Ticket Tracker <t...@lyx.org> wrote:
>
> #11688: crash in latex export
> ----------------------+--------------------------
>  Reporter:  nbecker   |       Owner:  lasgouttes
>      Type:  defect    |      Status:  new
>  Priority:  high      |   Milestone:
> Component:  general   |     Version:  unspecified
>  Severity:  critical  |  Resolution:
>  Keywords:            |
> ----------------------+--------------------------
>
> Old description:
>
> > Repeatable crash in export latex (luatex).
> > Tested with lyx-2.3.3 and with 2.4 (today's git).  Both Fedora 30 x86_64
> > linux.
> >
> > where
> > #0  0x00007ffff68f5e35 in raise () at /lib64/libc.so.6
> > #1  0x00007ffff68e0895 in abort () at /lib64/libc.so.6
> > #2  0x0000000000978010 in lyx::lyx_exit(int)
> > (exit_code=exit_code@entry=1) at LyX.cpp:273
> > #3  0x0000000000ea347e in lyx::frontend::GuiApplication::notify(QObject*,
> > QEvent*)
> >     (this=<optimized out>, receiver=<optimized out>, event=<optimized
> > out>) at GuiApplication.cpp:2835
> > #4  0x00007ffff706dde8 in QCoreApplication::notifyInternal2(QObject*,
> > QEvent*) () at /lib64/libQt5Core.so.5
> > #5  0x00007ffff7070d8b in
> > QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
> >     at /lib64/libQt5Core.so.5
> > #6  0x00007ffff70c2f27 in postEventSourceDispatch(_GSource*, int
> > (*)(void*), void*) () at /lib64/libQt5Core.so.5
> > #7  0x00007ffff6000ecd in g_main_context_dispatch () at
> > /lib64/libglib-2.0.so.0
> > #8  0x00007ffff6001260 in g_main_context_iterate.isra () at
> > /lib64/libglib-2.0.so.0
> > #9  0x00007ffff6001303 in g_main_context_iteration () at
> > /lib64/libglib-2.0.so.0
> > #10 0x00007ffff70c2cb5 in
> > QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> > ()
> >     at /lib64/libQt5Core.so.5
> > #11 0x00007ffff706cceb in
> > QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
> > /lib64/libQt5Core.so.5
> > #12 0x00007ffff7074a16 in QCoreApplication::exec() () at
> > /lib64/libQt5Core.so.5
> > #13 0x0000000000e8bdcf in lyx::frontend::GuiApplication::exec()
> > (this=0x1b4d230) at GuiApplication.cpp:2553
> > #14 0x00000000009851be in lyx::LyX::exec(int&, char**)
> >     (this=this@entry=0x7fffffffd8e0, argc=@0x7fffffffd8dc: 1,
> > argv=<optimized out>)
> >     at /usr/include/c++/9/bits/unique_ptr.h:352
> > #15 0x0000000000710e0b in main(int, char**) (argc=<optimized out>,
> > argv=<optimized out>) at main.cpp:42
> > (gdb)
>
> New description:
>
>  Repeatable crash in export latex (luatex).
>  Tested with lyx-2.3.3 and with 2.4 (today's git).  Both Fedora 30 x86_64
>  linux.
>
>  {{{
>  where
>  #0  0x00007ffff68f5e35 in raise () at /lib64/libc.so.6
>  #1  0x00007ffff68e0895 in abort () at /lib64/libc.so.6
>  #2  0x0000000000978010 in lyx::lyx_exit(int) (exit_code=exit_code@entry=1)
>  at LyX.cpp:273
>  #3  0x0000000000ea347e in lyx::frontend::GuiApplication::notify(QObject*,
>  QEvent*)
>      (this=<optimized out>, receiver=<optimized out>, event=<optimized
>  out>) at GuiApplication.cpp:2835
>  #4  0x00007ffff706dde8 in QCoreApplication::notifyInternal2(QObject*,
>  QEvent*) () at /lib64/libQt5Core.so.5
>  #5  0x00007ffff7070d8b in
>  QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
>      at /lib64/libQt5Core.so.5
>  #6  0x00007ffff70c2f27 in postEventSourceDispatch(_GSource*, int
>  (*)(void*), void*) () at /lib64/libQt5Core.so.5
>  #7  0x00007ffff6000ecd in g_main_context_dispatch () at
>  /lib64/libglib-2.0.so.0
>  #8  0x00007ffff6001260 in g_main_context_iterate.isra () at
>  /lib64/libglib-2.0.so.0
>  #9  0x00007ffff6001303 in g_main_context_iteration () at
>  /lib64/libglib-2.0.so.0
>  #10 0x00007ffff70c2cb5 in
>  QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
>  ()
>      at /lib64/libQt5Core.so.5
>  #11 0x00007ffff706cceb in
>  QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
>  /lib64/libQt5Core.so.5
>  #12 0x00007ffff7074a16 in QCoreApplication::exec() () at
>  /lib64/libQt5Core.so.5
>  #13 0x0000000000e8bdcf in lyx::frontend::GuiApplication::exec()
>  (this=0x1b4d230) at GuiApplication.cpp:2553
>  #14 0x00000000009851be in lyx::LyX::exec(int&, char**)
>      (this=this@entry=0x7fffffffd8e0, argc=@0x7fffffffd8dc: 1,
>  argv=<optimized out>)
>      at /usr/include/c++/9/bits/unique_ptr.h:352
>  #15 0x0000000000710e0b in main(int, char**) (argc=<optimized out>,
>  argv=<optimized out>) at main.cpp:42
>  (gdb)
>  }}}
>
> --
>
> Comment (by lasgouttes):
>
>  I cannot reproduce a crash by just exporting to LaTeX. Could you give more
>  precise details?
>
>  What I do see, though, is that your file is set to use latin9 encoding,
>  while the bib file uses UTF8 encoding. Does setting the document's
>  encoding to UTF8 help?
>
> --
> Ticket URL: <https://www.lyx.org/trac/ticket/11688#comment:1>
> The LyX Project <https://www.lyx.org/>
> LyX -- The Document Processor



-- 
Those who don't understand recursion are doomed to repeat it
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to