Re: [O] (version 3) [PATCH] New feature: Use dvisvgm to preview latex formular

2016-05-14 Thread Feng Shu
This is version 3 patch, the latex-previewing code is refacter org-create-formula-image-with-dvipng and org-create-formula-image-with-imagemagick are removed. >From 164c5f4bd41ba29d65fc2c5454b5c4b596c6eb7c Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Sat, 14 May 2016 22:42:53 +0800 Subject: [P

Re: [O] Bug: Write file while editing babel code block doesn't work as expected [8.3.4 (release_8.3.4-778-g8127b3 @ /usr/local/share/emacs/site-lisp/org/)]

2016-05-14 Thread Vladimir Lomov
Hello, ** Nicolas Goaziou [2016-05-13 14:12:20 +0200]: > Hello, > > Aaron Ecay writes: > >> Is this a correct change? Previously, C-x C-s in the org-src buffer >> would save the underlying .org file, which was useful. AFAICS this now >> would not work. > > Why do you think so ? C-x C-s is st

[O] ATTR_LATEX :options ignored for source code

2016-05-14 Thread Jeff Trull
According to the manual users can supply #+ATTR_LATEX: :options ... prior to a source section and the options present will be supplied to the environment (lstlistings in my case). I find that this does not work - regardless of settings, no options are supplied to the lstlistings environment. Atta

Re: [O] [PATCH] New feature: Use dvisvgm to preview latex formular

2016-05-14 Thread Feng Shu
"Feng Shu" writes: This is version 2, make diff more easy read. >From 66804cf5642256a38beb0b84ad8194562f34bfce Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Sat, 14 May 2016 22:42:53 +0800 Subject: [PATCH] New feature: Use dvisvgm to preview latex formular Tester should set like below: (s

Re: [O] latex fragment png's size too small

2016-05-14 Thread Feng Shu
"Feng Shu" writes: > Nicolas Goaziou writes: > >> tumashu writes: >> >>> The problem is that the pic is too small and nearly can not see the >>> words in the picture, it will force user config it, if we use a larger >>> pic, it can work although it is ugly >> >> Then is :scale 1.2 enough? > > I

Re: [O] latex fragment png's size too small

2016-05-14 Thread Feng Shu
Nicolas Goaziou writes: > tumashu writes: > >> The problem is that the pic is too small and nearly can not see the >> words in the picture, it will force user config it, if we use a larger >> pic, it can work although it is ugly > > Then is :scale 1.2 enough? I tested in bare emacs, 1.2 seem ok

Re: [O] latex fragment png's size too small

2016-05-14 Thread Nicolas Goaziou
tumashu writes: > The problem is that the pic is too small and nearly can not see the > words in the picture, it will force user config it, if we use a larger > pic, it can work although it is ugly Then is :scale 1.2 enough? If it is too ugly, it will also force users configuring it anyway. Re

Re: [O] latex fragment png's size too small

2016-05-14 Thread tumashu
The problem is that the pic is too small and nearly can not see the words in the picture, it will force user config it, if we use a larger pic, it can work although it is ugly 在 2016-05-14 16:56:15,"Nicolas Goaziou" 写道: Hello, tumashu writes: > The preview png of latex fragment seem to small,

Re: [O] latex fragment png's size too small

2016-05-14 Thread Nicolas Goaziou
Hello, tumashu writes: > The preview png of latex fragment seem to small, what about change > default `org-format-latex-options' :scale from 1.0 to 2.0? As a data point, I use :scale 1.2. A factor of 2 may be too large for some users. In any case, the manual already highlights it: You c

Re: [O] [PATCH] New feature: Use dvisvgm to preview latex formular

2016-05-14 Thread numbch...@gmail.com
This is great! [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ 2016-05-14 14:30 GMT+08:00 Feng Shu : > > -- >

Re: [O] [SPAM] Re: Disabling completion during capture

2016-05-14 Thread Nicolas Goaziou
Hello, swfl...@flintfam.org (Samuel W. Flint) writes: > now on Org-mode version 8.3.4 (release_8.3.4-790-g1fd6f2 @ > /home/swflint/.emacs.d/org-mode/lisp/), but I still have the same > problem. Any suggestions? As Eric said, this bug was fixed a while ago. Basically, the solution was to replace

Re: [O] Problem with Including subsection by CUSTOM_ID

2016-05-14 Thread Nicolas Goaziou
Hello, Ilya Filippov writes: > I try to include subsection from one org-file to another > (http://orgmode.org/manual/Include-files.html) with using CUSTOM_ID. > > In first-file.org: > > ** Subsection name > :PROPERTIES: > :CUSTOM_ID: subsec_to_include > :END: > > bla-bla > > > In second-file.or

Re: [O] Buffer local value lost when exporting? (was Evaluate all org tables in file before exporting)

2016-05-14 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > It got it working after setting org-export-allow-bind-keywords to t BUT now > I need to set the buffer local value twice: (1) Using the Local Variables > footer style so that that local value is effective when before-save-hook is > run (2) Using #+BIND so that that

[O] [PATCH] New feature: Use dvisvgm to preview latex formular

2016-05-14 Thread Feng Shu
>From 4e40deddfb342135b78df83fc5a05ddbce965300 Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Fri, 13 May 2016 20:12:22 +0800 Subject: [PATCH] New feature: Use dvisvgm to preview latex formular Tester should set like below: (setq org-latex-create-formula-image-program 'dvisvgm) (setq org-

Re: [O] org-table-mark-field

2016-05-14 Thread Kaushal Modi
The solution was unnecessarily over-complicated. Below one seems simpler and more intuitive. It requires the hydra package. (defun org-table-mark-field () "Mark the current table field." (interactive) ;; Do not try to jump to the beginning of field if the point is already there (when (not