Re: Subject: cannot export asynchronously because of org-fold-core--update-buffer-folds

2024-03-18 Thread Alan Schmitt
Hello, On 2024-03-17 19:05, Nasser Alkmim writes: > Hi Alan, how did you effectively solve the problem? Here is the contents of my export-init file: (setq user-emacs-directory "/Users/schmitta/projets/plain-emacs-config/") (add-to-list 'load-path (expand-file-name "straight/build/org/"

Re: Subject: cannot export asynchronously because of org-fold-core--update-buffer-folds

2024-03-09 Thread Alan Schmitt
Hi Pedro, On 2024-03-08 18:07, Pedro Andres Aranda Gutierrez writes: > I’m very interested on how your document header looks like. Can you please > send mee a file with your header > and a couple of dummy slides? I’m not able to reproduce the problem… The document header was not the problem,

Re: cannot export asynchronously because of org-fold-core--update-buffer-folds

2024-03-07 Thread Alan Schmitt
On 2024-03-07 12:35, Ihor Radchenko writes: > Alan Schmitt writes: > >> I’m trying to export a file asynchronously to beamer/pdf, and I have a >> strange error. Here is the contents of the *Org Export Process* buffer: >> >> Debugger entered--Lisp error: (void-func

Re: Subject: cannot export asynchronously because of org-fold-core--update-buffer-folds

2024-03-07 Thread Alan Schmitt
Hi Pedro, On 2024-03-07 10:03, Pedro Andres Aranda Gutierrez writes: > could you please try to add > > #+LATEX_CLASS: beamer > #+LATEX_CLASS_OPTIONS: [presentation,aspectratio=169] > > instead of > > (require 'ox-latex) > > (add-to-list 'org-latex-classes > '("my-beamer" >

cannot export asynchronously because of org-fold-core--update-buffer-folds

2024-03-06 Thread Alan Schmitt
Hello, I’m trying to export a file asynchronously to beamer/pdf, and I have a strange error. Here is the contents of the *Org Export Process* buffer: Debugger entered--Lisp error: (void-function org-fold-core--update-buffer-folds) org-fold-core--update-buffer-folds() #f(compiled-function ()

Re: [BUG] CUSTOM_id ignored on blocks by ox-beamer

2023-02-09 Thread Alan Schmitt
gt; `org-beamer-environments-extra' and add a notice to etc/ORG-NEWS file. Here is an updated patch. signature.asc Description: PGP signature >From c480b26f9cb536b68b00930a19d59485f9221ef7 Mon Sep 17 00:00:00 2001 From: Alan Schmitt Date: Sun, 8 Jan 2023 17:20:31 +0100 Subject: [PATCH] lisp/ox-bea

Re: [BUG] CUSTOM_id ignored on blocks by ox-beamer

2023-01-15 Thread Alan Schmitt
Hello, Please let me know if there is something I should do to help integrate this patch. Best, Alan On 2023-01-08 17:25, Alan Schmitt writes: > Hello, > > On 2023-01-05 09:26, Ihor Radchenko writes: > >> If you look inside `org-beamer--format-block', it uses >>

Re: [BUG] CUSTOM_id ignored on blocks by ox-beamer

2023-01-08 Thread Alan Schmitt
sing > `org-beamer--get-label') > (2) modify `org-beamer-environments-default' to insert label > appropriately. > > Patches welcome! Thank you for the detailed instructions. Here is my attempt at this. I’ve tested it and it works. signature.asc Description: PGP signature >Fro

CUSTOM_id ignored on blocks by ox-beamer

2023-01-04 Thread alan . schmitt
Hello, I’m writing course slides in org-mode (exported currently to beamer, but I want to also have html export in the long run), and I have trouble linking blocks (for theorems or definitions), as the CUSTOM_ID property is ignored by ox-beamer on blocks. I see this issue has already been raised

Re: org-sbe recent changes?

2022-11-01 Thread Alan Schmitt
On 2022-11-01 02:16, Ihor Radchenko writes: > Fixed on main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9987451252fa64af65d0a0a014f41812f4402c02 Thanks a lot! Alan signature.asc Description: PGP signature

Re: org-sbe recent changes?

2022-10-31 Thread Alan Schmitt
Hello, On 2022-10-31 01:24, Ihor Radchenko writes: > May you simplify your example to demonstrate the problem reproducibly > (not only on your system with your files)? > See https://orgmode.org/manual/Feedback.html#Feedback Of course, sorry I did not do it. Here is a minimal example: #+name:

Re: org-sbe recent changes?

2022-10-30 Thread Alan Schmitt
If it matters, everything works with org version 9.5.5, but it break with org 9.6. Alan signature.asc Description: PGP signature

org-sbe recent changes?

2022-10-30 Thread alan . schmitt
Hello, I’ve been using ledger and an org-mode table to track my finances for a long time, and today it broke: when I evaluate a table macro, I get an #ERROR instead of the computed value. The code I’m using is still the one from here: https://alan.petitepomme.net/tips/ledger_and_org.html

Re: Cannot schedule something for 2039?

2021-06-07 Thread Alan Schmitt
Hello Richard, On 2021-06-07 11:17, Richard Lawrence writes: > whoa, that's a weird behavior, but it seems not to be a bug. I learned > something today! > > It looks like some Emacs implementations don't support dates after > 2038-1-1, so Org doesn't let you specify them by default. See the >

Cannot schedule something for 2039?

2021-06-07 Thread alan . schmitt
Hello, I need to schedule something for 2039, but when I do it the date is set for 2037. I tried with a plain emacs config and I see the same issue. Is this a bug? Best, Alan signature.asc Description: PGP signature

Re: (void-variable timestamp-up) when building an agenda buffer

2021-05-11 Thread Alan Schmitt
On 2021-05-11 19:06, Tim Cross writes: > The type of error you appear to be seeing is common with a broken > install. In your config, are you installing org from orgmode.org or > melpa rather than just using the version bundled with Emacs 27.2? If so, > it is likely that you have a 'mixed'

Re: (void-variable timestamp-up) when building an agenda buffer

2021-05-11 Thread Alan Schmitt
Hello again, On 2021-05-11 09:53, Alan Schmitt writes: > It seems the problem is deeper than that: I cannot use any code that > uses =org-dlet=… I’m on emacs 27.2. > > I did a quick test with no configuration, so the problem seems to be in > my config, but I’m cursious if th

Re: (void-variable timestamp-up) when building an agenda buffer

2021-05-11 Thread Alan Schmitt
Hello, It seems the problem is deeper than that: I cannot use any code that uses =org-dlet=… I’m on emacs 27.2. I did a quick test with no configuration, so the problem seems to be in my config, but I’m cursious if this rings a bell for anyone. Thanks, Alan signature.asc Description: PGP

(void-variable timestamp-up) when building an agenda buffer

2021-05-11 Thread alan . schmitt
Hello, After a recent update, I no longer can build an agenda buffer. I put the backtrace that I get at the end of this message. On the top of the trace there is a call to org-entries-lessp, which looks like this: (defun org-entries-lessp (a b) "Predicate for sorting agenda entries." ;; The

Re: contact management in emacs

2021-03-07 Thread Alan Schmitt
Hello, On 2021-03-08 01:13, Jean Louis writes: > I am recommending that you start using PostgreSQL database. I can > guide you. My software is not so finished for public, but I can guide > you personally and you will get stable system that lasts for years. Thank you for the suggestion, but for

Re: [PATCH] org-mac-link: Disable Evernote capture by default

2021-02-28 Thread Alan Schmitt
On 2021-02-27 17:58, Kyle Meyer writes: >> Any chance of getting this merged in? It's a pretty nasty one for mac users. > > Thanks for the patch. Ideally someone that uses macOS would provide a > review. Based on the history of the file, I've cc'd two people that may > be willing/able to do

Re: contact management in emacs

2021-02-28 Thread Alan Schmitt
Hello, Thanks a lot for all the replies. I migrated from bbdb to ebdb a long time ago, and I may go back following your suggestions. Thanks again, Alan signature.asc Description: PGP signature

contact management in emacs

2021-02-27 Thread Alan Schmitt
Hello, This may be slightly off-topic for the list, but as I’m considering org-contacts for my question, I hope it will be of interest here. I would like to migrate my contact management to emacs, as I’m already using it for email. My requirements are the following ones: - address completion in

Re: org-agenda for a day different than today

2021-02-21 Thread Alan Schmitt
On 2021-02-21 01:23, Kyle Meyer writes: > Okay, thanks for checking. Added a basic test and applied (3a522ad53). Great, thanks a lot! Best, Alan signature.asc Description: PGP signature

Re: org-agenda for a day different than today

2021-02-18 Thread Alan Schmitt
Hello, On 2021-02-18 00:32, Kyle Meyer writes: >> Looking at the code, I don’t see how it could cause trouble elsewhere >> (but understanding agenda code is always tricky…) > > Yeah, I too think it's safe. If you have the time, I'd appreciate if > you could skim through the above threads and

Re: refreshing files for agenda building

2021-02-17 Thread Alan Schmitt
On 2021-02-17 22:20, Peter Hardy writes: > I occasionally run in to this as well, using webdav to sync my org > files. Currently using org-revert-all-org-buffers to revert all Org > buffers, followed by org-agenda-redo (bound to r in the agenda view) to > rebuild the agenda. Thanks a lot, this

refreshing files for agenda building

2021-02-17 Thread Alan Schmitt
Hello, I have some files that are changed on disk by an external process, and it seems that calling org-agenda does not see the changes until I visit the file in emacs. The buffers are loaded and they are auto-reverted, but for some reason (some cache somewhere?) their contents are not up-to-date

Re: org-agenda for a day different than today

2021-02-17 Thread Alan Schmitt
Hello Kyle, On 2021-02-16 23:01, Kyle Meyer writes: >> By the way, I’m surprised by the code of this function, as it is defined >> as: >> >> (defun org-agenda-goto-date (span) >> "Jump to DATE in agenda." >> … >> ) >> >> and "span" is never mentioned in the function. Am I missing something?

org-agenda for a day different than today

2021-02-16 Thread Alan Schmitt
Hello, I’ve been reading the documentation around org-agenda, and I cannot find a way to call it to get an agenda for a day different than today. I’ve found org-agenda-goto-date, but I don’t know how to call it from emacs-lisp with the target date. By the way, I’m surprised by the code of this

Re: programatically generate an agenda

2021-02-15 Thread Alan Schmitt
On 2021-02-14 12:12, John Kitchin writes: > If it is possible to set up what you want in an entry in > org-agenda-custom-commands, then you can call it in a program like > > #+BEGIN_SRC emacs-lisp > (org-agenda nil "w" nil) > #+END_SRC This is what I ended up doing. - set up an agenda view

Re: programatically generate an agenda

2021-02-15 Thread Alan Schmitt
On 2021-02-14 12:12, John Kitchin writes: > If it is possible to set up what you want in an entry in > org-agenda-custom-commands, then you can call it in a program like > > #+BEGIN_SRC emacs-lisp > (org-agenda nil "w" nil) > #+END_SRC > > In that snippet, I have the key in an

programatically generate an agenda

2021-02-13 Thread Alan Schmitt
Hello, In my quest/endeavor/struggle to generate an org file for what I want to do during the day, I’m trying to leverage the power of org-agenda (that does a lot of what I want to do) to create an org file. I learned of org-agenda-write, which I could use to write to file what I want then

Re: generate an org file for today's appointments

2020-12-04 Thread Alan Schmitt
Hello, On 2020-12-03 20:15, TRS-80 writes: > I am also not someone who uses one of these "daily journal" workflows, > so I can't help but wonder how you link these daily notes back to the > underlying project that generated the event on the agenda in the first > place. Becasue in my mind, I

Re: generate an org file for today's appointments

2020-12-04 Thread Alan Schmitt
Hello, On 2020-12-03 12:01, Mikhail Skorzhisnkii writes: > I'd suggest to use function "org-agenda-write". You can export > your agenda views to org files too! However, the formatting will > be different. Probably something like: > > * Event A > SCHEDULED: <2020-12-03 Thu 10:00-12:00> > *

generate an org file for today's appointments

2020-12-02 Thread Alan Schmitt
Hello, I have my calendars converted to org files (using ical2orgpy), and as I include them as agenda files, I have this nice view in org-agenda: 9:10.. now - - - - - - - - - - - - - - - - - - - - - - - - - AlanWork: 10:00-12:00 Event A - Chris: 10:00-11:00 Event B

Re: Bring up a screen giving option to open a series of orgmode files

2020-11-27 Thread Alan Schmitt
Hello, On 2020-11-27 05:40, Jean Louis writes: > Now we have `evince' PDF viewer that can open PDF I think by page > number and by query but it cannot do the equivalent > `evince-store-link' so user has to think about the file name and page > number and so on. For that I recommend pdf-tools

Re: storing a link to a task from an agenda view

2020-11-22 Thread Alan Schmitt
On 2020-11-22 13:36, Ihor Radchenko writes: >> Do you have suggestions on how to store such a link from an agenda view? >> It can either end up in ~org-stored-links~ or captured in a variable. > > (org-store-link nil) -> (org-store-link nil 'interactive) > > Or you can just save the return value

storing a link to a task from an agenda view

2020-11-21 Thread Alan Schmitt
Hello, I'm trying to store a link to a task while the cursor is on it in the agenda view. I tried ~org-store-link~ on it, but it tells me there is no method to do so. So I looked at some of the org-agenda code to find a way to get to the underlying task, and I tried this: #+begin_src emacs-lisp

Re: add linked files to agenda files

2020-11-16 Thread Alan Schmitt
Hello Nick, On 2020-11-16 16:33, Nick Dokos writes: > Just guessing at this point, I would imagine you'd want something like > this: > > --8<---cut here---start->8--- > (defun path-from-link (link) >(org-element-property :path link)) > > (setq

add linked files to agenda files

2020-11-14 Thread Alan Schmitt
Hello, I'm experimenting with a setup where each project is its own org file, and where I have a master file linking to active projects. How can I configure org to add every linked file of that master file to the org-agenda-files? Thanks, Alan signature.asc Description: PGP signature

Re: recursive checkbox counting

2020-10-02 Thread Alan Schmitt
On 2020-10-02 09:40, Nick Dokos writes: > Not sure whether this will work (or whether it will help in your case): > > https://emacs.stackexchange.com/questions/60710/is-there-any-way-of-getting-overview-statistics-for-all-checkboxes-in-a-given-or/60747#60747 > > There are some links to other

Re: recursive checkbox counting

2020-10-02 Thread Alan Schmitt
On 2020-10-01 14:24, torys.ander...@gmail.com (Tory S. Anderson) writes: > The way I've made this work is with the following property: > >:COOKIE_DATA: ALL > > But I suppose I haven't tried if that's fully recursive. Thank you for the suggestion. I gave it a try, and unfortunately it does

Re: recursive checkbox counting

2020-10-01 Thread Alan Schmitt
Hello Eric, On 2020-10-01 12:26, Eric S Fraga writes: > On Thursday, 1 Oct 2020 at 08:44, Alan Schmitt wrote: >> I'm trying to recursively count checkboxes, with intermediate counting: > > I think you can only do this for lists of lists. In your case, you > would have

Re: Reciprocal links between items

2020-10-01 Thread Alan Schmitt
On 2020-10-01 10:53, "Victor A. Stoichita" writes: > I wonder whether org-mode has a way to indicate reciprocal A↔B > relations between two items. If item A points to item B, then > automatically B also points to A. Accordingly, when the relation > is removed on A, it is also removed from B.

recursive checkbox counting

2020-10-01 Thread Alan Schmitt
Hello, I'm trying to recursively count checkboxes, with intermediate counting: * [0/0] 2020 :PROPERTIES: :COOKIE_DATA: checkbox recursive :END: ** [1/1] Week 39 - [X] [[file:2020-09-29.org][§:2020-09-29 (Tuesday)]] ** [2/2] Week 36 - [X] [[file:2020-09-08.org][§:2020-09-08 (Tuesday)]] - [X]

Re: org-tables with monetary amounts

2020-09-25 Thread Alan Schmitt
Hello, On 2020-09-25 13:20, Daniele Nicolodi writes: > I use beancoount (another text-based accounting software, very similar > to ledger) for accounting purposes and I am very happy with it. I use > org-mode for planning and management tasks or simply to compare quotes, > things better handled

Re: multiple EXPORT_LATEX_HEADER lines

2020-06-16 Thread Alan Schmitt
Hello Eric, On 2020-06-15 10:20, Eric S Fraga writes: > On Saturday, 13 Jun 2020 at 17:02, Alan Schmitt wrote: >> This is the crux of the issue: there does not seem to be any way to >> generate a multi-line header. And this causes problems with LaTeX. > > Is the problem sol

Re: multiple EXPORT_LATEX_HEADER lines

2020-06-13 Thread Alan Schmitt
Hello, On 2020-06-12 16:01, Eric S Fraga writes: > 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 appears to cause problems with LaTeX, which is maybe > expected or not; I don't know what

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

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: links are not parsed in keyword context

2020-04-13 Thread Alan Schmitt
Hello Nicolas, On 2020-04-13 11:19, Nicolas Goaziou writes: > This is a feature. With a few exception, keyword value is not parsed, > i.e., Org does not need to understand what happens in there. Thank you for the explanation. >> Alternatively, should I suggest org-ref uses an approach similar

links are not parsed in keyword context

2020-04-13 Thread Alan Schmitt
Hello, If you consider the following line in an org file #+begin_src org #+FOO: http://alan.petitepomme.net/ #+end_src then calling ~org-element-context~ returns #+begin_src emacs-lisp (keyword (:key "FOO" :value "http://alan.petitepomme.net/; :begin 1 :end 38 :post-blank 1

Re: org-ref: xxx-add-bibtex-entry with an org-capture like interface

2020-04-10 Thread Alan Schmitt
Hello, On 2020-04-09 15:43, John Kitchin writes: > This is basically what doi-add-bibtex-entry does. There isn't one > function that does arxiv too, but there is arxiv-add-bibtex-entry. Those > are both commands in org-ref. These don't pop up a buffer for approval, > that is something you would

Re: problem when linking to headlines?

2020-02-26 Thread Alan Schmitt
On 2020-02-26 16:38, Nicolas Goaziou writes: > Oops. Fixed. Thank you! Thanks a lot for the quick fix! Best, Alan

problem when linking to headlines?

2020-02-26 Thread Alan Schmitt
Hello, I have these two files: link1.org: * Test link2.org: [[file:link1.org::*Test][Test]] When I click on the first link, I get this in a dired buffer (there is no error). /home/schmitta/tmp: wildcard link1.org::*Test zsh:1: no matches found: link1.org::*Test I'm using Org Mode

Re: org link to OCaml comment

2020-02-20 Thread Alan Schmitt
On 2020-02-19 18:49, Nicolas Goaziou writes: > Alan Schmitt writes: > >> I understand, and I can be careful (and easily fix the link if needed). >> If `org-store-link' could do it for me, that would be perfect. > > I pushed some changes to `org-store-link' in order to fi

Re: org link to OCaml comment

2020-02-07 Thread Alan Schmitt
On 2020-02-07 15:33, Nicolas Goaziou writes: > *shivers* Please never suggest again url-encoding links in Org! ;) We > only got out of this hell recently. I don't want to dive in again. Sorry, I should have put a smiley there. > There is some specific syntax in links. More specifically, the >

Re: org link to OCaml comment

2020-02-06 Thread Alan Schmitt
Hello Nicolas, On 2020-02-06 18:10, Nicolas Goaziou writes: > Link enclosed within parens meant coderef links, i.e., the syntax is > reserved. You can probably remove the closing parenthesis to avoid this. Thank you for the explanation. Is there a way to either escape the parentheses (maybe

Re: org link to OCaml comment

2020-02-06 Thread Alan Schmitt
Hello John, On 2020-02-06 09:58, John Kitchin writes: > I think you need to do it like this: > > #+BEGIN_SRC test.ml -r > > (* Object projection functions *) (ref:opf) > > > #+END_SRC > > [[file:2020-02-05.org::(opf)]] > > The -r in the header removes the coderef when you run it. Thank you

org link to OCaml comment

2020-02-06 Thread Alan Schmitt
Hello, I'm trying to create an org link to a specific place in an OCaml file. I thought I would use some specific target in an OCaml comment, but it does not work. Here is an OCaml comment: (* Object projection functions *) Here is the link create by `org-store-link` (I put it here with no

Re: debugging why a latex preview fails

2020-01-29 Thread Alan Schmitt
Hello Fabrice and Eric, Thanks a lot for your suggestions. I ended up edebugging 'org-create-formula-image' to have a look at the created tex file (that is indeed cleaned up after the generation). The file was fine, but dvipng failed on it (with errors like "raw PostScriptdvipng warning:

debugging why a latex preview fails

2020-01-28 Thread Alan Schmitt
Hello, I'm trying to add some diagrams in a note, and I want to use latex preview for that. Unfortunately the result is not what I expect: I do see an image, but there seem to be errors in the latex processing. How can I see what latex is produced to find where the issue is? To be precise, my

Re: automatic completion of file tags

2020-01-26 Thread Alan Schmitt
Hi Bastien, On 2020-01-26 18:04, Bastien writes: > I'm not entirely sure: you want to tag all headline in a file with > multiple pre-defined tags? There are no headlines in the file (it's a small note). I want to tag the file itself (or its content). It's mostly to help with full-text search

automatic completion of file tags

2020-01-23 Thread Alan Schmitt
Hello, I'm playing with an implementation of Zettelkasten using deft and org files, and I want to tag each note with some tags taken from a list (I'm using the ~#FILETAGS:~ line for that at the moment). Is there a builtin org way of doing it (have a list of tags defined somewhere and tag a whole

Re: [O] moving an entry from one date tree to another

2019-09-28 Thread Alan Schmitt
On 2019-09-28 04:55, Adam Porter writes: See unpackaged/org-refile-to-datetree from: https://github.com/alphapapa/unpackaged.el#refile-to-datetree-file-using-earliestlatest-timestamp-in-entry This is great, thanks! Alan signature.asc Description: PGP signature

[O] moving an entry from one date tree to another

2019-09-27 Thread Alan Schmitt
Hello, Is there an easy way to move an entry from one date tree to another? I guess I need two things: - figure out where in the date tree the entry is, - create the parents if needed, and move it there. This might be a more general question: given an entry in some file, can I move it

Re: [O] org-ref question: create a note from a bibliography entry

2019-07-18 Thread Alan Schmitt
On 2019-07-18 15:54, John Kitchin writes: M-x org-ref-open-bibtex-notes should do that when your cursor is in a bibtex entry. Thank you very much, I don't know how I missed it. Best, Alan signature.asc Description: PGP signature

[O] org-ref question: create a note from a bibliography entry

2019-07-18 Thread Alan Schmitt
Hello, I have a question about org-ref. Is there a way to directly create a note when being inside a bibliography entry? I currently insert a cite link and using it I can create the note, but I would like to skip the "insert a cite link" part. Thanks, Alan signature.asc Description: PGP

Re: [O] converting many ics files to a single org file

2019-06-20 Thread Alan Schmitt
On 2019-06-19 14:01, Robert Horn writes: The golang ical2org (https://github.com/rjhorniii/ical2org) definitely does this. It seems to have many features that I would use. Thanks! Alan signature.asc Description: PGP signature

Re: [O] converting many ics files to a single org file

2019-06-11 Thread Alan Schmitt
On 2019-06-10 22:20, Thomas Plass writes: As per its docstring it's one file per invocation. But the docstring also lists: $ cat in.ical | ical2orgpy - - > out.org I haven't tried, but something like this might work (on Unixoids): $ echo -n > out.org $ for i in *.ical; do cat $i |

[O] converting many ics files to a single org file

2019-06-10 Thread Alan Schmitt
Hello, I'm using vdirsyncer to keep a local copy of my calendars. I would now like to have them in org-mode, so I'm looking for a tool to do the conversion. One important constraint is that, by default, vdirsyncer generates one ics file for each event. I've found this tool

Re: [O] Advance notice of birthdays in org-mode via org-contacts

2019-05-28 Thread Alan Schmitt
Hi Eric, On 2019-05-28 04:34, Eric Abrahamsen writes: And (shameless plug) if you're using EBDB, you can set both `ebdb-use-diary' and `org-agenda-include-diary' to t, and anniversaries will show in the agenda. Thank you for the plug, I've been wanting to look at EBDB for a while. I

[O] refreshing pictures that are results of code blocks

2019-05-15 Thread Alan Schmitt
Hello, I'm playing with picture generating code like this: #+begin_src python :results file :session :var matplot_lib_filename="figure2.png" :exports both import matplotlib.pyplot as plt data = [14.0, 7.6, 11.2, 12.8, 12.5, 9.9, 14.9, 9.4, 16.9, 10.2, 14.9, 18.1, 7.3, 9.8, 10.9, 12.2, 9.9,

Re: [O] Bug: Can't access org agenda custom command [9.2.1 (9.2.1-33-g029cf6-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20190225/)]

2019-02-26 Thread Alan Schmitt
On 2019-02-26 09:14, Nicolas Goaziou writes: I think the problem is on line 3036 of org-agenda.el. The code (propertize match nil 'face 'org-warning)) should be (propertize match 'face 'org-warning)) (I changed it locally and

Re: [O] Bug: Can't access org agenda custom command [9.2.1 (9.2.1-33-g029cf6-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20190225/)]

2019-02-25 Thread Alan Schmitt
On 2019-02-26 02:19, Gustavo Barros writes: I've been having trouble with my custom agenda commands since the latest update. The agenda dispatcher used to work fine until the last update, but now, given one of my custom agenda commands, it issues the error

Re: [O] Inlining TikZ blocks as SVG in HTML export

2019-01-21 Thread Alan Schmitt
On 2019-01-09 22:46, Christophe Garion writes: Hello, I would like to be able to export Org files containing TikZ pictures to HTML files with SVG pictures corresponding to TikZ pictures inlined directly in the HTML files. My use case is to produce quizz questions with graph drawings for

Re: [O] a couple tangle questions (tangle a single block, comment syntax)

2018-10-11 Thread Alan Schmitt
On 2018-10-11 16:12, Alan Schmitt writes: > Now I just need to find a way to specify the syntax for comments in the > headers, and I'm all set. I'm feeling silly. What I need to use is the "conf" language, not "config". Sorry for the noise. Alan -- OpenPGP Key ID

Re: [O] a couple tangle questions (tangle a single block, comment syntax)

2018-10-11 Thread Alan Schmitt
On 2018-10-11 08:06, John Kitchin writes: > Do you mean interactively? With org-babel-tangle you can: > > With one universal prefix argument, only tangle the block at point. > > When two universal prefix arguments, only tangle blocks for the > tangle file of the block at point. Thank you! I

[O] a couple tangle questions (tangle a single block, comment syntax)

2018-10-11 Thread Alan Schmitt
Hello, I'm moving my configuration files to an org file to be tangled, and I have a couple questions. First, is there a command to tangle a single block, or blocks in a subtree? Second, I like to have the :comments link option in my tangled files (to reference where they were tangled from), but

Re: [O] Emacs mobile org

2018-09-10 Thread Alan Schmitt
On 2018-09-10 11:41, Marcin Borkowski writes: > On 2018-09-10, at 09:46, Alan Schmitt wrote: > >> I use orgzly, and it works great with syncthing https://syncthing.net/ > > BTW, in my experience syncthing seems quite flaky. I turn it on on both > the coputer and my phone,

Re: [O] Emacs mobile org

2018-09-10 Thread Alan Schmitt
On 2018-09-09 21:43, Kaushal Modi writes: > On Sun, Sep 9, 2018 at 7:53 PM M. P. wrote: > >> Hello I am running emacs on a mac I have a galaxy s8 android phone. I am >> wanting to sync my phone with emacs on my computer. >> I would prefer not to use a cloud service but instead use >>

[O] gnus link no longer work

2018-09-06 Thread Alan Schmitt
Hello, I've recently noticed that following gnus links (created by org-store-link) no longer work. When I try to open one, I get an error, and I see the gnus summary populated with the message I need, but I cannot read it. Here is the backtrace when I follow the link Debugger entered--Lisp

Re: [O] including the | character in a table

2018-07-25 Thread Alan Schmitt
On 2018-07-25 07:43, Kevin Foley writes: > You can use \vert to insert pipes in exported tables. Thank you Michel and Kevin for these proposals. \vert works great (as long as it's outside ~~, but I can deal with it). Thanks! Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric

[O] including the | character in a table

2018-07-25 Thread Alan Schmitt
Hello, I'm writing a cheat sheet for a programming language, and I'm having trouble with operators that use |. For instance: | match expr with | pattern matching | | | pattern -> expr | action | How can I escape the |? I tried putting a \ before but it does not work. Thanks, Alan

Re: [O] Orgalist notes

2018-05-04 Thread Alan Schmitt
Hello, I'm having the same indentation, as can be seen here. For some strange reason, as soon as I get to the next line (using return) I get extra space. I just refilled this paragraph and it looks like this. - this

Re: [O] preview embedded latex fragments error with my settings

2018-03-27 Thread Alan Schmitt
According to the log, you need to configure the export to use xelatex. The error using xelatex is at this point, where it seems you should not use math-mode: l.86 $\LaTeX $ Do you have this in your code? Did you try removing the enclosing $? Best, Alan -- OpenPGP Key ID :

Re: [O] preview embedded latex fragments error with my settings

2018-03-27 Thread Alan Schmitt
On 2018-03-27 08:57, stardiviner writes: > I have divsvgm program on my arch linuxsystem. And "/tmp/orgtexhClnu9.dvi" > does > not exist, it is not produced. Only "/tmp/orgtexhClnu9.tex" and > "/tmp/orgtexhClnu9.log" two file. What does the log file say? There will

Re: [O] [PATCH v2 0/3] org-sbe fixes

2018-03-26 Thread Alan Schmitt
On 2018-03-25 23:06, Nicolas Goaziou writes: > I have reverted your changes from maint. Should there be a new release? This change is present in 9.1.8. Best, Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO₂, Mauna Loa Obs. 2018-02: 408.35, 2017-02:

Re: [O] [PATCH v2 0/3] org-sbe fixes

2018-03-25 Thread Alan Schmitt
Hello, On 2018-03-20 00:07, Nicolas Goaziou writes: > Hello, > > Vladimir Panteleev writes: > >> OK, here is v2 with table-based tests. >> >> Vladimir Panteleev (3): >> ob-table: Fix org-sbe's handling of quotes in cell values >> ob-table:

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-02 Thread Alan Schmitt
On 2018-02-02 18:41, Yasushi SHOJI writes: > https://github.com/yashi/multi-html-single-pdf > > I have to use macro expansion and `org-export-global-macros` to swap the link. > I don't think we have conditionals to switch an internal and an external link. > > HTML

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-02 Thread Alan Schmitt
> What you want is to have multiple pdf files, say a.pdf and b.pdf, and link > from > a.pdf to some specific page on the b.pdf, right? No, I want multiple html files and a single pdf file generated from multiple org files. It seems the simplest solution is to call a function that fixes the links

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-01 Thread Alan Schmitt
On 2018-02-01 13:56, Nicolas Goaziou writes: >> Not here. If I try to export the second file (the one with the link to >> the first file), I get an error: >> >> user-error: Unable to resolve link: "*A headline" >> >> This is why I think I need to have the target file name

Re: [O] is there a macro to have backend-specific behavior?

2018-02-01 Thread Alan Schmitt
On 2018-02-01 13:02, Nicolas Goaziou writes: >> My use case is this one: I have a link to a custom id, and I want to >> export it as [[#id]] in latex and [[file:file.org::#id]] for html >> *before* link resolution happens (so that the custom id in the latex >> export is

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-01 Thread Alan Schmitt
On 2018-02-01 20:09, Yasushi SHOJI writes: >> How do I change the link in the second headline so that I can split the >> second headline into its own file and export it by itself? > > Using [[*A headline]] ? > > I might be still missing something but I got following: > >

[O] is there a macro to have backend-specific behavior?

2018-02-01 Thread Alan Schmitt
Hello, Is there a way to define a macro that has different behaviors depending on export backend? I have macros that use the @@latex:foo@@ syntax, but in that case I "foo" is supposed to be literal latex. My use case is this one: I have a link to a custom id, and I want to export it as [[#id]]

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-01 Thread Alan Schmitt
On 2018-02-01 11:17, Yasushi SHOJI <yasushi.sh...@gmail.com> writes: > On Fri, Jan 26, 2018 at 2:37 AM, Alan Schmitt > <alan.schm...@polytechnique.org> wrote: >> I'm working on a project that is becoming too big to manage as a single >> file, so I'm looking at

Re: [O] computing the size of a tikz to png image during export

2018-01-29 Thread Alan Schmitt
On 2018-01-28 16:37, Fabrice Popineau writes: > I jump on this example to ask: does this by-backend trick still work with > Org 9.1.6? It works here. I did not provide the definition, here it is: (defmacro by-backend ( body) `(cl-case org-export-current-backend

[O] exporting a big project in multiple files to both pdf and html

2018-01-25 Thread Alan Schmitt
Hello, I'm working on a project that is becoming too big to manage as a single file, so I'm looking at splitting it in several files. This would also have the benefit of generating several smaller html pages instead of a single huge one. My question is about pdf export. Is it possible to take a

Re: [O] computing the size of a tikz to png image during export

2018-01-25 Thread Alan Schmitt
On 2018-01-25 06:46, Eric S Fraga <esfli...@gmail.com> writes: > On Wednesday, 24 Jan 2018 at 08:54, Alan Schmitt wrote: >> If I understand how it works in the png case, a standalone latex file is >> first generated, then it is compiled to pdf and converted to png using &g

[O] computing the size of a tikz to png image during export

2018-01-24 Thread Alan Schmitt
Hello, I use this great trick to have both a pdf and html export of tikz images: #+header: :file (by-backend (latex "tp6-tree.tikz") (t "tp6-tree.png")) #+header: :imagemagick yes :iminoptions -density 600 :imoutoptions -geometry 800 #+header: :results file raw #+header: :fit yes #+header:

  1   2   3   4   5   6   7   8   9   >