* Org Table Header bug?
@ 2023-03-12 12:24 Ypo
2023-03-13 11:37 ` Ihor Radchenko
0 siblings, 1 reply; 5+ messages in thread
From: Ypo @ 2023-03-12 12:24 UTC (permalink / raw)
To: Org-mode
[-- Attachment #1: Type: text/plain, Size: 278 bytes --]
Hi
When enabled org-table-header-line-mode, the LaTeX symbols in the header
are not fontified.
I found it, because I was trying the package "Org Table Sticky Header",
that seems to make the same work, but with this external package there
is not that problem.
Best regards
[-- Attachment #2: Type: text/html, Size: 725 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Org Table Header bug?
2023-03-12 12:24 Org Table Header bug? Ypo
@ 2023-03-13 11:37 ` Ihor Radchenko
2023-03-19 20:19 ` Ypo
0 siblings, 1 reply; 5+ messages in thread
From: Ihor Radchenko @ 2023-03-13 11:37 UTC (permalink / raw)
To: Ypo; +Cc: Org-mode
Ypo <ypuntot@gmail.com> writes:
> When enabled org-table-header-line-mode, the LaTeX symbols in the header
> are not fontified.
It would help if you provided a reproducer.
Note that getting this right is a bit tricky. In particular, when table
columns are shrunk.
The function doing the work is `org-table-row-get-visible-string'.
I am wondering if there is a better way to retrieve visible string than
what is done in the function.
--
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] 5+ messages in thread
* Re: Org Table Header bug?
2023-03-13 11:37 ` Ihor Radchenko
@ 2023-03-19 20:19 ` Ypo
2023-03-22 10:45 ` Ihor Radchenko
0 siblings, 1 reply; 5+ messages in thread
From: Ypo @ 2023-03-19 20:19 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: Org-mode
[-- Attachment #1: Type: text/plain, Size: 1568 bytes --]
Hi Ihor.
The heading and first lines of the table:
|-------------------+---------------+-----------------|
| NPS (~\Oslash_int pulg.) | DN (~\Oslash_int mm) | PP/PE (\Oslash_ext mm) |
|-------------------+---------------+-----------------|
| 1/8" | DN 6 | PE 10 / PP 10 |
| 1/4" | DN 8 | PE 12 / PP 12 |
| 3/8" | DN 10 | PE 16 / PP 16 |
The \Oslash appears as the Unicode character ⊘ normally.
The \Oslash is not viewed as the Unicode character ⊘ with
"org-table-header-line-mode". And the first line of the table appears in
the heading.
https://i.ibb.co/jht3HL0/Captura.png
The \Oslash appears as the Unicode character ⊘, if using the package
org-table-sticky-header <https://melpa.org/#/org-table-sticky-header>
wich has the same objective, I think:
"...this package uses the header line to show the table header when it
is out of sight."
https://i.ibb.co/T8fD3BR/Captura.png
Best regards
El 13/03/2023 a las 12:37, Ihor Radchenko escribió:
> Ypo<ypuntot@gmail.com> writes:
>
>> When enabled org-table-header-line-mode, the LaTeX symbols in the header
>> are not fontified.
> It would help if you provided a reproducer.
>
> Note that getting this right is a bit tricky. In particular, when table
> columns are shrunk.
>
> The function doing the work is `org-table-row-get-visible-string'.
> I am wondering if there is a better way to retrieve visible string than
> what is done in the function.
>
[-- Attachment #2: Type: text/html, Size: 2737 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Org Table Header bug?
2023-03-19 20:19 ` Ypo
@ 2023-03-22 10:45 ` Ihor Radchenko
2024-01-31 14:59 ` Ihor Radchenko
0 siblings, 1 reply; 5+ messages in thread
From: Ihor Radchenko @ 2023-03-22 10:45 UTC (permalink / raw)
To: Ypo; +Cc: Org-mode
Ypo <ypuntot@gmail.com> writes:
> The heading and first lines of the table:
>
> |-------------------+---------------+-----------------|
> | NPS (~\Oslash_int pulg.) | DN (~\Oslash_int mm) | PP/PE (\Oslash_ext mm) |
> |-------------------+---------------+-----------------|
> | 1/8" | DN 6 | PE 10 / PP 10 |
> | 1/4" | DN 8 | PE 12 / PP 12 |
> | 3/8" | DN 10 | PE 16 / PP 16 |
>
>
> The \Oslash appears as the Unicode character ⊘ normally.
>
>
> The \Oslash is not viewed as the Unicode character ⊘ with
> "org-table-header-line-mode". And the first line of the table appears in
> the heading.
>
> https://i.ibb.co/jht3HL0/Captura.png
Confirmed.
--
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] 5+ messages in thread
* Re: Org Table Header bug?
2023-03-22 10:45 ` Ihor Radchenko
@ 2024-01-31 14:59 ` Ihor Radchenko
0 siblings, 0 replies; 5+ messages in thread
From: Ihor Radchenko @ 2024-01-31 14:59 UTC (permalink / raw)
To: Ypo; +Cc: Org-mode
Ihor Radchenko <yantar92@posteo.net> writes:
>> The \Oslash is not viewed as the Unicode character ⊘ with
>> "org-table-header-line-mode". And the first line of the table appears in
>> the heading.
>>
>> https://i.ibb.co/jht3HL0/Captura.png
>
> Confirmed.
Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5f22a1be4
--
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] 5+ messages in thread
end of thread, other threads:[~2024-01-31 14:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-12 12:24 Org Table Header bug? Ypo
2023-03-13 11:37 ` Ihor Radchenko
2023-03-19 20:19 ` Ypo
2023-03-22 10:45 ` Ihor Radchenko
2024-01-31 14:59 ` Ihor Radchenko
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).