worg - out of date item

2023-09-21 Thread Colin Baxter
https://orgmode.org/worg/org-tutorials/org-google-sync.html suggests using the command line program 'googlecl'. That program appears to have been dead for several years, at least according to https://code.google.com/archive/p/googlecl/. Colin Baxter.

Sanskrit/Devanagari fonts not exported to org-pdf output

2023-09-21 Thread Zenny
Hi, I tried to export to pdf with the following: #+LATEX_HEADER: \usepackage{polyglossia} > #+LATEX_HEADER: \usepackage{fontspec} > #+LATEX_COMPILER: xelatex (also tried with lualatex) > #+LATEX_HEADER: \setmainlanguage{english} > #+LATEX_HEADER: \setotherlanguage{sanskrit} > #+LATEX_HEADER:

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

2023-09-21 Thread Juan Manuel Macías
Hi, I would recommend that you use babel, as it is the official package for language support and now has many more options than polyglossia. You can try this preamble (compiles in LuaLaTeX): \documentclass{article} \usepackage[english]{babel} \usepackage{fontspec} \newfontscript{Devanagari}{deva}

Re: [BUG] tikz latex figures don't render properly in the html output. [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)]

2023-09-21 Thread Ihor Radchenko
chris writes: > At some point in the past I've experimented with > https://tikzjax.com/ > So I changed something somewhere in the org-mode config and it just worked, > it > was quite straightforward to do. I however probably don't have notes on how I > did it. > I didn't insist in that directi

Re: worg - out of date item

2023-09-21 Thread Ihor Radchenko
Colin Baxter writes: > https://orgmode.org/worg/org-tutorials/org-google-sync.html suggests > using the command line program 'googlecl'. That program appears to have > been dead for several years, at least according to > https://code.google.com/archive/p/googlecl/. Would you be interested to cre

Re: Fallback fonts in LaTeX export for non latin scripts

2023-09-21 Thread Ihor Radchenko
Juan Manuel Macías writes: > [...] I am very interested in all possible improvements in babel so that > it integrates as best as possible with automatically generated files. > Among them are the possibility of using BCP47 codes or using a language > (at least basically) without the need for a pri

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

2023-09-21 Thread Ihor Radchenko
Leo Butler writes: >>> +(defconst org-babel-header-args:maxima >>> + '((batch . :any) >> >> Why :any? Only two values are allowed here. >> >>> +(graphics-pkg. :any)) >> >> Same. The value is a closed list. > > I have made the change requested. > > However, beyond the do

Re: Exporting elisp: and shell: links

2023-09-21 Thread Ihor Radchenko
Max Nikulin writes: >> As a user, I would expect >> >>[[elisp:(identity "a")]] >> >> to be export-equivalent to >> >>src_elisp[:exports code]{(identity "a")} >> >> across all backends. Makes sense. >>> What is your expectation for links having description? >>> >>> [[elisp:(ident

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

2023-09-21 Thread Zenny
Thanks Juan for prompt response, my replies inline below: On Thu, Sep 21, 2023 at 10:24 AM Juan Manuel Macías wrote: > Hi, > > I would recommend that you use babel, as it is the official package for > language support and now has many more options than polyglossia. Thanks for the pointer and e

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

2023-09-21 Thread Leo Butler
On Thu, Sep 21 2023, Ihor Radchenko wrote: > Leo Butler writes: > +(defconst org-babel-header-args:maxima + '((batch . :any) >>> >>> Why :any? Only two values are allowed here. >>> +(graphics-pkg. :any)) >>> >>> Same. The value is a closed list. >> >> I

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

2023-09-21 Thread Juan Manuel Macías
Hi, Zenny, Zenny writes: > Where does this preamble goes to? Any example? As in your example, using latex_header keywords (replacing the polyglossia code with the babel code): #+LaTeX_Header: \usepackage[english]{babel} #+LaTeX_Header: \usepackage{fontspec} #+LaTeX_Header: \newfontscript{Devana

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

2023-09-21 Thread William Denton
A fix by Ihor a few weeks ago solved a problem ("org-cycle does not unfold some subtrees") but I think there's still a related little bug with searching, perhaps just with Swiper, that I can't replicate but am watching. Sometimes when searching with Swiper, the display of (some) links is change

Bug with "BEAMER_OPT: shrink" and links

2023-09-21 Thread Guillaume MULLER
Hi, Here is a small test.org file that uses shrink to reduce the size of the slides: --- * Shrink + Link broken :PROPERTIES: :BEAMER_OPT: shrink=10 :END: ** Block1 with links + Some text [[https://www.google.com][Link1]] + \small [[https://www.microsoft.com][Link2]] + A very lo

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

2023-09-21 Thread Zenny
Hi Juan, On Thu, Sep 21, 2023 at 5:33 PM Juan Manuel Macías wrote: > Hi, Zenny, > > Zenny writes: > > > Where does this preamble goes to? Any example? > > As in your example, using latex_header keywords (replacing the > polyglossia code with the babel code): > > #+LaTeX_Header: \usepackage[engli

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

2023-09-21 Thread Juan Manuel Macías
Zenny writes: > With above code for LuaLaTeX, I have also appended: > > #+LATEX_COMPILER: lualatex > > even after specifying the LaTeX compiler to lualatex a report that > says, the compiler seems to use pdflatex: > > ! Fatal Package fontspec Error: The fontspec package requires > either X

Re: worg - out of date item

2023-09-21 Thread Colin Baxter
> Ihor Radchenko writes: > Colin Baxter writes: >> https://orgmode.org/worg/org-tutorials/org-google-sync.html >> suggests using the command line program 'googlecl'. That program >> appears to have been dead for several years, at least according >> to https://code.google.

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

2023-09-21 Thread Zenny
On Thu, Sep 21, 2023 at 8:28 PM Juan Manuel Macías wrote: > Zenny writes: > > > With above code for LuaLaTeX, I have also appended: > > > > #+LATEX_COMPILER: lualatex > > > > even after specifying the LaTeX compiler to lualatex a report that > > says, the compiler seems to use pdflatex: > > > >

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

2023-09-21 Thread Juan Manuel Macías
Zenny writes: > Here it comes: > > org-latex-pdf-process is a variable defined in ‘ox-latex.el’. > > Its value is > ("pdflatex -interaction nonstopmode -output-directory %o %f" > "bibtex %b" "pdflatex -shell-escape -interaction nonstopmode - > output-directory %o %f" "pdflatex

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

2023-09-21 Thread Zenny
On Thu, Sep 21, 2023 at 9:32 PM Juan Manuel Macías wrote: > Zenny writes: > > > Here it comes: > > > > org-latex-pdf-process is a variable defined in ‘ox-latex.el’. > > > > Its value is > > ("pdflatex -interaction nonstopmode -output-directory %o %f" > > "bibtex %b" "pdflatex -she

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

2023-09-21 Thread Zenny
On Thu, Sep 21, 2023 at 10:26 PM Zenny wrote: > > On Thu, Sep 21, 2023 at 9:32 PM Juan Manuel Macías > wrote: > >> Zenny writes: >> >> > Here it comes: >> > >> > org-latex-pdf-process is a variable defined in ‘ox-latex.el’. >> > >> > Its value is >> > ("pdflatex -interaction nonstopm

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

2023-09-21 Thread Zenny
On Thu, Sep 21, 2023 at 10:39 PM Zenny wrote: > > On Thu, Sep 21, 2023 at 10:26 PM Zenny wrote: > >> >> On Thu, Sep 21, 2023 at 9:32 PM Juan Manuel Macías < >> maciasch...@posteo.net> wrote: >> >>> Zenny writes: >>> >>> > Here it comes: >>> > >>> > org-latex-pdf-process is a variable defined

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

2023-09-21 Thread Juan Manuel Macías
Zenny writes: > I also tried with: > > (setq org-latex-pdf-process > (if (executable-find "latexmk") > '("latexmk -interaction nonstopmode -output-directory %o > %f") > "bibtex %b" > '("%latex -interaction nonstopmode -output-directory %o %f"

Subscript with parenthesis

2023-09-21 Thread Tom Alexander
The org-mode documentation[1] states that the SCRIPT portion of the subscript/superscript is either an asterisk, the standard set of objects wrapped in balanced curly braces, or an optional sign followed by "Either the empty string, or a string consisting of any number of alphanumeric characters

Re: Subscript with parenthesis

2023-09-21 Thread Tom Alexander
Some additional things I'm noticing: - when using parenthesis, :use-brackets-p is nil, so they're not equivalent to curly braces. - it does not support objects inside the parenthesis, just plain text, which again means they're not equivalent to braces. - it, however, seems to require that the pa

Consecutive plain list items of different types

2023-09-21 Thread Tom Alexander
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 correct word here since there are 3

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

2023-09-21 Thread Tom Alexander
Backslash appears to be supported. To test I used the following test document: ``` foo ~bar~\& baz ``` This happens in a document in worg: https://git.sr.ht/~bzg/worg/tree/ae64e1a54185232d4ebdcab174d8d4319ffd564d/org-release-notes.org#L The ampersand was chosen for the test document since th