Re: Explicit page breaks

2022-09-28 Thread Juan Manuel Macías
Ihor Radchenko writes: > Do note that page breaks may or may not lay between paragraphs or Org > elements. By its nature, page break is an object (in Org terminology). Indeed, page break can be placed anywhere. But inserting it before paragraphs, at least in Org, is the least compromised by the

Re: [PATCH] Fix org-comment-line-break-function

2022-09-28 Thread Ihor Radchenko
Kaushal Modi writes: > Hi Nicolas, > > I have added few tests in the updated patch pasted in this email. > I have made the tests for (call-interactive #'default-indent-new-line) > because that the interactive function M-j is bound to by default. > > Can you please review and commit it? The

html accessibility and orgmode

2022-09-28 Thread Jude DaShiell
This may be informative. https://beta.ada.gov/resources/web-guidance/#top Release date on this was March of 2022. Jude "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) .

Add \usepackage{cmap} as default LaTeX class in ox-latex (was: org exported pdf files)

2022-09-28 Thread Ihor Radchenko
Max Nikulin writes: > On 28/09/2022 10:07, Ihor Radchenko wrote: >> Max Nikulin writes: >> >>> - What TeX engine do you use? E.g. for PdfLaTeX it may be necessary to >>> add \usepackage{cmap} immediately after \documentclass. Unicode engines >>> like LuaTeX likely do not require such trick. >>

Org HTML export accessibility (was: org exported pdf files)

2022-09-28 Thread Ihor Radchenko
Tim Cross writes: > Note that org also lacks any accessibility support for HTML generated > documents as well. However, this is less problematic as authors do have > some ability to add the necessary attributes that can improve > accessibility - an option not available with Latex. Can we do

Re: Org, Hyperbole, and eev

2022-09-28 Thread Ihor Radchenko
Jean Louis writes: > Let us say that link is: > > (link "Duck" (browse-url "http://www.duckduckgo.com;)) > > such link should be displyed as: > > __Duck__ (underlined) > > but just as in Org mode to have toggle options descriptive or > non-descriptive links. > > and that I can inject the

Re: org-capture and fast selection of tags

2022-09-28 Thread Ihor Radchenko
Christian Heinrich writes: > unfortunately, I didn't have any time to incorporate your comments but this > is still on my todo > list. I hope I will have more time soon, but it will most likely take me a > few weeks. No problem. It's not like we are in rush. Just wanted to make sure that this

Re: Org ML integration with an existing Discourse instance

2022-09-28 Thread Ihor Radchenko
Bastien writes: >>> Not just this: I’m concerned with setting up a user-to-user discussion >>> space that reify a split between users (on a forum) and developers (on >>> the mailing list). >> >> For what it’s worth, as a developer I’d be very interested in the ability of >> a >> forum to

Re: IM dev discussions?

2022-09-28 Thread Ihor Radchenko
Bastien writes: >> Which social website do you have in mind? >> >> I can ask @alphapapa from /r/orgmode. >> >> I guess we can also ask people hanging out on Doom discord and >> discourse. >> >> Maybe also Org roam people. They have discourse. > > I'm short of additional ideas. This is a good

Re: Explicit page breaks (was: Create in Org a bilingual book with facing pages)

2022-09-28 Thread Ihor Radchenko
Juan Manuel Macías writes: > Well, considering that the most sensible place (IMO) to introduce an > explicit page break would be before almost anything that isn't a section > (since in sections page breaks should be defined by style), how about > something like this: > > #+ATTR_LATEX: :pagebreak

Re: [PATCH 2-v1] New: auto display inline images under subtree when `org-cycle'.

2022-09-28 Thread Ihor Radchenko
"Christopher M. Miles" writes: > Ok, I created the patch for subtree cycling display inline images. > Tested by edebug when org cycling, it should works fine. I don't know > how to write test for this. Thanks for the update! For tests, you will need to test the existence of image overlays. You

Re: [BUG] jump-to-captured no longer works [9.6 (9.6-??-1c7acb4 @ /Users/aibragim/.emacs.d/.local/straight/build-28.2/org/)]

2022-09-28 Thread Ihor Radchenko
Ag Ibragimov writes: > Org capture no longer jumping to destination, even when > :jump-to-captured set to t in the capture template. I am unable to reproduce on my side using the latest main branch. Can you please provide detailed steps you performed to get the erroneous behaviour? See

Re: [BUG] beamer export

2022-09-28 Thread Ihor Radchenko
Leo Butler writes: > The following Org document shows a bug in the beamer exporter. Confirmed on main. There are two bugs reported here: 1. ox-latex export bug for src blocks containing direct LaTeX when org-latex-src-block-backend is set to its default 'verbatim value 2. ox-beamer export

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

2022-09-28 Thread Ihor Radchenko
Rudolf Adamkovič writes: > UPDATE. > > I tried exporting again (after some document clean up; most probably > unrelated); and I found that exporting sometimes works! > > Four attempts, chronologically: > > 1. New Org, nil cache + core overlays -- 3 minutes 21 seconds > 2. New Org -- 3 minutes 22

Re: emacs really slow when inserting a new source code block

2022-09-28 Thread Ihor Radchenko
Luca Ferrari writes: >> I'm trying to understand what could be eating all the cpu. >> > > So far, turning off flyspell-mode makes Emacs work fine again. Strange... Do you have any flyspell-related configuration in your config? -- Ihor Radchenko, Org mode contributor, Learn more about Org mode

Re: Compiling a C++ source block

2022-09-28 Thread Ihor Radchenko
tbanelwebmin writes: > You may try: > #+header: :includes '("" "") I notice that https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-C.html only has examples of a single library being using in :includes parameter. Although the text description does mention list of strings, it would be

[BUG] jump-to-captured no longer works [9.6 (9.6-??-1c7acb4 @ /Users/aibragim/.emacs.d/.local/straight/build-28.2/org/)]

2022-09-28 Thread Ag Ibragimov
Org capture no longer jumping to destination, even when :jump-to-captured set to t in the capture template. Emacs : GNU Emacs 28.2 (build 2, x86_64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6 (Build 21G115)) of 2022-09-28 Package: Org mode version 9.6 (9.6-??-1c7acb4 @

[BUG] beamer export

2022-09-28 Thread Leo Butler
The following Org document shows a bug in the beamer exporter. #+TITLE: Writing Beamer presentations in org-mode #+AUTHOR:Eric S Fraga #+AUTHOR:(bug report by Leo Butler) #+EMAIL: e.fr...@ucl.ac.uk #+DATE: 2010-03-30 Tue #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS:

Re: org-capture and fast selection of tags

2022-09-28 Thread Christian Heinrich
Hi Ihor, unfortunately, I didn't have any time to incorporate your comments but this is still on my todo list. I hope I will have more time soon, but it will most likely take me a few weeks. Thanks for checking in with me, I really appreciate your support! Best regards Christian On Tue,

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

2022-09-28 Thread Rudolf Adamkovič
Rudolf Adamkovič writes: > No luck! UPDATE. I tried exporting again (after some document clean up; most probably unrelated); and I found that exporting sometimes works! Four attempts, chronologically: 1. New Org, nil cache + core overlays -- 3 minutes 21 seconds 2. New Org -- 3 minutes 22

Re: org exported pdf files

2022-09-28 Thread Juan Manuel Macías
Hi, Tim Tim Cross writes: > An unfortunate situation really - especially given Emacs has one of the > most powerful and advanced accessibility options available via > emacspeak. > > I also won't hold my breath for a new latgex core. THe latex3 initiative > seems to have failed or at least

Re: org exported pdf files

2022-09-28 Thread Timothy
Hi Tim, > None of what yuo wrote is a surprise. Unfortunately, it does mean two > things > > 1. Org mode cannot be used to create accessible PDF documents as long as > it depends on the latex environment to generate those documents. It means that Org mode cannot /currently/ be used… I have hope

Re: org exported pdf files

2022-09-28 Thread Tim Cross
Timothy writes: > Hi Tim, > >> It would probably be good to add the two above packages as part of the >> ’default’ package preamble, but this would require considerable testing >> as it isn’t known if there will be adverse effects when mixed with other >> packages. > > Those packages are early

Re: org exported pdf files

2022-09-28 Thread Max Nikulin
On 28/09/2022 10:07, Ihor Radchenko wrote: Max Nikulin writes: - What TeX engine do you use? E.g. for PdfLaTeX it may be necessary to add \usepackage{cmap} immediately after \documentclass. Unicode engines like LuaTeX likely do not require such trick. I am wondering if having cmap should be

Re: org exported pdf files

2022-09-28 Thread Max Nikulin
On 28/09/2022 13:48, Jude DaShiell wrote: I don't make pdf files or make pdf files available for anyone else. Then what is the origin of "these" PDF files you mentioned in your first post? If you actually use pdftotext, I am unsure concerning effect of setting language for you. > Adobe

Re: emacs really slow when inserting a new source code block

2022-09-28 Thread Luca Ferrari
On Wed, Sep 28, 2022 at 3:15 PM Ihor Radchenko wrote: > I have not idea except that you may have something really strange in > your config. I'm trying to understand what could be eating all the cpu. > What if you open the file in a clean Emacs instance? See >

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

2022-09-28 Thread Rudolf Adamkovič
Ihor Radchenko writes: Thank you for helping me, Ihor. > Let's try to approach this problem from another direction. > > Can you please set org-element-use-cache to nil and org-fold-core-style > to 'overlays in your config and try the export again? No luck! I used the following configuration

Re: emacs really slow when inserting a new source code block

2022-09-28 Thread Ihor Radchenko
Luca Ferrari writes: > No, there is no buffer named cpu nor memory nor something alike in the > buffer list. I have not idea except that you may have something really strange in your config. > Besides, I'm now more able to reproduce the original issue: I open one > of my perl-based org files,

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

2022-09-28 Thread Max Nikulin
On 28/09/2022 19:55, Rudolf Adamkovič wrote: Rudolf Adamkovič writes: Also, I forgot to mention that Org mode from Org/Git 'main' quietly deletes all COMMENT headings from my notebook, including their content (!), and inlines all macros. I have no idea why, but if I did not use Git, I would

Re: Create in Org a bilingual book with facing pages

2022-09-28 Thread Hendursaga
Juan Manuel Macías writes: >> What is the name of this book / the publisher's page? I don't really know >> Spanish, and only a little Greek, but I'm fascinated by bilingual editions, >> especially with critical apparati. I've been looking for a workflow for >> creating my own (possibly

Re: Create in Org a bilingual book with facing pages

2022-09-28 Thread Juan Manuel Macías
Hendursaga writes: > I'll look through that page sometime! As for your favorites, I already > have some of them on my lists, but I'll look at the others! There are also the Renaissance editions, especially those by Aldo Manuzio or Robert Estienne, which are true works of art. One of my free time

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

2022-09-28 Thread Rudolf Adamkovič
Rudolf Adamkovič writes: Also, I forgot to mention that Org mode from Org/Git 'main' quietly deletes all COMMENT headings from my notebook, including their content (!), and inlines all macros. I have no idea why, but if I did not use Git, I would have lost important data. Scary! Rudy -- "I

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

2022-09-28 Thread Rudolf Adamkovič
Ihor Radchenko writes: Thank you for helping me out. Context: With all this talk about Emacs 29 around the corner, I became scared that the upcoming Org will render my Org notes unusable. Hence, I decided to ask now, before it happens. > Can you > 1. M-x debug-on-entry

Re: emacs really slow when inserting a new source code block

2022-09-28 Thread Luca Ferrari
On Wed, Sep 28, 2022 at 4:15 PM Luca Ferrari wrote: > > On Wed, Sep 28, 2022 at 3:15 PM Ihor Radchenko wrote: > > I have not idea except that you may have something really strange in > > your config. > > I'm trying to understand what could be eating all the cpu. > So far, turning off

[PATCH 2-v1] New: auto display inline images under subtree when `org-cycle'.

2022-09-28 Thread Christopher M. Miles
Ok, I created the patch for subtree cycling display inline images. Tested by edebug when org cycling, it should works fine. I don't know how to write test for this. But I got a little problem: When ~org-fold-core-style~ is ~'overlays~, the ~delete-overlay~ will cause subtree unfolded. More

Re: Org, Hyperbole, and eev

2022-09-28 Thread Eduardo Ochs
On Wed, 28 Sept 2022 at 03:17, Jean Louis wrote: > (...) Hi Jean Louis, I am not sure how to interpret the tone of your message. Does it mean that you are not interested in a prototype that works in one case? I.e., that you are only interested in something that has all the flexibility that you

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

2022-09-28 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Rudolf Adamkovič writes: > > Also, I forgot to mention that Org mode from Org/Git 'main' quietly > deletes all COMMENT headings from my notebook, including their content > (!), and inlines all macros. I have no idea why, but if I did not use > Git, I would have lost

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

2022-09-28 Thread Ihor Radchenko
Rudolf Adamkovič writes: >> Can you >> 1. M-x debug-on-entry org-export--generate-copy-script >> 2. Start export >> 3. Step into the function (use "d", not "c" binding) >> 4. Try to identify which part (if any) is being slow > > FYI: I had to do "(require 'ox)" before this worked. > > I spent

Re: org exported pdf files

2022-09-28 Thread Jude DaShiell
I've never done anything with latex. The closest I got to latex was using groff for a little bit of time a long time ago. On this one I'm in way over my head without scuba gear. Apparently html and adobe left latex in the dust in so far as accessibility is concerned. Jude "There are four

Re: emacs really slow when inserting a new source code block

2022-09-28 Thread Luca Ferrari
On Tue, Sep 27, 2022 at 3:22 PM Ihor Radchenko wrote: > > This is strange. > Did nothing happen after M-x profiler-report? > Can you try again and check if *CPU-Profiler-Report ...* buffer exists > in Emacs (... will be current date and time)? No, there is no buffer named cpu nor memory nor

Re: org exported pdf files

2022-09-28 Thread Tim Cross
Jude DaShiell writes: > It was one of the messages from this list that got me that reply. For > now, when I get a pdf file I try extracting it with pdftotext and read the > extracted text. I don't make pdf files or make pdf files available for > anyone else. How adobe accessibility

Re: org exported pdf files

2022-09-28 Thread Timothy
Hi Tim, > It would probably be good to add the two above packages as part of the > ’default’ package preamble, but this would require considerable testing > as it isn’t known if there will be adverse effects when mixed with other > packages. Those packages are early accessibility experiments,

Re: form-like process for entering rows in an org-mode table?

2022-09-28 Thread Jean Louis
* Greg Minshall [2022-09-28 06:34]: > Jean Louis, > > > * Greg Minshall [2022-07-22 19:14]: > > > hi. does anyone have any code, or know of any existing package, that > > > would allow for some sort of form-like (or "transient"-like) interface > > > for adding rows to an org-mode table? in

Re: Org, Hyperbole, and eev

2022-09-28 Thread Jean Louis
* Ihor Radchenko [2022-09-28 06:52]: > Jean Louis writes: > > > I wish to create meta links. Today I have tried figuring out how Org > > link work, but I am overwhelmed. > > Have you looked at > https://orgmode.org/manual/Adding-Hyperlink-Types.html ? > > If you find it confusing, please let

Explicit page breaks (was: Create in Org a bilingual book with facing pages)

2022-09-28 Thread Juan Manuel Macías
Ihor Radchenko writes: >>> 1. \clearpage command, which reminds me about >>>https://orgmode.org/list/87mtamjrft.fsf@localhost >>>May it be useful to have page break syntax element in Org? >> >> I really don't have an opinion at the moment... As a user I try to put >> as few direct LaTeX

Re: Attempting to create orgcard.org

2022-09-28 Thread Timothy
Hi Bastien, > Timothy, I believe your efforts are worthwhile as a way to provide > Emacs third-party package maintainers a way to produce a refcard-like > PDF document for their libraries. But not for Org, where the refcard > is really good enough as it is, especially the Emacs sync constraints

Re: Re: Create in Org a bilingual book with facing pages

2022-09-28 Thread Pedro Andres Aranda Gutierrez
Ihor writes: > Message: 12 > Date: Tue, 27 Sep 2022 20:29:25 +0800 > From: Ihor Radchenko > To: Juan Manuel Macías > Cc: orgmode > Subject: Re: Create in Org a bilingual book with facing pages > Message-ID: <87bkr1ngpm.fsf@localhost> > Content-Type: text/plain; charset=utf-8 > > > I notice two

Re: how to remove parentheses from the output of a source code block

2022-09-28 Thread Greg Minshall
Andrés, sorry -- of course, you can use base e-lisp =string-join= to accomplish the same thing. #+BEGIN_SRC emacs-lisp :var table=source-in-table :results value raw (let ((sqlcode (mapcar (lambda (row) (concat "INSERT or ignore INTO labels_catalog (id, macro,

Re: Create in Org a bilingual book with facing pages

2022-09-28 Thread Christian Moe
Hi, Juan Manuel, I keep saving your messages with process documentation for future reference should I ever attempt anything similar. Much appreciated! Yours, Christian Juan Manuel Macías writes: > Hi all, > > TL; DR: > > The bilingual critical edition (ancient Greek/Spanish) of the letters of

Re: Org ML integration with an existing Discourse instance

2022-09-28 Thread Bastien
Hi Timothy, Timothy writes: >> Not just this: I’m concerned with setting up a user-to-user discussion >> space that reify a split between users (on a forum) and developers (on >> the mailing list). > > For what it’s worth, as a developer I’d be very interested in the ability of a > forum to

Re: [WORG] Document in more detail about what maintainers do?

2022-09-28 Thread Bastien
Ihor Radchenko writes: > I think the part about CC is missing in > https://orgmode.org/worg/org-maintenance.html#orga0c76fb Indeed - can you add it? Also, I'd more comfortable if org-maintenance.org would use stable anchors (not #orga0c76fb). > Also, I find it important to take note about

Re: IM dev discussions?

2022-09-28 Thread Bastien
Ihor Radchenko writes: > Discourse does allow anonymous email replies. > https://blog.discourse.org/2016/07/reply-by-email-enabled-for-all-discourse-customers/ > (search "unregistered") I did not know that - thanks for the pointer. I'd interested in exploring a use-case: does anyone know of a

Re: org exported pdf files

2022-09-28 Thread Jude DaShiell
It was one of the messages from this list that got me that reply. For now, when I get a pdf file I try extracting it with pdftotext and read the extracted text. I don't make pdf files or make pdf files available for anyone else. How adobe accessibility recommendations for pdf files will

Re: Attempting to create orgcard.org

2022-09-28 Thread Bastien
Kyle Meyer writes: > Something to consider: orgcard.tex is included in the Emacs repo and > fits into their refcard machinery. If the source changes from .tex to > .org, the .org file must be included in the Emacs repo, as is done with > the .org of the manual now (bug#45143, bug#46837). Doing

Re: changing orgcard.tex

2022-09-28 Thread Bastien
Hi Timothy, Timothy writes: >> If we are to make changes against orgcard.tex we should be careful to >> stick to GNU conventions regarding creating refcards. > > Might you have a link to those conventions on hand? I meant sticking to the .tex commands used for Emacs refcard and its visual

Re: Org, Hyperbole, and eev

2022-09-28 Thread Jean Louis
* Eduardo Ochs [2022-09-28 03:54]: > On Tue, 27 Sept 2022 at 18:59, Jean Louis wrote: > > (...) > > What did you do to inspect an Org link? > > Here's what I just tried: I created a file /tmp/foo.org containing > " [[http://a/b/][ab]]\n; - i.e., a space, a link, and a newline - > and then I

Re: Create in Org a bilingual book with facing pages

2022-09-28 Thread Juan Manuel Macías
Hi, thank you for your comments. Hendursaga writes: >> The bilingual critical edition (ancient Greek/Spanish) of the >> letters of Demosthenes and Aeschines has recently been published in >> Spain, a book whose production and typesetting I have taken charge >> of, using Org and Org-publish. >

Re: Serving .org files for worg

2022-09-28 Thread Bastien
Hi Max, Max Nikulin writes: > The following snippet should be added to nginx configuration to assign > MIME type for .org files: > > types { > # Chromium opens text/x-org in the browser tab, > # Firefox downloads files and offers to open in some other > application. >