[BUG] org-element-cache warnings [9.6.1 ( @ d:/.emacs.d/elpa/org-9.6.1/)]

2023-04-10 Thread Vladimir Alexiev
When I save a particular file https://github.com/Accord-Project/bsdd/blob/main/README-bug.org, I get this warning (and request to post a bug): Warning (org-element-cache): org-element--cache: Org parser error in README.org::1092. Resetting. The error was: (error "Invalid search bound (wrong side

Re: [BUG] ox-md image captions

2023-04-07 Thread Vladimir Alexiev
Hi Max! It's not about the tooltip in HTML: figure captions are very important in scholarly publishing.

Re: [BUG] ox-md image captions

2023-04-05 Thread Vladimir Alexiev
I posted a Pandoc request: https://github.com/jgm/pandoc/issues/8752 On Wed, Apr 5, 2023 at 2:04 PM Ihor Radchenko wrote: > Morgan Willcock writes: > > > If ox-md is trying to do the same thing as Markdown.pl then it doesn't > > really make sense to compare it to CommonMark. > > Most likely, ox

Re: [BUG] ox-md image captions

2023-04-04 Thread Vladimir Alexiev
Maybe an option? Saying "pandoc is in the wrong" doesn't do much to resolve the issue. Despite my enormous love for orgmode, Pandoc is used a lot more widely for scholarly publishing and interactive websites. See Quarto and Manubot. On Tue, Apr 4, 2023, 11:46 Ihor Radchenko wrote: > Ihor Radch

Re: Ability to add logo to HTML export

2023-03-26 Thread Vladimir Alexiev
Thanks, that works! On Fri, Mar 24, 2023 at 4:04 PM Ihor Radchenko wrote: > Vladimir Alexiev writes: > > > But then C-c C-e h h complains: "org-export--parse-option-keyword: End of > > file during parsing". > > Please update Org mode. > > -- > Ihor Ra

Re: Ability to add logo to HTML export

2023-03-24 Thread Vladimir Alexiev
#+OPTIONS: html-preamble:"Author: %a(%e)Date: %d" C-c happily says "Local setup has been refreshed" But then C-c C-e h h complains: "org-export--parse-option-keyword: End of file during parsing". I don't see any problem in the string; evaluating it in *scratch* returns it just fine. But I think

Ability to add logo to HTML export

2023-03-23 Thread Vladimir Alexiev
Some projects have a logo, which one may want to add to the beginning of a HTML document. Eg like this (before authors and Title): [image: image.png] Right now I have to resort to a bad kludge to do that: a local variable in the org file: #+comment: -*- org-html-preamble: "Author: %a(%e)Date: %d"

[BUG] ox-md image captions

2023-02-27 Thread Vladimir Alexiev
I have an image caption like this: #+label: fig:bsdd-graphql-voyager-refact-detail #+caption: Refactored bSDD GraphQL Schema [[./img/bsdd-graphql-voyager-refact-Classification-ClassificationProperty.png]] ox-md exports it like this: ![img](./img/bsdd-graphql-voyager-refact-Classification-Classif

Re: configure separator in org-table-insert-hline

2020-08-22 Thread Vladimir Alexiev
How can I use radio tables for that?

Re: configure separator in org-table-insert-hline

2020-08-21 Thread Vladimir Alexiev
> > You may suggest it to Markdown mode. I think this is a terrible idea for > Org mode: syntax should not be optional. > But I'm not talking about org-mode ! I'm talking about orgtbl minor mode. That minor mode is supposed to work in other modes (that's the whole purpose of its existence), and so

Re: configure separator in org-table-insert-hline

2020-08-21 Thread Vladimir Alexiev
> That will not work without changing Org syntax. Markdown and Org table are incompatible. I guess you're right re support for formulas, table export, table input/output from code, etc. But I don't expect any of that of Markdown tables. All I expect is that I can use table editing and alignment, a

configure separator in org-table-insert-hline

2020-08-21 Thread Vladimir Alexiev
org-table-insert-hline (org-table.el) inserts lines like this |++| But I often use orgtbl-mode in markdown-mode, and in markdown the hlines should be like this: |||| Perhaps all that's needed is to make this conditional: (concat "+"

Re: org-babel-demarcate-block doesn't respect case preference

2020-05-25 Thread Vladimir Alexiev
> Org inserts lower-case #+begin* keywords as a default But org-babel-demarcate-block doesn't do that in the case of new block.

org-babel-demarcate-block doesn't respect case preference

2020-05-23 Thread Vladimir Alexiev
org-babel-uppercase-example-markers says whether to insert BEGIN_SRC or begin_src. org-babel-demarcate-block doesn't respect this setting: https://code.orgmode.org/bzg/org-mode/src/master/lisp/ob-core.el#L1893 makes this check (lower-case-p (and block (let (case-fold-search) (string-match-p

[O] org-mode and dokieli / linked-research?

2017-03-27 Thread Vladimir Alexiev
(I'd be much obliged if you comment here: https://gist.github.com/VladimirAlexiev/80338cc0ec51d3a402ff6d9b9ce4ae4e) **Linked Research** is a movement to publish articles in HTML, with embedded semantic data that would allow not just citations but much deeper interactions. Sarven Capadisli is

[O] Meaningful & stable anchors in HTML export

2016-07-01 Thread Vladimir Alexiev
Consider e.g. http://vladimiralexiev.github.io/Multisensor/#sec-3-2-2, which uses an anchor made from the section number. I much prefer a readable/meaningful anchor like github does: https://github.com/VladimirAlexiev/VladimirAlexiev.github.io/tree/master/Mul tisensor#322-normalization-problems Nu

[O] ox-latex doesn't handle doi: links right

2016-03-18 Thread Vladimir Alexiev
A link like doi:10.1109/ICMEW.2015.7169818 is resolved in org to http://dx.doi.org/10.1109/ICMEW.2015.7169818. (I mean that if I click to the link, I go to that URL) However, ox-latex makes merely this: \url{10.1109/ICMEW.2015.7169818} which Acrobat tries to resolve as a local file. Instead,

[O] org-html-use-unicode-chars breaks source code blocks

2015-08-04 Thread Vladimir Alexiev
Hi! I've set org-html-use-unicode-chars since I want ox-html to leave IRIs as IRIs. But this has another undesired effect: it breaks references in code, since it doesn't escape the brackets. Eg this: #+BEGIN_SRC Turtle @prefix aat: . #+END_SRC results in the URL

[O] HTML export should leave IRIs as is

2015-02-08 Thread Vladimir Alexiev
I have this in a file: - [[https://chrome.google.com/webstore/detail/copy-url/mkhnbhdofgaendegcgbmndipmijhbili][CopyURL]] Chrome Plugin - Many URLs in dbpedia are International Resource Identifiers (IRIs) - When you copy from the browser's address bar, an IRI is URL-encoded - Unreadable ug

[O] truncate-lines for org tables, visual-line-mode for rest?

2015-01-26 Thread Vladimir Alexiev
I use visual-line-mode to wrap long lines on display. But for org tables, wrapping makes the display very confused. Is it possible to have truncate-lines ONLY for lines that represent tables?

[O] Bad handling of IRI links

2015-01-19 Thread Vladimir Alexiev
I have a IRI link (written without any brackets) including Cyrillic like this: https://bg.wikipedia.org/wiki/Уикипедия:Сътрудничество/Държавна_агенция_„Архиви“#Mapped_to_DBpedia When I click it, it goes to this: https://bg.wikipedia.org/wiki/Уикипедия:Сътрудничество/Държавна_агенциь:/my/Onto/K

[O] (org-protocol-check-filename-for-protocol) should not (server-edit)

2014-12-11 Thread Vladimir Alexiev
I want org-protocol-store-link to paste the link in my current buffer and location, no questions asked. I've defined a function like this: (defun va/org-protocol-store-link (info) "Process an org-protocol://store-link:// style url. Store a browser URL as an org link, automatically in the curren

Re: [O] How to define file-local preamble for graphviz dot?

2014-08-05 Thread Vladimir Alexiev
Vladimir Alexiev ontotext.com> writes: > I have a bunch of dot settings that I want to set globally. I hacked it like > this: > (defadvice org-babel-expand-body:dot (before add-preamble (body params) > activate) A better way to hack it is like that, using the header arg

Re: [O] bug#17749: 24.3.91; Crash on mwheel-scroll of org file

2014-08-05 Thread Vladimir Alexiev
> > 1. Open emacs-crash-test.org > > 2. Make the window smaller (e.g. 20 lines tall) > > 2. Roll the mouse wheel down until you see the end of file, then up. > > 3. CRASH The specific org file doesn't matter. The window size doesn't matter. This crash happens to me occasionally (2-3 times a week),

Re: [O] org-plus-contrib should provide org

2014-08-01 Thread Vladimir Alexiev
> > The org-plus-contrib package on http://orgmode.org/elpa/ should provide > > org-8.0 > Why do you think it does not? To be frank, I'm not sure how packages declare what they provide. org-plus-contrib has this (define-package "org-plus-contrib" "20140526" "Outline-based notes management and o

[O] How to define file-local preamble for graphviz dot?

2014-08-01 Thread Vladimir Alexiev
I have a bunch of dot settings that I want to set globally. I hacked it like this: (setq va/org-dot-preamble "digraph g { rankdir=LR nodesep=0.2 ranksep=0.1 arrowsize=0.2 node [fontname=courier fontsize=10 margin=\"0.02,0.01\" shape=box width=0.1 height=0.1] edge [fontname=courier fontsize

[O] allow multiline #+BIND

2014-07-30 Thread Vladimir Alexiev
It would be nice to allow multiline BINDs. I'd much rather write this than put it all on one line: #+BIND: va/org-dot-preamble "digraph g { #+BIND: rankdir=LR nodesep=0.2 ranksep=0.1 arrowsize=0.2 #+BIND: node [fontname=courier fontsize=8 margin='0.02,0.01' shape=circle width=0.1 height=0.1

Re: [O] org-plus-contrib should provide org

2014-06-17 Thread Vladimir Alexiev
> > The org-plus-contrib package on http://orgmode.org/elpa/ should provide > > org-8.0 > Why do you think it does not? For example, ox-reveal says "Requires: org-8.0". When I select to install it, the package manager also installs org, although org-plus-contrib is installed. I looked for "provi

[O] 24.3.91; Crash on mwheel-scroll of org file

2014-06-10 Thread Vladimir Alexiev
Hi! I think I found a new crash, at least I can't find it with google. Scenario: 1. Open emacs-crash-test.org 2. Make the window smaller (e.g. 20 lines tall) 2. Roll the mouse wheel down until you see the end of file, then up. 3. CRASH I cannot reproduce it with "emacs -Q" yet. I cannot always

[O] org-plus-contrib should provide org

2014-06-04 Thread Vladimir Alexiev
The org-plus-contrib package on http://orgmode.org/elpa/ should provide org- 8.0, since it does include org. Otherwise a bunch of addon packages (eg ox-reveal) install the org package anyway. Cheers!

[O] RE: [Orgmode] [HOW] no way to escape vertical bar (pipe char) in tables?

2011-03-07 Thread Vladimir Alexiev
> > what is the best way to manage > > leading/trailing spaces in a table cell? > This i don't understand -- you want to *keep* the spaces > in the exported table? Not all spaces, but some spaces some of the time is needed. The recent patch to org-babel-read by Erik Schulte makes this possible. S

RE: [O] RE: [Orgmode] Re: org-babel-read should have option NOT to interpret as elisp

2011-03-01 Thread Vladimir Alexiev
> I believe quoted strings are already handled, e.g., > #+results: > : "(a b c)" They are not. This leaves the quotes as part of the string. Please add a second usage to the description: (this is useful for having leading/trailing whitespace in a string, or having a leading ('` yet preventing th

[O] RE: [Orgmode] Re: org-babel-read should have option NOT to interpret as elisp

2011-03-01 Thread Vladimir Alexiev
> I've applied the patch > attached to my previous email and unless there is a real push-back ... Could you add handling of quoted strings? And most importantly, document all of this in "(org)var". Here is a merged dscription: If a value starts with one of ('` it is read as an emacs lisp sexp. If

[Orgmode] Re: a question about fontification and org-emphasis-alist

2011-02-27 Thread Vladimir Alexiev
> C-h v org--emphasis But how do you know how many dashes to put? I'd use apropos-variable (show variables matching pattern: WORDS or regexp). I bind that to C-h C-v and use it often. All apropos* functions are very useful, learn them ___ Emacs-orgmo

[Orgmode] Re: [BUG] org-babel-tangle causes

2011-02-27 Thread Vladimir Alexiev
I found a simple WORKAROUND. Kindly put this in the documentation of :colnames, at the end of the nil value: Please note that such "table disassembly" does not work with var indexing. As a simple workaround, put the #+tblname AFTER the hline (not before the table). For example: #+STARTUP: sh

[Orgmode] Re: org-babel-read should have option NOT to interpret as elisp

2011-02-27 Thread Vladimir Alexiev
> What syntax would you suggest to indicate that a variable is to be > passed without the possibility of elisp evaluation I think this should be done with a header arg, since they have very flexible setup scheme: see (info "(org)Using header arguments") "values of header arguments can be set

[Orgmode] Re: org-babel-read should have option NOT to interpret as elisp

2011-02-27 Thread Vladimir Alexiev
> would be onerous to have to wrap every cell > of a table in double quotes... I tried doing this as a workaround, but it is not since the quotes are passed to perl, and that's not what I want > it would be a breaking change for > anyone who is currently relying on the ability Right, that's why

[Orgmode] Re: [BUG] org-babel-tangle causes "Wrong type argument: sequencep, hline"

2011-02-27 Thread Vladimir Alexiev
> The hline was assumed to be a list (as normal rows are) by the indexing > code, so I just inserted a quick check to ensure that hlines are left > alone. So Eric, you're handing this arg as per documentation (info) * :hlines: `no' (default) Strips horizontal lines from the input table. But you

[Orgmode] org-babel-read should have option NOT to interpret as elisp

2011-02-27 Thread Vladimir Alexiev
I keep perl regexps in a table, and some of them start with "(". I'd like these to be left alone (returned unmodified as a string). (info "(org)var") doesn't mention special processing of table cells, but the doc of org-babel-read says: Convert the string value of CELL to a number if appropriate.

[Orgmode] [BUG] org-babel-tangle causes "Wrong type argument: sequencep, hline"

2011-02-27 Thread Vladimir Alexiev
When I try to tangle the simple file shown below, I get this error: "Wrong type argument: sequencep, hline". Org-mode version 7.4 (release_7.4.44.g49d9c.dirty) I have the default values of these args (checked through gebugging) According to the help: * :hlines: `no' (default) Strips horizontal

[Orgmode] [HOW] no way to escape vertical bar (pipe char) in tables?

2011-02-24 Thread Vladimir Alexiev
I want to manage some perl regexps in a table then feed them to a code block (literate programming). Unfortunately they include alternatives (|) and the table editor thinks this is a column break. There's no way to escape this? On a related thought: what is the best way to manage leading/trailin

[Orgmode] Re: [CRASH] org-pretty-entities causes emacs to take 100% CPU

2011-02-17 Thread Vladimir Alexiev
> not able to reproduce this > with GNU Emacs 24.0.50.2 of 2011-02-15. Can I get this from somewhere, built for W32/cygwin? I got 24.0.50.1 from file Emacs24.BZR.102298.Win32.20101110.zip from http://ourcomments.org/Emacs/DL/EmacsW32/EmacsCVS/unptch/ . I looked there for a newer version, but there

[Orgmode] Re: Open HTML link in other window?

2011-02-15 Thread Vladimir Alexiev
> I don't think this is really necessary. IN web presentations (eg s5.org) each section is one slide (screen). If you click on an external link, it replaces the presentation, and when you go back to it, you lose the current slide. Setting some global HTML_ATTR may also be useful for images, eg if

[Orgmode] Re: [CRASH] org-pretty-entities causes emacs to take 100% CPU

2011-02-15 Thread Vladimir Alexiev
I've isolated it by running clean emacs (emacs -q) with this setup: (setq org-entities-user ; name latex math-p html ascii latin1 utf8 '(("ok" nil nil "✔" "OK" "OK" "✔") ("nok" nil nil "✘" "NOK" "NOK" "✘")) org-pretty-entities t) And this small org file: #+STARTUP: show

[Orgmode] Open HTML link in other window?

2011-02-03 Thread Vladimir Alexiev
Is there a way to configure the HTML export to open every *external* link to another window? Eg this is very useful for web presentations (search for "s5 org). ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-org

[Orgmode] [CRASH] org-pretty-entities causes emacs to take 100% CPU

2011-01-31 Thread Vladimir Alexiev
1. Evaluate this: (setq org-entities-user ; name latex math-p html ascii latin1 utf8 '(("ok" nil nil "ચ" "OK" "OK" "✔") ("nok" nil nil "ઞ" "NOK" "NOK" "✘"))) (setq org-pretty-entities t); \ok -> ✔ in buffer 2. Put this in an org buffer - \ok Deploy on x - \nok Deploy on y - \nok

[Orgmode] [BUG] org-html.el: internal links don't work unless CUSTOM_ID is used

2011-01-30 Thread Vladimir Alexiev
Internal links do not work in HTML export unless CUSTOM_ID is used. I have tried with [[id:]] and [[*Heading]] links. It makes the link like this: It makes the anchor like this: ... and if the entry has ID (id: link is used) then also Unfortunately h2.id doesn't create an anchor, and even

[Orgmode] Re: [BUG] .dir-locals.el broken links on cygwin

2011-01-11 Thread Vladimir Alexiev
> Some of the .dir-locals.el files in the distribution are > symbolic links to another. On cygwin they come out as LNK files. The error I get is Directory-local variables error: (wrong-type-argument listp ! \.) ___ Emacs-orgmode mailing list Please

[Orgmode] [BUG] .dir-locals.el broken links on cygwin

2011-01-10 Thread Vladimir Alexiev
Some of the .dir-locals.el files in the distribution are symbolic links to another. On cygwin they come out as LNK files. Emacs tries to load such LNK file and fails. I had to remove these files to be able to edit orgmode elisp files. Perhaps there is a way to make emacs on cygwin interpret LNK a

[Orgmode] Re: [PATCH] org-display-inline-images to reduce image size

2011-01-10 Thread Vladimir Alexiev
How to avoid line breakage in the patch? Some source lines are naturally >80 chars and I wouldn't like to shorten them. I posted from the web (http://post.gmane.org/post.php?group=gmane.emacs.orgmode) I guess I should get an account and post from a real mail client? Furthermore, the "Comments" at

[Orgmode] [PATCH] org-display-inline-images to reduce image size

2011-01-07 Thread Vladimir Alexiev
Here's a patch that introduces two custom options org-display-inline-image-width, org-display-inline-image-height and patches org-display-inline-images to respect them as max width, height settings for inline images. (Someone please defcustom them for me, I only know defvar syntax). org-display-i

[Orgmode] [ENH] ditaa version

2011-01-07 Thread Vladimir Alexiev
I think org-mode\contrib\scripts\ditaa.jar should be upgraded to the newest version from http://sourceforge.net/projects/ditaa/ which is 0.9 of 2009-11-24. I've been running with it for a month, no problems. ___ Emacs-orgmode mailing list Please use `Re

[Orgmode] Re: inline images

2011-01-07 Thread Vladimir Alexiev
eimp.el uses an external program (mogrify) to actually modify the image. That's not what is wanted. The image should remain the same, just be displayed in emacs in a smaller size ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to

[Orgmode] [PATCH] org-babel-confirm-evaluate when org-confirm-babel-evaluate is a function

2010-12-20 Thread Vladimir Alexiev
I tried following http://orgmode.org/worg/org-contribute.php to the letter. But this is my first patch (and first time using git & magit), so please kindly give me feedback if something is not right. * doc/org.texi: org-confirm-babel-evaluate: add example for using a function * lisp/ob.el (org-

[Orgmode] Re: Huge performance problems to open some Org files

2010-12-20 Thread Vladimir Alexiev
Sébastien Vauban writes: > Believe me or not, but C-g has not effect during those 7 seconds. It simply > does not stop anything Sounds like emacs is waiting inside some blocking call, and waits until it times out. Likely a network call. Do you have any tramp/efs/angeftp stuff going on? _

[Orgmode] orgmode wiki sync

2010-11-28 Thread Vladimir Alexiev
I have a dream. A dream where all people, emacs orgmode devotees or not, can work together on a wiki. :-) I mean this: in an office environment, the majority of people would not be emacs users. So despite the excellent collaboration workflow based on sharing org files through git, the average off

[Orgmode] Re: From state table to state diagram

2010-11-23 Thread Vladimir Alexiev
You first need to decide on a syntax: how many cols in the table and what do they mean. A Confluence plugin does that. You may want to check it out for inspiration and nice examples: https://studio.plugins.atlassian.com/wiki/display/GVIZ/Confluence+Graphviz+Plugin https://studio.plugins.atlassi