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

2016-05-16 Thread tumashu
-- 发自我的网易邮箱手机智能版 在 2016-05-16 21:18:20,"Nicolas Goaziou" 写道: >Hello, > >"Feng Shu" writes: > >> I suggest to add (:generator my-generator-function) style configure >> to `org-latex-pdf-process', it is simple and powerful feature, we >> can use this

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

2016-05-16 Thread Nicolas Goaziou
"Feng Shu" writes: > Nicolas Goaziou writes: >>> + :type 'alist) > > I need to help to deal with it, what about just remove :type? You cannot remove :type as it would make the defcustom invalid. However, I wouldn't bother much at the moment since the

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

2016-05-16 Thread Nicolas Goaziou
Hello, "Feng Shu" writes: > I suggest to add (:generator my-generator-function) style configure > to `org-latex-pdf-process', it is simple and powerful feature, we > can use this feature to switch latex commands dynamicially, for example: > > (defun

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

2016-05-15 Thread Feng Shu
Nicolas Goaziou writes: >> + :group 'org-latex >> + :version "24.1" > > :version "25.1" > >> + :type 'alist) I need to help to deal with it, what about just remove :type? >

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

2016-05-15 Thread Feng Shu
Nicolas Goaziou writes: > In any case, I suggest to create a new variable > `org-latex-preview-process' for that. `org-latex-preview-process' is a good idea, which make org-latex beginner easily, i will add it. > >> (org-latex-compile): Add a new optional argument:

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

2016-05-15 Thread Nicolas Goaziou
Hello, "Feng Shu" writes: Thank you for this work. This looks interesting. Some comments follow. > * ox-latex.el (org-latex-pdf-process): Add a new config > method, :fetcher. At this point, I think we should instead separate compiler for LaTeX preview from compiler for full

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

2016-05-15 Thread Feng Shu
"Feng Shu" writes: Version 4 patch, minor change based v3 >From 010baf028bb6dbb706f5abb9f99de0552235f2af 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

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

2016-05-15 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