by default, there is no so file compiled. The default make doesn't support .so how to modify the Makefile to produce a so file? Thanks
After my recent upgrade (per new install) to Ubuntu 18.04, I have started having quite some troubles with my tool chain (Emacs, Lualatex, Evince). I am using forward/backward search to approximate WYSIWYG LaTeX editing.
Evince has started to crash on recompiling/updating LuaLaTeX. Then I tried zathura (another PDF viewer) instead, and after a view tries, similar crashes happen with zathura as well. Zathura after a while cannot even be started anymore by the commands Emacs issues to control zathura.
I am using Ubuntu 18.04 and the corresponding emacs, evince, and zathura packages as well as some "standard" emacs extensions from the ubuntu package repository.
The relevant portion of my .emacs:
(package-initialize)
(add-to-list 'load-path "~/.emacs.d/lisp/")
(add-hook 'text-mode-hook 'electric-pair-mode)
(add-hook 'text-mode-hook 'show-paren-mode)
(add-hook 'text-mode-hook 'turn-on-auto-fill)
(add-hook 'TeX-mode-hook 'outline-minor-mode)
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)
(add-hook 'LaTeX-mode-hook 'flyspell-mode)
(add-hook 'LaTeX-mode-hook 'LaTeX-math-mode)
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
(setq reftex-plug-into-AUCTeX t)
(add-hook 'LaTeX-mode-hook 'company-mode)
(add-hook 'LaTeX-mode-hook 'TeX-source-correlate-mode)
(setq TeX-source-correlate-method 'synctex)
(setq TeX-source-correlate-start-server t)
(add-hook 'LaTeX-mode-hook 'TeX-PDF-mode)
(setq TeX-view-program-selection '((output-pdf "Zathura")))
Emacs generates the following call:
zathura file.pdf --synctex-forward 200:0:sometexinclude.tex -x "emacsclient
+%{line} %{input}"
Called like this, zathura (I do not use a zathura config file) exhibits the following:
zsh: segmentation fault (core dumped) zathura file.pdf
--synctex-forward 200:0:sometexinclude.tex -x
Evince also crashes with SIGSEGV which leads me to believe that is a problem independent of the viewers.
The last thing I found out is that taking away the synctex.gz file makes it possible to start zathura and view the pdf output. But this is of course no desirable solution. However, I was not able to quickly find out how to find the core dump and make it human readable in this case. (That might exceed the scope of my problem.)
A description of that issue occurring with large documents in an OS X setting is described here: For me, it also happens more often the longer (60+ pages) the documents are, however, in my case under Linux.
Hope to get some help? (Should I transfer/share this question to/with the emacs community?)
I am working on torch but when I try to run the following command:
require 'hdf5'
this returns the following error:
/home/mobeen/torch/install/share/lua/5.1/hdf5/ffi.lua:71: Unsupported HDF5 version: 1.10.0
stack traceback:
[C]: in function 'error'
/home/mobeen/torch/install/share/lua/5.1/hdf5/ffi.lua:71: in function 'checkHDF5Version'
/home/mobeen/torch/install/share/lua/5.1/hdf5/ffi.lua:78: in main chunk
[C]: in function 'dofile'
/home/mobeen/.luarocks/share/lua/5.1/torch/init.lua:54: in function 'include'
/home/mobeen/torch/install/share/lua/5.1/hdf5/init.lua:29: in main chunk
[C]: in function 'require'
stdin:1: in main chunk
[C]: at 0x00406500
th> ^Z
[3]+ Stopped luajit
I've created a .desktop file like this
[Desktop Entry]
Categories=Game;
Name=Mari0
Exec=love-unstable /opt/Mari0/mari0_1.0.love
Icon=/opt/Mari0/icon.gif
Type=Application
And what i want is to get it in the unity launcher under the games category
I first asked how to create a shortcut file and how to get it into the launcher, but now i've created a .desktop file myself. and i'm looking for how to get it into the launcher