emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Info manual looks funny because of tables and footnotes
@ 2024-05-08 21:07 Morgan Smith
  2024-05-09 11:13 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Morgan Smith @ 2024-05-08 21:07 UTC (permalink / raw)
  To: emacs-orgmode

Hello!

I'm currently running org from commit
'773bba92a8e2b927427cf1daf374fa774fe834e0' (+ my own modifications).

I was reading the manual `8.4.2 The clock table' when I got down to the
`:block' section I noticed it was way too wide.  Like this wide:

========
‘:block’
     The time block to consider.  This block is specified either
     absolutely, or relative to the current time and may be any of these
     formats:

     ‘2007-12-31’                                                                                                    New year eve 2007
     ‘2007-12’                                                                                                       December 2007
========


That's too wide.  Looking at the source
[[file:doc/org-manual.org::7046]], it's pretty clear to see that it's
that wide because of the footnote that is inside the org table.

I think I'll end my investigation here and let you guys fix this one.

Thanks,

Morgan


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Info manual looks funny because of tables and footnotes
  2024-05-08 21:07 Info manual looks funny because of tables and footnotes Morgan Smith
@ 2024-05-09 11:13 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-05-09 11:13 UTC (permalink / raw)
  To: Morgan Smith; +Cc: emacs-orgmode

Morgan Smith <Morgan.J.Smith@outlook.com> writes:

> I'm currently running org from commit
> '773bba92a8e2b927427cf1daf374fa774fe834e0' (+ my own modifications).
>
> I was reading the manual `8.4.2 The clock table' when I got down to the
> `:block' section I noticed it was way too wide.  Like this wide:
> ...
> That's too wide.  Looking at the source
> [[file:doc/org-manual.org::7046]], it's pretty clear to see that it's
> that wide because of the footnote that is inside the org table.

Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=e380684c1

The column width calculation is approximate, suffering from edge cases
like described.

-- 
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] 2+ messages in thread

end of thread, other threads:[~2024-05-09 11:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-08 21:07 Info manual looks funny because of tables and footnotes Morgan Smith
2024-05-09 11:13 ` 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).