multiple EXPORT_LATEX_HEADER lines

2020-06-12 Thread Alan Schmitt
Hello, I would like to have a multi-line export header when exporting a subtree. I tried this: :EXPORT_LATEX_HEADER: \makeatletter :EXPORT_LATEX_HEADER+: \@setplength{refvpos}{\useplength{toaddrvpos}} :EXPORT_LATEX_HEADER+: \makeatother The problem is that it's exported on a single line, and as

Re: multiple EXPORT_LATEX_HEADER lines

2020-06-12 Thread Dominik Schrempf
Hello, are you looking for, e.g., #+latex_header: \addbibresource{bibliography.bib} #+latex_header_extra: do some stuff #+latex_header_extra: and even more I don't use the EXPORT keyword at the beginning, I am not sure if it is needed. Best, Dominik Alan Schmitt writes: > Hello, > > I would

Re: multiple EXPORT_LATEX_HEADER lines

2020-06-12 Thread Alan Schmitt
Hello Dominik, On 2020-06-12 10:31, Dominik Schrempf writes: > are you looking for, e.g., > > #+latex_header: \addbibresource{bibliography.bib} > #+latex_header_extra: do some stuff > #+latex_header_extra: and even more > > I don't use the EXPORT keyword at the beginning, I am not sure if it is

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-12 Thread Nicolas Goaziou
Hello, John Ciolfi writes: > It would be very nice if I could enable/disable the evaluation of code > blocks during the export process in the interactive C-c C-e > environment. I'm not sold to this idea. There are already many ways to control evaluation of Babel code, i.e., :eval header argumen

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 proper

Re: multiple EXPORT_LATEX_HEADER lines

2020-06-12 Thread Eric S Fraga
On Friday, 12 Jun 2020 at 14:01, Jeremie Juste wrote: > But I have some more questions. I can see the :EXPORT_LATEX_HEADER in > the properties menu. (C-x p) but how did you even find :EXPORT_LATEX_HEADER+ > property name? This is a standard syntax for adding values to a property. From the info m

org-lint and org-attach DIR property

2020-06-12 Thread Gustavo Barros
Hi All, When setting the 'DIR' property for attachments for a whole file with =#+PROPERTY: DIR ...=, 'org-lint' will issue a deprecation warning and recommend the use "header-args" instead. Of course, 'org-lint' means here babel blocks, but as far as I understand, setting the 'DIR' property

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-12 Thread John Ciolfi
Hi Perhaps, in the interactive C-c C-e mode there could be: [C-e] Eval code blocks: always | never | use-eval-header-setting where 'use-eval-header-settings' is the default and uses whatever was set by the current org file and emacs session. Always and never would override that. Consider the

Re: multiple EXPORT_LATEX_HEADER lines

2020-06-12 Thread Jeremie Juste
Eric S Fraga writes: > > This is a standard syntax for adding values to a property. From the info > manual: > > If you want to add to the value of an existing property, append a ‘+’ to > the property name. The following results in the property ‘var’ having > the value ‘foo=1 bar=2’. > >

Re: multiple EXPORT_LATEX_HEADER lines

2020-06-12 Thread Eric S Fraga
On Friday, 12 Jun 2020 at 16:47, Jeremie Juste wrote: > Many thanks for the info. So, with respect the original post, the behavior of > the following > code is to be expected? I am not sure I understand your question. Sorry. The snippet from the OP will collate all three LaTeX header lines into

Re: Get Grades Done: the joys of Org's simple power

2020-06-12 Thread Leo Okawa Ericson
Diego Zamboni writes: > Hi Devin, > > Your could try https://org-web.org/ - it allows online editing of Org files > and a quick test shows that it supports the automatic update of checkbox > counts. Or you could try https://github.com/200ok-ch/organice - it is a friendly fork of org-web.

Re: New mailing list archive at https://orgmode/list/

2020-06-12 Thread Eric Abrahamsen
Eric Wong writes: > Eric Abrahamsen wrote: >> Kyle Meyer writes: >> >> > [ +cc Eric Wong, mostly to say thanks for all the work he puts into >> > public-inbox, which is the software behind these archives, but also so >> > that he can correct me if I misrepresent any capabilities of or plan

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 :EXPORT_LATEX_HE

Re: Get Grades Done: the joys of Org's simple power

2020-06-12 Thread Diego Zamboni
Hi Leo, Thanks - I had seen that one too, and couldn't figure out which one was a fork of the other one. Both have recent activity - do you know what are the main differences between them? --Diego On Fri, Jun 12, 2020 at 5:54 PM Leo Okawa Ericson wrote: > > Diego Zamboni writes: > > > Hi Devin

[PATCH] allow for multiline headers

2020-06-12 Thread Mario Frasca
it misses unit tests, I need to make the collapse optional, and I need to hear from users what they think of it.  this patch allows me to write a table like the following, having a three-lines header: |  n | data | prove, |  casi, | ratio |   prove, |    casi, | |    |  | valore | valore | 

[PATCH] Re: Export to attach directory?

2020-06-12 Thread Eric Abrahamsen
Eric Abrahamsen writes: > I think the last thing I'm missing before my Org set up is Absolutely > Perfect and never needs to be tweaked again (ha!) is the ability to > export Org files/subtrees to their relevant ATTACH directories, if any. > It might be overkill to have a global setting for this,

Re: org-lint and org-attach DIR property

2020-06-12 Thread Nicolas Goaziou
Hello, Gustavo Barros writes: > When setting the 'DIR' property for attachments for a whole file with > =#+PROPERTY: DIR ...=, 'org-lint' will issue a deprecation warning and > recommend the use "header-args" instead. Of course, 'org-lint' means > here babel blocks, but as far as I understan

Re: org-lint and org-attach DIR property

2020-06-12 Thread Gustavo Barros
Hi Nicolas, On Fri, 12 Jun 2020 at 18:59, Nicolas Goaziou wrote: I removed the warning for dir property. Thank you. Thank you very much. Regards, Gustavo.

Re: [PATCH] allow for multiline headers

2020-06-12 Thread Nicolas Goaziou
Hello, Mario Frasca writes: > (org-table-to-lisp): simplify code, changing a `while' to a > `cl-loop', remove leading `hline' symbols from result, edit > documentation to reflect change. Please don't. Even if it has its uses, cl-loop is a complicated non-Lispy beast, and introducing it somewher

Re: Get Grades Done: the joys of Org's simple power

2020-06-12 Thread Phil Regier
A friend showed me Org-mode running in spacemacs a few years back, and I was pretty impressed with how well it seemed to be working, though I haven't messed with it much myself. Especially not sure how much sugar it offers as far as sharing a particular experience with new users, but at the very l

Re: Get Grades Done: the joys of Org's simple power

2020-06-12 Thread Devin Prater
Well, some teachers are blind, which means Emacspeak, and Spacemax does have visual stuff, so Emacspeak may not work well with that. I’ll have to try Doom Emacs though, maybe that’ll work better. The bigger problem though, is that Emacspeak relies on speech servers, and the one for Windows hasn’

Re: Get Grades Done: the joys of Org's simple power

2020-06-12 Thread Phil Regier
Oh, my. I would not have imagined that setting up Emacspeak could be so complicated. Was your initial thought that if you could export the mechanisms in your assignment to interactive HTML (of whatever form) then you could let the browsers and their various accessibility APIs (of which I should c

Bug: Export to html not working [9.3.7 (9.3.7-2-g706970-elpaplus @ /Users/gmauer/.emacs.d/elpa/develop/org-plus-contrib-20200608/)]

2020-06-12 Thread George Mauer
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. --

Re: Get Grades Done: the joys of Org's simple power

2020-06-12 Thread Devin Prater
Yeah, I was hoping to just have an HTML page or something that could be put on Github or just sent in an email attachment, where checking checkboxes would update the fraction cookie. > On Jun 12, 2020, at 9:17 PM, Phil Regier wrote: > > Oh, my. I would not have imagined that setting up Emacsp

Re: Bug: fontification error with #end_src in 9.3.7 [9.3.7 (9.3.7-dist @ /PATH/TO/org/install/emacs/site-lisp/org/)]

2020-06-12 Thread Kyle Meyer
John Ciolfi writes: > Given the following org file, on the #+end_src line, I get "Org mode > fontification error in # at 9". If I place a newline > before the #+end_src line, the error goes away. This is a recent > regression. This worked fine in 9.2.6 and prior. > > #+begin_src C++ > #inclu