[O] Suspected bug with LaTeX export: the pdf does not open

2018-08-17 Thread Alain . Cochard


Hello.

I read in the manual:

   'C-c C-e l o'
   Export as LaTeX file and convert it to PDF, then open the PDF
   using the default viewer.

I have the file ~/tmp/scr.org which contains only 

   * head 
   blah

and file ~/.emacs.debug which contains only

   (add-to-list 'load-path "/home/cochard/Org/Coch-git/org-mode/lisp")
   (find-file "~/tmp/scr.org")

I do:

   emacs -Q -l ~/.emacs.debug

and then:

   C-c C-e l o

The compilation is OK and the pdf file is created, but not open.
With 'M-x buffer-menu' one can see that the only buffers are:

   .   scr.org  13 Org  ~/tmp/scr.org
   *scratch*   191 Lisp Interaction 
%* *Messages*  367 Messages 
%* *Org PDF LaTeX O...4577 Compilation  

I have:

   Emacs : GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version
   3.18.9) of 2016-04-11 on buildvm-25.phx2.fedoraproject.org Package:
   Org mode version 9.1.13 (release_9.1.13-894-gf79545 @
   /home/cochard/Org/Coch-git/org-mode/lisp/)

By contrast, with simply

   emacs -Q

which corresponds to

   Emacs : GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version
   3.18.9) of 2016-04-11 on buildvm-25.phx2.fedoraproject.org Package:
   Org-mode version 8.2.10 (release_8.2.10 @
   /usr/share/emacs/24.5/lisp/org/)
 
when visiting the scr.org file and typing 'C-c C-e l o', the frame
splits into 2 windows and the pdf appears in one of them, as I'd
expect.  The buffers are

   .   scr.org  13 Org  ~/tmp/scr.org
%  scr.pdf   50938 DocView  ~/tmp/scr.pdf
   *scratch*   191 Lisp Interaction 
%* *Messages*  283 Messages 
 * *Org PDF LaTeX O...4702 Fundamental  

Regards







-- 
EOST (École et Observatoire des Sciences de la Terre) 
IPG (Institut de Physique du Globe) | alain.coch...@unistra.fr
5 rue René Descartes   [bureau 106] | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France| Fax:   +33 (0)3 68 85 01 25 



Re: [O] org-mime-htmlize gives JSON readtable error

2018-08-17 Thread Joseph Vidal-Rosset
Le ven.  17 août 2018 à  12:32:43 , Eric S  Fraga  a
envoyé ce message:
> On Thursday, 16 Aug 2018 at 18:16, Joseph Vidal-Rosset wrote:
>
> [...]
>
>> I reply to my own email: installing jupyter solve the problem. I do not
>> know why, but I already met this.
>
> I do not have jupyter installed and yet htmlize works for me.

Thanks Eric for your reply. I really do not know why jupyter solved my
problem with org-mime-htmlize. (A possible  explanation it is because I
am  French and  our  President  Macron who  is  also called  "Jupiter"
believes that he can solve all problems. :) ). 

Best wishes, 

-- 
Joseph 



Re: [O] org-mime-htmlize gives JSON readtable error

2018-08-17 Thread Eric S Fraga
On Thursday, 16 Aug 2018 at 18:16, Joseph Vidal-Rosset wrote:

[...]

> I reply to my own email: installing jupyter solve the problem. I do not
> know why, but I already met this.

I do not have jupyter installed and yet htmlize works for me.

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-753-g2ec5d3



Re: [O] org-mime-htmlize gives JSON readtable error

2018-08-17 Thread Eric S Fraga
#+OPTIONS: latex:t toc:nil H:3
On Thursday, 16 Aug 2018 at 15:22, Joseph Vidal-Rosset wrote:
> Hello the list, Hello Eric, 
>
> I meet a problem with org-mime-htmlize, it does not work no more.
>
> Here the error message:
>
> json-read: JSON readtable error

Hello Joseph,

some more details would be welcome.  What version of org?  I'm not quite up to 
date on my system and things are working fine for me.  Maybe a recent change?

I've htmlized this email for confirmation.  Apologies for an HTML email!


-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-753-g2ec5d3