Hi!

I use orgmode to read and study directly but I am not able to set up LaTeX preview. So I need something "direct", but I can't renounce to exporting it.


So that you have an idea of what I'm dealing with, I am able to set up LaTeX exporting on my home computer, but I can't make it work at my work computer. LaTeX preview is almost a dream to me.

Best regards

El 18/09/2021 a las 19:32, Timothy escribió:

Hi Ypo,

If you’re thinking of maths, why not just write inline LaTeX, e.g. \(\bar{x}\) ?

All the best,
Timothy

From: Ypo
Subject: Re: Overlining troubles
To: emacs-orgmode@gnu.org
Date: Sun, 19 Sep 2021 01:14:52 +0800

Thanks, Timothy and Max. I'll try to explain myself better.

Overlining is quite useful in math expressions, for example I needed it to represent the arithmetic mean.

I need to be able to overline text and to export it overlined. The only dirty solution I found was to change the =verbatim= mark, but now I can't use verbatim on orgmode, and the overlined text isn't exported, so unsustainable "solution".

The perfect solution? To be able to add a new marker to overline text that can be exported overlined.

Best regards

:-)

El 18/09/2021 a las 18:00, emacs-orgmode-request@gnu.org escribió:
Message: 7 Date: Sat, 18 Sep 2021 20:48:36 +0800 From: Timothy <tecosaur@gmail.com> To: Ypo <ypuntot@gmail.com> Cc: emacs-orgmode@gnu.org Subject: Re: Overlining troubles Message-ID: <87ee9mdp5i.fsf@gmail.com> Content-Type: text/plain; charset="utf-8" Hi Ypo, You’ll likely want to override `org-html-verbatim' and `org-latex-verbatim' to produce overlines in exports. All the best, Timothy -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.gnu.org/archive/html/emacs-orgmode/attachments/20210918/78086bf1/attachment.html> ------------------------------ Message: 8 Date: Sat, 18 Sep 2021 19:50:31 +0700 From: Max Nikulin <manikulin@gmail.com> To: emacs-orgmode@gnu.org Subject: Re: Overlining troubles Message-ID: <si4naq$47d$1@ciao.gmane.io> Content-Type: text/plain; charset=utf-8; format=flowed On 18/09/2021 15:14, Ypo wrote:
I have tried many times in different ways to "overline" text. I am able 
to overline it on orgmode (I sacrificed the =verbatim= marker to achieve 
it), but it doesn't export overlined (nor HTML, nor LaTeX).

I tried in the past to add it to "Org Emphasis Alist" but it didn't work.

Is it possible to add overlining and to export it?
Just to avoid confusion, `org-emphasis-alist' is not designed to change 
or to *add* new markers:

https://orgmode.org/list/87blatodir.fsf@nicolasgoaziou.fr/ (Nicolas 
Goaziou, Mon, 05 Apr 2021 01:06:52 +0200, Re: Using backticks for the 
inline code delimeter?)

If you wish to export =verbatim= text as text with line above, perhaps, 
you can define custom "verbatim" export filter
"info (org) Advanced Export Configuration"
https://orgmode.org/manual/Advanced-Export-Configuration.html

A macro expanded with markup for particular backend (e.g. @@latex: 
...@@) may be a better option
"info (org) Macro Replacement"
https://orgmode.org/manual/Macro-Replacement.html

Some people experimenting with custom link types with associated 
handlers for particular export backends:
https://orgmode.org/list/87mtq9zatr.fsf@posteo.net/ (Juan Manuel Macías, 
Mon, 26 Jul 2021 09:25:04 +0000, Multilingual quotes inside paragraphs).

Unfortunately you described what you have tried in too general words to 
suggest something more specific.