Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Thu, Sep 21, 2023 at 11:19 PM Juan Manuel Macías wrote: > Zenny writes: > > > I also tried with: > > > > (setq org-latex-pdf-process > > (if (executable-find "latexmk") > > '("latexmk -interaction nonstopmode -output-directory %o > > %f") > > "bibte

Re: Bug with "BEAMER_OPT: shrink" and links

2023-09-22 Thread Fraga, Eric
Hi Guillaume, On Thursday, 21 Sep 2023 at 19:41, Guillaume MULLER wrote: > Here is a small test.org file that uses shrink to reduce the size of the > slides: [...] > If you run 'org-beamer-export-to-pdf' on this file, you'll get a PDF > where the clickable area for the link is most of the time

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Juan Manuel Macías
Zenny writes: > Exactly done as you advised, but no pdf is produced even after waiting > for ~10minutes (attached screenshot) Let's try the following: 1. Export your document to a 'your-document.tex' file: C-c C-e l l 2. Open a terminal in your directory and run: latexmk -f -pdf -lualatex -int

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Fri, Sep 22, 2023 at 10:00 AM Juan Manuel Macías wrote: > Zenny writes: > > > Exactly done as you advised, but no pdf is produced even after waiting > > for ~10minutes (attached screenshot) > > Let's try the following: > > 1. Export your document to a 'your-document.tex' file: C-c C-e l l > >

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Fri, Sep 22, 2023 at 10:07 AM Zenny wrote: > > On Fri, Sep 22, 2023 at 10:00 AM Juan Manuel Macías < > maciasch...@posteo.net> wrote: > >> Zenny writes: >> >> > Exactly done as you advised, but no pdf is produced even after waiting >> > for ~10minutes (attached screenshot) >> >> Let's try the

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Juan Manuel Macías
Zenny writes: > Thanks, this was extremely helpful. The pdf is produced, but the > Devanagari glyphs were not respected. See screenshot. Could you please create this MWE, and execute the same process? #+LaTeX_Header: \usepackage[english]{babel} #+LaTeX_Header: \usepackage{fontspec} #+LaTeX_Heade

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Fri, Sep 22, 2023 at 10:18 AM Juan Manuel Macías wrote: > Zenny writes: > > > Thanks, this was extremely helpful. The pdf is produced, but the > > Devanagari glyphs were not respected. See screenshot. > > Could you please create this MWE, and execute the same process? > > #+LaTeX_Header: \usep

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Juan Manuel Macías
Zenny writes: > Also the Bengali letters were omitted with: Sorry, this is the correct MWE: #+LaTeX_Header: \usepackage[english]{babel} #+LaTeX_Header: \usepackage{fontspec} #+LaTeX_Header: \newfontscript{Devanagari}{deva} #+LaTeX_Header: \babelprovide[onchar=ids fonts]{sanskrit-devanagari}

Re: How to hide square brackets around [[url][links]]?

2023-09-22 Thread Ihor Radchenko
William Denton writes: > Sometimes when searching with Swiper, the display of (some) links is changed > and > instead of seeing the anchor text formatted as a link I see the full raw > [[URL][anchor text]]. > > How can I make this go back to showing just the anchor text? I've tried > togglin

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Fri, Sep 22, 2023 at 10:41 AM Juan Manuel Macías wrote: > Zenny writes: > > > Also the Bengali letters were omitted with: > > Sorry, this is the correct MWE: > > #+LaTeX_Header: \usepackage[english]{babel} > #+LaTeX_Header: \usepackage{fontspec} > #+LaTeX_Header: \newfontscript{Devanagari}

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Fri, Sep 22, 2023 at 10:49 AM Zenny wrote: > On Fri, Sep 22, 2023 at 10:41 AM Juan Manuel Macías < > maciasch...@posteo.net> wrote: > >> Zenny writes: >> >> > Also the Bengali letters were omitted with: >> >> Sorry, this is the correct MWE: >> >> #+LaTeX_Header: \usepackage[english]{babel}

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Juan Manuel Macías
Zenny writes: > > > > > With this both languages (scripts) were rendered) but both renderings > has no correct glyphs (see screenshots) Could you please copy the text of your example here, so I can compile it?

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Fri, Sep 22, 2023 at 10:54 AM Juan Manuel Macías wrote: > Zenny writes: > > > > > > > > > > > With this both languages (scripts) were rendered) but both renderings > > has no correct glyphs (see screenshots) > > Could you please copy the text of your example here, so I can compi

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Juan Manuel Macías
Zenny writes: > Here it comes: > > | Original | Anglicized | Switch | > |--++| > | सत्य | Satya | Sathya | > | सरस्वती | Saraswati | Saraswathy | > | गणपति | Ganapati | Ganapathy | > | गोषाल | goShal | Ghoshal| > | गोष्ठ

Re: Subscript with parenthesis

2023-09-22 Thread Ihor Radchenko
"Tom Alexander" writes: > Some additional things I'm noticing: > > - when using parenthesis, :use-brackets-p is nil, so they're not equivalent > to curly braces. `org-element-subscript-parser' uses `org-match-substring-regexp', which indeed allows foo_(...). This is not documented in org-syntax

Re: Consecutive plain list items of different types

2023-09-22 Thread Ihor Radchenko
"Tom Alexander" writes: > The org-mode documentation[1] states for plain lists that: >> List types are mutually exclusive at the same level of indentation, if both >> types are present consecutively then they parse as separate lists. > > first a minor nit-pick that "both" is probably not the cor

Re: [PATCH] Add backslash to list of POST characters for text markup

2023-09-22 Thread Ihor Radchenko
"Tom Alexander" writes: > Backslash appears to be supported. To test I used the following test document: > ``` > foo ~bar~\& baz > ``` Thanks! You are right. Applied, onto master, with minor amendments to the commit message. https://git.sr.ht/~bzg/worg/commit/ba6cda89 -- Ihor Radchenko // yant

Re: [FR] Make notion of "modification time" configurable during publishing

2023-09-22 Thread Ihor Radchenko
Suhail Singh writes: >> The new suggested feature is (optionally) using last git commit time >> instead of file modification time. > > The requested feature is for the notion of "modification time" to be > configurable by the user. Even in the specific situation quoted above, > different user

Re: [PATCH] ob-maxima.el, etc. (was Re: [MAINTENANCE] On how much we can expose internals into defcustom)

2023-09-22 Thread Ihor Radchenko
Leo Butler writes: >> What is the purpose of this `unwind-protect'? >> In its current form, it does nothing because no UNWINDFORMS are >> provided. > > I copied the forms from tests I had written for ob-octave, without > thinking about why those tests were wrapped in an `unwind-protect' > form. T

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Juan Manuel Macías
Zenny writes: > It still shows the problem with > glyphs: > > Should look like in the attached > screenshots, in emacs orgmode > and rendered to pdf (from org to > docx using pandoc) Add this line to the bottom: #+LaTeX_Header:\defaultfontfeatures{Renderer=HarfBuzz}

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Fri, Sep 22, 2023 at 12:02 PM Juan Manuel Macías wrote: > Zenny writes: > > > It still shows the problem with > > glyphs: > > > > Should look like in the attached > > screenshots, in emacs orgmode > > and rendered to pdf (from org to > > docx using pandoc) > > Add this line to the bottom: > >

[BUG] [PATCH] Add yank-media and DND handler [9.6.7 (9.6.7-g6eb773 @ /home/viz/lib/emacs/straight/build/org/)]

2023-09-22 Thread Visuwesh
Attached patch adds yank-media and DND handler to attach files in the clipboard and dropped onto an Emacs frame respectively. The yank-media handler for images is well tested, I use it frequently however, rest of the stuff aren't really tested since I don't use a GUI file manager. I tested enough

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Juan Manuel Macías
Zenny writes: > Appended the above line, but the rendering became much worse, see > Ganapati and BiSht lines: Well, try this: 1. remove \newfontscript{Devanagari}{deva} 2. modify the \babelprovide for Bengali like this: \babelprovide[onchar=ids fonts,import,script=Bengali]{sanskrit-bengali} (

Re: [patch] ox-latex.el: Add `LATEX_PRE_HEADER' keyword

2023-09-22 Thread Max Nikulin
On 17/09/2023 01:00, Juan Manuel Macías wrote: [1] A longer example to export to a pdf that has pdf-x compliance, with the pdfx package: \providecommand{\pdfxopts}{x-1a} \begin{filecontents*}{\jobname.xmpdata} \Title{Some Title} \Author{Author} \Language{es-ES} \Keywords{keywords}

Re: [BUG] [PATCH] Add yank-media and DND handler [9.6.7 (9.6.7-g6eb773 @ /home/viz/lib/emacs/straight/build/org/)]

2023-09-22 Thread Max Nikulin
On 22/09/2023 21:52, Visuwesh wrote: Attached patch adds yank-media and DND handler to attach files in the clipboard and dropped onto an Emacs frame respectively. Thank you for your work in this area. I am not an active DND user, I am just curious what cases are supported: - X11 - Wayland - S

Re: [BUG] [PATCH] Add yank-media and DND handler [9.6.7 (9.6.7-g6eb773 @ /home/viz/lib/emacs/straight/build/org/)]

2023-09-22 Thread Visuwesh
[வெள்ளி செப்டம்பர் 22, 2023] Max Nikulin wrote: > On 22/09/2023 21:52, Visuwesh wrote: >> Attached patch adds yank-media and DND handler to attach files in the >> clipboard and dropped onto an Emacs frame respectively. > > Thank you for your work in this area. > > I am not an active DND user, I am

Re: Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-22 Thread Zenny
On Fri, Sep 22, 2023 at 5:13 PM Juan Manuel Macías wrote: > Zenny writes: > > > Appended the above line, but the rendering became much worse, see > > Ganapati and BiSht lines: > > Well, try this: > > 1. remove \newfontscript{Devanagari}{deva} > > 2. modify the \babelprovide for Bengali like this:

[BUG] org-element-context doesn't recognize link inside property drawer [9.6.6 (release_9.6.6 @ /usr/local/share/emacs/29.1/lisp/org/)]

2023-09-22 Thread Gustavo Barros
Hi All, When a link is placed as a property value, `org-element-context' does not recognize it as a link. (Setting `eval-expression-print-level' and `eval-expression-print-length' to nil). Consider the following document: #+begin_src org ,* Heading :PROPERTIES: :LINK: [[https://orgmode.org/][Org

[BUG] Point position with org-open-at-point on a heading [9.6.6 (release_9.6.6 @ /usr/local/share/emacs/29.1/lisp/org/)]

2023-09-22 Thread Gustavo Barros
Hi All, When point is on a heading, `org-open-at-point' offers to open links in the subtree. This is a very useful feature, and I use it a lot. However, in this case, `org-open-at-point' not only opens the link, but also moves point to said link. Perhaps there's some reason why point is not preser

Re: [BUG] org-element-context doesn't recognize link inside property drawer [9.6.6 (release_9.6.6 @ /usr/local/share/emacs/29.1/lisp/org/)]

2023-09-22 Thread Gustavo Barros
On Fri, 22 Sept 2023 at 15:11, Gustavo Barros wrote: Sorry, some poor copy-paste from my part on the original report. The following... > (Setting `eval-expression-print-level' and > `eval-expression-print-length' to nil). ... was meant to come after: > Placing point on the link and calling `(o

Re: [FR] Make notion of "modification time" configurable during publishing

2023-09-22 Thread Suhail Singh
Ihor Radchenko writes: > I am a bit confused. What do you mean by "git author date" and "git > commit date"? In the output of `git log --pretty=fuller`, there is AuthorDate which is distinct from CommitDate. In case unfamiliar, an elaboration on the distinction:

Re: Exporting elisp: and shell: links

2023-09-22 Thread Rudolf Adamkovič
Ihor Radchenko writes: > Another idea: use code as description displayed in the tooltip (in html). > Copy-on-clip also makes sense. > > Yet another idea: export code inside a footnote. This will work across > all the backends. Yet another, another idea: export the description as a Lisp comment,

Case insensitivity of simple [[links]]

2023-09-22 Thread Rudolf Adamkovič
Howdy! A while ago, I asked about case insensitivity of the syntactically simplest "[[links]]" in Org. I am interested in using these links because they are the most practical with the "literal" view. In 'emacs -Q' Org 9.6.9, "[[links]]" are case _sensitive_ when looking for headings. This was