Re: Mistake in LaTeX syntax not detected, strange pdf generated

2022-11-29 Thread Fraga, Eric
On Tuesday, 29 Nov 2022 at 12:11, alain.coch...@unistra.fr wrote: > Yes. My point was that Org did not spot this mistake and generates > something ridiculous. Ah, okay. I think having the expectation that org will parse within LaTeX blocks may be a little unrealistic. But, also, what should it

Re: Mistake in LaTeX syntax not detected, strange pdf generated

2022-11-29 Thread Fraga, Eric
On Tuesday, 29 Nov 2022 at 11:28, alain.coch...@unistra.fr wrote: >#+begin_export latex >\[ > \text{a_b} >\] >#+end_export You cannot use a subscript within \text{}. Try \text{a}_{\text{b}} instead? -- : Eric S Fraga, with org release_9.5.5-1068-gbd4681 in Emacs 29.0.50

Re: Maxima code blocks does not work in windows revisited

2022-11-03 Thread Fraga, Eric
On Thursday, 3 Nov 2022 at 09:35, Max Nikulin wrote: > maxima --very-quiet -r "batchload(\"c:\\Temp\\maxima-XX.max\")"$ Should the $ not be within the quotes? -- : Eric S Fraga, with org release_9.5.5-853-g7b9d8e in Emacs 29.0.50

Re: I cannot see my agenda view

2022-11-01 Thread Fraga, Eric
Where are your diary entries that you would expect to show up? You need to put the list of files with the diary entries in org-agenda-files (which you've customised to be an empty list). -- : Eric S Fraga, with org release_9.5.5-1064-g5bc674 in Emacs 29.0.50

Re: LIterate programming with calc (help)

2022-10-31 Thread Fraga, Eric
On Monday, 31 Oct 2022 at 09:23, Ihor Radchenko wrote: > I looked into ob-calc and it looks like the way to define variables is > via :var header argument. Indeed. Something like :var a="300 m" does work. > I guess that the main problem is that calc is tightly integrated with > interactive

Re: org roam database not available

2022-10-28 Thread Fraga, Eric
On Friday, 28 Oct 2022 at 13:32, Ihor Radchenko wrote: > Looking into the code, I'd expect such message when SQLite compilation > fails. Try to run (emacsql-sqlite-compile 2) directly. The errors should > become visible then. Thank you. This was very helpful. The backtrace on failure told me

org roam database not available

2022-10-28 Thread Fraga, Eric
Hello all, anybody else experiencing any problem with org roam, specifically getting the following error message? , | emacsql-sqlite-ensure-binary: No EmacSQL SQLite binary available, aborting ` I have re-installed emacs-sqlite from MELPA but it doesn't build the database executable.

Re: [off-topic] E-readers and Org-Mode

2022-10-26 Thread Fraga, Eric
On Wednesday, 26 Oct 2022 at 16:31, L.C. Karssen wrote: > Another happy reMarkable user here. It looks like the upcoming v3.0 of > the software will allow entering text via the on-screen keyboard. Interesting. Thanks for the heads up on this. Some interesting updates. -- : Eric S Fraga, with

Re: Tikz ugly hack

2022-10-26 Thread Fraga, Eric
On Wednesday, 26 Oct 2022 at 08:52, edgar wrote: > I just want to share a way to combine Tikz (LaTeX) with figures (svg, > png...). I wonder if, instead of a new LaTeX command you create a new environment which you can then invoke using org special blocks? For instance, #+begin_BoundingBox

Re: [off-topic] E-readers and Org-Mode

2022-10-25 Thread Fraga, Eric
On Tuesday, 25 Oct 2022 at 21:37, Max Nikulin wrote: > E-ink displays are slow (my device was manufactured 15 years ago but I We are venturing well into OT for this list... ;-) E-ink displays are getting significantly faster, with some claiming 60 Hz refresh rates (cf. the PineNote). Often,

Re: [off-topic] E-readers and Org-Mode

2022-10-25 Thread Fraga, Eric
On Tuesday, 25 Oct 2022 at 12:06, Eduardo Suarez-Santana wrote: > I considered remarkable, but I read somewhere (can't find it) that > handwritten PDF annotations were not coded as vector graphics, so I > went for Onyx. Conversion scripts (including my own adapted ones) take the rM notation and

Re: [off-topic] E-readers and Org-Mode

2022-10-25 Thread Fraga, Eric
On Tuesday, 25 Oct 2022 at 12:55, Juan Manuel Macías wrote: > I see... I was referring to annotations entered as text. Can't you do > annotations on those devices like you do in a typical PDF reader, Not as far as I know (for the reMarkable; I have no experience with the Elipsa). The virtual

Re: [off-topic] E-readers and Org-Mode

2022-10-25 Thread Fraga, Eric
On Monday, 24 Oct 2022 at 18:34, Juan Manuel Macías wrote: > The main problem I find is that they both also run > closed and, presumably, proprietary software. They both run Linux but with proprietary user interfaces. > I wonder if these devices are capable of exporting normal annotations in >

Re: [off-topic] E-readers and Org-Mode

2022-10-24 Thread Fraga, Eric
On Monday, 24 Oct 2022 at 17:42, Jeffrey DeLeo wrote: > I am very happy with my Kobo Elipsa Your workflow is very similar to that of mine on the reMarkable and the two units are similar in size etc. It's a workflow that is fine for annotating documents (which is what I want) but definitely no

Re: [off-topic] E-readers and Org-Mode

2022-10-24 Thread Fraga, Eric
On Monday, 24 Oct 2022 at 11:50, Juan Manuel Macías wrote: > The Parabola hack looks pretty cool (that's supposed to be equivalent > to being able to use Emacs with pdf-tools package). Be aware (as I wasn't when I answered your previous post) that Parabola is not free in the $ sense although the

Re: LIterate programming with calc (help)

2022-10-24 Thread Fraga, Eric
On Monday, 24 Oct 2022 at 13:26, Ypo wrote: > Why do you think it doesn't work something more human readable like this? > > #+begin_src calc >solve([ >a = 300 m, >b = 300 m, >Area = a*b, >cost = 1 (USD/m^2), >

Re: LIterate programming with calc (help)

2022-10-24 Thread Fraga, Eric
On Monday, 24 Oct 2022 at 09:20, Ihor Radchenko wrote: > I vaguely recall that storing variables in calc is something like > variable := assignment (which is actually rewrite rule, but that's how > 13.1 Storing Variables section of the calc manual explains variable > assignments). That is true

Re: LIterate programming with calc (help)

2022-10-24 Thread Fraga, Eric
On Sunday, 23 Oct 2022 at 14:15, Ypo wrote: > Is it possible to express in a calc block some basic operations with > variables and non-predefined units? > Why A*c won't show an arithmetic result, but ~: A c ~? I've never managed to get calc blocks define variables. The equations you have typed

Re: [off-topic] E-readers and Org-Mode

2022-10-24 Thread Fraga, Eric
Dear Juan Manuel, On Sunday, 23 Oct 2022 at 15:16, Juan Manuel Macías wrote: > Hi all, > > As I am beginning to have serious eye fatigue problems, I am thinking of > buying an e-ink device, not to read books but to read documents. > My idea is that it be an Android device and that it supports

Re: Need for dedicated kinds of paragraphs

2022-10-17 Thread Fraga, Eric
Hi Damien, On Monday, 17 Oct 2022 at 08:52, Damien Cassou wrote: > I'm not sure what kind of markup to use nor how to transcode that > markup. I tried with: Have you tried /special blocks/, as in #+begin_attention This text will appear with a red backround. #+end_attention ? In LaTeX and

Re: [BUG] org-beamer :BEAMER_ACT: ignored on columns

2022-10-13 Thread Fraga, Eric
On Thursday, 13 Oct 2022 at 10:39, Ihor Radchenko wrote: > Take your time. What I do not want here is introducing new bugs. I am > not familiar with ox-beamer and do not want to miss anything subtle. Thank you. I'll update you in due course. > Or <...>. In particular, >

Re: [BUG] org-beamer :BEAMER_ACT: ignored on columns

2022-10-12 Thread Fraga, Eric
Hi Ihor, On Wednesday, 12 Oct 2022 at 14:00, Ihor Radchenko wrote: > Your patch adds for columns All I did was copy the code that was there for options and adapted for actions. I really do not understand what the rest of the code does and really do not have the time (due to teaching

Re: [BUG] org-beamer :BEAMER_ACT: ignored on columns

2022-10-10 Thread Fraga, Eric
On Saturday, 8 Oct 2022 at 14:10, Ihor Radchenko wrote: > This patch certainly adds code duplication and might also miss some > scenarios considered in the environments from > org-beamer-environments-default. I'm not sure what code duplication you are referring to unless it's the two lines that

Re: [BUG] org-beamer :BEAMER_ACT: ignored on columns

2022-10-07 Thread Fraga, Eric
On Thursday, 6 Oct 2022 at 08:01, Fraga, Eric wrote: > On Thursday, 6 Oct 2022 at 11:06, Ihor Radchenko wrote: >> Is there any reason why you only allow actions for "column" environment >> specifically? What about other environments? I've removed the check (not only f

Re: Should we make org-fill-element respect the selected region and not expand the selection to the element boundaties?

2022-10-06 Thread Fraga, Eric
On Thursday, 6 Oct 2022 at 16:38, Ihor Radchenko wrote: > Should we go for it? It would mean better alignment with the rest of the text modes in Emacs so I would be supportive. But I only tend to use filling for paragraphs in any case so the breaking change would not affect me much. -- : Eric

Re: [BUG] org-beamer :BEAMER_ACT: ignored on columns

2022-10-06 Thread Fraga, Eric
On Thursday, 6 Oct 2022 at 11:06, Ihor Radchenko wrote: > Is there any reason why you only allow actions for "column" environment > specifically? What about other environments? Good question. But I don't know the answer! I was mimicking the existing code (e.g. the line above). I am not sure

Re: [BUG] org-beamer :BEAMER_ACT: ignored on columns

2022-10-05 Thread Fraga, Eric
On Wednesday, 5 Oct 2022 at 06:38, reza wrote: > But the overlay specification is missing on the second column and I > guess this is a bug? Maybe a bug or more simply a missing feature. On line 552 of ox-beamer.el, we add options but there is no equivalent for adding actions to the column

Re: [HELP] Fwd: Org format as a new standard source format for GNU manuals

2022-10-02 Thread Fraga, Eric
On Sunday, 2 Oct 2022 at 21:02, Ihor Radchenko wrote: > > _name{} > _name{{}} <--- extra {} is added as needed for escaping > _name[:key value ...]{} I'd be okay with this as well. -- : Eric S Fraga, with org release_9.5.5-851-ge9781f in Emacs 29.0.50

Re: Apology [

2022-10-02 Thread Fraga, Eric
Dear Tim, thank you very much for the long email. It is very helpful, at least for me, to have a much better understanding of accessibility issues. And, by the way, I did not think you had been overly negative and definitely no apology was required. take care, eric -- : Eric S Fraga, with

Re: [HELP] Fwd: Org format as a new standard source format for GNU manuals

2022-10-02 Thread Fraga, Eric
Hello all, I like the idea of inline special blocks. Given that we have recently introduced [cite:...] as new syntax, could we generalise this and allow any xxx in [xxx:...]? With this, the example Max gave from texinfo: > By convention, the dynamic library for @var{language} is >

Re: Syntax highlighting for julia source blocks

2022-09-27 Thread Fraga, Eric
On Monday, 26 Sep 2022 at 15:18, reza wrote: > it is set to `css', this is the correct choice, no? Yes, I set this to css and fontification of Julia src blocks works for me. What does the generated HTML look like? Maybe post a snippet of the HTML? -- : Eric S Fraga, with org

Re: Syntax highlighting for julia source blocks

2022-09-26 Thread Fraga, Eric
On Monday, 26 Sep 2022 at 14:09, reza wrote: > When exporting to html, syntax highlighting is automatically applied to > exported python source blocks (syntax elements get a span element > applied). But this does not work for julia source code blocks. Is this > just not implemented or do I miss

Re: The Org mode in the Org Git does not export

2022-09-25 Thread Fraga, Eric
On Sunday, 25 Sep 2022 at 18:40, Rudolf Adamkovič wrote: > When I attach the profiler before exporting and then abort with C-g, the > profiler reports that Org spends almost all of the time in > 'org-export--generate-copy-script'. Try M-x toggle-debug-on-quit RET and then export, hitting C-g when

Re: access to specific instance(s) of past recurring event(s)

2022-09-25 Thread Fraga, Eric
On Sunday, 25 Sep 2022 at 14:16, Saša Janiška wrote: > Now I wonder if there is some other/better solution that has possibly > popped up in the meantime? I use subtree cloning to create most repeating events but, for those that I simply have a repeating timestamp, I guess I've never had a reason

Re: IM dev discussions?

2022-09-25 Thread Fraga, Eric
On Sunday, 25 Sep 2022 at 18:53, Timothy wrote: >> It’s good to be able to connect to Matrix via Emacs: I will try this >> myself soon. > > I haven’t tried this myself yet, but it sounds quite promising! I’d be > interested to hear how you find it. (ement.el) Working quite well. Rapid

Re: [BUG] org-agenda-list takes 4m compared to 27 that took 15 seconds [9.5.2 (release_9.5.2-25-gaf6f12 @ /usr/share/emacs/28.1/lisp/org/)]

2022-09-23 Thread Fraga, Eric
On Friday, 23 Sep 2022 at 16:14, andrés ramírez wrote: > %%(diary-block 8 1 2022 8 1 2022) 9:00-11:00 retiro.espiritual > {collaborator.family} This would be simply be something along these lines: * retiro espiritual {collaborator.family} <2022-08-01 Mon 09:00-11:00> You only need to use

Re: [Patch] Pre-/postpend arbitrary LaTeX code to a section

2022-09-21 Thread Fraga, Eric
On Wednesday, 21 Sep 2022 at 16:55, Daniel Fleischer wrote: > I don't understand the usecase, that's why I wasn't really following. If > you write \vspace{10cm} before some headline, it's going to do the right > thing even if it "belongs" to a previous headline. For me, the issue is that I often

Re: [Patch] Pre-/postpend arbitrary LaTeX code to a section

2022-09-21 Thread Fraga, Eric
On Wednesday, 21 Sep 2022 at 16:55, Ihor Radchenko wrote: > More concretely, I mean something like > > * Section > :PROPERTIES: > :attr_latex: :prepend "section" \setcounter{secnumdepth}{0} > :attr_latex+: :prepend "section" >

Re: [PATCH] Babel evaluation: location and timing information

2022-09-19 Thread Fraga, Eric
Dear Timothy, this looks very useful. I've not tested it but would ask for one (hopefully minor) addition: could the position information provided include point as well as line number? I tend to use 1 line per paragraph (with visual line mode and org indent mode) and some of my paragraphs might

Re: [Patch] Pre-/postpend arbitrary LaTeX code to a section

2022-09-19 Thread Fraga, Eric
On Sunday, 18 Sep 2022 at 12:27, Juan Manuel Macías wrote: > I don't know if the following scenario usually appears in the workflow > of other Org users as well. Otherwise, I think this patch could be > ignored. I would find something like this useful as I often have commands such as \newpage and

Re: Call code block via link?

2022-09-19 Thread Fraga, Eric
On Saturday, 10 Sep 2022 at 07:15, Felix Dorner wrote: > Clicking/following the link would execute the call and my password > ready to paste elsewhere. Feasible? I have links of the form [[elisp:(some elisp sexp)][Click here to do X]] -- : Eric S Fraga, with org release_9.5.4-768-g5bb699 in

Re: per-file (or, really, per buffer) allowing/disallowing code block execution

2022-09-19 Thread Fraga, Eric
On Sunday, 11 Sep 2022 at 17:10, Ihor Radchenko wrote: > In fact, it is very popular to replace _all_ the yes/no prompts in > Emacs with y/n prompts. I had to laugh. The oldest line in my Emacs init is (fset 'yes-or-no-p 'y-or-n-p) ;I hate typing... and this dates back to the

Re: Support for tagging (special) blocks

2022-09-01 Thread Fraga, Eric
On Wednesday, 31 Aug 2022 at 20:10, Sébastien Miquel wrote: > Does anyone think this is useful and might warrant adding support for ? I would welcome something like this, whether as tags on the src block line or as a special header, as Kaushal suggests. -- : Eric S Fraga, with org

Re: :session for Julia in org babel?

2022-08-22 Thread Fraga, Eric
On Saturday, 20 Aug 2022 at 13:56, Ihor Radchenko wrote: > Sure. You can submit the patch here, and I will apply it. Here it is. Thank you. -- : Eric S Fraga, with org release_9.5.4-737-gd3a9c4 in Emacs 29.0.50 From 2564c84b41de55d478ba249fa932c40ac62fe510 Mon Sep 17 00:00:00 2001 From: Eric S

Re: :session for Julia in org babel?

2022-08-17 Thread Fraga, Eric
On Wednesday, 17 Aug 2022 at 18:16, Timothy wrote: > The ob-julia code is in need of an overhaul, and it’s on my todo list > but I have no idea when I’ll get to it. Stephen Eglen has suggested the same and also that maybe a few of us get "together" to discuss what is needed etc. I have copied

Re: Show a warning/message when loading Org modules requiring external packages

2022-08-17 Thread Fraga, Eric
On Wednesday, 17 Aug 2022 at 17:51, Ihor Radchenko wrote: > "Christopher M. Miles" writes: >> What about write a elisp function to automatic the installation of those >> required two Julia packages? If not, at least raise a warning for user >> to install those two packages after detection not

Re: [BUG] Incorrect fontification of src blocks for indentation sensitive language modes

2022-08-17 Thread Fraga, Eric
On Wednesday, 17 Aug 2022 at 17:39, Ihor Radchenko wrote: > P.S. I am genuinely surprised that this bug is only revealed now. I'm not. Is there any other language whose fontification is indentation dependent? Python is indentation based but the fontification doesn't get affected (generally

Re: :session for Julia in org babel?

2022-08-16 Thread Fraga, Eric
On Tuesday, 16 Aug 2022 at 21:21, Ihor Radchenko wrote: > Can you also update [Worg] I will do so, maybe tomorrow. I assume that's okay as it's a separate repository? and as I do not have submit access, I'll post a patch here, if that's okay? > This will set the variable globally. You may want

Re: :session for Julia in org babel?

2022-08-16 Thread Fraga, Eric
On Wednesday, 10 Aug 2022 at 15:10, Ihor Radchenko wrote: > This looks like a bug in ess itself. [...] > Please report to ESS devs. After discussion with Stephen Eglen on the ESS mailing list, he gave me a single line of elisp to add to ob-julia.el for sessions to work and noted that the Julia

Re: how to concatenate string to spreadsheet formula

2022-08-15 Thread Fraga, Eric
Hi Edgar, I did not quite understand what you actually were calculating but maybe consider the following expression for table formulas: #+TBLFM: $3='(format "%s\\textwidth" (/ (* 1.0 $2) $1));N If you specify ";N", the entries are treated as numbers. The problem with division is that if both

Re: how to beamer export overlay figure?

2022-08-14 Thread Fraga, Eric
On Sunday, 14 Aug 2022 at 16:30, Max Nikulin wrote: > ox-latex may wrap \includegraphics into various environments to add > caption, center figure, etc. Shouldn't :overlay affect all such stuff, > not just the image? I guess so, in principle. However, this is beamer so some of these don't apply

Re: how to beamer export overlay figure?

2022-08-13 Thread Fraga, Eric
Hi Ihor, On Saturday, 13 Aug 2022 at 17:16, Ihor Radchenko wrote: > I guess the message is only for testing here. Indeed. I did send a subsequent patch without the message line. Attached here again just in case. > Otherwise, looks good. Can you apply it please? Thank you, eric -- : Eric

[PATCH] Re: how to beamer export overlay figure?

2022-08-12 Thread Fraga, Eric
On Friday, 12 Aug 2022 at 14:35, ed...@openmail.cc wrote: > It worked! Thanks. I send a counter-patch :) (for SVG). Excellent. I forgot about SVG. So I throw one back at you! ;-) Just deleted a spurious message line. Maybe somebody with submit access can have a look and see if this is

Re: how to beamer export overlay figure?

2022-08-12 Thread Fraga, Eric
Attached is a patch that seems to do what you want. Are you able to try this? I'm sure there's a better way to do this but at least this seems to work. -- : Eric S Fraga, with org release_9.5.4-720-g4db67d in Emacs 29.0.50 From d17d91eb8441876a87e7405de63b3e594bb8ecc6 Mon Sep 17 00:00:00 2001

Re: how to beamer export overlay figure?

2022-08-12 Thread Fraga, Eric
On Thursday, 11 Aug 2022 at 23:33, Max Nikulin wrote: > I have not tried it, but the manual suggests > > #+ATTR_BEAMER: :overlay <2-> > > Does it work for lists only and not for images? No, it definitely does not work for images. I've been looking at the code. It should be possible to add this

Re: how to beamer export overlay figure?

2022-08-11 Thread Fraga, Eric
On Thursday, 11 Aug 2022 at 13:05, ed...@openmail.cc wrote: > (the <2-> is within the square brackets). Ooops. Sorry about that. Didn't look closely enough at the LaTeX created. My bad. In that case, I'm out of suggestions other than to put the <2-> on the list entry itself (which I believe

Re: [BUG](?) Export to beamet recently stopped working.

2022-08-11 Thread Fraga, Eric
On Thursday, 11 Aug 2022 at 14:39, Emmanuel Charpentier wrote: > What about emacs' "custom" interface ? Do you use it ? I do but generally only for user interface aspects, e.g. appearance and interaction, and not for document specific aspects like exporting and publishing. -- : Eric S Fraga,

Re: [BUG](?) Export to beamet recently stopped working.

2022-08-11 Thread Fraga, Eric
On Thursday, 11 Aug 2022 at 13:51, Emmanuel Charpentier wrote: > Aaaarghhh... You're right. This works perfectly. Great! > Why locally ? In case you have different configurations. But if you are happy with this as a global value, just use setq instead. I tend to configure each (large) org

Re: [BUG](?) Export to beamet recently stopped working.

2022-08-11 Thread Fraga, Eric
On Thursday, 11 Aug 2022 at 10:00, Emmanuel Charpentier wrote: > Since about a week, exporting directly to Beamer ceased to work. See > the attached Minimal.org file : > Debugger entered--Lisp error: (wrong-type-argument sequencep 108) org-latex-pdf-process should be a list of strings, not a

Re: how to beamer export overlay figure?

2022-08-11 Thread Fraga, Eric
On Wednesday, 10 Aug 2022 at 16:39, ed...@openmail.cc wrote: > That is: replacing the =#+latex:= line with a =[[file:figure.png]]= > which allows for overlays with Beamer. I already tried some stuff, but I > think that it would only be noise to add it here. Thanks! Try #+attr_latex: :options

Re: :session for Julia in org babel?

2022-08-10 Thread Fraga, Eric
On Wednesday, 10 Aug 2022 at 15:10, Ihor Radchenko wrote: > Please report to ESS devs. Will do. Thanks. -- : Eric S Fraga, with org release_9.5.4-720-g4db67d in Emacs 29.0.50

Re: [feature request] startup variable for link display

2022-08-09 Thread Fraga, Eric
Hi Max, On Tuesday, 9 Aug 2022 at 23:31, Max Nikulin wrote: > I had in mind :set attribute of defcustom, see info "(elisp) Variable > Definitions" I see. Thank you. > In the particular case of `org-link-descriptive' some code should be > executed *after* changing of its value. Oh, okay, that

Re: [feature request] startup variable for link display

2022-08-09 Thread Fraga, Eric
Hi Max, On Tuesday, 9 Aug 2022 at 22:21, Max Nikulin wrote: > Is it possible to use setter function for the defcustom to make the > following work? I'm not sure what this means. > # Local Variables: > # org-link-descriptive: nil > # End: Ah, thank you for pointing out the variable. I didn't

[feature request] startup variable for link display

2022-08-09 Thread Fraga, Eric
Hello all, Assuming I have not missed something, is there a variable I can set on visiting an org buffer/file that ensures that links are displayed fully? Once I've loaded an org file, I can M-x org-toggle-link-display RET. but I would like certain files to start up with links displayed.

Re: :session for Julia in org babel?

2022-08-09 Thread Fraga, Eric
Hi Ihor, On Tuesday, 9 Aug 2022 at 20:39, Ihor Radchenko wrote: > Can you please run M-x toggle-debug-on-error and share the full > backtrace? See below. I've not started investigating at all. The Julia REPL buffer does get started so it's not an issue with Julia itself. The backtrace below

Re: :session for Julia in org babel?

2022-08-08 Thread Fraga, Eric
> OK, now I get this: > ess-eval-buffer: Wrong type argument: symbolp, [...] > (ess-error-regexp-alist . ess-julia-error-regexp-alist) ...) Yeah, pretty much what I get as well. Thanks for confirming that it's not my configuration that causes this! -- : Eric S Fraga, with org

Re: :session for Julia in org babel?

2022-08-08 Thread Fraga, Eric
Hi Bill, thank you for the quick response. On Monday, 8 Aug 2022 at 11:49, Bill Burdick wrote: > Julia works in org without sessions for me but with sessions I get this error: > > org-babel-execute:julia: Cannot open load file: No such file or directory, ess Yeah, it does require the ess

:session for Julia in org babel?

2022-08-08 Thread Fraga, Eric
Hello all, has anybody tried using sessions for Julia in org? I'm asking because I've never used sessions (for any language) before and it's failing with obscure ess- related errors so I just want to confirm that Julia should (or should not) work with sessions before I spend some time debugging.

Re: folding problems

2022-08-05 Thread Fraga, Eric
On Friday, 5 Aug 2022 at 12:16, Fraga, Eric wrote: > Thank you. Back to "normal" (now having problems with latest Emacs updates > ;-)). Heads up for those of you that might be using graphviz-dot-mode, e.g. in dot src blocks. The development version of Emacs has removed fon

Re: folding problems

2022-08-05 Thread Fraga, Eric
On Friday, 5 Aug 2022 at 19:37, Ihor Radchenko wrote: > Hence, I have reverted the problematic commit in 1449bb31e. Thank you. Back to "normal" (now having problems with latest Emacs updates ;-)). -- : Eric S Fraga, with org release_9.5.4-707-g215de6 in Emacs 29.0.50

Re: folding problems

2022-08-05 Thread Fraga, Eric
On Friday, 5 Aug 2022 at 09:45, Ihor Radchenko wrote: > If you have some time, can you try the attached patch? I have tried it but it doesn't seem to solve the issue of multiple responses required due to "unsafe" dir local variables unfortunately. I may remove that particular setting and do

Re: folding problems

2022-08-04 Thread Fraga, Eric
Ihor, folding is now fine. But only by disabling (reverting) the early loading of local file variables. Which I'm doing as it was breaking too many things. Org is back to being usable. -- Eric S Fraga, @ericsfraga:matrix.org, GnuPG: 0xc89193d8fffcf67d

Re: folding problems

2022-08-04 Thread Fraga, Eric
Maybe unrelated but I will add that the recent changes to how local variables are processed is breaking my usage of org quite seriously. To be clear: I am not complaining: it's my fault for tracking the bleeding edge of development for both org and Emacs.  But I thought I would mention what I am

Re: folding problems

2022-08-04 Thread Fraga, Eric
On Thursday, 4 Aug 2022 at 22:34, Ihor Radchenko wrote: > Are you able to reproduce starting from emacs -Q? No, I am not able to reproduce with -Q unfortunately.  I'll investigate when time permits. Thank you, eric -- : Eric S Fraga, with org release_9.5.4-706-g4702a7 in Emacs 29.0.50

folding problems

2022-08-04 Thread Fraga, Eric
Hello all, Just a quick heads up: I have just built emacs from git and updated org also from git. Having changed my org files to remove (org-content 3) lines from hooks and file local variables, replacing them with the appropriate STARTUP setting, I am sort of back where I was except that

Re: Something has happened such that I can't export to latex

2022-07-27 Thread Fraga, Eric
On Wednesday, 27 Jul 2022 at 16:20, Sharon Kimble wrote: > So I've looked at my config file, and the first time that org is mentioned is > - So you use org-babel-load-file *before* you set the load-path. Move the two lines that set the load path for org to before you use org-babel-load-path.

Re: Something has happened such that I can't export to latex

2022-07-27 Thread Fraga, Eric
> Despite git pulling, etc, and restarting emacs, the problem still > remains. > > This is on org-mode 'Org mode version 9.5.2 (release_9.5.2-25-gaf6f12 @ > /home/boudiccas/git/org-mode/lisp/)' Sharon, this looks like an old version (see my signature for a more recent version number). Maybe

Re: [PATCH] oc-csl: Add support for sub-bibliographies

2022-07-26 Thread Fraga, Eric
"Printing a bibliography" would also work. -- : Eric S Fraga, with org release_9.5.4-648-gdf1814 in Emacs 29.0.50

Re: Specify defaults for In Buffer Settings

2022-07-22 Thread Fraga, Eric
On Friday, 22 Jul 2022 at 19:05, Greg Minshall wrote: > sorry, but what is the autoinsert package? It comes with Emacs: ,[ C-h f auto-insert RET ] | auto-insert is an autoloaded interactive compiled Lisp function in | ‘autoinsert.el’. | | (auto-insert) | | Insert default contents into new

Re: Confused about source code blocks evaluation when exporting

2022-07-22 Thread Fraga, Eric
On Friday, 22 Jul 2022 at 06:27, alain.coch...@unistra.fr wrote: > Plus one must revisit the file when changing the value of > that variable. You can reload local variables by hitting C-c C-c on the #+title: line, for instance. -- : Eric S Fraga, with org release_9.5.4-557-g3bbbf7 in Emacs

Re: ChangeLog.org

2022-07-21 Thread Fraga, Eric
On Thursday, 21 Jul 2022 at 18:03, Uwe Brauer wrote: > Does somebody know about a package that support orgmode style of > ChangeLog *without* relying on git or magit (I am a mercurial user) I cannot see the file you linked to but maybe vc-update-change-log will do what you want, being version

Re: Specify defaults for In Buffer Settings

2022-07-21 Thread Fraga, Eric
On Thursday, 21 Jul 2022 at 04:08, Deepankar Sharma wrote: > Would appreciate any pointers on specifying defaults for In Buffer > Settings [https://orgmode.org/manual/In_002dbuffer-Settings.html] so > that they do not have to be inserted into every file. Maybe an org > wide config file or

Re: Confused about source code blocks evaluation when exporting

2022-07-20 Thread Fraga, Eric
On Wednesday, 20 Jul 2022 at 14:12, alain.coch...@unistra.fr wrote: > At any rate, and as I already said, all this business became > irrelevant for me once latexmk was installed: no need then to set > org-latex-pdf-process. This became only a matter of better > understanding some of the org

Re: numbering src blocks in HTML export

2022-07-20 Thread Fraga, Eric
On Wednesday, 20 Jul 2022 at 11:58, Ihor Radchenko wrote: > AFAIU, source block switches are never inherited. Thank you for confirming. It's easy enough for me to change all of my src blocks with a single Emacs command. And that's why "it's all text" is so important! :-) > may we should

Re: numbering src blocks in HTML export

2022-07-19 Thread Fraga, Eric
Followup question, if I may: how can I make -n be default behaviour for export? I have tried, for instance, #+property: header-args:julia -n 1 to have all Julia src blocks show line numbers but it doesn't work. Thanks again, eric -- : Eric S Fraga, with org release_9.5.4-643-g057df6 in Emacs

Re: numbering src blocks in HTML export

2022-07-19 Thread Fraga, Eric
On Tuesday, 19 Jul 2022 at 15:28, Juan Manuel Macías wrote: > I usually do it this way: > > #+begin_src sh -n :exports code Thank you. Obvious (in hindsight). I now found the section in the info manual on this (under Markup for Rich Contents, which is I guess not where I expected it... but

numbering src blocks in HTML export

2022-07-19 Thread Fraga, Eric
Hello, a quick and hopefully easy question: how do I get lines in src blocks numbered in HTML export? I have looked at the code and the first thing I did was set org-html-wrap-src-lines to t. This wraps each line in "...". I know how to use CSS to add line numbers to lines with these tags but,

Re: Confused about source code blocks evaluation when exporting

2022-07-14 Thread Fraga, Eric
On Thursday, 14 Jul 2022 at 10:09, alain.coch...@unistra.fr wrote: > #+begin_src emacs-lisp > (setq org-latex-pdf-process ) > #+end_src > > which I want to be evaluated during export but I want neither the code > not its results to appear on the exported pdf file. > > Maybe there are smarter ways

Re: index for HTML export

2022-07-14 Thread Fraga, Eric
On Thursday, 14 Jul 2022 at 09:18, Jens Lechtenboerger wrote: > That is strange. File theindex.inc should contain the index entries. > I believe that “:makeindex t” on the Org source files with #+INDEX: > entries should do the job. Well, it seems that index generation by publishing works with

Re: Confused about source code blocks evaluation when exporting

2022-07-14 Thread Fraga, Eric
On Wednesday, 13 Jul 2022 at 23:06, alain.coch...@unistra.fr wrote: > Now I start again, but I do 'C-c C-e l o' instead. I am _not_ asked > whether I want to evaluate, and the 'foo' file is still there. But > the pdf file does display > > rm -f foo > > Does this still qualify as "evaluation"? I

Re: index for HTML export

2022-07-14 Thread Fraga, Eric
On Thursday, 14 Jul 2022 at 08:13, Jens Lechtenboerger wrote: > (list "index-terms" [...] > :preparation-function 'oer-reveal--add-advice-link > :completion-function 'oer-reveal--remove-advice-link > :publishing-function '(org-html-publish-to-html) >

Re: index for HTML export

2022-07-13 Thread Fraga, Eric
(apologies for flurry of emails) Publishing works, in the sense that my org file is exported to HTML just fine. An index file is created but is not populated with any index links. What am I missing? The info page is less than helpful unfortunately. Are index lines, e.g. #+index: test!org

Re: index for HTML export

2022-07-13 Thread Fraga, Eric
So publishing cannot have the target directory be the same as the source directory, it would seem? Having a different directory for :publishing-directory makes publishing work. I still do not understand the error, however. My original question remains: can we create an index for HTML export

Re: index for HTML export

2022-07-13 Thread Fraga, Eric
... and following up on this, when trying to /publish/ instead of just export, I am failing miserably. I created a simple project definition but every time I try to publish either a specific file or the project, I get (with file name partly elided): --8<---cut

index for HTML export

2022-07-13 Thread Fraga, Eric
Hello all, I know (well, I believe as I haven't tried yet) I can /publish/ a project and generate an index using the #+index entries in the org files. However, for a single file, is it possible to generate the index as part of the export process directly (or even separately from the export

Re: Confused about source code blocks evaluation when exporting

2022-07-13 Thread Fraga, Eric
On Tuesday, 12 Jul 2022 at 23:13, alain.coch...@unistra.fr wrote: > I guess I didn't use 'incidental' correctly. I meant it as "not my > main concern". Anyway, thank you; I could check that if I switch the > 2 lines I indeed get '#+RESULTS:' to show foo'. No, you used the word correctly. My

Re: Confused about source code blocks evaluation when exporting

2022-07-12 Thread Fraga, Eric
On Tuesday, 12 Jul 2022 at 14:53, alain.coch...@unistra.fr wrote: > So far so good. (Well almost: why does '#+RESULTS:' show 'bar' and > not 'foo'? After all, I'm just setting 'my-var', I'm not asking to > display its value. But that's incidental.) It's not incidental. By default, the results

Re: when does :cache not cache?

2022-07-08 Thread Fraga, Eric
Please ignore. Restarting Emacs fixed the problem. For some reason, re-loading org was not enough. I can export without error again. -- : Eric S Fraga, with org release_9.5.4-613-gb3b17c in Emacs 29.0.50

Re: when does :cache not cache?

2022-07-08 Thread Fraga, Eric
Hi Ihor, On Monday, 4 Jul 2022 at 21:06, Ihor Radchenko wrote: > Ihor Radchenko writes: > >> The patch introduces a new functionality to ob-core.el allowing more >> stable temporary file names. I am not sure if my implementation is the >> best way to solve the problem, so comments are welcome.

Re: Org and Hyperbole

2022-07-07 Thread Fraga, Eric
Robert, one immediate issue that has arisen is the binding of C-c C-m (i.e. C-c RET) to hui-select-thing. This clobbers the whole gnus-dired-mode-map in dired mode (for those of us that use gnus...). Just noting this but should probably take this off-list as it has nothing to do with org. --

  1   2   3   4   >