emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] ox-texinfo: non-numbered links to numbered sections


From: Jonas Bernoulli
Subject: [O] ox-texinfo: non-numbered links to numbered sections
Date: Fri, 08 Apr 2016 12:07:44 +0200
User-agent: mu4e 0.9.17; emacs 25.0.92.1

Hello,

Currently "#+OPTIONS: num:N" not only affects whether sections are
numbered, it also controls whether links to numbered sections look
like

  See *note 5.2.3: Section hooks.

or

  See *note Section hooks: Section hooks.

in the info file.  Here the first seems better, but when looking at
this inside the Info viewer, then it is either

  See 5.2.3.

or

  See Section hooks.

And now the numbered variant is just not informative enough for my
needs.  I want links to inform the user what they will get when they
click on it, not how far away from the current location the link
takes them ;-)

I would like if the second form were always used, or if you could add
an option that allowed selecting the desired style.  The former could
be accomplished simply by removing

  ((org-export-numbered-headline-p destination info)
   (mapconcat
    #'number-to-string
    (org-export-get-headline-number destination info) "."))

from `org-texinfo-link'.

Also note that the use of "numbered links" seems to mess with paragraph
justification.  In that case lines that contain links tend to be to
short and it gets worse the longer the title gets, probably because that
is present in the info file (and therefor used for justification (maybe
that could be changed?)), but then not displayed in the Info viewer.

  Thanks,
  Jonas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]