* Subscript entity in the name of files or some advise for alternatives
@ 2023-07-24 19:12 Ypo
2023-07-24 20:33 ` Jens Schmidt
2023-07-26 12:22 ` Ihor Radchenko
0 siblings, 2 replies; 7+ messages in thread
From: Ypo @ 2023-07-24 19:12 UTC (permalink / raw)
To: Org-mode
[-- Attachment #1: Type: text/plain, Size: 685 bytes --]
Hi
I tried to don't get the subscripts (_) affected by org-pretty-entities.
I wanted it, because I usually use (_) to divide words when naming
my_files, and that looks ugly in Orgmode.
I have tried redefining the constant org-match-substring-regexp, but I
think that broke several other things 😅
Is it possible to use org-pretty-entities without altering subscripts (_)?
Should I avoid using (_) in the naming of files?
Another option could be to use symbols instead of LaTeX syntax: writing
Π instead of /Pi. This solution could be more universal, since external
"org" interpreters like orgzly could show Π while maybe they will never
show \Pi appropriately.
Bests
[-- Attachment #2: Type: text/html, Size: 1532 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Subscript entity in the name of files or some advise for alternatives
2023-07-24 19:12 Subscript entity in the name of files or some advise for alternatives Ypo
@ 2023-07-24 20:33 ` Jens Schmidt
2023-07-24 23:08 ` Ypo
2023-07-26 12:22 ` Ihor Radchenko
1 sibling, 1 reply; 7+ messages in thread
From: Jens Schmidt @ 2023-07-24 20:33 UTC (permalink / raw)
To: Ypo, Org-mode
On 2023-07-24 21:12, Ypo wrote:
> I wanted it, because I usually use (_) to divide words when naming
> my_files, and that looks ugly in Orgmode.
I had that problem myself recently. Do `org-use-sub-superscripts' and
its companion `org-export-with-sub-superscripts' help in your case?
See also <info:org#Subscripts and Superscripts>.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Subscript entity in the name of files or some advise for alternatives
2023-07-24 20:33 ` Jens Schmidt
@ 2023-07-24 23:08 ` Ypo
2023-07-25 19:44 ` Jens Schmidt
0 siblings, 1 reply; 7+ messages in thread
From: Ypo @ 2023-07-24 23:08 UTC (permalink / raw)
To: Jens Schmidt, Org-mode
[-- Attachment #1: Type: text/plain, Size: 509 bytes --]
Thanks, Jens
Why did you try that variable instead of
"org-pretty-entities-include-sub-superscripts"?
El 24/07/2023 a las 22:33, Jens Schmidt escribió:
> On 2023-07-24 21:12, Ypo wrote:
>
>> I wanted it, because I usually use (_) to divide words when naming
>> my_files, and that looks ugly in Orgmode.
>
> I had that problem myself recently. Do `org-use-sub-superscripts' and
> its companion `org-export-with-sub-superscripts' help in your case?
>
> See also <info:org#Subscripts and Superscripts>.
[-- Attachment #2: Type: text/html, Size: 1160 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Subscript entity in the name of files or some advise for alternatives
2023-07-24 23:08 ` Ypo
@ 2023-07-25 19:44 ` Jens Schmidt
0 siblings, 0 replies; 7+ messages in thread
From: Jens Schmidt @ 2023-07-25 19:44 UTC (permalink / raw)
To: Ypo, Org-mode
On 2023-07-25 01:08, Ypo wrote:
> Why did you try that variable instead of
> "org-pretty-entities-include-sub-superscripts"?
To be honest: Because I haven't read your mail properly and because I
didn't know about "pretty entities". I just noticed the subscripting
done on such_file_names in Org HTML exports and searching from that
direction found variables `org-use-sub-superscripts' and
`org-export-with-sub-superscripts'.
After a second look, though, it seems that `org-use-sub-superscripts' is
in fact a bit more general than
`org-pretty-entities-include-sub-superscripts'. But I don't get the
logic in that area completely, so others may comment here as well ...
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Subscript entity in the name of files or some advise for alternatives
2023-07-24 19:12 Subscript entity in the name of files or some advise for alternatives Ypo
2023-07-24 20:33 ` Jens Schmidt
@ 2023-07-26 12:22 ` Ihor Radchenko
2023-07-26 19:30 ` Ypo
1 sibling, 1 reply; 7+ messages in thread
From: Ihor Radchenko @ 2023-07-26 12:22 UTC (permalink / raw)
To: Ypo; +Cc: Org-mode
Ypo <ypuntot@gmail.com> writes:
> I tried to don't get the subscripts (_) affected by org-pretty-entities.
>
> I wanted it, because I usually use (_) to divide words when naming
> my_files, and that looks ugly in Orgmode.
May you please provide an illustration with example Org file, what you
see, and what you want to achieve?
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Subscript entity in the name of files or some advise for alternatives
2023-07-26 12:22 ` Ihor Radchenko
@ 2023-07-26 19:30 ` Ypo
2023-07-28 10:39 ` Ihor Radchenko
0 siblings, 1 reply; 7+ messages in thread
From: Ypo @ 2023-07-26 19:30 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: Org-mode
[-- Attachment #1: Type: text/plain, Size: 693 bytes --]
Hi Ihor!
I wanted to avoid this: "Campayo_2009_BLOQUE1Leyendo3FotosRenglon-2.png"
to look like this:
https://i.ibb.co/CJm99pG/Captura.png
I have solved it by setting "Org Pretty Entities Include Sub
Superscripts" to nil.
Side effect: I lost pretty superscripts, but it's not too serious ^^
El 26/07/2023 a las 14:22, Ihor Radchenko escribió:
> Ypo<ypuntot@gmail.com> writes:
>
>> I tried to don't get the subscripts (_) affected by org-pretty-entities.
>>
>> I wanted it, because I usually use (_) to divide words when naming
>> my_files, and that looks ugly in Orgmode.
> May you please provide an illustration with example Org file, what you
> see, and what you want to achieve?
>
[-- Attachment #2: Type: text/html, Size: 1814 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Subscript entity in the name of files or some advise for alternatives
2023-07-26 19:30 ` Ypo
@ 2023-07-28 10:39 ` Ihor Radchenko
0 siblings, 0 replies; 7+ messages in thread
From: Ihor Radchenko @ 2023-07-28 10:39 UTC (permalink / raw)
To: Ypo; +Cc: Org-mode
Ypo <ypuntot@gmail.com> writes:
> I wanted to avoid this: "Campayo_2009_BLOQUE1Leyendo3FotosRenglon-2.png"
>
> to look like this:
>
> https://i.ibb.co/CJm99pG/Captura.png
>
>
> I have solved it by setting "Org Pretty Entities Include Sub
> Superscripts" to nil.
You can set `org-use-sub-superscripts' to '{} as one option.
Or you can wrap file names into verbatim markers.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-07-28 10:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-24 19:12 Subscript entity in the name of files or some advise for alternatives Ypo
2023-07-24 20:33 ` Jens Schmidt
2023-07-24 23:08 ` Ypo
2023-07-25 19:44 ` Jens Schmidt
2023-07-26 12:22 ` Ihor Radchenko
2023-07-26 19:30 ` Ypo
2023-07-28 10:39 ` Ihor Radchenko
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.