Re: na=\"nil\" in ob-R.elo

2021-01-16 Thread Jeremie Juste
string and NA are treated the same, I'm not sure the nil feature is very useful. If it does not break anything else I will consider removing it. Best regards, -- Jeremie Juste

Re: Bug: Babel+R handles spaces wrongly in tables [9.3.6 (release_9.3.6 @ /home/cassou/.emacs.d/lib/org/lisp/)]

2020-12-19 Thread Jeremie Juste
Hello, Apologies for the late reply and thanks for pointing out this bug. || On Sunday, 6 Sep 2020 at 13:32, Damien Cassou wrote: #+name: table | | 2014 | |-+--| | A C |1 | | C |2 | #+name: linechart #+begin_src R :results value :var accounts="" :exports none

Re: LaTeX fragments not being generated due to extra * in tikz env

2020-12-19 Thread Jeremie Juste
k reasonable? > > Thanks, > > thibault > > On 2020-12-09T13:16:19-0500, Jeremie Juste wrote: > > Hello, > > Thanks for reporting. Indeed this is an issue that hasn't been fixed > yet. This is the case for most latex environments > > My solution is here >

Re: LaTeX fragments not being generated due to extra * in tikz env

2020-12-09 Thread Jeremie Juste
ATEX_HEADER: > \NewEnviron{tikzpicture*}[1][]{\begin{tikzpicture}[#1]\BODY\end{tikzpicture}} > > Possibly fixing this issue, will make cross formats much easier. -- Jeremie Juste

Re: Adding Org Files to org-agenda-files

2020-11-29 Thread Jeremie Juste
Hello, >> If you have *both* a settings in your emacs init file for >> org-agenda-files using (setq org-agenda-files...) and you have a line in >> your (custom ...) section, you should remove one of them to avoid >> confusion. In general, what is in the custom section will take >> preference as

Re: Adding Org Files to org-agenda-files

2020-11-28 Thread Jeremie Juste
|| On Saturday, 28 Nov 2020 at 22:45, daniela-s...@gmx.it wrote: > > Many thanks for helping me. I would not have got to this stage without > your helpful commands and checks. You are welcome ;-) > > Getting used to a problem to the extent of depending on it is not a good > system. > Emacs

Re: Adding Org Files to org-agenda-files

2020-11-28 Thread Jeremie Juste
lows you to choose which side you want to pick. Admittedly there are sometimes unexpected default behaviors that don't please everyone but emacs offers choices. Best regards, Jeremie > >> Sent: Saturday, November 28, 2020 at 9:27 PM >> From: "Jeremie Juste" >> To:

Re: Adding Org Files to org-agenda-files

2020-11-28 Thread Jeremie Juste
|| On Saturday, 28 Nov 2020 at 21:11, daniela-s...@gmx.it wrote: > I've made some progress, I am getting Very well. Then I guess that you have multiple variables named org-agenda-files. > File: ~/02histr/gadmin/meeting.rcl.org > > This happens even though I removed the file name from

Re: Adding Org Files to org-agenda-files

2020-11-28 Thread Jeremie Juste
" > "~/02histr/gadmin/writing.rcl.org" > "~/02histr/gadmin/health.rcl.org")) > > ;; "~/02histr/gadmin/meeting.rcl.org" > ;; "~/02histr/gadmin/household.rcl.org" > >> Sent: Saturday, November 28, 2020 at 8:01 PM >

Re: Adding Org Files to org-agenda-files

2020-11-28 Thread Jeremie Juste
|| On Saturday, 28 Nov 2020 at 19:43, daniela-s...@gmx.it wrote: > Why does Agenda not simply honour the init file. Many fume something awful > when you question them on how things are done. It turns out that it does. This what I have in my input file (setq org-agenda-files

Re: Adding Org Files to org-agenda-files

2020-11-28 Thread Jeremie Juste
Hello, || On Saturday, 28 Nov 2020 at 17:54, daniela-s...@gmx.it wrote: > Yes, it shows. That was a good test. This is encouraging. So the problem might be in the wild card expansion if you execute the following command do you get all the files you expect? (file-expand-wildcards

Re: Adding Org Files to org-agenda-files

2020-11-28 Thread Jeremie Juste
(file-expand-wildcards "~/02histr/gadmin/health*.org") > (file-expand-wildcards "~/02histr/gadmin/meeting*.org") )) > -- Jeremie Juste

Re: Help debugging R source code block output problem with :session

2020-10-28 Thread Jeremie Juste
Hello Jack, > Thanks for volunteering to maintain ob-R.el :) Thanks for the encouragements and the suggestions. I need will take some time to dive into the existing code but I will definitely look into it and keep you posted. I've also noticed a [1] bug waiting to be fixed. [1]

Re: Please help by becoming a maintainer for an Org Babel file

2020-10-26 Thread Jeremie Juste
Hello Bastien, On Monday, 26 Oct 2020 at 10:52, Bastien wrote: > Hi Jeremie, > > Jeremie Juste writes: > >> I'm willing to take care of ob-R.el. > > You're in as of 36f4df892. Thank you very much! Got it! It might take my elisp skills to a new level. :-) Thanks to you, -- Jeremie Juste

Re: Please help by becoming a maintainer for an Org Babel file

2020-10-26 Thread Jeremie Juste
Hello, I'm willing to take care of ob-R.el. Best regards, Jeremie Juste

Re: org-table-sum

2020-10-24 Thread Jeremie Juste
no-prop items1 ))) +(res (string-to-number (calc-eval +(combine-and-quote-strings numbers "+" Best regards Jeremie Juste

Re: org-table-sum

2020-10-22 Thread Jeremie Juste
Hello I have figured out that calc-eval might do the job for the floating point problem for org. (info "(calc) Calling Calc from Your Programs") (calc-eval "83.6+0.1") So in the function org-table-sum I have made the following modification: > (res (string-to-number (calc-eval

Re: [Share] collect some idea about auto eval code when TAB expand headline

2020-10-16 Thread Jeremie Juste
Hello, I don't see very clearly how you want to use the code. (It might well be because of my lack of skills) Could you give a usage example? Best regards, Jeremie On Friday, 16 Oct 2020 at 13:01, stardiviner wrote: > I write an elisp config for Org Mode to auto evaluate inline source

Re: opening a 0.5 MB org file is slow

2020-09-30 Thread Jeremie Juste

Re: opening a 0.5 MB org file is slow

2020-09-30 Thread Jeremie Juste
profiler-start cpu 2. open your file 3. M-x profiler-report It will let you see which functions are slowing you down. HTH, -- Jeremie Juste

Re: opening a 0.5 MB org file is slow

2020-09-29 Thread Jeremie Juste
that would do the profiling like elp-instrument-function for functions? -- HTH Jeremie Juste On Tuesday, 29 Sep 2020 at 21:11, Uwe Brauer wrote: > Hi > > maybe I am just to impatient but on my 8 GB Thinkpad X1 (4gen) to open a > 0.5MB org file takes around 15 sec. > > Any chang

Re: org-table-sum

2020-09-28 Thread Jeremie Juste
solution yet. I don't know yet which function calc is using to perform this operation. I have tried calcFunc-vsum but fell back on the same issue. #+BEGIN_SRC elisp (calcFunc-vsum 85.6 .1) #+end_src -- Best regards Jeremie Juste

Re: org-table-sum

2020-09-26 Thread Jeremie Juste
| > | 2.61 | > | 12.21 | > | 6.69 | > | 19.72 | > | 23.09 | > | 6.23 | > | 15.28 | > | 250.00 | > | 250.00 | > | 250.00 | > | 78.85 | > || > || > #+TBLFM:@>$1=vsum(@1$1..@-1$1) > > Put point in that empty cell and do 'C-u C-c C-c' > > Robert > -- Best regards Jeremie Juste

Re: org-tempo question

2020-09-24 Thread Jeremie Juste
Hello Nick, Thanks for the feedback. I'm not sure I understand your setting entirely. I have reproduced the behaviour of tempo inside an org src block below. I don't have any comma before the source block expansion unless I type it. Any character except space or tab on the line of the

Re: org-tempo question

2020-09-24 Thread Jeremie Juste
Hello Bruno, Thanks for your mail. I have been missing this feature that was taken out of core. I will have to keep up with the modulation of org-mode but it is for the better. Regarding your concern > In the same spirit if before trying that I type tabulation then = then tabulation again,

Re: Bug: org-table-wrap-region incorrectly places the wrapped region [9.4 (9.4-elpaplus @ /home/marko/.emacs.d/elpa/org-plus-contrib-20200914/)]

2020-09-24 Thread Jeremie Juste
Hello Marko, Thanks for reporting. Unexpected behavior of (org-table-wrap-region) confirmed. works fine with > | Includes all aspects of| > | information about | > | proposed project. | Error: user-error: Not in table data field with header line >

Re: Help with moderating non-subscribers messages on the Org mailing list

2020-09-23 Thread Jeremie Juste
Hello Dominique, Many thanks for this info. I'll give it a try. Best regards, Jeremie Dominique Dumont writes: > Hi > > On mercredi 16 septembre 2020 11:04:42 CEST Bastien wrote: >> The task is to check the mailman administration page and to discard >> messages that should not be sent to the

Re: strange bug after a fresh install

2020-09-16 Thread Jeremie Juste
Hello Uwe, if seems that the problem lies with ob-ipython. I would suggest to remove ob-ipython to check and then perform a fresh install of ob-ipython. HTH, Jeremie Uwe Brauer writes: > Hi > > I freshly installed Ubuntu 20.04 and used the pre compiled Emacs 26, I > copies also all my init

Re: Emacs version for Org 9.4?

2020-09-15 Thread Jeremie Juste
Hello Jens, I'm afraid I cannot test your issue. I don't have the ability to switch emacs version yet. What I can tell you is that org-9.4 is working fine on GNU Emacs 27.1, and on Emacs 28.0.50. Does anyone have problem on the official Debian 10 repo emacs 1:26.1+1-3.2+deb10u1? Hope this

Re: setting up 'imenu'

2020-09-11 Thread Jeremie Juste
Hello Sharon, I must have failed to grasp the subtleties of your workflow. And my explanation was surely not very friendly. I apologize for that. If your workflow works for you this is what matters. > Sorry, but I just feel that your system is over-complicated as compared > to my simplistic

Re: setting up 'imenu'

2020-09-10 Thread Jeremie Juste
Hello Sharon, Unfortunately I cannot reproduce your issue. I created a list of 56 sub heading and I can view the heading Still a sample 0 until Still a sample 56. ** TODO * etc and onwards ** TODO * and another one ** Still a sample 0 ** Still a sample 1 ** Still a sample 2 ** Still a sample

Re: org-store link does not work in gnus article-mode

2020-09-04 Thread Jeremie Juste
Hello Bastien, Bastien writes: > Did you (require 'ol-gnus) ? Yes (require 'ol-gnus) did the trick. Many thanks. Best regards, Jeremie

org-store link does not work in gnus article-mode

2020-09-04 Thread Jeremie Juste
Hello, I notice that org-store-link is not working as expected in article mode. M-x org-store-link produces user-error: No method for storing a link from this buffer Any ideas about a solution? I'll launch an investigation as soon as I have some time to spare. Best regards, Jeremie - Org mode

Re: latex fragments compilation error when exporting to html

2020-09-02 Thread Jeremie Juste
Hello, I have found the culprit in the end. It was the function org-html--unlabel-latex-environment, int he ox-html.el file. I'm not sure this function is useful as I think it is better to give the user control on his environment (labelled or unlabelled) directly in his org file. I'm I missing

Re: latex fragments compilation error when exporting to html

2020-09-01 Thread Jeremie Juste
Hello, Some follow up on this problem I thought that I messed up the org-mode update because I had some org files open during the updates. I reinstall emacs and org-mode to the latest but I still get the problem. Performing M-x org-html-export-to-html on the file below ends up in an error

Re: latex fragments compilation error when exporting to html

2020-09-01 Thread Jeremie Juste
olled-emacs.d/elpa/org-20200831") (require 'org) is enough to generate the issue. Best regards, Jeremie Eric S Fraga writes: > On Monday, 31 Aug 2020 at 22:24, Jeremie Juste wrote: >> When I export test.org to html, the latex fragment fail to compile. >> The r

Re: latex fragments compilation error when exporting to html

2020-09-01 Thread Jeremie Juste
latex ... #+end_export If I wrap I get the same error. Best regards, Jeremie Eric S Fraga writes: > On Monday, 31 Aug 2020 at 22:24, Jeremie Juste wrote: >> When I export test.org to html, the latex fragment fail to compile. >> The reason is a star get added to the tabular

Re: latex fragments compilation error when exporting to html

2020-08-31 Thread Jeremie Juste
Hello, Nick Dokos writes: > Jeremie Juste writes: > >> Hello >> >> When I export test.org to html, the latex fragment fail to compile. >> The reason is a star get added to the tabular environment. {tabular*} >> (see tmpfile.tex). >> >>

latex fragments compilation error when exporting to html

2020-08-31 Thread Jeremie Juste
Hello When I export test.org to html, the latex fragment fail to compile. The reason is a star get added to the tabular environment. {tabular*} (see tmpfile.tex). I don't know why the function insists in using the tabular* environment. >From this point I would have two questions: How can I

Re: save plot in python babel

2020-08-26 Thread Jeremie Juste
Hello Jack, Many thanks for having taken the time to reply. I'll definitely try ob-jupyter. > > My goal is to make ob-python a serious alternative to these external > ob-* packages eventually. Here are some of the improvements I have in > mind: > > - Improved plotting > - Support for pandas

save plot in python babel

2020-08-25 Thread Jeremie Juste
Hello, I've barely use python with org-mode and I would need some help with the python setup. I somehow have some trouble saving python plots. Is this the right way to do it? #+begin_src python :results output file link :file myfig1.pdf :session *Python* import matplotlib import numpy as

Re: org-babel parenthesis tracking blinded by > in code block

2020-07-14 Thread Jeremie Juste
Many thanks indeed, > > I have the following settings, > > (modify-syntax-entry ?< ".") > (modify-syntax-entry ?> ".") > > in my org mode hook. This stops org from treating them as parenthesis. Best regards, Jeremie

org-babel parenthesis tracking blinded by > in code block

2020-07-11 Thread Jeremie Juste
Hello, I noticed that with show-paren-mode on in an org-mode buffer, the following the opening parenthesis "(> (point) 0)" in the following code block is not detected. #+begin_src emacs-lisp (defun re-search-and-replace-in-buffer (regex replacement) (interactive) (save-excursion

exporting latex table to html as png

2020-06-21 Thread Jeremie Juste
Hello, I would like to export the following table as a png in an html page. But it seams that the latex table requires multiple compilations. I can achieve this when I export to latex by customizing the org-latex-pdf-process as follows (setq org-latex-pdf-process (quote ("texi2dvi --pdf

Re: Bug: Option to disable evaluation of code blocks during export [9.3.7 (9.3.7-dist @ /PATH/TO/org/install/emacs/site-lisp/org/)]

2020-06-13 Thread Jeremie Juste
Hello, I understand the frustration of not being able to bend emacs to ones immediately. But many times my initial workflow turned out not to be the best one. I just wanted to share my workflow hoping that it might be a solution to the original post problem. >> Consider the scenario where a

Re: multiple EXPORT_LATEX_HEADER lines

2020-06-12 Thread Jeremie Juste
> I am not sure I understand your question. Sorry. You read my mind. > > The snippet from the OP will collate all three LaTeX header lines into a > single line on export, which is expected in terms of org's > behaviour. This is exactly what I was referring to. If the behavior of

Re: multiple EXPORT_LATEX_HEADER lines

2020-06-12 Thread Jeremie Juste
etplength{refvpos}{\useplength{toaddrvpos}} :EXPORT_LATEX_HEADER+: \makeatother :END: Best regards, Jeremie PS: The automatic time stamp of the sender when replying is a nice piece of technology. I guess, I have to read the gnus manual again. :-) > On Friday, 12 Jun 2020 at 14:01, Jeremie Juste wrote:

Re: multiple EXPORT_LATEX_HEADER lines

2020-06-12 Thread Jeremie Juste
Hello, can reproduce the issue with * hello :PROPERTIES: :EXPORT_LATEX_HEADER: \makeatletter :EXPORT_LATEX_HEADER+: \@setplength{refvpos}{\useplength{toaddrvpos}} :EXPORT_LATEX_HEADER+: \makeatother :END: But I have some more questions. I can see the :EXPORT_LATEX_HEADER in the

Align CJK characters in Org-table.

2020-06-07 Thread Jeremie Juste
Hello, I just wanted to give more visibility to [0] valign which provides a way to align CJK characters in org-table. It seems pretty recent but from what I can tell it does the job. Best regards, Jeremie [0]: https://github.com/casouri/valign

Re: org-babel strange html print in R

2020-02-11 Thread Jeremie Juste
Hello, Thanks for the input. I didn't see the full mail of stardiviner for some reason. :results value html in the following code generates an error for me. (Org mode version 9.2.3,R version 3.6.2). but :results value output the "html" in an org-table format #+begin_src R :results value html

Re: org-babel strange html print in R

2020-02-08 Thread Jeremie Juste
Hello Jack, Thanks for taking the time to reply. > I think a more reliable implementation would be to avoid > `org-babel-comint-with-output', and take the approach used in the > ":results value" case, which reads the output from a temp file instead > of directly from the shell. I understand

Re: org-babel strange html print in R

2020-02-07 Thread Jeremie Juste
Hello, Jack Kamm writes: > Dominique Dumont writes: > >> On my system, org-mode 3.6.1 provides the expected table. > > My system produces the expected table as well (org 9.3.2, R 3.6.2). > > --Jack Thanks for the info. Unfortunately I couldn't identify the issue I updated R and org (org

org-babel strange html print in R

2020-02-06 Thread Jeremie Juste
Hello, I've found that some strange results when outputing html from R. Do you have some insights on a potential solution? Best regards, Jeremie Org mode version 9.3.4 (9.3.4-elpa @ /home/djj/.emacs.d/elpa/org-20200206/) #+PROPERTY: header-args:R :eval yes :exports results :colnames yes

Re: [O] suppress leading ":" in org-babel output

2019-05-31 Thread Jeremie Juste
Hello, Many thanks updating org-mode resolved the issue Best regards, Jeremie > FWIW, I just get the last line: > > #+NAME:mean_purchase_per_shopping_trip > > #+BEGIN_SRC R :var x=6 :results output :session *R* > a <-sprintf("%.2f",12.234324) > cat(a,sep="\n") > #+END_SRC > > #+RESULTS: > :

[O] suppress leading ":" in org-babel output

2019-05-27 Thread Jeremie Juste
Hello, I recall seeing this thread on the mailing list but I cannot find it back. I would like to suppress the first line leading ":" in the following output #+NAME:mean_purchase_per_shopping_trip #+BEGIN_SRC R :var x=6 :results output :session *R* a <-sprintf("%.2f",12.234324) cat(a,sep="\n")

[O] html export of latex table

2019-05-19 Thread Jeremie Juste
Hello, I noticed that the html export does not export correctly the following table, although it does if I wrap it in a table environment. I also tried some other table environment such a longtable and noticed that somehow the environment name gets hijacked \begin{longtable} becomes

Re: [O] How to avoid \title{} and \date{} in latex export

2019-04-11 Thread Jeremie Juste
Hello Flavio, I believe you meant #+OPTIONS:date:nil title:nil Notice the "s" at the end of option Hope this helps, Jeremie Flavio Leonardo Cavalcanti de Moura writes: > Hello, > > My org file uses a latex class that, after exporting, is in conflict with > the lines \date{} and

Re: [O] Fontify text between quotes?

2018-11-21 Thread Jeremie Juste
Hello, You can in principle tap directly into font lock-mode. For instance something like (add-hook 'org-mode-hook (lambda () (font-lock-add-keywords nil '(("\\<\\(FIXME\\):" 1 'font-lock-warning-face prepend)

[O] preview latex table between #+BEGIN_EXPORT latex

2018-10-30 Thread Jeremie Juste
Hello, It is possible to preview tables between #+BEGIN_EXPORT latex? I find myself constantly removing #+BEGIN_EXPORT latex and putting it back which is pretty frustrating. any ideas how to do that would be greatly appreciated. #+BEGIN_EXPORT latex \centering \begin{tabular}{rrr} \hline &

Re: [O] mathjax macro in org-mode

2018-10-15 Thread Jeremie Juste
Jeremie Juste writes: Hello, looking deeper into the docs I saw that we could modify the org-html-mathjax-template in the following way to add the macro. (setq (org-html-mathjax-template " MathJax.Hub.Config({ displayAlign: \"%ALIGN\", displayIn

[O] mathjax macro in org-mode

2018-10-14 Thread Jeremie Juste
Hello, I was wondering how to set up mathjax macro in org-mode. For instance would it be possible to use #+HTML_MATHJAX: to include the following macro? Macros: { R: '{\\mathbb{R}}', bold: ['{\\bf #1}',1] } So far my attempts have been unsuccessful. Best regards,

Re: [O] no more tikz -> png génération during HTML export

2018-10-14 Thread Jeremie Juste
Hello With the following in your .emacs file #+BEGIN_SRC (setq org-babel-latex-htlatex "htlatex") (defmacro by-backend ( body) `(case org-export-current-backend ,@body)) #+END_SRC I can put back #+BEGIN_SRC around the tikz and it seems to work. #+header: :file (by-backend (html

Re: [O] no more tikz -> png génération during HTML export

2018-10-14 Thread Jeremie Juste
Hello, I can reproduce your error but a setting without #+BEGIN_SRC #+END_SRC seems to work. It not a fix just a way around the problem. Hope it helps, Jeremie #+TITLE: Test d'export tikz qui ne marche plus #+DATE: <2015-11-10 mar.> #+LANGUAGE: fr #+OPTIONS: toc:1 num:1 #+LATEX_HEADER:

[O] wrap long text in org table

2018-09-06 Thread Jeremie Juste
Hello, Is there a way to wrap long text in org-table? For instance I would like to wrap this text to 80. | | <80> | | 1 | Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum

Re: [O] Latex preview foreground color problem

2018-07-31 Thread Jeremie Juste
Hello, Here is mine. But I live with a black background. You might have trouble with the table environment though. For some mysterious reason, although the background changes,the foreground in the table environment remains black. (setq org-format-latex-options '(:foreground "White"

Re: [O] No completion when querying for property value in capture template

2018-06-07 Thread Jeremie Juste
Hello, As far as I know it is not currently possible to get property auto-completion from the property list of the file itself. but you could still make use of the stock property in the template and auto-complete from there For instance: ("T" "TEST" entry (file+headline"/tmp/test.org"

Re: [O] Org beamer async export fails

2018-05-09 Thread Jeremie Juste
-to-pdf with async. I get the following results 1beamer 0:08 /tmp/test.tex So it export only to latex and don't compile tex file. Best regards, Jeremie > Hello, > > Jeremie Juste <jeremieju...@gmail.com> writes: > >> I noticed that async export using

[O] Org beamer async export fails

2018-05-09 Thread Jeremie Juste
Hello, I noticed that async export using org-beamer-export fails. For instance on test.org (see below) yield <> I'm using Org mode version 9.1.13 Best regards, Jeremie content of test.org #+TITLE: Example Presentation #+AUTHOR: Carsten Dominik #+OPTIONS: H:2 toc:t num:t #+LATEX_CLASS:

Re: [O] NA in R source code block

2018-03-31 Thread Jeremie Juste
Hello, I don't have an ideal org-mode solution for this problem. I suggesting two ways hoping that more improvements will come > Here is an example. The NA in column a shows up in the results as > nil. Why does that happen? Is there a way of changing this behaviour? > I can manually replace NA

Re: [O] NA in R source code block

2018-03-31 Thread Jeremie Juste
Vikas Rawal writes: Hello, > NAs in a data frame that is created by an R source code block show up in the > results as nil. Can I change it to something else (say, “—“)? Could you elaborate on your issue? Can you give a minimal example of your block? It is very

[O] Send subheading at the end of documents preserving the numbering

2017-10-11 Thread Jeremie Juste
Hello, I'm making some exercices with answers and I'm writing the answers just after the questions in the following way * Question ** Answer :solution While exporting to latex, I can use #+EXCLUDE_TAGS: solution to remove the solution but a better option in my case would be to send

Re: [O] Happily exporting LaTeX, now want to export to text and HTML, can't figure how to handle latex markup

2017-08-03 Thread Jeremie Juste
"Berry, Charles" writes: Hello, Thanks for the update >> > > I think this is obsolete. It fails on org-9.0.9. What version of org are you > using? > > In any case replacing the ~(if ...)~ by ~org-export-current-backend~ will fix > it. > > > Another case were adding dates

Re: [O] Happily exporting LaTeX, now want to export to text and HTML, can't figure how to handle latex markup

2017-08-02 Thread Jeremie Juste
Hello > > Putting together a macro seems like the best option. Recall that you > can use elisp in macros by placing it between `(eval’ and `)', so the > following emits “def’ in all but latex exports and “abc” for latex. > Yes I found this nice piece of code It switches to svg if backend

[O] How to use :prologue with latex

2017-04-24 Thread Jeremie Juste
Hello, I would like to use :prologue and epilogue with latex output when using R. Would it be possible to do something like the following? #+NAME: test1123 #+BEGIN_SRC R :results output latex :prologue \\begin{table} :epilogue \\end{table} :session *R* :dir tmp :cache no

Re: [O] How to obtain the headline level from org-element-at-point

2017-04-20 Thread Jeremie Juste
gards, Jeremie > > > > John > > --- > Professor John Kitchin  > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.c

[O] How to obtain the headline level from org-element-at-point

2017-04-08 Thread Jeremie Juste
Hello, Interleave-mode https://github.com/rudolfochrist/interleave, is a very convenient tool for writing notes in associated with pdf. It uses org-mode for this purpose. I recently noticed that in the case where I want to write notes for multiple pdf in a singlie org file, I have to use the

[O] resize org-table when exporting to latex

2017-02-27 Thread Jeremie Juste
Hello, Is there a way to resize latex table when exporting to latex? For now my only recourse is to export the latex table copy the latex code back to org-mode apply \scalebox. Do you have a more convenient way in mind? Best wishes, Jeremie

Re: [O] latex preview table environment

2017-02-22 Thread Jeremie Juste
Hello, Eric S Fraga writes: > When I switched my colour theme to one with a dark background, I found I > had to set org-format-latex-options to > > '(:background default :foreground default) > '(:background default :foreground default) work for be as well. > actually

Re: [O] latex preview table environment

2017-02-17 Thread Jeremie Juste
I found the culprit. I have set my background color to black and forground color to white. Yet when I adust the org-format-latex-options to see the preview white on black, the tabular environment displays the expected color setting but not the table environment. So far I can only change the

Re: [O] latex preview table environment

2017-02-16 Thread Jeremie Juste
Hello, Thanks for replying > For me, the preview shows both tables. My org-preview-latex-default-process > is set to imagemagick. my org-preview-latex-default-process variable is set to imagemagick as well. Interesting..., I wonder why the tabular would work but not the table environment

[O] latex preview table environment

2017-02-16 Thread Jeremie Juste
Hello, I would like to preview easily latex table environment. I noticed that org-toggle-latex-fragment shows the latex-preview for the tabular environment but not for the table environment. Would it be possible to find a to do that? I tried to tweak org-latex-options in the following way in

Re: [O] exporting latex to html

2016-10-12 Thread Jeremie Juste
Hello Rasmus, Thanks for the tip but I'm could not find org-preview-latex-process-alist. Ok I'm still investigating. One thing that might be interesting is to convert the latex to html direclty when exporting to html. Another solution could be using pandoc to bypass the images entirely

[O] exporting latex to html

2016-10-11 Thread Jeremie Juste
Hello, How is it possibile to modify the image attributes when exporting latex to html? For instance if I have a table in the following org-buffer. Doing org-mime-org-buffer-htmlize convert the table into an image and put put it in latex as a picture. I would like to control the size and

Re: [O] Best diagram, image software?

2016-10-05 Thread Jeremie Juste
Hello, Lawrence Bottorff writes: > I know lots of you use Emacs and org mode to prepare scholarly books and > papers, either doing the HTML or, more probably, the Latex > export. Question: Let's say I want to produce a math text with > Emacs/org-mode/Latex. What is the best

Re: [O] org-drill blank question

2016-06-27 Thread Jeremie Juste
Alan Schmitt <alan.schm...@polytechnique.org> writes: > On 2016-06-27 11:24, Jeremie Juste <jeremieju...@gmail.com> writes: > >> Thanks for the reply. Even after updading, I'm facing the same issue >> with the file I sent. >> >> My org-mode and org-plu

[O] Babel save code block results to many files

2016-05-02 Thread Jeremie Juste
Hello, In the case where a code block generates many grahique, is it possible to output each graphic to a file direclty? For example in R you can do something like the following. png(file="example%02d.png", width=200, height=200) for (i in c(10:1, "G0!")){ plot.new() text(.5, .5, i,

Re: [O] State of things: Email with orgmode?

2016-04-26 Thread Jeremie Juste
Hello, >> Jeremie Juste writes: >> Do you think Is it possible to invert the colors of the latex images? I use >> a black >> background and it's impossible to see the latex images. > John Kitchin <jkitc...@andrew.cmu.edu> writes: > See the variable org-form

Re: [O] State of things: Email with orgmode?

2016-04-26 Thread Jeremie Juste
Hello, Many thanks for sharing this. > One of the links between org and email is using org-mime-htmlize which > will take your email buffer (using gnus in my case but a message > buffer) and create a text+html mime encoded email in which the plain > text is parsed as an org file and exported to

Re: [O] latex preview in latex block

2016-04-10 Thread Jeremie Juste
Nicolas Goaziou writes: > Hello, > > Jérémie Juste writes: > >> Is it possible to activate the latex preview in org-mode within in latex >> bloc? > > It isn't possible out of the box. Org doesn't look at the contents of > src blocks, which are

[O] [OT] A new web browser‽

2016-04-10 Thread Jeremie Juste
For my part I use IceCat. They have made a lot of progress recently if you are hesitating. As for key bindings the closest options to emacs I have found is firemacs: http://www.mew.org/~kazu/proj/firemacs/en/ Best regards, Jeremie

[O] ox-koma-letter: org-latex--insert-compiler not found

2016-03-19 Thread Jeremie Juste
Hello, I'm trying trying org KOMA-Script letter exporter, but I get the following error: concat: Symbol's function definition is void: org-latex--insert-compiler. I could not find the function org-latex--insert-compiler. Do you have a clue about this? Best regards, Jeremie

[O] Beamer :BEAMER_envargs: [allowframebreaks] not working

2015-09-28 Thread Jeremie Juste
Hello, It's my first post here finally. Most of my questions were answered before by you.:). I have the lastest version of org mode and search with the best of my abilities if any had the same issue but couldn't find anything. I have some difficulty with the org-mode variable :BEAMER_envargs.