help-texinfo
[Top][All Lists]
Advanced

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

Macro introduces \par in Table of Contents


From: Christopher Dimech
Subject: Macro introduces \par in Table of Contents
Date: Sat, 3 Oct 2020 10:19:47 +0200

I have written the macro uSubSec

However I have found that a \par is introduced in the Table of Contents
when the title continues on the next line. How can this problem be solved?

Example:

@uSubSec{@value{SecLb}, Probabilistic Characterisation of
Microseismicity}

@macro uSubSec{label, titl}

  @set lb \label\
  @ifclear USubSec--No--Label
    @unnumberedsubsec @value{lb} @ \titl\
  @end ifclear

  @ifset USubSec--No--Label
    @unnumberedsubsec \titl\
  @end ifset

@end macro



reply via email to

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