* Re: Overlining troubles [not found] <mailman.33.1631980810.21752.emacs-orgmode@gnu.org> @ 2021-09-18 17:14 ` Ypo 2021-09-18 17:32 ` Timothy 0 siblings, 1 reply; 7+ messages in thread From: Ypo @ 2021-09-18 17:14 UTC (permalink / raw) To: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 2945 bytes --] 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. > > [-- Attachment #2: Type: text/html, Size: 5077 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Overlining troubles 2021-09-18 17:14 ` Overlining troubles Ypo @ 2021-09-18 17:32 ` Timothy 2021-09-18 17:51 ` Ypo 0 siblings, 1 reply; 7+ messages in thread From: Timothy @ 2021-09-18 17:32 UTC (permalink / raw) To: Ypo; +Cc: emacs-orgmode [-- Attachment #1.1: Type: text/plain, Size: 123 bytes --] Hi Ypo, If you’re thinking of maths, why not just write inline LaTeX, e.g. `\(\bar{x}\)' ? All the best, Timothy [-- Attachment #1.2: Type: text/html, Size: 7912 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Overlining troubles 2021-09-18 17:32 ` Timothy @ 2021-09-18 17:51 ` Ypo 2021-09-19 12:05 ` Max Nikulin 0 siblings, 1 reply; 7+ messages in thread From: Ypo @ 2021-09-18 17:51 UTC (permalink / raw) To: Timothy; +Cc: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 3793 bytes --] 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 <mailto:"Ypo" <ypuntot@gmail.com>> > *Subject*: Re: Overlining troubles > *To*: emacs-orgmode@gnu.org <mailto:"emacs-orgmode@gnu.org" > <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. >> >> [-- Attachment #2: Type: text/html, Size: 9516 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Overlining troubles 2021-09-18 17:51 ` Ypo @ 2021-09-19 12:05 ` Max Nikulin 0 siblings, 0 replies; 7+ messages in thread From: Max Nikulin @ 2021-09-19 12:05 UTC (permalink / raw) To: emacs-orgmode On 19/09/2021 00:51, Ypo wrote: > > 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. For some letters accented characters exist: "ā". Inline LaTeX preview just works for me (Linux), so I can suggest nothing besides to check "*Org Preview LaTeX Output*" buffer for errors. > El 18/09/2021 a las 19:32, Timothy escribió: >> >> If you’re thinking of maths, why not just write inline LaTeX, e.g. >> \(\bar{x}\) ? I think, you should follow this recomendations. Typography rules for math expressions substantially differ from ones for prose (italic font for variables, LaTeX cares concerning proper spaces, etc.). When I was writing docs containing math, I had PDF (earlier DVI or PS) viewer window open along with LaTeX sources, so I could read formatted text. Anyway that time math in WYSIWYG was rather ugly (maybe besides texmacs), required heavy mouse work, and such editors had various problems with more or less complex documents that were easier for me to solve in LaTeX. That is why I never had expectation that source document should look like formatted one. Editing of sufficiently complex equations in LaTeX is not always convenient though. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Overlining troubles @ 2021-09-18 8:14 Ypo 2021-09-18 12:48 ` Timothy 2021-09-18 12:50 ` Max Nikulin 0 siblings, 2 replies; 7+ messages in thread From: Ypo @ 2021-09-18 8:14 UTC (permalink / raw) To: Org-mode [-- Attachment #1: Type: text/plain, Size: 355 bytes --] Hi 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? Best regards [-- Attachment #2: Type: text/html, Size: 905 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Overlining troubles 2021-09-18 8:14 Ypo @ 2021-09-18 12:48 ` Timothy 2021-09-18 12:50 ` Max Nikulin 1 sibling, 0 replies; 7+ messages in thread From: Timothy @ 2021-09-18 12:48 UTC (permalink / raw) To: Ypo; +Cc: emacs-orgmode [-- Attachment #1.1: Type: text/plain, Size: 150 bytes --] Hi Ypo, You’ll likely want to override `org-html-verbatim' and `org-latex-verbatim' to produce overlines in exports. All the best, Timothy [-- Attachment #1.2: Type: text/html, Size: 3781 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Overlining troubles 2021-09-18 8:14 Ypo 2021-09-18 12:48 ` Timothy @ 2021-09-18 12:50 ` Max Nikulin 1 sibling, 0 replies; 7+ messages in thread From: Max Nikulin @ 2021-09-18 12:50 UTC (permalink / raw) To: emacs-orgmode 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. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-09-19 12:06 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <mailman.33.1631980810.21752.emacs-orgmode@gnu.org> 2021-09-18 17:14 ` Overlining troubles Ypo 2021-09-18 17:32 ` Timothy 2021-09-18 17:51 ` Ypo 2021-09-19 12:05 ` Max Nikulin 2021-09-18 8:14 Ypo 2021-09-18 12:48 ` Timothy 2021-09-18 12:50 ` Max Nikulin
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).