Re: processing of babel blocks and select_tags

2022-02-18 Thread Jeremie Juste
Hello Eric, On Friday, 18 Feb 2022 at 11:57, Eric S Fraga wrote: > TL;DR: can I have org completely ignore src blocks in non-selected > sections during export without using COMMENT? If I change eval: no_export to :eval no, Only the =Description= section is evaluated and exported. That said, I

Is It Possible To Target ID And Classes With Org Mode Exports?

2022-02-18 Thread Samuel Banya
Hey there, I'm curious, is it possible to specify a 'ID' or 'Class' attribute for a specific header, or link that you create in Org Mode? Asking since I'm in the process of modifying a CSS stylesheet for a site, but would want more granular control to possible make containers with ID or

Re: Question Regarding Creating HTML Style Buttons With Org Mode

2022-02-18 Thread Samuel Banya
To clarify, did you evaluate that code block on the org mode docs itself? I ask because if I try to evaluate it, aka 'C-c C-c' on the '#begin_src' block, nothing happens. And after I export the Org Doc to HTML, it still gives me that same error as before. On Fri, Feb 18, 2022, at 3:51 PM,

Re: Unable to get current or via use-package

2022-02-18 Thread João Pedro de Amorim Paula
On 18 February 2022 18:32, João Pedro de Amorim Paula wrote: > I ended up not posting the link[1] I referred to in the first e-mail, Welp, seems like I did it again... But no harm done this time, all the necessary code was attached anyway :P Forgetfully, -- João Pedro de Amorim Paula IT

Re: Unable to get current or via use-package

2022-02-18 Thread João Pedro de Amorim Paula
On 17 February 2022 16:00, "Loris Bennett" wrote: > What exactly would you like me to test? I ended up not posting the link[1] I referred to in the first e-mail, but since then I got back home and tested the functions provided there seem to be doing what I expected. With it, I can force Emacs

Re: ob-powershell fixes, looking for original author

2022-02-18 Thread Monstara
Thanks a bunch, contacted him right away! Mois On Fri, Feb 18, 2022 at 4:13 PM John Kitchin wrote: > I guess the author is here: > https://list.orgmode.org/186354732.20201118123...@essential-it.be/ > > > John > > --- > Professor John Kitchin (he/him/his) >

Re: Question Regarding Creating HTML Style Buttons With Org Mode

2022-02-18 Thread Juan Manuel Macías
Juan Manuel Macías writes: > If you evaluate the `org-ling-set-parameters' expression that I gave > you, you should get when exporting to html: > > > formaction="http://www.sambanya.com/artgallery.html;>Art Gallery Page > Link > P.S.: I forgot to tell you that if you want to visit the link

Re: Question Regarding Creating HTML Style Buttons With Org Mode

2022-02-18 Thread Juan Manuel Macías
Samuel Banya writes: > I tried to use this idea, but I'm not sure how to set the 'target' in > your example: > [[button:some target][This is a button]] > > For example, I tried this: > [[button:http://www.sambanya.com/artgallery.html][Art Gallery Page > Link]] > > But received this error: >

Re: Question Regarding Creating HTML Style Buttons With Org Mode

2022-02-18 Thread Samuel Banya
Also, how could you possible add an 'id' or 'class' attribute to an existing lOrg mode style hyperink? I ask because I like your approach to just modify the stylesheet, but am unaware of how to actually utilize HTML's concept or 'id' or 'class' in an Org doc itself when using basic Org mode

Re: Question Regarding Creating HTML Style Buttons With Org Mode

2022-02-18 Thread Samuel Banya
I tried to use this idea, but I'm not sure how to set the 'target' in your example: [[button:some target][This is a button]] For example, I tried this: [[button:http://www.sambanya.com/artgallery.html][Art Gallery Page Link]] But received this error: user-error: Unable to resolve link:

Re: [PATCH] c-csl : accept relative CSL filenames

2022-02-18 Thread Kaushal Modi
> It is already in the main branch, AFAIU. I assume you mean it should be > back-ported to bugfix branch. If that's the case, I don't know. This is > a new feature, and not a critical one: there are workarounds, as you > found out. Yes, sorry, I meant the bugfix branch. > This should be

Re: LaTeX letters in Org

2022-02-18 Thread Alan E. Davis
I had a set of three capture templates for memos, a number of years ago. It was very convenient. A letter is usually pretty much the same thing. I don't even know whether I have the original templates around anymore; it should be pretty easy to implement. IMHO, easier than dealing with all of

Re: [PATCH] c-csl : accept relative CSL filenames

2022-02-18 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > Can this commit[1] be merged into the main branch. It is already in the main branch, AFAIU. I assume you mean it should be back-ported to bugfix branch. If that's the case, I don't know. This is a new feature, and not a critical one: there are workarounds, as you

Re: LaTeX letters in Org

2022-02-18 Thread Michael Eliachevitch
Hi Arne, Alternatively add a capture-template that creates a letter. Then M-x org-capture L (or such) would create a new letter prefilled with everything you typically need. Thanks, weird I didn't think of it. Capture templates are awesome and powerful. Mostly I use them for some tasks,

Re: processing of babel blocks and select_tags

2022-02-18 Thread Eric S Fraga
Hi John, On Friday, 18 Feb 2022 at 10:33, John Kitchin wrote: > I guess that is just expanding the src blocks, not actually running > them. I couldn't find where that happens though, it is early in the > export process I think. There are two types of lines that appear often in *Messages*: :

Re: processing of babel blocks and select_tags

2022-02-18 Thread John Kitchin
I guess that is just expanding the src blocks, not actually running them. I couldn't find where that happens though, it is early in the export process I think. Maybe you can just use a preprocessing hook to export to org, which should only include the selected sections, then export that to what

Re: LaTeX letters in Org

2022-02-18 Thread Dr. Arne Babenhauserheide
Michael Eliachevitch writes: > For this kind of short writing I'm always wondering whether doing it > in org-mode is really worth it. I see a trade-of between the > convenience of org-markup (e.g. emphasis markers, itemize lists, > links, …), and the inconvience of adding literal latex to

Re: [PATCH] c-csl : accept relative CSL filenames

2022-02-18 Thread Kaushal Modi
Hello Nicolas, > Since you are probably busy, I implemented this on your behalf. The new > behaviour is in main branch. Thank you. > Can this commit[1] be merged into the main branch. Locally on my machine, I use org built from main and something like this was working fine: #+cite_export: csl

Re: ob-powershell fixes, looking for original author

2022-02-18 Thread John Kitchin
I guess the author is here: https://list.orgmode.org/186354732.20201118123...@essential-it.be/ John --- Professor John Kitchin (he/him/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803

[patch] give tables their own default placement in LaTeX export

2022-02-18 Thread Eric S Fraga
Hello, attached is a small patch to give tables their own default placement in LaTeX export. Up to now, tables have used the default placement for figures but figures and tables are very different creatures so it does not make sense to have just one default for both. This patch unfortunately

Re: Pandoc and nested emhases

2022-02-18 Thread Juan Manuel Macías
Hi Maxim, Max Nikulin writes: > So formally this feature of pandoc is a bug (due to different kind of > parser). It is the reason why a corpus of tests should exist in a > format that can be easily imported from various programming languages. Your conclusions seem logical to me. It may sound a

Re: ob-powershell fixes, looking for original author

2022-02-18 Thread Monstara
I already made a pull request. The repo has not been touched for about five years, though. On Fri, Feb 18, 2022 at 1:56 PM John Kitchin wrote: > Try posting an issue on the original repo? > > On Fri, Feb 18, 2022 at 2:02 AM Monstara wrote: > >> Hello, I found an incomplete implementation >>

Re: LaTeX letters in Org

2022-02-18 Thread Michael Eliachevitch
Hi Bill, On 2022-01-29 at 12:39 -05, William Denton wrote: I wrote up how to use Org to write letters with the LaTeX letter class. Here's the link in case anyone's interested: https://www.miskatonic.org/2022/01/28/latex-letters-in-org/ Cool, I'll try to remember this for when I write my

Re: Pandoc and nested emhases

2022-02-18 Thread Max Nikulin
On 18/02/2022 07:47, Juan Manuel Macías wrote: Otherwise, if you export to LaTeX with pandoc (v. 2.14.2), the result is (to my surprise) correct: str="/lorem /ipsum/ dolor/" pandoc -f org -t latex <<< $str \emph{lorem \emph{ipsum} dolor} 2.5-3build2 from Ubuntu-20.04 works in the same way.

processing of babel blocks and select_tags

2022-02-18 Thread Eric S Fraga
Hello all, TL;DR: can I have org completely ignore src blocks in non-selected sections during export without using COMMENT? Longer version: I am in the process of writing a book. I prefer to have all the content in one file and use SELECT_TAGS to limit the export (for formatting) to the current

Re: ob-powershell fixes, looking for original author

2022-02-18 Thread John Kitchin
Try posting an issue on the original repo? On Fri, Feb 18, 2022 at 2:02 AM Monstara wrote: > Hello, I found an incomplete implementation > of ob-powershell and fixed it > . > However, the original did not